:root {
  --bg: #000;
  --text: #e6e6e6;
  --radius: 15px;
  
    --gold: #fbe8c2;
    --deep-gold: #d6b77d;
    --sky-blue: #c1e8ff;
    --background-dark: #000;
    --text-light: #e0e0e0;
    --deep-blue: #173b50;
    --border: rgba(214,183,125,0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}


body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   PRACTICE HALL LAYOUT
   ========================= */

.practice-hall {

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);


  display: grid;
  grid-template-columns:
    minmax(200px, 1fr)
    minmax(380px, 1.5fr)
    minmax(200px, 1fr);

  gap: 24px;
  padding: 24px;
}

/* =========================
   FULL-WIDTH MODULE — BUFFERED
   ========================= */

.module[data-desktop="full"] {
  grid-column: 1 / -1;

  width: calc(100vw - 64px);
  max-width: calc(100vw - 64px);

  margin-left: calc(50% - 50vw + 32px);
  margin-right: calc(50% - 50vw + 32px);

  border-radius: var(--radius);
}


/* =========================
   FULL-WIDTH MODULE — MOBILE
   ========================= */

@media (max-width: 900px) {
  .module[data-desktop="full"] {
    left: 0;
    right: 0;
    margin-left: 6px !important;
    margin-right: 6px !important;
    transform: none !important;
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    margin-inline: 6px !important;
    border-radius: 8px !important;
  }
}

.column,
.mobile-column,
.module {
  min-width: 0;
}


.column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   PLACEHOLDERS
   ========================= */

.book-placeholder,
.video-placeholder,
.spotify-placeholder,
.discussion-placeholder {
  border: 0.8px dashed var(--border);
  padding: 24px;
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.85;
}

.shrine-base {
  margin-top: 14px;
  height: 40px;
  border: 0.8px dashed var(--border);
}

.teacher-grid,
.film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.teacher-tile,
.film-tile,
.circle-placeholder {
  border: 0.8px dashed var(--border);
  padding: 14px;
  text-align: center;
  font-size: 0.7rem;
}

.celestial-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* =========================
   MOBILE — TRUE 60 / 40 DASHBOARD
   ========================= */

@media (max-width: 900px) {

  /* 🔥 HARD RESET — THIS IS WHAT YOU WERE MISSING */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-section,
  .elementor-container,
  .elementor-column,
  .elementor-widget-wrap,
  .container,
  .wrap,
  .site-content,
  .content-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .practice-hall {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr; /* 40 / 60 */
    gap: 6px;
    padding: 6px !important; /* ~6px from glass */
  }

  /* 🔑 Allow modules to flow into 2-col grid */
/*  .column {
    display: contents;
  }*/

  .module {
    padding: 6px;
    border-width: .8px;
    border-radius: 8px;
  }

  p, li {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  ul {
    padding-left: 12px;
  }

  .book-placeholder,
  .video-placeholder,
  .spotify-placeholder,
  .discussion-placeholder {
    padding: 8px;
    font-size: 0.62rem;
  }

  .shrine-base {
    height: 22px;
    margin-top: 6px;
  }

  .teacher-grid,
  .film-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .teacher-tile,
  .film-tile,
  .circle-placeholder {
    padding: 6px;
    font-size: 0.6rem;
  }

  .celestial-row {
    gap: 6px;
    margin-top: 6px;
  }
  .altar-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

}
/* =========================
   MODULE SYSTEM — CANONICAL
   ========================= */

.module-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.module-title {
  font-size: 0.95rem;
  margin: 0;
  color: var(--gold);
}

.module {
  position: relative;

  /* Structure */
  display: flex;
  flex-direction: column;
  gap: 10px;

  /* Geometry */
  padding: 16px;
  border-radius: var(--radius);

  /* Surface */
  background: rgba(0,0,0,0.22);

  /* Stroke */
  border: 1px solid var(--border);

  /* Containment */
  overflow: hidden;
}
.module > h3 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
}
/* =========================
   MODULE BODY TEXT
   ========================= */

.module p,
.module li {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.module ul {
  padding-left: 18px;
  margin: 6px 0 0 0;
}
/* =========================
   MODULE — MOBILE DENSITY
   ========================= */

@media (max-width: 900px) {

  .module {
    padding: 6px;
  }

  .module-title {
    font-size: 0.85rem;
  }

  .module > h3 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .module p,
  .module li {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .module ul {
    padding-left: 12px;
  }
}

.altar-header {
  text-align: center;
  margin-bottom: 12px;
}

.altar-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* Body layout */
.altar-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

/* Text */
.altar-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* =========================
   PRACTICE PAGE — BUTTON
   ========================= */

.practice-button,
.practice-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--gold) !important;
  background: transparent;

  border: 1.1px solid var(--gold);
  border-radius: 8px;

  text-decoration: none;
  cursor: pointer;

  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.practice-button:hover {
  opacity: 0.9;
}

.practice-button:active {
  opacity: 0.8;
}

/* Alignment helpers */
.button-left {
  align-self: flex-start;
}

.button-center {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.practice-note {
  font-size: 0.6rem;
  opacity: 0.7;
  line-height: 1.4;
  text-align: center;
}

/* =========================
   PRACTICE BUTTON — MOBILE
   ========================= */

@media (max-width: 900px) {
  .practice-button {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.65rem;
  }
}

/* Desktop default */
.mobile-column {
  display: none;
}

/* Mobile */
@media (max-width: 900px) {
  .column {
    display: none;
  }

  .mobile-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

/*  .practice-hall {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 6px;
    padding: 6px;
  }*/
}

/* ===============================
   SFI — SCHOOL HEADER SYSTEM
   =============================== */

.sfi-header {
  text-align: center;
  margin: 2.6rem auto 2.1rem;
  line-height: 1.1;
  position: relative;
}

/* Primary mark */
.sfi-glyph {
  display: block;
  font-size: clamp(4.4rem, 11vw, 7.6rem);
  font-weight: 100;
  letter-spacing: 0.14em;

  background: linear-gradient(
    180deg,
    #fff3d6 0%,
    #fbe8c2 45%,
    #d6b77d 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 26px rgba(214,183,125,0.35);
}

/* Full articulation */
.sfi-name {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.9;
}

/* Quiet divider — echoes sangha title */
.sfi-header::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 1.05rem auto 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(214,183,125,0.55),
    transparent
  );
}

/* ===============================
   MOBILE TUNING
   =============================== */

@media (max-width: 900px) {

  .sfi-header {
    margin: 2rem auto 1.6rem;
  }

  .sfi-name {
    letter-spacing: 0.22em;
  }
}

#point-light {
  position: fixed;
  left: 0;
  top: 0;

  width: 300vmax;
  height: 300vmax;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999999;

  /* shared geometry scale */
  --field-scale: 1;
}

/* =========================
   BASE LIGHT (WHITE + GOLD)
   ========================= */
.light-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;

  /* ONLY this layer is dimmed */
  opacity: var(--field-opacity, 1);

  /* pulse variables */
  --pulse-r: 0px;
  --pulse-w: 140px;
  --pulse-a: 0.0;

  background:
    radial-gradient(
      circle at center,
      rgba(193,232,255,0.002)
        calc((var(--pulse-r) - var(--pulse-w)) * var(--field-scale)),
      rgba(193,232,255,var(--pulse-a))
        calc(var(--pulse-r) * var(--field-scale)),
      rgba(193,232,255,0.002)
        calc((var(--pulse-r) + var(--pulse-w)) * var(--field-scale)),
      rgba(193,232,255,0.001)
        calc(4200px * var(--field-scale))
    ),

    radial-gradient(
      circle at center,
      rgba(214,183,125,0.003) 0px,
      rgba(214,183,125,0.12)  calc(260px * var(--field-scale)),
      rgba(214,183,125,0.10)  calc(420px * var(--field-scale)),
      rgba(214,183,125,0.06)  calc(800px * var(--field-scale)),
      rgba(214,183,125,0.03)  calc(1600px * var(--field-scale)),
      rgba(214,183,125,0.012) calc(2600px * var(--field-scale)),
      rgba(214,183,125,0.004) calc(4200px * var(--field-scale))
    ),

    radial-gradient(
      circle at center,
      rgba(255,255,255,1.00) 0px,
      rgba(255,255,255,0.96) calc(45px  * var(--field-scale)),
      rgba(255,255,255,0.78) calc(90px  * var(--field-scale)),
      rgba(255,255,255,0.45) calc(160px * var(--field-scale)),
      rgba(255,255,255,0.20) calc(260px * var(--field-scale)),
      rgba(255,255,255,0.08) calc(420px * var(--field-scale)),
      rgba(255,255,255,0.025) calc(720px * var(--field-scale)),
      rgba(255,255,255,0.006) calc(1600px * var(--field-scale)),
      rgba(255,255,255,0.002) calc(3600px * var(--field-scale))
    );
}

/* =========================
   BLUE FLARE (NEVER DIMMED)
   ========================= */
.light-blue {
  position: absolute;
  inset: 0;
  border-radius: 50%;

  background:
    radial-gradient(
      circle at center,
      rgba(193,232,255,0.008) calc(200px * var(--field-scale)),
      rgba(193,232,255,0.035) calc(300px * var(--field-scale)),
      rgba(193,232,255,0.090) calc(380px * var(--field-scale)),
      rgba(193,232,255,0.140) calc(400px * var(--field-scale)), /* peak */
      rgba(193,232,255,0.090) calc(420px * var(--field-scale)),
      rgba(193,232,255,0.035) calc(520px * var(--field-scale)),
      rgba(193,232,255,0.014) calc(900px * var(--field-scale)),
      rgba(193,232,255,0.004) calc(2000px * var(--field-scale)),
      rgba(193,232,255,0.001) calc(4200px * var(--field-scale))
    );
}

/* ===============================
   SFI — HERO (FULL REPLACEMENT)
   =============================== */
.sfi-no-break {
  white-space: nowrap;
}

.sfi-hero {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
}

/* Wrapper */
.sfi-hero-wrap {
  position: relative;
  z-index: 0;
  padding: 3.2rem 1.2rem 3.6rem;
  display: flex;
  justify-content: center;
}

/* Hero box */
.sfi-hero-box {
  width: 100%;
  max-width: 1300px;
  text-align: center;
  padding: 2.2rem 2.2rem;

  border-radius: 22px;
  background: rgba(0,0,0,0.68);
  border: 1px solid rgba(214,183,125,0.35);

  box-shadow: 0 0 32px rgba(0,0,0,0.55);
  position: relative;
  overflow: hidden;
}

.sfi-hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(214,183,125,0.18),
      rgba(0,0,0,0.95) 70%
    );

  border-radius: inherit;
}

.sfi-hero-box > * {
  position: relative;
  z-index: 1;
}

/* Title */
.sfi-hero-title {
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin: 0 0 0.8rem;
}

/* Spirit · Mind · Form */
.sfi-hero-triad {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;

  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.9;
}

/* Thesis plaque */
.sfi-hero-thesis {
  display: inline-block;
  margin: 0.8rem auto 1rem;
  padding: 0.55rem 1rem;

  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--gold);
  border: 1px solid rgba(214,183,125,0.45);
  border-radius: 10px;
  background: rgba(0,0,0,0.55);
}

/* Thesis plaque — secondary line */
.sfi-hero-thesis-sub {
  display: block;
  margin-top: 0.35rem;

  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: none;

  color: rgba(251,232,194,0.9);
}

/* Module rail */
.sfi-hero-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 0.9rem;

  max-width: 820px;
  margin: 0.9rem auto 1.2rem;
}

.sfi-hero-module {
  padding: 0.85rem 1.1rem;

  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: none;

  color: var(--gold);

  background:
    linear-gradient(
      180deg,
      rgba(214,183,125,0.06),
      rgba(0,0,0,0.55)
    );

  border: 1px solid rgba(214,183,125,0.28);
  border-radius: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(214,183,125,0.04),
    0 0 18px rgba(0,0,0,0.45);
}

/* Supporting statement */
.sfi-hero-statements {
  max-width: 680px;
  margin: 1.1rem auto 1.4rem;

  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sfi-hero-statements p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.92;
}

/* NEW: Love + Brilliance Note */
.sfi-hero-note {
  max-width: 640px;
  margin: 0 auto;

  padding: 0.9rem 1.1rem;
  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      rgba(214,183,125,0.07),
      rgba(0,0,0,0.50)
    );

  border: 1px solid rgba(214,183,125,0.30);

  box-shadow:
    inset 0 0 0 1px rgba(214,183,125,0.04),
    0 0 18px rgba(0,0,0,0.40);
}

.sfi-hero-note-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  opacity: 0.95;
}

.sfi-hero-note-body {
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0.92;
}
/* Path Triad — Base */
.sfi-hero-path {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.sfi-path-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;

  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(214,183,125,0.45);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(0,0,0,0.55);
}

.sfi-path-top,
.sfi-path-bottom {
  white-space: nowrap;
}

/* Desktop divider = dot */
/* Desktop path divider = middle dot */
.sfi-path-divider {
  width: auto;
  height: auto;
  background: none;
}

.sfi-path-divider::before {
  content: "·"; /* option + shift + 9 */
  font-size: 0.9rem;
  line-height: 1;
  color: rgba(214,183,125,0.85);
}


/* ===============================
   SFI — HERO ANIMATIONS
   =============================== */

/* Initial states */
.sfi-hero-box,
.sfi-hero-title,
.sfi-hero-triad,
.sfi-hero-thesis,
.sfi-hero-module,
.sfi-hero-statements p,
.sfi-hero-note,
.sfi-hero-path {
  opacity: 0;
}

/* Box enters first */
.sfi-hero-box {
  animation: sfiHeroBoxIn 0.9s ease-out forwards;
}

/* Title */
.sfi-hero-title {
  animation: sfiHeroLineIn 0.7s ease-out 0.16s forwards;
}

/* Spirit · Mind · Form */
.sfi-hero-triad {
  animation: sfiHeroLineIn 0.7s ease-out 0.32s forwards;
}

/* Thesis plaque */
.sfi-hero-thesis {
  animation: sfiHeroLineIn 0.7s ease-out 0.48s forwards;
}

/* Modules */
.sfi-hero-module {
  animation: sfiHeroLineIn 0.7s ease-out forwards;
}

.sfi-hero-module:nth-child(1) { animation-delay: 0.64s; }
.sfi-hero-module:nth-child(2) { animation-delay: 0.79s; }
.sfi-hero-module:nth-child(3) { animation-delay: 0.94s; }

/* Supporting statement */
.sfi-hero-statements p {
  animation: sfiHeroLineIn 0.7s ease-out 0.92s forwards;
}

/* NEW Note */
.sfi-hero-note {
  animation: sfiHeroLineIn 0.7s ease-out 1.06s forwards;
}

/* Path */
.sfi-hero-path {
  animation: sfiHeroLineIn 0.7s ease-out 1.20s forwards;
}

/* Keyframes */
@keyframes sfiHeroBoxIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sfiHeroLineIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===============================
   MOBILE
   =============================== */
/* ===============================
   MOBILE
   =============================== */

@media (max-width: 900px) {

  .sfi-hero-wrap {
    padding: 2.4rem 0.8rem 2.8rem;
  }

  .sfi-hero-box {
    padding: 1.6rem 1.2rem;
  }

  .sfi-hero-triad {
    gap: 0.8rem;
    font-size: 0.66rem;
  }

  .sfi-hero-modules {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 0.85rem auto 1.1rem;
  }

  .sfi-hero-module {
    font-size: 0.72rem;
    padding: 0.75rem 0.95rem;
  }

  .sfi-hero-statements p {
    font-size: 0.72rem;
  }

  .sfi-hero-note-title {
    font-size: 0.72rem;
  }

  .sfi-hero-note-body {
    font-size: 0.72rem;
  }

  /* ✅ Path Triad — Mobile (3 columns) */
  .sfi-hero-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .sfi-path-item {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;

    padding: 0.55rem 0.6rem;
  }

  .sfi-path-divider {
    width: 40px;
    height: 1px;
    border-radius: 0;
    background: linear-gradient(
      to right,
      transparent,
      rgba(214,183,125,0.75),
      transparent
    );
  }

  .sfi-path-top,
  .sfi-path-bottom {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }
}

.spring-cohort-banner {
  width: 100%;
  padding: 0 16px;
  margin: -6px 0 22px;
}

.spring-cohort-inner {

  max-width: 1300px;
  margin: 0 auto;

  padding: 22px 24px;

  border-radius: 18px;

  border: 1px solid rgba(214,183,125,0.35);

  background:
    linear-gradient(
      180deg,
      rgba(214,183,125,0.10),
      rgba(0,0,0,0.72)
    );

  box-shadow:
    0 0 40px rgba(0,0,0,0.45);

  text-align: center;
}

.spring-cohort-kicker {

  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--deep-gold);

  margin-bottom: 10px;
}

.spring-cohort-title {

  margin: 0 0 12px;

  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;

  color: var(--gold);
}

.spring-cohort-text {

  max-width: 760px;
  margin: 0 auto 18px;

  font-size: 0.9rem;
  line-height: 1.6;

  color: var(--text-light);
}

.spring-cohort-highlight {

  display: inline-block;

  padding: 10px 16px;

  border-radius: 10px;

  border: 1px solid rgba(214,183,125,0.4);

  background: rgba(255,255,255,0.04);

  color: var(--gold);

  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  margin-bottom: 14px;
}

.spring-cohort-code {

  margin-bottom: 20px;

  font-size: 0.82rem;
  color: var(--text-light);

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spring-cohort-code span {

  color: var(--gold);

  font-size: 1rem;
  letter-spacing: 0.16em;
}

.spring-cohort-button,
.spring-cohort-button:visited {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border-radius: 10px;

  border: 1px solid var(--gold);

  color: var(--gold);
  text-decoration: none;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  font-size: 0.72rem;

  transition: opacity 0.15s ease;
}

.spring-cohort-button:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {

  .spring-cohort-inner {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .spring-cohort-text {
    font-size: 0.78rem;
  }

  .spring-cohort-button {
    width: 100%;
  }

}

/* ===============================
   SFI — ENTRY MODULE (REFINED)
   =============================== */

.sfi-entry-module {
  padding: 28px 20px;
  display: flex;
  justify-content: center;
}

.sfi-entry-inner {
  max-width: 1300px;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(214,183,125,0.32);
  margin-top: 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: transparent;
}

.sfi-entry-header {
  max-width: 1300px;
  margin-bottom: 28px;
}

.sfi-entry-header h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.sfi-entry-header p {
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.9;
}

/* Options */
.sfi-entry-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Cards */
.sfi-entry-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(214,183,125,0.28);
}

.sfi-entry-card h3 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.sfi-entry-desc {
  font-size: 0.76rem;
  line-height: 1.4;
  margin-bottom: 16px;
  opacity: 0.9;
}

/* Core / Expanded */
.sfi-entry-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sfi-entry-split div {
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(214,183,125,0.22);
}

.sfi-entry-split strong {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sfi-entry-split span {
  font-size: 0.7rem;
  opacity: 0.9;
}

/* Divider */
.sfi-entry-divider {
  height: 1px;
  background: rgba(214,183,125,0.28);
  margin: 18px 0;
}

/* Sections */
.sfi-entry-section strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sfi-entry-section span {
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
  opacity: 0.9;
}

/* Triptych */
.sfi-entry-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.sfi-entry-triptych div {
  padding: 10px 10px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(214,183,125,0.22);
}


.sfi-entry-triptych strong {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}


.sfi-entry-triptych span {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  line-height: 1.25;
  opacity: 0.9;
}


/* Mobile */
@media (max-width: 900px) {
  .sfi-entry-options {
    grid-template-columns: 1fr;
  }
  .sfi-entry-triptych {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   SFI — ENTRY & PROGRAMS
   MOBILE COMPRESSION
   =============================== */

@media (max-width: 900px) {

  .sfi-entry-inner,
  .sfi-programs-inner {
    padding: 16px 16px 14px;              /* match mobile density */
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .sfi-entry-card,
  .sfi-programs-card {
    padding: 16px 16px 14px;
    border-radius: 10px;
  }

  .sfi-entry-header {
    margin-bottom: 14px;
  }

/*  .sfi-entry-options,
  .sfi-programs-split {
    gap: 10px;
  }*/

}

/* PROGRAM TILES AS LINKS — APPEARANCE PRESERVED */
.sfi-program-tile {
  display: block;
  padding: 10px 10px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(214,183,125,0.22);

  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
}

.sfi-program-tile * {
  color: inherit !important;
  text-decoration: none !important;
}


/* ===============================
   SFI — PROGRAMS MODULE
   =============================== */

.sfi-programs-module {
  padding: 28px 20px;
  display: flex;
  justify-content: center;
}

.sfi-programs-inner {
  max-width: 1200px;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(214,183,125,0.32);
  background: transparent;
  margin-top: 18px;
  margin-bottom: 18px;
  border-radius: 18px;
}

/* Header */
.sfi-programs-header {
  max-width: 1300px;
  margin-bottom: 28px;
}

.sfi-programs-header h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Split */
.sfi-programs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Cards */
.sfi-programs-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(214,183,125,0.28);
}

.sfi-programs-card h3 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Program List */
.sfi-programs-list {
  display: grid;
  gap: 10px;
}

.sfi-programs-list > div {
  padding: 10px 10px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(214,183,125,0.22);
}

.sfi-programs-list strong {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
  opacity: 0.95;
}

/* Shared description style */
.sfi-entry-description {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 900px) {
  .sfi-programs-split {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   MOBILE — OFFERINGS ALIGNMENT
   =============================== */

@media (max-width: 900px) {

  /* Offerings container */
  .sfi-programs-inner {
    padding: 16px 16px 14px;
    border-radius: 10px;
  }

  /* Category cards */
  .sfi-programs-card {
    padding: 16px 16px 14px;
    border-radius: 10px;
  }

  /* Program tiles (this is the big one) */
  .sfi-programs-list {
    gap: 8px;
  }

  .sfi-programs-list > div {
    padding: 16px 16px 14px;
    border-radius: 8px;
  }

  /* Titles breathe less */
  .sfi-programs-card h3 {
    margin-bottom: 14px;
  }
}

/* Optional mobile tightening — reduce spacing between Entry + Programs cards
@media (max-width: 900px) {
  .sfi-entry-options,
  .sfi-programs-split {
    gap: 10px;
  }
}
*/

.sfi-tier-list{
    display:flex;
    flex-direction:column;
    gap:6px;
  }

  .sfi-tier-price{
    font-weight:700;
    font-size:16px;
  }

  .sfi-tier-countries{
    font-size:11px;
    opacity:0.65;
    letter-spacing:0.06em;
  }

.sfi-enroll-metric-sub {
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.65;
}

  /* ===============================
     SFI — ENROLLMENT MODULE (HOMEPAGE)
     Structured, responsive, high-contrast
     =============================== */
  /* ===============================
     SFI — ROOT (DERIVED FROM SITE PALETTE)
     =============================== */

  :root {

    /* Ground */
    --sfi-bg: var(--bg);

    /* Panels — disabled (lines-only aesthetic) */
    --sfi-panel: transparent;
    --sfi-panel-2: transparent;

    /* Structural stroke — EXACT same gold stroke as modules */
    --sfi-border: var(--border);

    /* Text */
    --sfi-text: var(--text);
    --sfi-muted: var(--text-light);
    --sfi-dim: var(--text-light);

    /* Accents — map directly to brand golds */
    --sfi-accent: var(--gold);
    --sfi-accent-2: var(--deep-gold);

    /* Geometry */
    --sfi-radius: var(--radius);

    /* Shadow — neutral, black-on-black */
    --sfi-shadow: 0 12px 30px rgba(0,0,0,0.35);
  }

  .sfi-enroll{
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    color: var(--sfi-text);
  }

  .sfi-enroll-header::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(900px 380px at 18% 0%, color-mix(in srgb, var(--sfi-accent-2) 35%, transparent), transparent 60%),
      radial-gradient(700px 320px at 85% 18%, rgba(255,255,255,0.06), transparent 55%);
    pointer-events:none;
    filter: saturate(1.05);
    border-radius: inherit;
    opacity: 0.85;


  }

  .sfi-enroll-inner{
    position: relative;
    margin: 0 auto;
    max-width: 1300px;
    padding: 0 16px;
  }

  .sfi-enroll-header{
    padding: 18px 18px 8px;
    border: 1px solid var(--sfi-border);
    border-radius: calc(var(--sfi-radius) + 6px);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
    box-shadow: var(--sfi-shadow);
    backdrop-filter: blur(10px);
    overflow: hidden;

  }

  .sfi-enroll-kicker{
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sfi-muted);
    display: inline-flex;
    gap: 10px;
    align-items: center;
  }

  .sfi-enroll-kicker::before{
    content:"";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--sfi-accent);
    box-shadow: 0 0 0 4px rgba(214,183,123,0.18);
  }

  .sfi-enroll-title{
    margin: 10px 0 8px;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .sfi-enroll-lede{
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--sfi-muted);
    max-width: 68ch;
  }

  .sfi-enroll-grid{
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 14px;
    margin-top: 14px;
  }

  .sfi-enroll-card{
    border: 1px solid var(--sfi-border);
    border-radius: var(--sfi-radius);
    background: var(--sfi-panel);
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    padding: 16px 16px 14px;
    backdrop-filter: blur(10px);
  }

  .sfi-enroll-card--full{
    grid-column: 1 / -1;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.05));
    margin-top: 14px; /* ← ADD THIS */

  }

  .sfi-enroll-h3{
    margin: 0 0 10px;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gold);
  }



/* Subtext under section headings */
.sfi-enroll-subtext{
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.45;
  color: var(--sfi-muted);
  opacity: 0.9;
}

 .sfi-enroll-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;

  }

  .sfi-enroll-participation .sfi-enroll-list{

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

/* Slightly tighten list items now that they’re cleaner */
.sfi-enroll-list li{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--sfi-muted);
  line-height: 1.4;
  font-size: 14px;
}

/* Strong labels remain anchors */
.sfi-enroll-list strong{
  display: block;
  margin-bottom: 2px;
  color: rgba(255,255,255,0.94);
  font-weight: 650;
}


  .sfi-enroll-divider{
    height: 1px;
    background: rgba(255,255,255,0.14);
    margin: 14px 0;
  }

  .sfi-enroll-founding{
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px;
  }

  .sfi-enroll-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(214,183,123,0.12);
    border: 1px solid rgba(214,183,123,0.32);
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .sfi-enroll-metrics{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .sfi-enroll-metric{
    border-radius: 12px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 10px 10px;
  }

  .sfi-enroll-metric-top{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sfi-dim);
    margin-bottom: 4px;
  }

  .sfi-enroll-metric-val{
    font-size: 18px;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.94);
    font-weight: 750;
  }

  .sfi-enroll-note{
    margin: 10px 0 0;
    font-size: 13.5px;
    color: var(--sfi-muted);
    line-height: 1.45;
  }

  .sfi-enroll-cta{
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }


  .sfi-link {
    padding: 10px 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--gold) !important;
    text-decoration: none;

    border-bottom: 1px solid rgba(214,183,125,0.25);
  }

  .sfi-link:hover {
    opacity: 0.9;
  }

  .sfi-enroll-body{
    margin: 0;
    color: var(--sfi-muted);
    line-height: 1.55;
    font-size: 14.6px;
    max-width: 92ch;
  }

  /* Responsive */
  @media (max-width: 900px){
    .sfi-enroll-grid{
      grid-template-columns: 1fr;
    }

    .sfi-enroll-participation .sfi-enroll-list {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 520px){
    .sfi-enroll-header{
      padding: 16px 14px 10px;
    }
    .sfi-enroll-card{
      padding: 14px 14px 12px;
    }
    .sfi-enroll-metrics{
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 900px) {
    .sfi-enroll-inner {
      padding-left: 0.8rem;
      padding-right: 0.8rem;
    }
  }

  /* ===============================
     SFI — CODING RATIONALE
     =============================== */

  .sfi-coding-rationale {
    max-width: 680px;
    margin: 18px auto 22px;
    padding: 14px 18px;

    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.28);

    text-align: center;
  }

  /* Title */
  .sfi-coding-rationale-title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* Body */
  .sfi-coding-rationale p {
    margin: 0 0 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.92;
  }

  .sfi-coding-rationale p:last-child {
    margin-bottom: 0;
  }

  /* Mobile */
  @media (max-width: 900px) {
    .sfi-coding-rationale {
      padding: 10px 12px;
      margin: 12px auto 16px;
    }

    .sfi-coding-rationale-title {
      font-size: 0.8rem;
      letter-spacing: 0.14em;
    }

    .sfi-coding-rationale p {
      font-size: 0.7rem;
      line-height: 1.45;
    }
  }

  /* ===============================
     SFI — CODING DOCTRINE (FULL WIDTH)
     =============================== */

  .sfi-coding-doctrine {
    padding: 20px 22px;
    background: rgba(0,0,0,0.30);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  /* Title */
  .sfi-coding-title {
    text-align: center;
    margin: 0 0 12px;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* Definition */
  .sfi-coding-definition {
    max-width: 900px;
    margin: 0 auto 14px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.55;
    opacity: 0.95;
  }

  /* Quote */
  .sfi-coding-quote {
    max-width: 820px;
    margin: 0 auto 18px;
    padding: 10px 14px;

    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    font-style: italic;

    color: var(--deep-gold);
    border-top: 1px solid rgba(214,183,125,0.35);
    border-bottom: 1px solid rgba(214,183,125,0.35);
  }

  /* Principles grid */
  .sfi-coding-principles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  /* Principles grid */
  .sfi-coding-principles-orientation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  /* Principle card */
  .sfi-coding-principle {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(214,183,125,0.28);
    background: rgba(0,0,0,0.25);
  }

  /* Badge */
  .sfi-principle-badge {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--deep-gold);
    opacity: 0.85;
    margin-bottom: 6px;
  }

  /* Heading */
  .sfi-coding-principle h4 {
    margin: 0 0 6px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--gold);
  }

  /* Body */
  .sfi-coding-principle p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    opacity: 0.92;
  }

  /* ===============================
     MOBILE
     =============================== */

  @media (max-width: 900px) {

    .sfi-coding-doctrine {
      padding: 14px 12px;
    }

    .sfi-coding-principles {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .sfi-coding-principles-orientation {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    /* Fifth principle spans full width */
    .sfi-coding-principle:nth-child(5) {
      grid-column: 1 / -1;
    }

    .sfi-coding-definition,
    .sfi-coding-quote {
      font-size: 0.7rem;
    }

    .sfi-coding-principle:nth-child(5) {
      grid-column: 1 / -1;
      text-align: center;
    }

    .sfi-coding-principle:nth-child(5) .sfi-principle-badge,
    .sfi-coding-principle:nth-child(5) h4,
    .sfi-coding-principle:nth-child(5) p {
      text-align: center;
    }
  }

/* ===============================
   SFI — REFLECTION DOCTRINE
   Axiomatic, ceremonial, aligned
   =============================== */

.sfi-reflection-doctrine {
  padding: 26px 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.035)
    );
  border: 1px solid var(--sfi-border);
  border-radius: var(--sfi-radius);
  box-shadow: var(--sfi-shadow);
}

/* Title */
.sfi-reflection-title {
  margin: 0 0 16px;
  text-align: center;

  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--gold);
}

/* Body container */
.sfi-reflection-body {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Paragraphs */
.sfi-reflection-body p {
  margin: 0 0 14px;

  font-size: 0.82rem;
  line-height: 1.7;

  color: var(--sfi-text);
  opacity: 0.94;
}

/* Closing paragraph — subtle emphasis */
.sfi-reflection-closing {
  margin-top: 18px;
  padding-top: 14px;

  border-top: 1px solid rgba(214,183,125,0.28);

  font-size: 0.84rem;
  letter-spacing: 0.01em;

  color: rgba(255,255,255,0.96);
}

/* ===============================
   SFI — VISION SEAL (ADD-ON)
   Makes the final line stand alone
   =============================== */

.sfi-reflection-body .sfi-vision-seal {
  margin: 18px auto 0;
  padding-top: 14px;

  max-width: 520px;
  text-align: center;

  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.92);

  border-top: 1px solid rgba(214,183,125,0.26);
  opacity: 0.9;
}

/* Optional: a slightly more ceremonial feel */
.sfi-reflection-body .sfi-vision-seal em {
  font-style: italic;
  color: var(--deep-gold);
  opacity: 0.92;
}

/* Mobile tuning */
@media (max-width: 900px) {
  .sfi-reflection-body .sfi-vision-seal {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    max-width: 92%;
  }
}


/* ===============================
   MOBILE TUNING
   =============================== */

@media (max-width: 900px) {

  .sfi-reflection-doctrine {
    padding: 18px 16px;
  }

  .sfi-reflection-title {
    /*font-size: 0.95rem;*/
    letter-spacing: 0.18em;
    margin-bottom: 12px;
  }

  .sfi-reflection-body p {
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .sfi-reflection-closing {
    font-size: 0.74rem;
  }

}

/* ===============================
   SFI — PARTICIPATION DOCTRINE (COMPACT)
   =============================== */

.sfi-participation-anchor {
  max-width: 680px;
  margin: 0 auto 14px;

  text-align: center;
  font-size: 0.68rem;
  line-height: 1.45;

  color: var(--sfi-text);
  opacity: 0.88;
}

/* Frame — 4 columns desktop */
.sfi-participation-frame {
  max-width: 900px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  text-align: center;
}

/* Box */
.sfi-participation-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 8px 6px;

  border-radius: 10px;
  border: 1px solid rgba(214,183,125,0.26);
  background: rgba(0,0,0,0.24);
}

/* Side */
.sfi-participation-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* Primary label — very compact */
.sfi-participation-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Subtitle */
.sfi-participation-sub {
  font-size: 0.52rem;
  line-height: 1.3;
  color: var(--sfi-text);
  opacity: 0.85;
}

/* Divider */
.sfi-participation-divider {
  width: 1px;
  height: 26px;
  background: rgba(214,183,125,0.32);
}

/* ===============================
   MOBILE — 2 × 2 GRID
   =============================== */

@media (max-width: 900px) {

  .sfi-participation-frame {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sfi-participation-anchor {
    font-size: 0.64rem;
    margin-bottom: 10px;
  }

  .sfi-participation-box {
    padding: 8px 6px;
  }

  .sfi-participation-label {
    font-size: 0.55rem;
  }

  .sfi-participation-sub {
    font-size: 0.55rem;
  }

}

/* =========================
   SFI — ENROLLMENT CTA MODULE
   ========================= */

.sfi-enrollment-cta {
  padding: 22px;
  text-align: center;
  background: radial-gradient(
    120% 140% at 50% 0%,
    rgba(214,183,125,0.16),
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.35) 100%
  );
  border: 1px solid rgba(214,183,125,0.65);
  box-shadow:
    0 0 34px rgba(0,0,0,0.65),
    inset 0 0 28px rgba(214,183,125,0.10);
}

.sfi-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.sfi-cta-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: inherit;
}

.sfi-cta-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

.sfi-cta-subtitle {
  max-width: 1300;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.92;
}

/* =========================
   CTA BUTTON — REFINED
   ========================= */

.ctaButton{
  --gold: #fbe8c2;
  --background-dark: #000;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.7rem 2.1rem;          /* wider, shorter */
  margin-top: 10px;

  border-radius: 9px;
  border: 1.6px solid var(--gold);
  color: var(--gold) !important;

  font-weight: 400;                /* thinner text */
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;

  background: var(--background-dark);
  overflow: hidden;
}

.ctaButton canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

.ctaButton span{
  position:relative;
  z-index:1;
}

.sfi-cta-note {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  opacity: 0.7;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {
  .sfi-cta-title { font-size: 1.2rem; }
  .sfi-cta-subtitle { font-size: 0.7rem; }

  .ctaButton{
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
  }
}

.sfi-enroll p,
.sfi-entry p,
.sfi-programs p,
.sfi-coding-doctrine p,
.sfi-reflection-doctrine p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
/* ===============================
   SFI — WHY INTRO (SPLIT LAYOUT)
   =============================== */

.sfi-why-introduction.sfi-why-split {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 26px 28px;

  display: grid;
  grid-template-columns: 1.1fr 1px 1.9fr;
  gap: 24px;
  align-items: center;

  border-radius: 18px;
  border: 1px solid rgba(214,183,125,0.32);

  background:
    radial-gradient(
      120% 160% at 12% 0%,
      rgba(214,183,125,0.14),
      rgba(0,0,0,0.55) 55%,
      rgba(0,0,0,0.45)
    );
}

/* Left column */
.sfi-why-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Kicker */
.sfi-why-kicker {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Title */
.sfi-why-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Divider */
.sfi-why-divider {
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(214,183,125,0.55),
    transparent
  );
}

/* Right column */
.sfi-why-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}

.sfi-why-right p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.94;
}

/* ===============================
   MOBILE — STACKED, NO DIVIDER
   =============================== */

@media (max-width: 900px) {
  .sfi-why-introduction.sfi-why-split {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 16px 20px;
  }

  .sfi-why-divider {
    display: none;
  }

  .sfi-why-title {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }

  .sfi-why-right p {
    font-size: 0.7rem;
    line-height: 1.55;
  }
}

/* =========================
   ACADEMIC PROGRAMS — REGISTER
   (CENTRAL EMPHASIS UPDATE)
   ========================= */

.academic-programs {
  gap: 0;
  padding: 1.6rem 1.2rem 1.9rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(214,183,125,0.32);
  box-shadow: 0 0 28px rgba(0,0,0,0.55);
}

/* Inner layout */
.academic-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

/* Institutional context line */
.academic-context {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.75;
}

/* Primary heading */
.academic-title {
  margin: 0.2rem 0 0.3rem;
  font-family: 'DM Serif Display', 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* Subheading */
.academic-subtitle {
  max-width: 600px;
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.95;
}

/* Horizontal rule */
.academic-rule {
  width: 220px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(214,183,125,0.75),
    transparent
  );
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .academic-programs {
    padding: 1.4rem 1rem 1.6rem;
  }

  .academic-title {
    font-size: 1.45rem;
  }

  .academic-subtitle {
    font-size: 0.85rem;
  }

  .academic-rule {
    width: 140px;
  }
}

/* =========================
   ANNOUNCEMENTS
   ========================= */

.announcements-altar {
  gap: 14px;
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-item {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.28);
}

/* Title */
.announcement-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

/* Body */
.announcement-body {
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.92;
}

/* Mobile tuning */
@media (max-width: 900px) {
  .announcement-body {
    font-size: 0.68rem;
  }
}

/* =========================
   LINKS — DIRECTORY
   ========================= */

.links-directory {
  gap: 12px;
}

.links-list {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  border-top: 1px solid rgba(214,183,125,0.25);
}

.links-item {
  padding: 10px 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--gold) !important;
  text-decoration: none;

  border-bottom: 1px solid rgba(214,183,125,0.25);
}

.links-item:hover {
  opacity: 0.9;
}

.links-directory {
  padding: 16px;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .links-item {
    font-size: 0.68rem;
  }
  .links-directory {
    padding: 12px;
  }
}

/* =========================
   JOIN SESSION — ALTAR
   ========================= */
/* Practice note — under and left of button */
.join-altar .practice-note {
  align-self: flex-start;
  text-align: left;
  margin-top: 2px;
}

/* Portal object */
.altar-portal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0.8px solid rgba(214,183,125,0.6);
  box-shadow:
    0 0 0 0.5px rgba(214,183,125,0.4),
    inset 0 0 18px rgba(214,183,125,0.25);
}

.portal-blessing {
  font-size: 0.7rem;
  line-height: 1.45;
  opacity: 0.85;
}

.join-note {
  font-size: 0.6rem;
  opacity: 0.7;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .portal-ring {
    width: 72px;
    height: 72px;
    margin: 0 auto;
  }

  .practice-button {
    align-self: center;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.65rem;
  }
}

@media (max-width: 900px) {
  .join-altar .altar-body {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PRACTICE — ENTRY MODULE
   ========================= */

.practice-invitation {
  font-size: 0.7rem;
  line-height: 1.45;
  opacity: 0.88;
  max-width: 520px;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .practice-invitation {
    font-size: 0.68rem;
  }
}

/* =========================
   JOIN THE SANGHA — ALTAR
   ========================= */

.sangha-altar {
  gap: 14px;
}

/* Descriptor under title */
.sangha-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.sangha-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.sangha-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .sangha-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .sangha-blessing {
    font-size: 0.68rem;
  }

  .sangha-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   MATHEMATICAL CODING — ALTAR
   ========================= */

.coding-altar {
  gap: 14px;
}

/* Descriptor under title */
.coding-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.coding-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 520px;
  text-align: center;
}

/* Practice note */
.coding-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .coding-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .coding-blessing {
    font-size: 0.68rem;
  }

  .coding-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   THE MEDITATION RESOLUTION
   ========================= */

.meditation-resolution-altar {
  gap: 14px;
}

/* Descriptor under title */
.meditation-resolution-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.meditation-resolution-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.meditation-resolution-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .meditation-resolution-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .meditation-resolution-blessing {
    font-size: 0.68rem;
  }

  .meditation-resolution-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   ENLIGHTENED MATHEMATICS — SELF-PACED
   ========================= */

.em-self-paced-altar {
  gap: 14px;
}

/* Descriptor under title */
.em-self-paced-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.em-self-paced-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.em-self-paced-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .em-self-paced-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .em-self-paced-blessing {
    font-size: 0.68rem;
  }

  .em-self-paced-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   ENLIGHTENED MATHEMATICS — SUMMER INTENSIVE
   ========================= */

.em-summer-altar {
  gap: 14px;
}

/* Descriptor under title */
.em-summer-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.em-summer-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.em-summer-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .em-summer-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .em-summer-blessing {
    font-size: 0.68rem;
  }

  .em-summer-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   NEW MOON OPEN HOUSE — ALTAR
   ========================= */

.open-house-altar {
  gap: 14px;
}

/* Descriptor under title */
.open-house-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.open-house-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.open-house-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .open-house-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .open-house-blessing {
    font-size: 0.68rem;
  }

  .open-house-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   FULL MOON MINDFUL DINNERS
   ========================= */

.full-moon-dinner-altar {
  gap: 14px;
}

/* Descriptor under title */
.full-moon-dinner-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.full-moon-dinner-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  text-align: center;
}

/* Practice note */
.full-moon-dinner-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .full-moon-dinner-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .full-moon-dinner-blessing {
    font-size: 0.68rem;
  }

  .full-moon-dinner-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   APPRENTICESHIP — ALTAR
   ========================= */

.apprenticeship-altar {
  gap: 14px;
}

/* Descriptor under title */
.apprenticeship-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.apprenticeship-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 520px;
  text-align: center;
}

/* Practice note */
.apprenticeship-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .apprenticeship-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .apprenticeship-blessing {
    font-size: 0.68rem;
  }

  .apprenticeship-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   GURUKULA SABBATICAL RETREATS — ALTAR
   ========================= */

.retreat-altar {
  gap: 14px;
}

/* Descriptor under title */
.retreat-descriptor {
  margin-top: -2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.85;
}

/* Body text */
.retreat-blessing {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0.9;
  text-align: center;
  max-width: 560px;
}

/* Practice note */
.retreat-altar .practice-note {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.7;
  text-align: center;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .retreat-descriptor {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .retreat-blessing {
    font-size: 0.68rem;
  }

  .retreat-altar .practice-note {
    font-size: 0.58rem;
  }
}

/* =========================
   MEET THE TEACHER — CINEMATIC
   ========================= */

.teacher-cinematic {
  padding: 0;
  overflow: hidden;
}

/* Hero image */
.teacher-hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

/* Image treatment */
.teacher-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(0.98) saturate(1.05);
}

/* Gradient veil */
.teacher-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.75)
  );
}

/* Overlay text */
.teacher-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

/* Name */
.teacher-overlay .teacher-name {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Title */
.teacher-overlay .teacher-title {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

/* Body */
.teacher-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Text */
.teacher-intro,
.teacher-desc {
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0.9;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

  .teacher-hero {
    height: 200px;
  }

  .teacher-overlay {
    left: 12px;
    bottom: 12px;
  }

  .teacher-overlay .teacher-name {
    font-size: 0.75rem;
  }

  .teacher-intro,
  .teacher-desc {
    font-size: 0.68rem;
  }
}

/* =========================
   MEET THE TEACHER — CINEMATIC
   ========================= */

.teacher-cinematic {
  padding: 0;
  overflow: hidden;
}

/* Hero image */
.teacher-hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

/* Image treatment */
.teacher-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(0.98) saturate(1.05);
}

/* Gradient veil */
.teacher-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.75)
  );
}

/* Overlay text */
.teacher-overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

/* Name */
.teacher-overlay .teacher-name {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Title */
.teacher-overlay .teacher-title {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

/* Body */
.teacher-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Text */
.teacher-intro,
.teacher-desc {
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0.9;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

  .teacher-hero {
    height: 200px;
  }

  .teacher-overlay {
    left: 12px;
    bottom: 12px;
  }

  .teacher-overlay .teacher-name {
    font-size: 0.75rem;
  }

  .teacher-intro,
  .teacher-desc {
    font-size: 0.68rem;
  }
}

/* =========================
   MULTIDIMENSIONAL INTELLIGENCE — ALTAR
   ========================= */

.intelligence-altar {
  gap: 14px;
  padding: 2px 2px;
  padding-bottom: 14px;
}

.intelligence-line {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0.9;
  text-align: center;
  max-width: 560px;
}

/* Badge grid */
.intelligence-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  max-width: 760px;
}

/* Base badge */
.badge {
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  white-space: nowrap;
  opacity: 0.92;
}

.badge:hover {
  opacity: 1;
  transform: translateY(-1px);
  transition: transform 160ms ease, opacity 160ms ease;
}

/* =========================
   COLOR CODING
   ========================= */

.badge-blue {
  background: rgba(120,170,255,0.11);
  border-color: rgba(120,170,255,0.24);
}

.badge-violet {
  background: rgba(190,150,255,0.11);
  border-color: rgba(190,150,255,0.24);
}

.badge-teal {
  background: rgba(120,220,210,0.10);
  border-color: rgba(120,220,210,0.22);
}

.badge-pink {
  background: rgba(255,140,200,0.10);
  border-color: rgba(255,140,200,0.22);
}

.badge-amber {
  background: rgba(255,190,90,0.11);
  border-color: rgba(255,190,90,0.24);
}

.badge-gold {
  background: rgba(255,215,120,0.10);
  border-color: rgba(255,215,120,0.22);
}

.badge-silver {
  background: rgba(220,220,230,0.10);
  border-color: rgba(220,220,230,0.26);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {
  .intelligence-line {
    font-size: 0.68rem;
  }

  .badge {
    font-size: 0.46rem;
    padding: 5px 7px;
  }

  .intelligence-badges {
    gap: 6px;
  }

  .intelligence-badges .badge {
    font-size: 0.5rem;
    padding: 5px 7px;
    letter-spacing: 0.06em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* =========================
   AWAKENED MODULE — DENSE
   ========================= */

.awakened-module {
  gap: 12px;
}

.awakened-intro {
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Grid — always compact */
.awakened-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}

/* Images */
.awakened-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.awakened-gallery img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =========================
   MOBILE — KEEP SIZE
   ========================= */

@media (max-width: 900px) {
  .awakened-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .awakened-intro {
    font-size: 0.68rem;
  }
}

/* Very small screens only */
@media (max-width: 480px) {
  .awakened-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   SUBSTACK — READING ROOM
   ========================= */

.substack-altar {
  gap: 18px;
}

/* Subtitle */
.module-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Orientation line */
.substack-orientation {
  font-size: 0.68rem;
  font-style: italic;
  opacity: 0.75;
  text-align: center;
}

/* Feature container */
.substack-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.28);
}

/* Title */
.substack-feature-title {
  font-family: 'DM Serif Display', 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gold);
  text-align: center;
}

/* Meta */
.substack-feature-meta {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  text-align: center;
}

/* Excerpt container */
.substack-excerpt-wrap {
  position: relative;
  max-height: 140px;
  overflow: hidden;
}

/* Excerpt text */
.substack-feature-excerpt {
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0.9;
  text-align: left;
  margin: 0;
}

/* Fade-out */
.excerpt-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.95)
  );
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .substack-feature-title {
    font-size: 0.95rem;
  }

  .substack-feature-excerpt {
    font-size: 0.68rem;
  }

  .substack-orientation {
    font-size: 0.65rem;
  }
}

/* =========================
   SANGHA — GOOGLE CALENDAR
   ========================= */

.calendar-altar {
  gap: 16px;
}

.calendar-blessing {
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 520px;
  text-align: center;
}

/* Ensure calendar link stays canonical gold */
.calendar-altar a,
.calendar-altar a:visited {
  color: var(--gold) !important;
  text-decoration: none;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .calendar-blessing {
    font-size: 0.68rem;
  }
}

/* =========================
   SANGHA COUNTDOWN
   ========================= */

.sangha-countdown {
  gap: 14px;
  text-align: center;
}

.countdown-text {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.countdown-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255,255,255,0.75);
}

/* Timer */

.sangha-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}


.time-block {
  text-align: center;
  min-width: 58px;
}

.time-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold) !important;
  letter-spacing: 0.5px;
}

.time-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
}

/* Mobile */

@media (max-width: 768px) {

  .sangha-timer {
    gap: 0.5rem;
  }

  .time-block {
    flex: 0 0 45%;
    min-width: 0;
  }

}
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .practice-hall {
    overflow-x: hidden;
  }
}

/* =========================
   ENLIGHTENMENT — INTRO
   ========================= */

.enlightenment-intro {
  gap: 18px;
  text-align: center;
}

/* Body container */
.enlightenment-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

/* Title */
.enlightenment-title {
  margin: 0;
  font-family: 'DM Serif Display', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* Text block */
.enlightenment-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Paragraphs */
.enlightenment-text p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.9;
  text-align: left;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

  .enlightenment-title {
    font-size: 1.35rem;
  }

  .enlightenment-text p {
    font-size: 0.7rem;
    line-height: 1.6;
  }
}

/* =========================
   COMMUNITY — CIRCLE APP
   ========================= */

.community-blessing {
  font-size: 0.7rem;
  line-height: 1.45;
  opacity: 0.88;
  max-width: 520px;
}

/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .community-blessing {
    font-size: 0.68rem;
  }
}

/* =========================
   BRAND ORIENTATION — BASE
   ========================= */

.brand-orientation,
.brand-usp,
.brand-vision-mission {
  gap: 14px;
  text-align: center;
}

/* Divider */
.brand-divider {
  width: 96px;
  height: 1px;
  margin: 6px auto 4px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(214,183,125,0.6),
    transparent
  );
}

/* Main text */
.brand-text {
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto;
}

/* Subtext — DARK GOLD */
.brand-subtext {
  margin-top: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.9;
}

/* =========================
   VISION / MISSION
   ========================= */

.brand-vm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-vm-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-vm-title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-gold);
  opacity: 0.95;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {

  .brand-text {
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .brand-subtext {
    font-size: 0.6rem;
  }

  .brand-divider {
    width: 72px;
  }
}

/* =========================
   CONTACT — EMAIL
   ========================= */

.contact-altar {
  gap: 16px;
}

.contact-blessing {
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 520px;
  text-align: center;
}

/* Ensure email link stays gold */
.contact-altar a,
.contact-altar a:visited {
  color: var(--gold) !important;
  text-decoration: none;
}
.contact-email {
  margin-top: 3px;
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.7;
  text-align: center;
  word-break: break-all;
}


/* =========================
   MOBILE TUNING
   ========================= */

@media (max-width: 900px) {

  .contact-blessing {
    font-size: 0.68rem;
  }
}

/* ===============================
   OVERLAY
   =============================== */

.spring-modal-overlay {

  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);

  z-index: 999999;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
}

.spring-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   MODAL
   =============================== */

.spring-modal {

  position: relative;

  width: 100%;
  max-width: 520px;

  padding: 34px 30px 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(214,183,125,0.12),
      rgba(0,0,0,0.92)
    );

  border: 1px solid rgba(214,183,125,0.35);

  box-shadow:
    0 0 50px rgba(0,0,0,0.55);

  text-align: center;

  overflow: hidden;
}

/* ===============================
   CLOSE
   =============================== */

.spring-modal-close {

  position: absolute;
  top: 10px;
  right: 14px;

  background: transparent;
  border: none;

  color: rgba(255,255,255,0.7);

  font-size: 28px;
  cursor: pointer;
}

.spring-modal-close:hover {
  opacity: 0.8;
}

/* ===============================
   TEXT
   =============================== */

.spring-modal-kicker {

  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: var(--deep-gold);

  margin-bottom: 14px;
}

.spring-modal-title {

  margin: 0 0 14px;

  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;

  color: var(--gold);
}

.spring-modal-text {

  margin: 0 0 10px;

  font-size: 0.9rem;
  line-height: 1.6;

  color: var(--text-light);
}

.spring-modal-highlight {

  margin: 20px auto 14px;

  display: inline-block;

  padding: 10px 16px;

  border-radius: 10px;

  border: 1px solid rgba(214,183,125,0.4);

  background: rgba(255,255,255,0.04);

  color: var(--gold);

  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spring-modal-code {

  margin-bottom: 22px;

  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--text-light);
}

.spring-modal-code span {

  color: var(--gold);

  font-size: 1rem;
  letter-spacing: 0.18em;
}

/* ===============================
   BUTTON
   =============================== */

.spring-modal-button,
.spring-modal-button:visited {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 24px;

  border-radius: 10px;

  border: 1px solid var(--gold);

  color: var(--gold);
  text-decoration: none;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  font-size: 0.72rem;

  transition: opacity 0.15s ease;
}

.spring-modal-button:hover {
  opacity: 0.9;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 900px) {

  .spring-modal {
    padding: 28px 18px 22px;
    border-radius: 14px;
  }

  .spring-modal-text {
    font-size: 0.8rem;
  }

  .spring-modal-button {
    width: 100%;
  }

}

/* FORCE MODAL LINKS TO IGNORE GLOBAL BLUE LINK RULES */

.spring-modal a,
.spring-modal a:visited,
.spring-modal a:hover,
.spring-modal a:active,
.spring-modal a:focus {
  color: var(--gold) !important;
  text-decoration: none !important;
}