/* ──────────────────────────────────────────────
   NSOP Theme — Base Stylesheet
   Black/White/Grey Demo Build
   ────────────────────────────────────────────── */

:root {
    --nsop-navy: #1B2A4A;
    --nsop-blue: #2C5AA0;
    --nsop-gold: #F5C518;
    --nsop-white: #FFFFFF;
    --nsop-light-grey: #F5F5F5;
    --nsop-mid-grey: #999999;
    --nsop-dark-grey: #333333;
    --nsop-black: #1A1A1A;
    --nsop-border: #E0E0E0;
    --nsop-font: 'Inter', sans-serif;
    --nsop-max-width: 1200px;
    --nsop-section-padding: 80px 0;
    --nsop-section-padding-sm: 40px 0;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--nsop-font);
    color: var(--nsop-dark-grey);
    background: var(--nsop-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--nsop-navy); text-decoration: none; }
a:hover { color: var(--nsop-blue); }

.nsop-container {
    max-width: var(--nsop-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--nsop-black);
    line-height: 1.2;
}
h1 { font-size: 3rem; margin-bottom: 16px; }
h2 { font-size: 2.25rem; margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }

/* ─── Buttons ───────────────────────────────── */
.nsop-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--nsop-font);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nsop-btn--primary {
    background: var(--nsop-navy);
    color: var(--nsop-white);
    border-color: var(--nsop-navy);
}
.nsop-btn--primary:hover {
    background: transparent;
    color: var(--nsop-navy);
}
.nsop-btn--outline {
    background: transparent;
    color: var(--nsop-navy);
    border-color: var(--nsop-navy);
}
.nsop-btn--outline:hover {
    background: var(--nsop-navy);
    color: var(--nsop-white);
}
.nsop-btn--gold {
    background: var(--nsop-gold);
    color: var(--nsop-black);
    border-color: var(--nsop-gold);
}

/* ─── Notification Bar ──────────────────────── */
.nsop-notif-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 48px;
    font-size: 0.8125rem;
    font-weight: 500;
    overflow: hidden;
    background: #7B2500; /* default — overridden per type */
    color: #fff;
    z-index: 200;
}

/* Type colour overrides — applied to the bar when only one item,
   or via JS when cycling (class on the bar itself). */
.nsop-notif-bar--warning { background: #7B2500; }
.nsop-notif-bar--info    { background: var(--nsop-navy); }
.nsop-notif-bar--alert   { background: #9B1B1B; }

/* Track holds all items; only .is-active is visible */
.nsop-notif-bar__track {
    flex: 1;
    position: relative;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nsop-notif-bar__item {
    display: none;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    animation: nsop-notif-fade-in 0.4s ease;
}
.nsop-notif-bar__item.is-active { display: flex; }

/* Per-item background colour changes the outer bar via JS class */
.nsop-notif-bar__item--warning { --notif-bg: #7B2500; }
.nsop-notif-bar__item--info    { --notif-bg: #1B2A4A; }
.nsop-notif-bar__item--alert   { --notif-bg: #9B1B1B; }

@keyframes nsop-notif-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.nsop-notif-bar__icon {
    font-size: 0.9375rem;
    flex-shrink: 0;
    color: #F5C518; /* gold */
}
/* info type uses white icon */
.nsop-notif-bar__item--info .nsop-notif-bar__icon { color: #fff; }

.nsop-notif-bar__msg { line-height: 1.4; }
.nsop-notif-bar__msg a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.nsop-notif-bar__msg a:hover { opacity: 0.85; }

/* Cycling dots */
.nsop-notif-bar__dots {
    display: flex;
    gap: 5px;
    margin-left: 16px;
    flex-shrink: 0;
}
.nsop-notif-bar__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: background 0.2s;
}
.nsop-notif-bar__dot.is-active { background: #fff; }

/* Close button */
.nsop-notif-bar__close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.2s;
}
.nsop-notif-bar__close:hover { color: #fff; }

/* ─── Utility Bar (base) ────────────────────── */
.nsop-utility-bar {
    background: var(--nsop-black);
    color: var(--nsop-white);
    font-size: 0.8125rem;
    padding: 8px 0;
}

/* ─── Sections (Demo placeholders) ──────────── */
.nsop-section {
    padding: var(--nsop-section-padding);
}
.nsop-section--grey { background: var(--nsop-light-grey); }
.nsop-section--dark { background: var(--nsop-black); color: var(--nsop-white); }
.nsop-section--dark h2,
.nsop-section--dark h3 { color: var(--nsop-white); }
.nsop-section--navy { background: var(--nsop-navy); color: var(--nsop-white); }
.nsop-section--navy h2,
.nsop-section--navy h3 { color: var(--nsop-white); }

.nsop-section__label {
    display: inline-block;
    background: var(--nsop-light-grey);
    color: var(--nsop-mid-grey);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.nsop-section--dark .nsop-section__label,
.nsop-section--navy .nsop-section__label {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

/* ─── Hero Banner ───────────────────────────── */
.nsop-hero {
    background: var(--nsop-light-grey);
    padding: 80px 0;
    text-align: center;
}
.nsop-hero h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.nsop-hero p {
    max-width: 600px;
    margin: 16px auto;
    color: var(--nsop-mid-grey);
}

/* ─── Anchor Nav (pill tabs) ────────────────── */
.nsop-anchor-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.nsop-anchor-nav a,
.nsop-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--nsop-dark-grey);
    color: var(--nsop-dark-grey);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
}
.nsop-anchor-nav a:hover,
.nsop-anchor-nav a.active,
.nsop-pill:hover,
.nsop-pill.active {
    background: var(--nsop-navy);
    border-color: var(--nsop-navy);
    color: var(--nsop-white);
}

/* ─── Placeholder Image ─────────────────────── */
.nsop-placeholder {
    background: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}
.nsop-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Card Grid ─────────────────────────────── */
.nsop-card-grid {
    display: grid;
    gap: 24px;
}
.nsop-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nsop-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nsop-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.nsop-card {
    background: var(--nsop-white);
    border: 1px solid var(--nsop-border);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.nsop-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nsop-card__image {
    height: 200px;
    background: #E8E8E8;
    overflow: hidden;
}
.nsop-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nsop-card__content {
    padding: 24px;
}
.nsop-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* ─── 50/50 Split ───────────────────────────── */
.nsop-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
}
.nsop-split__content {
    padding: 60px;
}
.nsop-split__image {
    height: 100%;
    min-height: 400px;
    background: #E8E8E8;
    overflow: hidden;
}
.nsop-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── FAQ Accordion ─────────────────────────── */
.nsop-faq-item {
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}
.nsop-faq-item__question::after {
    content: '▾';
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}
.nsop-faq-item.is-open .nsop-faq-item__question::after {
    transform: rotate(180deg);
}
.nsop-faq-item__answer {
    display: none;
    padding: 0 0 20px;
    color: var(--nsop-mid-grey);
}
.nsop-faq-item.is-open .nsop-faq-item__answer {
    display: block;
}

/* ─── Statement Banner ──────────────────────── */
.nsop-statement {
    padding: 100px 0;
    text-align: center;
}
.nsop-statement h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ─── Community Banner ──────────────────────── */
.nsop-community-banner {
    background: var(--nsop-navy);
    color: var(--nsop-white);
    padding: 60px 0;
}
.nsop-community-banner .nsop-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nsop-community-banner h2 {
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--nsop-white);
    margin: 0;
}
.nsop-community-banner__icons {
    display: flex;
    gap: 16px;
}
.nsop-community-banner__icons a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nsop-white);
    font-size: 1.25rem;
    transition: background 0.18s;
}
.nsop-community-banner__icons a:hover {
    background: rgba(255,255,255,0.3);
    color: var(--nsop-white);
}

/* ─── Footer ────────────────────────────────── */
.nsop-footer {
    background: var(--nsop-black);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.nsop-footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-top: 40px;
}
.nsop-footer__logo {
    text-align: center;
    margin-bottom: 40px;
}
.nsop-footer__logo img {
    height: 80px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}
.nsop-footer__col h4 {
    color: var(--nsop-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.nsop-footer__col ul {
    list-style: none;
}
.nsop-footer__col li {
    margin-bottom: 8px;
}
.nsop-footer__col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
}
.nsop-footer__col a:hover {
    color: var(--nsop-white);
}
.nsop-footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 20px;
}
.nsop-footer__acknowledgement {
    max-width: 500px;
    font-size: 0.6875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
}

/* ─── Pricing Table ─────────────────────────── */
.nsop-pricing-table {
    width: 100%;
    border-collapse: collapse;
}
.nsop-pricing-table th,
.nsop-pricing-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-pricing-table th {
    background: var(--nsop-light-grey);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
}
.nsop-pricing-table td:last-child {
    text-align: right;
    font-weight: 600;
}

/* ─── Membership Comparison ─────────────────── */
.nsop-membership-card {
    background: var(--nsop-white);
    border: 1px solid var(--nsop-border);
    padding: 40px 30px;
    text-align: center;
}
.nsop-membership-card__price {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 16px 0;
}
.nsop-membership-card__features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}
.nsop-membership-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--nsop-border);
    font-size: 0.875rem;
}

/* ─── Xplor Embed Container ────────────────── */
.nsop-xplor-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.nsop-xplor-embed iframe {
    width: 100%;
    border: none;
    min-height: 600px;
}

/* ══════════════════════════════════════════════
   EXTENDED COMPONENT STYLES
   ══════════════════════════════════════════════ */

/* ─── Split Nav (logo centred, nav split L/R) ── */
.nsop-header .nsop-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.nsop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nsop-nav--left  { justify-content: flex-end; }
.nsop-nav--right { justify-content: flex-start; }
.nsop-logo { display: flex; justify-content: center; padding: 0 20px; }

/* ─── Tab Component ─────────────────────────── */
.nsop-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--nsop-border);
    margin-bottom: 32px;
    justify-content: center;
}
.nsop-tab-btn {
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: var(--nsop-mid-grey);
    font-family: var(--nsop-font);
    transition: all 0.2s ease;
}
.nsop-tab-btn.active,
.nsop-tab-btn:hover { color: var(--nsop-navy); border-bottom-color: var(--nsop-navy); }
.nsop-tab-panel { display: none; }
.nsop-tab-panel.active { display: block; }

/* ─── Membership Tabs (boxed) ───────────────── */
.nsop-membership-tabs {
    display: flex;
    border-bottom: 2px solid var(--nsop-border);
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.nsop-membership-tab {
    padding: 14px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--nsop-light-grey);
    border: 1px solid var(--nsop-border);
    border-bottom: none;
    margin-bottom: -2px;
    color: var(--nsop-mid-grey);
    font-family: var(--nsop-font);
    transition: all 0.2s ease;
}
.nsop-membership-tab.active {
    background: var(--nsop-white);
    color: var(--nsop-navy);
    border-bottom-color: var(--nsop-white);
}

/* ─── Quick Link Tile ───────────────────────── */
.nsop-quick-tile {
    border: 1px solid var(--nsop-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 130px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.nsop-quick-tile:hover { border-color: var(--nsop-navy); box-shadow: 0 2px 12px rgba(0,0,0,0.07); color: inherit; }
.nsop-quick-tile h4 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}
.nsop-quick-tile p {
    font-size: 0.8125rem;
    color: var(--nsop-mid-grey);
    margin: 0 0 auto;
    flex: 1;
}
.nsop-quick-tile__arrow { color: var(--nsop-navy); font-weight: 700; font-size: 0.875rem; display: block; margin-top: 12px; }

/* ─── Quick Link Grid ───────────────────────── */
.nsop-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.nsop-quick-grid .nsop-quick-tile {
    border-right: none;
    border-bottom: none;
}
.nsop-quick-grid .nsop-quick-tile:nth-child(3n) { border-right: 1px solid var(--nsop-border); }
.nsop-quick-grid .nsop-quick-tile:nth-last-child(-n+3) { border-bottom: 1px solid var(--nsop-border); }

/* ─── Hero Image Variant ────────────────────── */
.nsop-hero--image {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: var(--nsop-navy);
    padding: 80px 0;
    overflow: hidden;
}
.nsop-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27,42,74,0.6);
    z-index: 1;
}
.nsop-hero--image .nsop-container { position: relative; z-index: 2; }
.nsop-hero--image h1, .nsop-hero--image p { color: var(--nsop-white); }
.nsop-hero--image .nsop-anchor-nav a {
    border-color: rgba(255,255,255,0.5);
    color: var(--nsop-white);
}
.nsop-hero--image .nsop-anchor-nav a:hover {
    background: var(--nsop-white);
    color: var(--nsop-navy);
    border-color: var(--nsop-white);
}
/* Home hero gets extra large heading */
.nsop-hero--home h1 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* ─── CTA / Statement Banner ────────────────── */
.nsop-statement {
    padding: 100px 0;
    text-align: center;
}
.nsop-statement h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.nsop-statement__inline-img {
    display: inline-block;
    width: 100px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    vertical-align: middle;
    margin: 0 8px;
    overflow: hidden;
}
.nsop-statement__inline-img img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Full-width CTA (navy bg) ──────────────── */
.nsop-cta-band {
    background: var(--nsop-navy);
    color: var(--nsop-white);
    padding: 100px 0;
    text-align: center;
}
.nsop-cta-band h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--nsop-white);
    max-width: 800px;
    margin: 0 auto 20px;
}
.nsop-cta-band p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 28px; }

/* ─── What's On Carousel Layout ─────────────── */
.nsop-whats-on__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.nsop-carousel {
    position: relative;
    overflow: hidden;
}
.nsop-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.35s ease;
    will-change: transform;
}
.nsop-event-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}
.nsop-carousel__arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.nsop-carousel__arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--nsop-dark-grey);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}
.nsop-carousel__arrow:hover { background: var(--nsop-navy); border-color: var(--nsop-navy); color: var(--nsop-white); }
.nsop-carousel__arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.nsop-carousel__arrow:disabled:hover { background: none; border-color: var(--nsop-dark-grey); color: inherit; }

/* ─── Event Card ─────────────────────────────── */
.nsop-event-card {
    border: 1px solid var(--nsop-border);
}
.nsop-event-card__image {
    height: 180px;
    background: #E8E8E8;
    overflow: hidden;
}
.nsop-event-card__image img { width: 100%; height: 100%; object-fit: cover; }
.nsop-event-card__body { padding: 20px; }
.nsop-event-card__cat {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nsop-mid-grey);
    margin-bottom: 6px;
    display: block;
}
.nsop-event-card__title { font-size: 1rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }

/* ─── News List Item ─────────────────────────── */
.nsop-news-list { margin-top: 24px; }
.nsop-news-item {
    display: grid;
    grid-template-columns: 100px 1fr 260px;
    gap: 32px;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-news-item__date { text-align: center; padding-top: 4px; }
.nsop-news-item__date-day { font-size: 2.5rem; font-weight: 900; color: var(--nsop-navy); line-height: 1; }
.nsop-news-item__date-month { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; color: var(--nsop-mid-grey); }
.nsop-news-item__badge {
    display: inline-block;
    background: var(--nsop-navy);
    color: var(--nsop-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    margin-bottom: 8px;
}
.nsop-news-item__title { font-size: 1.125rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.nsop-news-item__excerpt { font-size: 0.875rem; color: var(--nsop-mid-grey); margin-bottom: 12px; }
.nsop-news-item__link { color: var(--nsop-navy); font-weight: 600; font-size: 0.875rem; }
.nsop-news-item__image { height: 160px; background: #E8E8E8; overflow: hidden; }
.nsop-news-item__image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Filter Bar ─────────────────────────────── */
.nsop-filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.nsop-filter-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--nsop-border);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    font-family: var(--nsop-font);
    letter-spacing: 0.03em;
    transition: all 0.2s;
}
.nsop-filter-pill.active,
.nsop-filter-pill:hover { background: var(--nsop-navy); border-color: var(--nsop-navy); color: var(--nsop-white); }
.nsop-search-bar {
    margin-left: auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--nsop-border);
    padding: 8px 14px;
    gap: 8px;
}
.nsop-search-bar input { border: none; outline: none; font-family: var(--nsop-font); font-size: 0.875rem; min-width: 180px; }

/* ─── About Timeline ─────────────────────────── */
.nsop-timeline { position: relative; padding: 60px 0; }
.nsop-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--nsop-border);
    transform: translateX(-50%);
}
.nsop-timeline-item {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 60px;
}
.nsop-timeline-item__img {
    height: 220px;
    background: #E8E8E8;
    overflow: hidden;
}
.nsop-timeline-item__img img { width: 100%; height: 100%; object-fit: cover; }
.nsop-timeline-item__center {
    text-align: center;
    padding-top: 16px;
    position: relative;
}
.nsop-timeline-item__center::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 14px; height: 14px;
    background: var(--nsop-navy);
    border-radius: 50%;
    transform: translateX(-50%);
}
.nsop-timeline-item__year { font-size: 1.25rem; font-weight: 900; color: var(--nsop-navy); margin-top: 20px; }
.nsop-timeline-item__content { padding: 0 32px; }
.nsop-timeline-item--right .nsop-timeline-item__img { order: 3; }
.nsop-timeline-item--right .nsop-timeline-item__center { order: 2; }
.nsop-timeline-item--right .nsop-timeline-item__content { order: 1; text-align: right; padding: 0 32px; }

/* ─── Pricing Table Grouped ──────────────────── */
.nsop-pricing-group { margin-bottom: 8px; }
.nsop-pricing-group__head {
    background: var(--nsop-navy);
    color: var(--nsop-white);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nsop-pricing-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 13px 20px;
    border-bottom: 1px solid var(--nsop-border);
    font-size: 0.9375rem;
    border-left: 1px solid var(--nsop-border);
    border-right: 1px solid var(--nsop-border);
}
.nsop-pricing-row:nth-child(even) { background: var(--nsop-light-grey); }
.nsop-pricing-row__price { font-weight: 700; color: var(--nsop-navy); }

/* ─── Membership Card ────────────────────────── */
.nsop-membership-card {
    background: var(--nsop-white);
    border: 1px solid var(--nsop-border);
    padding: 40px 30px;
    text-align: center;
}
.nsop-membership-card__name { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.nsop-membership-card__price { font-size: 2.75rem; font-weight: 900; color: var(--nsop-navy); margin: 12px 0; }
.nsop-membership-card__price sub { font-size: 1rem; font-weight: 400; }
.nsop-membership-card__features { list-style: none; text-align: left; margin: 20px 0 28px; }
.nsop-membership-card__features li { padding: 8px 0; border-bottom: 1px solid var(--nsop-border); font-size: 0.875rem; }

/* ─── Services Areas (Membership) ───────────────  */
.nsop-services-area { margin-bottom: 32px; }
.nsop-services-area h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--nsop-border); }

/* ─── Checklist ──────────────────────────────── */
.nsop-checklist { list-style: none; margin: 16px 0; }
.nsop-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.nsop-checklist li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--nsop-navy);
    color: var(--nsop-white);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    margin-top: 1px;
}

/* ─── Why Join Icons ─────────────────────────── */
.nsop-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.nsop-why-item { display: flex; gap: 16px; align-items: flex-start; }
.nsop-why-item__icon {
    width: 56px; height: 56px; min-width: 56px;
    background: var(--nsop-light-grey);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--nsop-navy);
}
.nsop-why-item__icon .ph { font-size: 1.5rem; }
/* Services area icon circle (membership page) */
.nsop-service-icon {
    width: 80px; height: 80px; min-width: 80px;
    background: var(--nsop-light-grey);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--nsop-navy);
}
.nsop-service-icon .ph { font-size: 2rem; }
.nsop-why-item h4 { margin-bottom: 6px; }
.nsop-why-item p { font-size: 0.875rem; color: var(--nsop-mid-grey); margin: 0; }

/* ─── Feature Icon Row ───────────────────────── */
.nsop-features-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.nsop-feature-item {
    text-align: center;
    padding: 20px 12px;
}
.nsop-feature-item__icon {
    width: 56px; height: 56px;
    background: var(--nsop-light-grey);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--nsop-navy);
}
.nsop-feature-item__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* ─── Contact Form ───────────────────────────── */
.nsop-contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.nsop-form-group { margin-bottom: 16px; }
.nsop-form-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; color: var(--nsop-dark-grey); }
.nsop-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nsop-border);
    font-family: var(--nsop-font);
    font-size: 0.9375rem;
    color: var(--nsop-dark-grey);
    background: var(--nsop-white);
    transition: border-color 0.2s;
}
.nsop-form-control:focus { outline: none; border-color: var(--nsop-navy); }
select.nsop-form-control {
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.nsop-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.nsop-form-control { min-height: 120px; resize: vertical; }
.nsop-info-panel { background: var(--nsop-light-grey); padding: 40px; }
.nsop-info-panel h3 { margin-bottom: 16px; }
.nsop-info-panel__contacts { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.nsop-info-panel__contacts a { font-weight: 600; font-size: 0.9375rem; display: flex; align-items: center; gap: 8px; }

/* ─── Map + Hours ────────────────────────────── */
.nsop-find-us { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.nsop-map { height: 280px; background: #D8D8D8; overflow: hidden; margin-bottom: 24px; }
.nsop-map iframe { width: 100%; height: 100%; border: none; }
.nsop-hours-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.nsop-hours-table { width: 100%; }
.nsop-hours-table caption { font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; padding-bottom: 8px; color: var(--nsop-navy); }
.nsop-hours-table td { padding: 5px 0; font-size: 0.8125rem; border-bottom: 1px solid var(--nsop-border); }
.nsop-hours-table td:last-child { text-align: right; font-weight: 600; }

/* ─── Timetable ──────────────────────────────── */
.nsop-timetable-wrap { overflow-x: auto; }
.nsop-timetable { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.nsop-timetable th {
    background: var(--nsop-navy);
    color: var(--nsop-white);
    padding: 10px 8px;
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.nsop-timetable td { border: 1px solid var(--nsop-border); padding: 7px; text-align: center; vertical-align: middle; min-width: 88px; }
.nsop-timetable tr:nth-child(even) { background: var(--nsop-light-grey); }
.nsop-timetable td:first-child { font-weight: 700; text-align: left; padding-left: 16px; background: #F0F0F0; min-width: 80px; }
.nsop-timetable__class { font-weight: 600; display: block; font-size: 0.75rem; }
.nsop-timetable__time { color: var(--nsop-mid-grey); font-size: 0.6875rem; }
.nsop-timetable__cell--available { background: rgba(44,90,160,0.08) !important; }

/* ─── Transport Tabs ─────────────────────────── */
.nsop-transport { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* ─── CPT Single: Program ────────────────────── */
.nsop-program-hero { padding: 60px 0 40px; }
.nsop-program-hero__age { font-size: 0.875rem; font-weight: 600; color: var(--nsop-mid-grey); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.nsop-program-hero__images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.nsop-program-hero__img { height: 280px; background: #E8E8E8; overflow: hidden; }
.nsop-program-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.nsop-program-body { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 60px 0; }
.nsop-program-sidebar { background: var(--nsop-light-grey); padding: 32px; }
.nsop-program-sidebar h3 { font-size: 1.125rem; margin-bottom: 4px; }
.nsop-program-sidebar p { font-size: 0.875rem; color: var(--nsop-mid-grey); margin-bottom: 24px; }
.nsop-program-sidebar h3:not(:first-child) { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--nsop-border); }

/* ─── Load More ──────────────────────────────── */
.nsop-load-more { text-align: center; padding: 40px 0 20px; }

/* ══════════════════════════════════════════════
   UTILITY BAR — UPDATED
   ══════════════════════════════════════════════ */
.nsop-utility-container {
    max-width: var(--nsop-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.nsop-utility-bar__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.nsop-utility-bar__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.nsop-utility-bar__contact {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: color 0.15s;
}
.nsop-utility-bar__contact:hover { color: var(--nsop-white); }
.nsop-utility-bar__portal {
    color: rgba(255,255,255,0.85);
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: color 0.15s;
}
.nsop-utility-bar__portal:hover { color: var(--nsop-white); }
/* Pipe separator before right-side portal links */
.nsop-utility-bar__right .nsop-utility-bar__portal + .nsop-utility-bar__portal::before {
    content: '|';
    margin-right: 20px;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
}
.nsop-utility-btn--join {
    background: var(--nsop-gold);
    color: var(--nsop-black) !important;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 18px;
    border-radius: 2px;
    transition: background 0.15s;
}
.nsop-utility-btn--join:hover { background: #e0b000; color: var(--nsop-black) !important; }
.nsop-listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nsop-gold);
    color: var(--nsop-black);
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: var(--nsop-font);
    transition: background 0.15s;
}
.nsop-listen-btn:hover { background: #e0b000; }
.nsop-listen-btn__play { font-size: 0.6rem; }

/* ══════════════════════════════════════════════
   MEGA-MENU HEADER
   ══════════════════════════════════════════════ */
.nsop-header {
    background: var(--nsop-navy);
    border-bottom: none;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nsop-header__inner {
    max-width: var(--nsop-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    min-height: 72px;
}

/* ─── Split nav ──────────────────────────────── */
.nsop-mnav {
    display: flex;
    align-items: stretch;
    list-style: none;
    gap: 0;
}
.nsop-mnav--left { justify-content: flex-start; }
.nsop-mnav--right { justify-content: flex-end; }

.nsop-mnav__item {
    position: relative;
    display: flex;
    align-items: stretch;
}
.nsop-mnav__item:hover .nsop-mega-panel,
.nsop-mnav__item:focus-within .nsop-mega-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nsop-mnav__item:hover .nsop-mnav__arrow {
    transform: rotate(90deg);
}

.nsop-mnav__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.88);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0 16px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    border-bottom: 3px solid transparent;
}
.nsop-mnav__trigger:hover,
.nsop-mnav__item:hover .nsop-mnav__trigger {
    color: var(--nsop-gold);
    border-bottom-color: var(--nsop-gold);
    background: rgba(255,255,255,0.06);
}
.nsop-mnav__arrow {
    display: inline-block;
    font-style: normal;
    font-size: 0.9em;
    transition: transform 0.2s ease;
    color: var(--nsop-gold);
}

/* ─── Logo ───────────────────────────────────── */
.nsop-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    flex-shrink: 0;
}
.nsop-logo img {
    height: 56px;
    width: auto;
    display: block;
}

/* ─── Mega panel ─────────────────────────────── */
.nsop-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--nsop-white);
    border-top: 3px solid var(--nsop-gold);
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    padding: 20px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 300;
}
/* Right-aligned panel for PRICING (last item on right nav) */
.nsop-mega-panel--right {
    left: auto;
    right: 0;
    min-width: 280px;
}

.nsop-mega-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    color: var(--nsop-dark-grey);
    font-size: 0.875rem;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}
.nsop-mega-link span { color: var(--nsop-blue); font-size: 1em; }
.nsop-mega-link:hover {
    background: var(--nsop-light-grey);
    color: var(--nsop-navy);
}

/* ─── Mega group (multi-column within a panel) ── */
.nsop-mega-group {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-mega-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
/* Keyboard-opened panel */
.nsop-mega-panel.js-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nsop-mega-group__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    color: var(--nsop-navy);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nsop-mega-group__head span { color: var(--nsop-gold); }
.nsop-mega-group__head--link:hover {
    color: var(--nsop-blue);
    background: var(--nsop-light-grey);
}

/* ─── Hamburger ──────────────────────────────── */
.nsop-header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    align-self: center;
    margin-left: 12px;
}
.nsop-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nsop-white);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nsop-header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nsop-header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nsop-header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu drawer ─────────────────────── */
.nsop-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nsop-navy);
    z-index: 500;
    overflow-y: auto;
    padding: 80px 24px 40px;
    flex-direction: column;
    gap: 0;
}
.nsop-mobile-menu.is-open { display: flex; }
.nsop-mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--nsop-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}
.nsop-mobile-menu__item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nsop-mobile-menu__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--nsop-white);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 18px 0;
    cursor: pointer;
    font-family: var(--nsop-font);
    text-align: left;
}
.nsop-mobile-menu__trigger a { color: var(--nsop-white); display: block; flex: 1; }
.nsop-mobile-menu__chevron { font-size: 0.75rem; color: var(--nsop-gold); transition: transform 0.2s; }
.nsop-mobile-menu__item.is-open .nsop-mobile-menu__chevron { transform: rotate(90deg); }
.nsop-mobile-menu__sub {
    display: none;
    padding: 0 0 16px 16px;
    flex-direction: column;
    gap: 2px;
}
.nsop-mobile-menu__item.is-open .nsop-mobile-menu__sub { display: flex; }
.nsop-mobile-menu__sub a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nsop-mobile-menu__sub a:hover { color: var(--nsop-gold); }
.nsop-mobile-menu__cta {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nsop-mobile-menu__cta a {
    display: block;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 2px;
}
.nsop-mobile-menu__cta .nsop-mobile-join {
    background: var(--nsop-gold);
    color: var(--nsop-black);
}
.nsop-mobile-menu__cta .nsop-mobile-portal {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--nsop-white);
}

/* ══════════════════════════════════════════════
   PHOSPHOR ICON SIZING
   ══════════════════════════════════════════════ */
.nsop-mnav__arrow.ph { font-size: 0.8em; }
.nsop-mega-link .ph  { font-size: 0.85em; color: var(--nsop-blue); flex-shrink: 0; }
.nsop-mega-group__head .ph { font-size: 0.8em; color: var(--nsop-gold); }
.nsop-notif-bar__icon .ph,
.nsop-notif-bar__icon i { font-size: 1rem; }
.nsop-utility-bar__contact .ph { font-size: 0.9rem; }
.nsop-listen-btn .ph { font-size: 0.9rem; }

/* ══════════════════════════════════════════════
   FACILITY PAGE
   ══════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────── */
.nsop-facility-hero {
    background: var(--nsop-light-grey);
    padding: 72px 0 56px;
    text-align: center;
}
.nsop-facility-hero__title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--nsop-navy);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 16px;
}
.nsop-facility-hero__sub {
    max-width: 540px;
    margin: 0 auto 36px;
    color: var(--nsop-mid-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* ─── Anchor pill nav ────────────────────────── */
.nsop-facility-anchors {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.nsop-facility-anchor {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--nsop-navy);
    border-radius: 50px;
    color: var(--nsop-navy);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.nsop-facility-anchor:hover {
    background: var(--nsop-navy);
    color: var(--nsop-white);
}

/* ─── Content sections ───────────────────────── */
.nsop-facility-section {
    padding: 80px 0;
}
.nsop-facility-section--grey {
    background: var(--nsop-light-grey);
}

/* ─── Split layout ───────────────────────────── */
.nsop-facility-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.nsop-facility-split--text-left .nsop-facility-split__content { order: 1; }
.nsop-facility-split--text-left .nsop-facility-split__image   { order: 2; }
.nsop-facility-split--image-left .nsop-facility-split__image  { order: 1; }
.nsop-facility-split--image-left .nsop-facility-split__content { order: 2; }

.nsop-facility-split__heading {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--nsop-navy);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.nsop-facility-split__content p {
    color: var(--nsop-dark-grey);
    line-height: 1.7;
    margin-bottom: 12px;
}
.nsop-facility-split__cta {
    margin-top: 8px;
    display: inline-block;
}
.nsop-facility-split__image {
    aspect-ratio: 4 / 3;
    background: #D8D8D8;
    overflow: hidden;
}
.nsop-facility-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Statement CTA ──────────────────────────── */
.nsop-facility-cta {
    position: relative;
    overflow: hidden;
    background: #C8C8C8;
}
.nsop-facility-cta__bg {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.nsop-facility-cta__text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.nsop-facility-cta__text span {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--nsop-navy);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

/* ─── FAQ ────────────────────────────────────── */
.nsop-facility-faq {
    padding: 80px 0;
    background: var(--nsop-white);
}
.nsop-facility-faq__inner {
    max-width: 760px;
}
.nsop-facility-faq__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--nsop-navy);
    text-align: center;
    margin-bottom: 40px;
}
.nsop-facility-faq__item {
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-facility-faq__item:first-of-type {
    border-top: 1px solid var(--nsop-border);
}
.nsop-facility-faq__question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--nsop-dark-grey);
    cursor: pointer;
    text-align: left;
    font-family: var(--nsop-font);
    gap: 16px;
}
.nsop-facility-faq__question:hover { color: var(--nsop-navy); }
.nsop-facility-faq__chevron {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--nsop-blue);
    transition: transform 0.2s ease;
}
.nsop-facility-faq__item.is-open .nsop-facility-faq__chevron {
    transform: rotate(180deg);
}
.nsop-facility-faq__answer {
    display: none;
    padding: 0 0 20px;
    color: var(--nsop-mid-grey);
    line-height: 1.7;
}
.nsop-facility-faq__answer p { margin: 0; }
.nsop-facility-faq__item.is-open .nsop-facility-faq__answer {
    display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nsop-hours-grid { grid-template-columns: repeat(2, 1fr); }
    .nsop-find-us, .nsop-transport, .nsop-contact-layout { grid-template-columns: 1fr; }
    .nsop-program-body { grid-template-columns: 1fr; }
    .nsop-features-row { grid-template-columns: repeat(3, 1fr); }
    .nsop-facility-split { grid-template-columns: 1fr; gap: 36px; }
    .nsop-facility-split--text-left .nsop-facility-split__image,
    .nsop-facility-split--image-left .nsop-facility-split__image { order: 1; }
    .nsop-facility-split--text-left .nsop-facility-split__content,
    .nsop-facility-split--image-left .nsop-facility-split__content { order: 2; }
}
@media (max-width: 1024px) {
    /* Collapse mega-menu to hamburger below 1024px */
    .nsop-mnav { display: none; }
    .nsop-header__hamburger { display: flex; }
    .nsop-header__inner { grid-template-columns: 1fr auto auto; }
    .nsop-logo { padding: 8px 16px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .nsop-hero h1 { font-size: 2.5rem; }
    .nsop-hero--home h1 { font-size: 3rem; }
    .nsop-statement h2, .nsop-cta-band h2 { font-size: 2rem; }
    .nsop-split { grid-template-columns: 1fr; }
    .nsop-split__image { min-height: 250px; }
    .nsop-card-grid--3, .nsop-card-grid--2 { grid-template-columns: 1fr; }
    .nsop-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .nsop-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .nsop-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .nsop-news-item { grid-template-columns: 80px 1fr; }
    .nsop-news-item__image { display: none; }
    .nsop-timeline::before { left: 30px; }
    .nsop-timeline-item { grid-template-columns: 60px 1fr; }
    .nsop-timeline-item__img { display: none; }
    .nsop-why-grid { grid-template-columns: 1fr; }
    .nsop-hours-grid { grid-template-columns: 1fr; }
    .nsop-form-row { grid-template-columns: 1fr; }
    .nsop-features-row { grid-template-columns: repeat(2, 1fr); }
    .nsop-membership-tab { padding: 10px 14px; font-size: 0.75rem; }
    .nsop-program-hero__images { grid-template-columns: 1fr; }
    .nsop-event-card { flex: 0 0 100%; }
    .nsop-utility-bar { display: none; }
    .nsop-logo img { height: 44px; }
}

/* ═══════════════════════════════════════════════════════════════════
   About Us — Hero, Intro Split, Pool-Lane Timeline
   ═══════════════════════════════════════════════════════════════════ */

/* Hero */
.nsop-au-hero {
    background: var(--nsop-light-grey);
    padding: 100px 0 120px;
}
.nsop-au-hero__inner {
    position: relative;
    text-align: center;
}
.nsop-au-hero__block {
    display: inline-block;
    width: 96px;
    height: 96px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.nsop-au-hero__title {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nsop-navy);
    margin: 0;
    display: inline-block;
}

/* Intro split */
.nsop-au-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.nsop-au-intro__text p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--nsop-dark-grey);
}
.nsop-au-intro__image {
    aspect-ratio: 4 / 5;
    background: var(--nsop-light-grey);
    overflow: hidden;
}
.nsop-au-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* History title */
.nsop-au-history__title {
    text-transform: uppercase;
    color: var(--nsop-navy);
    font-weight: 900;
    margin-bottom: 60px;
}

/* Timeline ─ central rails + alternating cards */
.nsop-au-timeline {
    position: relative;
    padding: 40px 0 80px;
}
.nsop-au-timeline__rails {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 80px;
    transform: translateX(-50%);
    pointer-events: none;
}
.nsop-au-timeline__rail {
    position: absolute;
    top: 60px;
    bottom: 0;
    width: 6px;
    background-image: repeating-linear-gradient(
        to bottom,
        #c9c9c9 0,
        #c9c9c9 14px,
        #f0f0f0 14px,
        #f0f0f0 28px
    );
    border-radius: 3px;
}
.nsop-au-timeline__rail--left  { left: 12px; }
.nsop-au-timeline__rail--right { right: 12px; }

/* Top year marker (the small filled box at the top of the rails) */
.nsop-au-timeline__top {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}
.nsop-au-timeline__year-marker {
    display: inline-block;
    background: var(--nsop-mid-grey);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Swimmer figure that scrolls down between the two rails */
.nsop-au-timeline__swimmer {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 60px;
    height: 100px;
    color: var(--nsop-navy);
    transition: top 0.1s linear;
    will-change: top;
    z-index: 1;
}
.nsop-au-timeline__swimmer svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Timeline list + cards */
.nsop-au-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}
.nsop-au-timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 0;
    margin-bottom: 80px;
}
.nsop-au-timeline-item__card {
    display: grid;
    gap: 0;
}
.nsop-au-timeline-item__image {
    aspect-ratio: 4 / 3;
    background: var(--nsop-light-grey);
    overflow: hidden;
}
.nsop-au-timeline-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nsop-au-timeline-item__body {
    background: var(--nsop-light-grey);
    padding: 24px 28px;
}
.nsop-au-timeline-item__year {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--nsop-navy);
    margin-bottom: 6px;
}
.nsop-au-timeline-item__heading {
    margin: 0 0 8px;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: var(--nsop-navy);
}
.nsop-au-timeline-item__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--nsop-dark-grey);
    line-height: 1.6;
}

/* Card on left side */
.nsop-au-timeline-item--left .nsop-au-timeline-item__card {
    grid-column: 1;
}
.nsop-au-timeline-item--left {
    grid-template-columns: 1fr 80px 1fr;
}

/* Card on right side */
.nsop-au-timeline-item--right .nsop-au-timeline-item__card {
    grid-column: 3;
}

/* Mobile timeline */
@media (max-width: 860px) {
    .nsop-au-intro__grid { grid-template-columns: 1fr; gap: 32px; }
    .nsop-au-timeline__rails { display: none; }
    .nsop-au-timeline__swimmer { display: none; }
    .nsop-au-timeline-item {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }
    .nsop-au-timeline-item__card,
    .nsop-au-timeline-item--right .nsop-au-timeline-item__card {
        grid-column: 1;
    }
}

/* Breadcrumb (used on CPT singles + sub-pages) */
.nsop-breadcrumb { background: var(--nsop-light-grey); border-bottom: 1px solid var(--nsop-border); }
.nsop-breadcrumb ol li { color: var(--nsop-mid-grey); }
.nsop-breadcrumb ol li a { color: var(--nsop-navy); text-decoration: none; }
.nsop-breadcrumb ol li a:hover { text-decoration: underline; }

/* CPT single — sticky back button (program + facility) */
.nsop-cpt-back {
    background: #fff;
    border-bottom: 1px solid var(--nsop-border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nsop-cpt-back__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    color: var(--nsop-navy);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}
.nsop-cpt-back__btn:hover { text-decoration: underline; }
.nsop-cpt-back__btn i { font-size: 1.1rem; }

/* Membership — Class Add-on Costs nested inside Legends */
.nsop-membership-addon {
    margin-top: 48px;
    padding: 32px;
    background: var(--nsop-light-grey);
    border-left: 4px solid var(--nsop-navy);
    border-radius: 0 6px 6px 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.nsop-membership-addon__header { text-align: center; margin-bottom: 20px; }
.nsop-membership-addon__label {
    display: inline-block;
    background: var(--nsop-navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.nsop-membership-addon__title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--nsop-navy);
}
.nsop-membership-addon__lede {
    color: var(--nsop-mid-grey);
    font-size: 0.95rem;
    margin: 0;
}
.nsop-membership-addon .nsop-pricing-group { margin: 16px 0 0; background: #fff; }
.nsop-membership-addon__note {
    text-align: center;
    font-size: 0.85rem;
    margin: 16px 0 0;
    color: var(--nsop-mid-grey);
}
.nsop-membership-addon__note a {
    color: var(--nsop-navy);
    font-weight: 600;
    text-decoration: none;
}
.nsop-membership-addon__note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   Single Membership — Hero, Features, Pricing Cols
   ═══════════════════════════════════════════════════════════════════ */

/* Hero */
.nsop-membership-hero {
    background: var(--nsop-light-grey);
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--nsop-border);
}
.nsop-membership-hero.is-highlight {
    background: linear-gradient(135deg, #1d3557 0%, #0d2342 100%);
    color: #fff;
}
.nsop-membership-hero.is-highlight h1,
.nsop-membership-hero.is-highlight .nsop-membership-hero__price-amount {
    color: #fff;
}
.nsop-membership-hero.is-highlight .nsop-membership-hero__subtitle,
.nsop-membership-hero.is-highlight .nsop-membership-hero__price-note,
.nsop-membership-hero.is-highlight .nsop-membership-hero__desc {
    color: rgba(255,255,255,0.85);
}
.nsop-membership-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.nsop-membership-hero__pill {
    display: inline-block;
    background: #c9a14a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
}
.nsop-membership-hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 12px;
}
.nsop-membership-hero__subtitle {
    font-size: 1.15rem;
    color: var(--nsop-mid-grey);
    margin: 0 0 20px;
}
.nsop-membership-hero__price {
    margin: 0 0 16px;
}
.nsop-membership-hero__price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--nsop-navy);
    display: block;
    line-height: 1;
}
.nsop-membership-hero__price-note {
    display: block;
    font-size: 0.85rem;
    color: var(--nsop-mid-grey);
    margin-top: 6px;
}
.nsop-membership-hero__desc {
    line-height: 1.7;
    margin: 0 0 24px;
}
.nsop-membership-hero__image {
    aspect-ratio: 4 / 5;
    background: rgba(0,0,0,0.05);
    overflow: hidden;
    border-radius: 6px;
}
.nsop-membership-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nsop-btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Features list */
.nsop-membership-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}
.nsop-membership-features__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}
.nsop-membership-features__item.is-excluded {
    opacity: 0.55;
    text-decoration: line-through;
}
.nsop-membership-features__icon {
    font-weight: 900;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
}
.nsop-membership-features__item.is-included .nsop-membership-features__icon {
    background: var(--nsop-navy);
    color: #fff;
}
.nsop-membership-features__item.is-excluded .nsop-membership-features__icon {
    background: #ddd;
    color: #888;
}

/* Pricing 2-column layout */
.nsop-pricing-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 760px) {
    .nsop-membership-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .nsop-membership-features { grid-template-columns: 1fr; }
    .nsop-pricing-cols { grid-template-columns: 1fr; }
}
