/* ============================================================
   FuturiseYou — Main Stylesheet
   public/css/app.css
   ============================================================ */

/* ── Base Reset & CSS Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C63A43;
  --blue:       #2D4F8B;
  --dark:       #0F172A;
  --light-bg:   #F1F5F9;
  --white:      #FFFFFF;
  --text-body:  #475569;
  --text-muted: #64748B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --red: #C63A43;
    --blue: #2D4F8B;
    --dark: #0F172A;
    --light-bg: #F1F5F9;
    --white: #FFFFFF;
    --text-body: #475569;
    --text-muted: #64748B;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    min-height: 76px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  /* Logo image — transparent PNG, enlarged, black bg removed via mix-blend-mode */
  .logo img {
    height: 52px;
    width: auto;
    mix-blend-mode: screen;   /* removes black background on dark nav */
    filter: brightness(1.1);
  }

  /* On white/light backgrounds (nav-solid), don't use screen blend */
  nav.nav-solid .logo img,
  nav.scrolled .logo img {
    mix-blend-mode: normal;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    position: relative;
  }

  /* Nested square logo recreation */
  .logo-icon svg { width: 38px; height: 38px; }

  .logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
  }
  .logo-text span.f { color: var(--red); }
  .logo-text span.y { color: var(--blue); }
  .logo-text span.mid { color: var(--red); }
  .logo-text span.you { color: var(--blue); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    flex-wrap: nowrap;
  }

  .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 1; }

  .btn-nav {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600 !important;
    opacity: 1 !important;
    transition: background 0.2s !important;
  }
  .btn-nav:hover { background: #A92F37 !important; }

  /* ── HERO ── */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/Hero_Background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  /* Gradient: dark on left for text, fades to semi-transparent on right */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(11,19,36,0.80) 0%,
      rgba(11,19,36,0.55) 40%,
      rgba(11,19,36,0.20) 65%,
      rgba(11,19,36,0.10) 100%
    );
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    padding: 160px 48px 80px;
  }

  .hero-content h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    /*color: var(--white);*/
    color: var(--black);
    margin-bottom: 22px;
    letter-spacing: -1.5px;
  }

  .hero-subhead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.45;
  }

  .hero-subhead .futures { color: var(--blue); }
  .hero-subhead .past { color: var(--red); }

  .hero-body {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 380px;
  }

  .hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: #A92F37; transform: translateY(-1px); }

  .btn-ghost {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.2); }

  .play-icon {
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .play-icon::after {
    content: '';
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--dark);
    margin-left: 2px;
  }

  .scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 48px;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
  }
  .scroll-hint svg { opacity: 0.7; animation: bounce 2s infinite; }
  @keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
  }

  /* ── SECTION 2: SOMETHING DOESN'T FEEL RIGHT ── */
  #recognition {
    background: var(--light-bg);
    padding: 96px 48px;
    text-align: center;
  }

  .eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
  }

  .eyebrow-line {
    width: 36px;
    height: 3px;
    background: var(--red);
    margin: 8px auto 28px;
    border-radius: 2px;
  }

  #recognition h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -1px;
  }

  #recognition h2 .right { color: var(--red); }

  .section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 56px;
    line-height: 1.65;
  }

  /* cards grid */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

  .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #ccc;
  }

  .card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F7D9DC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -22px 0 0 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .card:nth-child(2) .card-icon-wrap { background: #DCE8FF; }
  .card:nth-child(3) .card-icon-wrap { background: #F7D9DC; }
  .card:nth-child(4) .card-icon-wrap { background: #DDEBFF; }

  .card-icon-wrap svg { width: 20px; height: 20px; }

  .card-body {
    padding: 16px 20px 24px;
  }

  .card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .card-rule {
    width: 28px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 10px;
  }

  .card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* placeholder images using colored divs */
  .card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }

  .card:nth-child(1) .card-img-placeholder { background: linear-gradient(135deg, #334155, #475569); }
  .card:nth-child(2) .card-img-placeholder { background: linear-gradient(135deg, #3B2F2F, #5A4A3A); }
  .card:nth-child(3) .card-img-placeholder { background: linear-gradient(135deg, #2D4F8B, #2D4F8B); }
  .card:nth-child(4) .card-img-placeholder { background: linear-gradient(135deg, #1A3A2A, #2D6A4A); }

  /* ── FOOTER CTA STRIP ── */
  #cta {
    background: var(--dark);
    padding: 80px 48px;
    text-align: center;
  }

  #cta h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
    line-height: 1.15;
  }

  #cta h2 span { color: #7FA7E6; }

  #cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
  }

  /* ── FOOTER ── */
  footer {
    background: #071126;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  footer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
  }

  .footer-tagline {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 18px 24px; }
    .hero-content { padding: 120px 24px 60px; }
    #recognition { padding: 72px 24px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    #cta { padding: 60px 24px; }
    footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
  }

  @media (max-width: 520px) {
    .cards-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
  }

  /* Entrance animations */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-in:nth-child(2) { transition-delay: 0.1s; }
  .fade-in:nth-child(3) { transition-delay: 0.2s; }
  .fade-in:nth-child(4) { transition-delay: 0.3s; }

  /* ── SECTION 3 ── */
  #shared-journey {
    background: var(--light-bg);
    padding: 96px 48px 64px;
    text-align: center;
  }

  .s3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: left;
  }

  .s3-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .s3-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

  .s3-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
  }

  .s3-body {
    padding: 18px 20px 24px;
  }

  .s3-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }

  .s3-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .s3-icon-wrap svg { width: 18px; height: 18px; }
  .s3-icon-red { background: #F7D9DC; }
  .s3-icon-blue { background: #DCE8FF; }

  .s3-label {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
  }

  .s3-rule {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 10px;
  }
  .s3-rule-red { background: var(--red); }
  .s3-rule-blue { background: var(--blue); }

  .s3-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .s3-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .s3-footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
  }

  .s3-footer-line::before,
  .s3-footer-line::after {
    content: '';
    flex: 1;
    height: 2px;
    display: block;
  }
  .s3-footer-line::before { background: var(--red); margin-right: 16px; }
  .s3-footer-line::after { background: var(--blue); margin-left: 16px; }

  .s3-footer-red {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--red);
    white-space: nowrap;
  }
  .s3-footer-blue {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--blue);
    white-space: nowrap;
    margin-left: 8px;
  }

  @media (max-width: 900px) {
    .s3-grid { grid-template-columns: repeat(2, 1fr); }
    #shared-journey { padding: 72px 24px 48px; }
  }
  @media (max-width: 520px) {
    .s3-grid { grid-template-columns: 1fr; }
  }


  /* ── SECTION 4 ── */
  #better-conversations {
    background: var(--white);
    padding: 96px 48px 80px;
    text-align: center;
  }

  #better-conversations h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
  }

  #better-conversations h2 .dot { color: var(--red); }

  .s4-intro {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 8px;
  }

  .s4-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 460px;
    margin: 0 auto 44px;
  }

  .s4-img-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,0.12);
  }

  .s4-img-wrap img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  .s4-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
  }

  .s4-pillars {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 0 auto 44px;
    flex-wrap: wrap;
  }

  .s4-pillar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    border: 1px solid #E2E8F0;
    flex: 1;
    min-width: 160px;
  }

  .s4-pillar:first-child { border-radius: 12px 0 0 12px; }
  .s4-pillar:last-child  { border-radius: 0 12px 12px 0; }

  .s4-pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .s4-pillar-icon svg { width: 20px; height: 20px; }
  .s4-pillar-icon.red  { background: #F7D9DC; }
  .s4-pillar-icon.blue { background: #DCE8FF; }

  .s4-pillar-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    text-align: left;
  }

  .s4-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
  }
  .s4-cta:hover { background: #A92F37; transform: translateY(-1px); }
  .s4-cta .arrow { font-size: 1.1rem; }

  @media (max-width: 900px) {
    #better-conversations { padding: 72px 24px 60px; }
    .s4-pillars { gap: 8px; }
    .s4-pillar { border-radius: 12px !important; flex: calc(50% - 8px); min-width: 140px; }
  }
  @media (max-width: 520px) {
    .s4-pillar { flex: 100%; }
  }


  /* ── SECTION 5 ── */
  #direction {
    background: #F8FAFC;
    padding: 96px 48px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  /* subtle grid background */
  #direction::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(26,58,124,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(26,58,124,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }

  #direction .eyebrow { position: relative; }
  #direction .eyebrow-line { position: relative; }

  #direction h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--dark);
    margin-bottom: 24px;
    position: relative;
  }
  #direction h2 .red-line { color: var(--red); display: block; }

  .s5-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 64px;
    position: relative;
  }

  /* ── diagram ── */
  .s5-future-diagram {
    display: block;
    width: min(100%, 1100px);
    height: auto;
    margin: 0 auto 56px;
    position: relative;
  }

  .s5-diagram {
    position: relative;
    width: 560px;
    height: 360px;
    margin: 0 auto 56px;
  }

  .s5-diagram svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  /* center circle */
  .s5-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1), 0 0 0 2px #E2E8F0;
    z-index: 2;
  }
  .s5-center span {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
  }

  /* labels */
  .s5-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .s5-lbl {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
  }
  .s5-lbl .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .s5-lbl.left  { flex-direction: row-reverse; right: calc(50% + 120px); }
  .s5-lbl.right { flex-direction: row;          left:  calc(50% + 120px); }

  /* vertical positioning */
  .s5-lbl-purpose      { top: 12%;  }
  .s5-lbl-curiosity    { top: 12%;  }
  .s5-lbl-relationships{ top: 43%;  }
  .s5-lbl-adaptability { top: 43%;  }
  .s5-lbl-wellbeing    { top: 74%;  }
  .s5-lbl-skills       { top: 74%;  }

  /* bottom text */
  .s5-bottom {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
  }
  .s5-divider {
    width: 36px; height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 0 auto 24px;
  }
  .s5-bottom-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.35;
  }
  .s5-bottom-text {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
  }
  .s5-bottom-text span { color: var(--red); font-weight: 600; }

  @media (max-width: 680px) {
    .s5-future-diagram {
      width: 100%;
      margin-bottom: 40px;
    }
    .s5-diagram { width: 340px; height: 260px; }
    .s5-lbl { font-size: 0.78rem; gap: 5px; }
    .s5-lbl.left  { right: calc(50% + 76px); }
    .s5-lbl.right { left:  calc(50% + 76px); }
    .s5-center { width: 80px; height: 80px; }
    .s5-center span { font-size: 1rem; }
    #direction { padding: 72px 24px 60px; }
  }


  /* ── SECTION 6: FOUNDER ── */
  #founder {
    background: var(--white);
    padding: 96px 64px;
  }

  .s6-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }

  .s6-img-col {
    position: relative;
  }

  .s6-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/3.5;
    box-shadow: 0 8px 48px rgba(0,0,0,0.12);
  }

  .s6-text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .s6-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
  }

  .s6-eyebrow-rule {
    width: 36px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 24px;
  }

  .s6-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 32px;
  }
  .s6-title .dot { color: var(--red); }

  .s6-quotes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .s6-quote {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
  }

  .s6-quote-bar {
    width: 3px;
    min-width: 3px;
    background: var(--red);
    border-radius: 2px;
    align-self: stretch;
    margin-top: 3px;
  }

  .s6-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 24px 0;
  }

  .s6-belief {
    font-size: 0.97rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.6;
  }

  .s6-belief-line {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 28px;
    line-height: 1.5;
  }

  .s6-signature {
    font-family: 'Brush Script MT', 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .s6-name {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  /* banner strip */
  .s6-banner {
    max-width: 1100px;
    margin: 48px auto 0;
    background: #F7D9DC;
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .s6-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .s6-banner-icon {
    width: 52px;
    height: 52px;
    background: #F7D9DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .s6-banner-icon svg { width: 26px; height: 26px; }

  .s6-banner-text h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
  }
  .s6-banner-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 420px;
  }

  .s6-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
  }
  .s6-banner-btn:hover { background: #A92F37; transform: translateY(-1px); }

  @media (max-width: 900px) {
    #founder { padding: 72px 24px; }
    .s6-wrap { grid-template-columns: 1fr; gap: 40px; }
    .s6-img { aspect-ratio: 4/3; }
    .s6-banner { flex-direction: column; align-items: flex-start; }
  }


  /* ── SECTION 7: WHAT'S COMING NEXT ── */
  #whats-next {
    background: var(--light-bg);
    padding: 96px 48px 80px;
    text-align: center;
  }

  #whats-next h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  #whats-next h2 .dot { color: var(--red); }

  .s7-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 52px;
    line-height: 1.7;
  }

  /* top row: 4 cards */
  .s7-row-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 16px;
  }

  /* bottom row: 3 cards */
  .s7-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 825px;
    margin: 0 auto 52px;
  }

  .s7-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
  }
  .s7-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

  .s7-card-img-wrap {
    position: relative;
  }

  .s7-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
  }

  .s7-card-icon {
    position: absolute;
    top: 12px; left: 12px;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .s7-card-icon svg { width: 22px; height: 22px; }
  .s7-card-icon.red  { background: #F7D9DC; }
  .s7-card-icon.blue { background: #DCE8FF; }

  .s7-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .s7-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .s7-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
  }

  .s7-card-arrow {
    color: var(--red);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .s7-card-text {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* bottom CTA banner */
  .s7-cta-banner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 32px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    text-align: left;
  }

  .s7-cta-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .s7-cta-plane {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
  }

  .s7-cta-text h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 8px;
  }
  .s7-cta-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 480px;
  }

  .s7-cta-right {
    flex-shrink: 0;
    text-align: right;
  }
  .s7-cta-right p {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    white-space: nowrap;
  }

  .s7-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
  }
  .s7-join-btn:hover { background: #A92F37; transform: translateY(-1px); }

  @media (max-width: 1000px) {
    .s7-row-top { grid-template-columns: repeat(2, 1fr); }
    .s7-row-bottom { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    #whats-next { padding: 72px 24px 60px; }
  }
  @media (max-width: 600px) {
    .s7-row-top, .s7-row-bottom { grid-template-columns: 1fr; }
    .s7-cta-banner { flex-direction: column; }
    .s7-cta-right { text-align: left; }
  }


  /* ── SECTION 7: WHAT'S COMING NEXT ── */
  #whats-next {
    background: var(--light-bg);
    padding: 96px 48px 80px;
    text-align: center;
  }

  #whats-next h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
  }
  #whats-next h2 .dot { color: var(--red); }

  #whats-next .s7-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 52px;
    line-height: 1.7;
  }

  /* grid: 4 top, 3 bottom */
  .s7-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 16px;
  }

  .s7-grid-bot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 825px;
    margin: 0 auto 48px;
  }

  .s7-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .s7-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }

  .s7-card-img-wrap {
    position: relative;
  }

  .s7-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
  }

  .s7-card-icon {
    position: absolute;
    top: 12px; left: 12px;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .s7-card-icon svg { width: 22px; height: 22px; }
  .s7-card-icon.red  { background: #F7D9DC; }
  .s7-card-icon.blue { background: #DCE8FF; }

  .s7-card-body {
    padding: 16px 18px 20px;
  }

  .s7-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
  }

  .s7-card-title span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
  }

  .s7-arrow {
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
  }
  .s7-card:hover .s7-arrow { transform: translateX(3px); }

  .s7-card-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* bottom banner */
  .s7-banner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }

  .s7-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .s7-banner-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
  }

  .s7-banner-icon svg {
    width: 56px;
    height: 56px;
  }

  .s7-banner-text h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
  }

  .s7-banner-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
  }

  .s7-banner-right {
    text-align: right;
    flex-shrink: 0;
  }

  .s7-banner-right p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
  }

  .s7-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
  }
  .s7-join-btn:hover { background: #A92F37; transform: translateY(-1px); }

  @media (max-width: 1000px) {
    .s7-grid-top { grid-template-columns: repeat(2, 1fr); }
    .s7-grid-bot { grid-template-columns: repeat(2, 1fr); max-width: 550px; }
    #whats-next { padding: 72px 24px 60px; }
  }
  @media (max-width: 600px) {
    .s7-grid-top, .s7-grid-bot { grid-template-columns: 1fr; max-width: 100%; }
    .s7-banner { flex-direction: column; }
    .s7-banner-right { text-align: left; }
  }


  /* ── CTA SECTION 8 ── */
  #cta-final {
    background: #071126;
    padding: 120px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  /* animated SVG wave lines */
  #cta-final .wave-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  #cta-final .cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  #cta-final .cta-eyebrow-rule {
    width: 36px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    margin: 8px auto 32px;
    position: relative;
    z-index: 1;
  }

  #cta-final h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }
  #cta-final h2 .dot { color: var(--red); }

  #cta-final p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
  }

  .cta-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
  }
  .cta-final-btn:hover { background: #A92F37; transform: translateY(-2px); }

  /* ── FOOTER ── */
  #footer-main {
    background: #071126;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 72px 64px 0;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 60px;
  }

  .footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    text-decoration: none;
  }

  .footer-logo-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .footer-brand-name {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
  }
  .footer-brand-name .dot { color: var(--red); }

  .footer-brand-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 300px;
  }

  .footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
  }

  .footer-col-rule {
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 20px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    transition: color 0.2s;
    padding-right: 4px;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-links a .fa {
    color: var(--red);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
  }
  .footer-links a:hover .fa { opacity: 1; transform: translateX(2px); }

  .footer-links .chevron {
    color: var(--red);
    font-size: 0.8rem;
  }

  /* social links */
  .footer-socials {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-socials a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    transition: color 0.2s;
  }
  .footer-socials a:hover { color: var(--white); }

  .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
  }
  .footer-socials a:hover .social-icon { border-color: rgba(255,255,255,0.4); }
  .social-icon svg { width: 18px; height: 18px; }

  /* tagline bar */
  .footer-tagline-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .footer-tagline-bar .big-quote {
    font-size: 2rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
  }

  .footer-tagline-bar p {
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.3px;
  }

  /* bottom bar */
  .footer-bottom {
    background: #071126;
    padding: 20px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
  }

  .footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

  .footer-bottom-links span {
    color: rgba(255,255,255,0.15);
  }

  @media (max-width: 900px) {
    #footer-main { padding: 56px 24px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 10px; text-align: center; }
    #cta-final { padding: 80px 24px; }
  }

  @media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
  }



  /* ── Nav on light-background pages (e.g. join page) ── */
  nav.nav-solid {
    background: #071126 !important;
    box-shadow: 0 2px 16px rgba(15,23,42,0.15);
  }
  nav.scrolled {
    background: rgba(7, 18, 40, 0.97);
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
  }

  /* offset sections so fixed nav doesn't cover headings */
  #recognition, #shared-journey, #better-conversations, #direction, #founder, #whats-next, #cta-final {
    scroll-margin-top: 80px;
  }


/* ============================================================
   Mobile Navigation
   ============================================================ */

/* Hamburger — hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1200;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scrolled state — keep hamburger white */
nav.scrolled .nav-hamburger span { background: #FFFFFF; }

/* Overlay */
.nav-overlay {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.open {
  visibility: visible;
  opacity: 1;
}

/* Drawer */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #071126;
  z-index: 1100;
  padding: 90px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.nav-mobile-menu.open {
  transform: translateX(0);
}
.nav-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu li a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.nav-mobile-menu li a:hover { color: #FFFFFF; }
.btn-nav-mobile {
  display: block !important;
  margin-top: 24px;
  background: #C63A43 !important;
  color: #FFFFFF !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  text-align: center;
  border-bottom: none !important;
}
.btn-nav-mobile:hover { background: #A92F37 !important; }

/* ── Switch at 900px ── */
@media (max-width: 900px) {
  /* Hide desktop links */
  .nav-links { display: none !important; }
  /* Show hamburger */
  .nav-hamburger { display: flex !important; }
}


/* ============================================================
   Join The Conversation Page
   Colors: bg #F8FAFC | navy #2D4F8B | red #C63A43
   ============================================================ */

:root {
  --join-bg:    #F8FAFC;
  --join-navy:  #2D4F8B;
  --join-red:   #C63A43;
  --join-card:  #FFFFFF;
  --join-border:#E2E8F0;
  --join-muted: #64748B;
  --join-shadow: 0 2px 16px rgba(8,26,56,0.07);
}

/* ── Hero ── */
.join-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  margin-top: 80px;
  overflow: hidden;
  background: #fff;
}

.join-hero-content {
  padding: 80px 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.join-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.join-eyebrow-rule {
  width: 36px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 28px;
}

.join-hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 24px;
}
.join-hero-title .red { color: var(--red); }

.join-hero-divider {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}
.divider-red  { display:block; width:36px; height:3px; background:var(--red);  border-radius:2px; }
.divider-blue { display:block; width:36px; height:3px; background:var(--blue); border-radius:2px; }

.join-hero-body {
  font-size: 0.97rem;
  color: var(--cool);
  line-height: 1.8;
}

.join-hero-img {
  overflow: hidden;
  position: relative;
}
.join-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Form wrapper ── */
.join-form-section {
  background: var(--mist);
  padding: 64px 24px 100px;
}

.join-form {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Step blocks ── */
.join-step {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 40px 36px;
  box-shadow: 0 2px 16px rgba(15,23,42,0.07);
}

.join-step-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.join-step-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}

.join-step-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.join-step-desc {
  font-size: 0.88rem;
  color: var(--cool);
  line-height: 1.5;
}

/* ── Role cards ── */
.join-role-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.join-role-card { cursor: pointer; }
.join-role-card input { display: none; }

.join-role-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  user-select: none;
}

.join-role-inner svg {
  width: 30px; height: 30px;
  color: var(--cool);
  transition: color 0.2s;
}

.join-role-card:hover .join-role-inner {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.join-role-card input:checked + .join-role-inner {
  border-color: var(--red);
  background: #F7D9DC;
  color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}

.join-role-card input:checked + .join-role-inner svg {
  color: var(--red);
}

/* ── Checkboxes ── */
.join-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
}

.join-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.4;
  padding: 4px 0;
}

.join-checkbox-label input { display: none; }

.join-checkbox-custom {
  width: 18px; height: 18px;
  border: 1.5px solid #E2E8F0;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.join-checkbox-label:hover .join-checkbox-custom {
  border-color: var(--red);
}

.join-checkbox-label input:checked + .join-checkbox-custom {
  background: var(--red);
  border-color: var(--red);
}

.join-checkbox-label input:checked + .join-checkbox-custom::after {
  content: '';
  display: block;
  width: 4px; height: 7px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ── Text fields ── */
.join-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.join-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.join-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #FCFCFD;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.join-field input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.join-phone-row {
  display: flex;
  gap: 10px;
}

.join-phone-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.join-country-code {
  flex: 0 0 48%;
  min-width: 0;
  padding: 13px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: 0.88rem 'Inter', sans-serif;
  color: var(--dark);
  background: #FCFCFD;
  outline: none;
}

.join-country-code:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.join-field-help {
  display: block;
  margin-top: 7px;
  color: var(--cool);
  font-size: 0.75rem;
  line-height: 1.4;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.req { color: var(--red); }
.opt { color: var(--cool); font-weight: 400; font-size: 0.8rem; }

/* ── Textarea ── */
.join-textarea {
  width: 100%;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #FCFCFD;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.7;
}
.join-textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

/* ── Submit step ── */
.join-step--submit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #F7D9DC 100%);
}

.join-submit-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.join-submit-quote {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.join-submit-rule { display: flex; gap: 4px; }

.join-submit-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.join-submit-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 17px 40px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(229,57,53,0.3);
}
.join-submit-btn:hover {
  background: #A92F37;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229,57,53,0.4);
}

.join-submit-note {
  font-size: 0.79rem;
  color: var(--cool);
  text-align: center;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.join-submit-decoration {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 160px;
  opacity: 0.35;
  pointer-events: none;
}

/* ── Success ── */
.join-success {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(15,23,42,0.07);
}

.join-success-icon svg { width: 60px; height: 60px; margin-bottom: 28px; }

.join-success h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 20px;
}

.join-success p {
  font-size: 0.97rem;
  color: var(--cool);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .join-hero { grid-template-columns: 1fr; }
  .join-hero-img { height: 260px; }
  .join-hero-content { padding: 52px 28px 44px; }
  .join-role-grid { grid-template-columns: repeat(3, 1fr); }
  .join-checkbox-grid { grid-template-columns: 1fr 1fr; }
  .join-fields-grid { grid-template-columns: 1fr; }
  .join-step--submit { grid-template-columns: 1fr; gap: 28px; }
  .join-submit-right { align-items: flex-start; }
  .join-submit-decoration { display: none; }
  .join-step { padding: 28px 20px; }
  .join-form-section { padding: 40px 16px 72px; }
}

@media (max-width: 520px) {
  .join-role-grid { grid-template-columns: repeat(2, 1fr); }
  .join-checkbox-grid { grid-template-columns: 1fr; }
  .join-hero-title { font-size: 1.8rem; }
  .join-submit-btn { width: 100%; text-align: center; justify-content: center; }
}

/* ── Footer logo ── */
.footer-logo-img {
  height: 52px;
  width: auto;
  /* Footer is dark (#071126) so screen blend removes any black bg */
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

/* ── Form errors (join.php) ── */
.form-errors {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 auto 24px;
  max-width: 960px;
}
.form-errors p {
  color: #C63A43;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Join success wrapper ── */
.join-success-wrap {
  background: var(--mist);
  padding: 64px 24px 96px;
}

/* ============================================================
   Book Card + Video Section (Resources / What's Coming Next)
   ============================================================ */

.resources-book-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 0 48px;
}

/* ── Book Card ── */
.book-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  border: 1px solid #E2E8F0;
  padding: 28px;
  align-items: start;
}

.book-card-cover {
  position: relative;
  flex-shrink: 0;
}

.book-card-cover img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.book-card-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #C63A43;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 999px;
}

.book-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C63A43;
  margin-bottom: 8px;
}

.book-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.book-card-subtitle {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 8px;
  font-style: italic;
}

.book-card-author {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 12px;
}

.book-card-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 14px;
}

.book-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.book-card-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.book-card-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-btn-read,
.book-btn-amazon,
.book-btn-gumroad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.book-btn-read {
  background: #0F172A;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15,23,42,0.2);
}
.book-btn-read:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,23,42,0.3); }

.book-btn-amazon {
  background: #FF9900;
  color: #000;
}
.book-btn-amazon:hover { transform: translateY(-1px); }

.book-btn-gumroad {
  background: #C63A43;
  color: #fff;
}
.book-btn-gumroad:hover { transform: translateY(-1px); }

/* ── Video Card ── */
.video-card {
  background: #0F172A;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #1E293B;
}

.video-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #F1F5F9;
  letter-spacing: -0.3px;
}

.video-card-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.65;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-card-links {
  margin-top: 4px;
}

.video-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}
.video-yt-link:hover { color: #FF0000; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .resources-book-video { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .book-card { grid-template-columns: 1fr; }
  .book-card-cover { max-width: 200px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .book-card { padding: 20px; gap: 20px; }
  .video-card { padding: 20px; }
}

/* ── Card 8 Mentoring Lab extras ── */
.s7-card-tag {
  color: #C63A43;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.s7-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s7-card-bullets li {
  font-size: 0.82rem;
  color: var(--cool);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.s7-card-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #C63A43;
  font-weight: 700;
}

/* ── Resources section nav link fix ── */
#resources,
#resources-book,
#resources-youtube,
#resources-cta {
  scroll-margin-top: 80px;
}

/* Separated resource sections, included individually from index.php */
#resources-book,
#resources-youtube,
#resources-cta {
  background: var(--light-bg);
  padding-left: 48px;
  padding-right: 48px;
}

#resources-book {
  padding-top: 48px;
  padding-bottom: 28px;
}

#resources-youtube {
  padding-top: 0;
  padding-bottom: 28px;
}

#resources-cta {
  padding-top: 20px;
  padding-bottom: 80px;
}

.resources-single-card {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding-bottom: 0;
}

.resources-single-card .book-card,
.resources-single-card .video-card {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  #resources-book,
  #resources-youtube,
  #resources-cta {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ── Reusable presentation helpers (externalized from page markup) ── */
.shared-eyebrow,
.shared-heading { text-align: center; }
.shared-heading-accent { color: var(--red); }
.resources-card-section { background-color: var(--white); }
.join-hero-body-spaced { margin-top: 12px; }
.join-back-link {
  display: inline-block;
  margin-top: 24px;
  text-decoration: none;
}

/* ── Coming-soon footer dialog ── */
body.coming-soon-open { overflow: hidden; }

.coming-soon-dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--dark);
  background: rgba(7, 17, 38, 0.76);
  backdrop-filter: blur(4px);
}

.coming-soon-dialog[hidden] { display: none; }

.coming-soon-dialog .coming-soon-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(7, 17, 38, 0.35);
}

.coming-soon-card {
  position: relative;
  padding: 44px 42px 38px;
  border-top: 5px solid var(--red);
  border-radius: 20px;
  background: var(--white);
  text-align: center;
}

.coming-soon-card h2 {
  margin: 0 0 18px;
  font: 800 1.65rem/1.2 'Manrope', sans-serif;
  color: var(--blue);
}

.coming-soon-card p {
  margin: 0 0 16px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.coming-soon-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.coming-soon-inline-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coming-soon-inline-link:hover { color: #A92F37; }
.coming-soon-card .coming-soon-signoff {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 800;
}

/* Use the portrait hero artwork on mobile while retaining the desktop image. */
@media (max-width: 600px) {
  #hero {
    align-items: flex-start;
    background: #071126;
  }

  .hero-bg {
    background-image: url('../images/Hero_Background_Mobile.png');
    background-color: #071126;
    background-size: cover;
    background-position: center center;
  }

  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(7,17,38,0.38) 0%,
      rgba(7,17,38,0.50) 48%,
      rgba(7,17,38,0.78) 100%
    );
  }

  .hero-content {
    max-width: 680px;
    padding-top: 120px;
  }

  .hero-content h1 { color: var(--black); }
}

@media (max-width: 520px) {
  .coming-soon-card { padding: 40px 24px 30px; }
  .coming-soon-card h2 { font-size: 1.4rem; }
  .join-phone-row { flex-direction: column; }
  .join-country-code { flex-basis: auto; width: 100%; }
}
