﻿:root {
    color-scheme: dark;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111;
    background: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
    color: #111;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container sizing is owned by the original FoundersCard stylesheet
   (.u-container is 100% wide, .u-container--1 caps at 1460px). The old
   1200px cap that lived here made every section narrower than the design. */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid #e6e6e6;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.site-branding .site-title,
.site-branding img {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.site-navigation {
    display: flex;
}

.site-navigation ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation li a {
    color: #111;
    font-weight: 600;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(17,17,17,0.65), rgba(17,17,17,0.45)), #111;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-copy {
    max-width: 720px;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 1rem;
    line-height: 1.05;
}

.hero-copy p {
    font-size: 1.1rem;
    margin: 0 0 1.75rem;
    max-width: 40rem;
}

.hero-button,
.cta-button,
.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    background: #111;
    color: #fff;
    border-radius: 999px;
    transition: background 0.25s ease;
}

.hero-button:hover,
.cta-button:hover,
.footer-cta-button:hover {
    background: #333;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tagline {
    display: inline-block;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.value-section,
.network-section,
.cta-section,
.about-hero,
.about-content {
    padding: 4rem 0;
}

.value-cards,
.network-cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card,
.network-card {
    background: #f7f7f7;
    border-radius: 24px;
    padding: 2rem;
    min-height: 180px;
}

.value-card h3,
.network-value {
    margin-top: 0;
    font-size: 1.25rem;
}

.network-value {
    display: block;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.about-hero {
    background: #f7f7f7;
}

.about-hero .section-tagline {
    color: #111;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0.75rem 0 1rem;
}

.about-content-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
}

.about-content-image img {
    border-radius: 24px;
    width: 100%;
    height: auto;
}

.cta-section {
    text-align: center;
}

.cta-card {
    display: inline-grid;
    gap: 1rem;
    padding: 3rem 2rem;
    background: #111;
    color: #fff;
    border-radius: 32px;
}

.footer-cta {
    background: #111;
    color: #fff;
    padding: 2rem 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-widgets {
    padding: 3rem 0;
    border-top: 1px solid #e6e6e6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid #e6e6e6;
}

.footer-menu-items {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Horizontal layout for WP custom menu inside the header */
.nav-desktop-menu > ul,
.nav-desktop-menu .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-desktop-menu > ul > li,
.nav-desktop-menu .menu > li {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-desktop-menu > ul > li > a,
.nav-desktop-menu .menu > li > a {
    color: var(--white);
    font-feature-settings: "liga" off, "clig" off;
    font-family: var(--font-sans);
    font-size: 15px;
    font-style: normal;
    font-weight: var(--weight-normal);
    line-height: 100%;
    text-decoration: none;
    display: inline-flex;
    padding-block: .25em;
    pointer-events: auto;
}

.navbar.navbar-content--black .nav-desktop-menu > ul > li > a,
.navbar.navbar-content--black .nav-desktop-menu .menu > li > a {
    color: var(--black);
}

/* Mobile off-canvas menu — flatten WP menu list and apply original link styling */
.modal-links ul,
.modal-links .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.modal-links li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.modal-links li::marker,
.modal-links ul li::marker {
    content: "";
    display: none;
}

.modal-links li > a {
    color: var(--black);
    font-feature-settings: "liga" off, "clig" off;
    font-family: var(--font-display);
    font-size: 52px;
    font-style: normal;
    font-weight: var(--weight-);
    line-height: 108%;
    letter-spacing: -1px;
    text-decoration: none;
}

.modal-links li.current-menu-item > a,
.modal-links li.current_page_item > a {
    color: var(--gray4);
    font-style: italic;
}

/* Hero text styling — centered, no pill background on subtitle */
.hero-content {
    text-align: center;
    align-items: center;
}

.hero-content h1 {
    text-align: center;
    margin: 0 0 6px;
}

.hero-content .hero-eyebrow {
    display: block;
    background: transparent;
    color: #fff;
    font-family: var(--font-sans, Inter, system-ui, sans-serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
    padding: 0;
    border-radius: 0;
    margin: 0 0 10px;
    text-align: center;
}

.hero-content .hero-body,
.hero-content > p {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 18px;
}

/* Hero scrolling logo strip */
.hero-logo-strip {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    padding: 18px 0;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
}

.logo-marquee__track {
    display: flex;
    width: max-content;
    gap: 60px;
    align-items: center;
    animation: founderscard-logo-scroll 30s linear infinite;
    will-change: transform;
}

.logo-marquee:hover .logo-marquee__track {
    animation-play-state: paused;
}

.logo-marquee__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.logo-marquee__item img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

@keyframes founderscard-logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee__track { animation: none; }
}

/* Hero background variants — image and YouTube iframe */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.hero-bg-youtube {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg-youtube iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;            /* 16:9 — fills width */
    min-width: 177.78vh;        /* 16:9 — fills height */
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;       /* clicks pass through to hero CTAs */
}

/* Make sure hero text sits above the background */
.hero .hero-container,
.hero .hero-content,
.hero .hero-logo-strip,
.hero .hero-jump-down {
    position: relative;
    z-index: 2;
}

/* 100 Founding Seats section — premium black/gold card */
.founding-seats {
    position: relative;
    isolation: isolate;
    padding: 96px 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* When placed inside the partners section, strip outer padding/background
   so the card floats over the existing logo marquee instead of forming its own block. */
.founding-seats--in-partners {
    padding: 0;
    background: transparent;
    z-index: 2;
}

.founding-seats__overlay {
    display: none;
}

.founding-seats__panel {
    position: relative;
    z-index: 1;
    background: transparent;
    color: #111;
    width: 100%;
    max-width: 460px;
    padding: 48px 36px 40px;
    text-align: center;
    box-shadow: none;
    border: 0;
}

.founding-seats__number {
    color: #111;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    font-size: clamp(96px, 12vw, 168px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.founding-seats__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.founding-seats__rule {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
}

.founding-seats__label-text {
    color: #111;
    font-family: var(--font-sans, Inter, system-ui, sans-serif);
    font-size: 11px;
    letter-spacing: 0.32em;
    font-weight: 500;
}

.founding-seats__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
    padding: 0 12px;
}

.founding-seats__stat {
    text-align: center;
}

.founding-seats__stat-value {
    color: #111;
    font-family: var(--font-sans, Inter, system-ui, sans-serif);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 8px;
}

.founding-seats__stat-label {
    color: rgba(17, 17, 17, 0.62);
    font-size: 10px;
    letter-spacing: 0.28em;
    font-weight: 500;
}

.founding-seats__tagline {
    color: #111;
    font-size: 12px;
    letter-spacing: 0.32em;
    font-weight: 500;
    margin-bottom: 28px;
}

/* Founding-seats CTA — standard theme button (black pill + arrow disc),
   same as every other button on the site. */
.founding-seats__cta-wrap {
    margin: 0 auto;
}

@media (max-width: 600px) {
    .founding-seats { padding: 48px 12px; }
    .founding-seats__panel { padding: 28px 16px; max-width: 100%; }
    .founding-seats__number { font-size: clamp(72px, 24vw, 110px); }
    .founding-seats__label { margin-bottom: 28px; }
    .founding-seats__label-text { letter-spacing: 0.22em; }
    .founding-seats__stats { gap: 16px; padding: 0; margin-bottom: 24px; }
    .founding-seats__stat-value { font-size: 30px; }
    .founding-seats__stat-label { letter-spacing: 0.2em; }
    .founding-seats__tagline { letter-spacing: 0.18em; margin-bottom: 24px; }
    /* Comfortable full-width tap target, text left / arrow right like the
       theme's other fullwidth buttons */
    .founding-seats__cta-wrap { width: 100%; }
}

/* Selection Process section */
.selection-process {
    background: #fff;
    color: #111;
    padding: 96px 0;
}

.selection-process__header {
    max-width: 920px;
    margin: 0 auto 40px;
    text-align: center;
}

.selection-process .super-heading {
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #555;
    font-weight: 600;
    margin-bottom: 18px;
    display: inline-block;
}

.selection-process__heading {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 0;
}

.selection-process__heading em {
    font-style: italic;
    color: #8c8c8c;
    font-weight: 400;
}

.selection-process__intro,
.selection-process__outro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.selection-process__intro p,
.selection-process__outro p {
    margin: 0 0 0.85em;
}

.selection-process__intro > *:last-child,
.selection-process__outro > *:last-child {
    margin-bottom: 0;
}

.selection-process__outro {
    margin-top: 40px;
    color: #555;
}

/* Horizontal timeline of numbered circles connected by a champagne-gold line */
.selection-process__steps {
    list-style: none;
    counter-reset: none;
    margin: 0 auto;
    padding: 16px 0 0;
    max-width: 980px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 0;
}

/* Connecting line passing through the circle centres */
.selection-process__steps::before {
    content: "";
    position: absolute;
    top: 46px;                /* matches half the circle's height (92/2) */
    left: 11%;
    right: 11%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,132,255,0) 0%, #0084ff 12%, #0084ff 88%, rgba(0,132,255,0) 100%);
    z-index: 0;
}

.selection-process__step {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.selection-process__step-number {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0084ff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.selection-process__step:hover .selection-process__step-number {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 132, 255, 0.22);
    background: #0084ff;
    color: #fff;
}

.selection-process__step-label {
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #0084ff;
    font-weight: 600;
    margin-bottom: 6px;
}

.selection-process__step-title {
    font-size: 0.98rem;
    line-height: 1.35;
    color: #111;
    font-weight: 500;
    max-width: 200px;
}

/* Mobile: vertical timeline */
@media (max-width: 760px) {
    .selection-process { padding: 64px 0; }
    .selection-process__steps {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        gap: 28px;
    }
    .selection-process__steps::before {
        top: 0;
        bottom: 0;
        left: calc(24px + 46px);
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(0,132,255,0) 0%, #0084ff 8%, #0084ff 92%, rgba(0,132,255,0) 100%);
    }
    .selection-process__step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 18px;
        padding: 0;
        width: 100%;
    }
    .selection-process__step-number {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .selection-process__step-label { margin-bottom: 2px; }
    .selection-process__step-title { max-width: none; font-size: 0.95rem; }
    .selection-process__step-content {
        display: flex;
        flex-direction: column;
    }
    .selection-process__intro,
    .selection-process__outro { margin-bottom: 28px; padding: 0 16px; }
}

/* Our Members tabs — body rendering inside the original toggle-based layout */
.member-section-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1em;
}

.member-section-body ul {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.member-section-body ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.6em;
    line-height: 1.55;
}

.member-section-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 14px;
    height: 2px;
    background: #0084ff;
}

.member-section-body > *:last-child { margin-bottom: 0; }

/* Founder's Advantage stat cards — content centered inside the boxes,
   sub-text (label under the number) bold. */
section.network .network-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
section.network .network-card-figure {
    text-align: center;
}
section.network .network-card-description {
    text-align: center;
    font-family: Inter, system-ui, sans-serif !important;
    font-weight: 700;
}

/* "The FlowCore Group" header — the italic accent part of the heading
   ("Are Founders.") always starts on its own line. */
.our-members-header .section-heading em {
    display: block;
}

/* Members section toggle bar cursor */
.our-members-section .toggle-column {
    cursor: pointer;
}

/* Members section — permanent dark shade on the base background image.
   The shade normally comes from the clip-path image overlays; while a tab
   switch animates those overlays, the container's raw (unshaded) photo was
   exposed for a moment. This pseudo-element keeps the same gradient shade
   on the base layer at all times; overlays and content paint above it. */
.member-sections-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 47.19%, rgba(0, 0, 0, 0.65) 101.39%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* FAQ accordion show/hide (used by both the standalone FAQ section and Tab 3 FAQs) */
.faq-button .faq-content {
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: max-height 0.35s ease, opacity 0.25s ease !important;
}
.faq-button.active .faq-content {
    max-height: 1200px !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.faq-button .faq-content-inner {
    padding: 0 0 16px !important;
    display: block !important;
    opacity: inherit !important;
    visibility: inherit !important;
}
.faq-button .faq-content-inner p {
    margin: 0 !important;
    line-height: 1.55;
}
.faq-button_toggle {
    cursor: pointer;
}

/* Tab 3 FAQ items — match other tabs (white text on dark gradient overlay, simple dividers) */
.our-members-section .member-section-3 .faq-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 16px !important;
}
.our-members-section .member-section-3 .faq-button {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}
.our-members-section .member-section-3 .faq-button:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.our-members-section .member-section-3 .faq-button_toggle {
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    width: 100% !important;
    text-align: left !important;
    padding: 18px 0 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}
.our-members-section .member-section-3 .faq-button_toggle .plus-button {
    width: 28px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.25s ease, transform 0.25s ease !important;
}
.our-members-section .member-section-3 .faq-button_toggle .plus-button img {
    width: 12px !important;
    height: 12px !important;
    filter: brightness(0) invert(1) !important;
    transition: transform 0.25s ease !important;
}
.our-members-section .member-section-3 .faq-button.active .plus-button img {
    transform: rotate(45deg) !important;
}
.our-members-section .member-section-3 .faq-button.active .plus-button {
    background: rgba(255, 255, 255, 0.22) !important;
}
.our-members-section .member-section-3 .faq-content-inner {
    padding: 0 0 18px !important;
}
.our-members-section .member-section-3 .faq-content-inner p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Always reserve space for the scrollbar so the page doesn't shift horizontally
   when expanding content (like opening an FAQ accordion) changes total height */
html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

/* About — hero gallery auto-sliding marquee (left to right).
   Images are rendered twice in the template; animating from -50% to 0
   loops seamlessly. All cards get a uniform size (the original design's
   per-position shrink tricks would break the loop). The container class
   differs from .hero-gallery-container so the one-time GSAP entrance
   animation in the redesign JS skips this gallery. */
.hero-gallery-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hero-gallery--marquee {
    justify-content: flex-start;
    width: max-content;
    animation: fc-gallery-marquee 45s linear infinite;
    will-change: transform;
}
.hero-gallery--marquee .gallery-image,
.hero-gallery--marquee .gallery-image:first-child,
.hero-gallery--marquee .gallery-image:nth-child(2),
.hero-gallery--marquee .gallery-image:nth-child(4),
.hero-gallery--marquee .gallery-image:last-child {
    flex: 0 0 auto;
    width: clamp(200px, 22vw, 330px);
    margin-right: clamp(16px, 2vw, 32px);
}
@keyframes fc-gallery-marquee {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-gallery--marquee { animation: none; }
}

/* About — breathing room between the mission module and the Join CTA.
   Original wrapper padding-bottom was a thin 20px strip. */
.our-mission-content-module-wrapper {
    padding-bottom: 80px;
}

/* Footer — giant text logo in the same pale watermark style as the
   original full-width FoundersCard logo image it replaces. */
.footer-end .footer-logo-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(44px, 9vw, 150px);
    line-height: 1;
    color: #e7e7e0;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -2px;
}
.footer-end .footer-logo-text strong {
    font-weight: 700;
}

/* Header — text logo ("The FlowCore Group"). Overrides the fixed image
   dimensions on .navbar-logo and the content:url() swap the original CSS
   uses to switch the FC logo image on light pages. */
.navbar-logo.navbar-logo--text {
    width: auto;
    height: auto;
    aspect-ratio: auto;
    display: inline-flex;
    align-items: center;
}
.navbar-content--black .navbar-logo.navbar-logo--text,
.navbar.navbar-content--black .navbar-logo.navbar-logo--text {
    content: none;
}
.navbar-logo-text {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    line-height: 1;
}
.navbar-logo-text strong {
    font-weight: 700;
}
.navbar-content--black .navbar-logo-text,
.navbar.navbar-content--black .navbar-logo-text {
    color: var(--black);
}

/* Header — when the navigation menu is hidden (Customizer toggle), the logo
   docks to the left edge of the navbar instead of staying absolutely
   centered; the buttons keep their place on the right via space-between. */
.navbar--no-menu .navbar-logo {
    position: static;
    left: auto;
    transform: none;
    margin: 0;
}

/* About — Join CTA content column: "THE FLOWCORE DIFFERENCE" statement stack.
   Lines alternate white sans / dimmed italic display serif, echoing the
   "For the driven, the daring, the doers." heading language this replaces.
   Eyebrow and CTA button keep their original section styling. */
.join .join-diff-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 32px 0 48px;
}
.join .join-diff-line {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: clamp(30px, 1.8vw + 18px, 48px);
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -1px;
}
.join .join-diff-line:nth-child(even) {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
}

/* About — mission data cards are used as text rows (not big stat numbers),
   so the left-side title gets a smaller size and a line-height that works
   for multi-word titles that wrap. Original rule was 48px / default lh. */
.mission-data .mission-data-card .mission-data-card-figure {
    font-size: clamp(22px, 1.6vw + 14px, 30px);
    line-height: 1.3;
}

/* About — Our Story with a single text column on the right.
   Original grid is 2fr 1fr 1fr (heading + two text columns); this keeps the
   same 50/50 split with one continuous text column. Mobile is unaffected
   (the row falls back to flex-column there). Paragraph spacing is tightened
   so the text reads as one continuous block. */
.our-story-row.our-story-row--single {
    grid-template-columns: 2fr 2fr;
}
.our-story-row--single .our-story-column:last-child {
    gap: 18px;
}

/* Testimonials — Swiper carousel (markup mirrors the original FoundersCard site;
   initTestimonialsCarousel() in redesign_2025 JS drives it).
   Explicit gap below the heading so it never sits on top of the cards. */
.testimonials .container-testimonials {
    margin-bottom: 64px;
}
.testimonials .testimonial-cards.swiper {
    margin-top: 0;
}

/* Tab 3 FAQs — uses native <details>/<summary> (no JS, no CSS conflicts possible) */
.tab3-faqs {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    width: 100%;
}

.tab3-faq {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.tab3-faq:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tab3-faq__q {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.4;
}

.tab3-faq__q::-webkit-details-marker { display: none; }
.tab3-faq__q::marker { content: ""; }

.tab3-faq__plus {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease;
}

.tab3-faq[open] .tab3-faq__plus {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.22);
}

.tab3-faq__a {
    padding: 0 0 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.6;
}

.tab3-faq__a p {
    margin: 0;
    color: inherit;
}

/* Standalone FAQ section (further down the page) — keep its original card style */
.faqs-section .faq-button {
    background: #fff;
    border-radius: 16px;
    color: #111;
}
.faqs-section .faq-button.active .plus-button img {
    transform: rotate(45deg);
}
.faqs-section .faq-button .plus-button img {
    transition: transform 0.25s ease;
}

/* Tab 3 FAQ accordion (inside the original member-section layout) */
.member-section-faqs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.member-section-faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 0 20px;
    color: #111;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.member-section-faq-item[open] {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.member-section-faq-q {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.member-section-faq-q::-webkit-details-marker { display: none; }
.member-section-faq-q::marker { content: ""; }
.member-section-faq-q::after {
    content: "+";
    width: 32px;
    height: 32px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}
.member-section-faq-item[open] .member-section-faq-q::after {
    transform: rotate(45deg);
    background: #0084ff;
}
.member-section-faq-a {
    padding: 0 0 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* ============================================================
   3 stacked standalone sections (Selection / Who Fits / FAQ).
   No tabs, no toggle, no JS. Clean and self-contained.
   ============================================================ */

.stacked-block {
    position: relative;
    background: #f6f4ef;
    color: #111;
    padding: 80px 0;
}

.stacked-block + .stacked-block {
    padding-top: 40px;
}

.stacked-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Reversed variant — image on right */
.stacked-block--reversed .stacked-block__media {
    order: 2;
}
.stacked-block--reversed .stacked-block__content {
    order: 1;
}

.stacked-block__media {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 20px;
}

.stacked-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stacked-block__content {
    max-width: 540px;
}

.stacked-block__heading {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
    margin: 0 0 24px;
}

.stacked-block__heading em {
    font-style: italic;
    font-weight: 400;
    color: #888;
}

.stacked-block__body p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin: 0 0 1em;
}

.stacked-block__body ul {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.stacked-block__body ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.6em;
    line-height: 1.55;
    color: #333;
    font-size: 1rem;
}

.stacked-block__body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 14px;
    height: 2px;
    background: #0084ff;
}

.stacked-block__body > *:last-child { margin-bottom: 0; }

/* ===== FAQ block — full-width photo background, 2-column layout ===== */
.stacked-block--faq {
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

.stacked-block__faq-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%),
        linear-gradient(0deg, rgba(0,0,0,0.20), rgba(0,0,0,0.20));
    z-index: 0;
    pointer-events: none;
}

.stacked-block__faq-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 48px;
    box-sizing: border-box;
}

/* Left column */
.stacked-block__faq-left {
    flex: 0 1 38%;
    max-width: 440px;
    color: #fff;
}

.stacked-block__faq-super {
    font-size: 13px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: 22px;
}

.stacked-block__faq-heading {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(2.25rem, 4.4vw, 3.75rem);
    line-height: 1.05;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.stacked-block__faq-heading em {
    font-style: italic;
    font-weight: 400;
    color: #fff;
}

.stacked-block__faq-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    margin: 0 0 32px;
    text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.stacked-block__faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px 14px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.stacked-block__faq-cta:hover {
    background: #000;
    transform: translateY(-1px);
}

.stacked-block__faq-cta-arrow {
    width: 28px;
    height: 28px;
    background: #fff;
    color: #111;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Right column — FAQ accordion cards */
.stacked-block__faq-right {
    flex: 0 1 48%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: auto;
}

.stacked-block__faq-item {
    background: #fff;
    border-radius: 18px;
    padding: 0 24px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    transition: box-shadow 0.25s ease;
}

.stacked-block__faq-item[open] {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

.stacked-block__faq-q {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    line-height: 1.35;
}

.stacked-block__faq-q::-webkit-details-marker { display: none; }
.stacked-block__faq-q::marker { content: ""; }

.stacked-block__faq-q::after {
    content: "+";
    width: 36px;
    height: 36px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.stacked-block__faq-item[open] .stacked-block__faq-q::after {
    transform: rotate(45deg);
    background: #0084ff;
}

.stacked-block__faq-a {
    padding: 0 0 22px;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 18px;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #555;
}

/* Mobile */
@media (max-width: 900px) {
    .stacked-block {
        padding: 56px 0;
    }
    .stacked-block + .stacked-block {
        padding-top: 28px;
    }
    .stacked-block__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }
    .stacked-block--reversed .stacked-block__media,
    .stacked-block--reversed .stacked-block__content {
        order: 0;
    }
    .stacked-block__media {
        aspect-ratio: 16 / 11;
    }
    .stacked-block__faq-inner {
        flex-direction: column;
        padding: 56px 20px;
        gap: 36px;
    }
    .stacked-block__faq-left,
    .stacked-block__faq-right {
        flex: 1 1 100%;
        max-width: 100%;
        margin-left: 0;
    }
}
/* Benefits tab body content (FlowCore copy renderer) */
.benefits-content-body { display: block; }
.benefits-content-body p { margin: 0 0 1em; line-height: 1.55; }
.benefits-content-body ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 1em;
}
.benefits-content-body ul li {
    list-style: none !important;
    margin: 0 0 0.35em;
    line-height: 1.45;
}
.benefits-content-body ul li::marker {
    content: "";
    display: none;
}
.benefits-content-body > *:last-child { margin-bottom: 0; }


@media (max-width: 900px) {
    .header-inner,
    .footer-bottom,
    .footer-cta-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-navigation {
        display: none;
    }

    body.mobile-menu-open .site-navigation {
        display: flex;
        background: #fff;
        padding: 1rem 0;
        border-top: 1px solid #e6e6e6;
        flex-direction: column;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }
}
