/*
 * MIDCLEAR SITE STYLESHEET
 *
 * 01. Reset and design tokens
 * 02. Shared utilities and controls
 * 03. Shared site shell: header, navigation, account, footer
 * 04. Homepage sections
 * 05. Shared inner-page layouts and components
 * 06. Shared editorial detail-page pattern
 * 07. Page-unique components
 * 08. Responsive rules
 */

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Source Sans 3', sans-serif;
    background: #F8F6F2;
    color: #1C1C24;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
select,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%232C2C35' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 6px;
}

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
    --gold:        #B8943F;
    --gold-light:  #C9A84C;
    --charcoal:    #2C2C35;
    --deep:        #1A1A22;
    --parchment:   #F8F6F2;
    --sand:        #EFEDE8;
    --stone:       #D8D4CC;
    --stone-light: #E8E4DC;
    --text-body:   #444;
    --text-muted:  #777;
    --text-faint:  #AAA;
    --green:       #4A8C5C;
    --alert:       #b0152e;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.display {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.06;
}
.display strong { font-weight: 700; }
.btn-primary {
    display: inline-block;
    padding: 14px 20px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    transition: background .2s;
}
.btn-primary:hover { background: #A07E30; }
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    transition: border-color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.55); }
.divider { border: none; border-top: 1px solid var(--stone); }

/* Small shared utility */
.list-border-bottom {
    border-bottom: 1px solid var(--stone-light);
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: box-shadow .3s, background .3s;
}
#site-header.scrolled { box-shadow: 0 1px 0 0 var(--stone-light); }

/* Utility bar */
.nav-utility {
    background: var(--charcoal);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: background .3s;
}
#site-header.scrolled .nav-utility {
    background: var(--sand);
    border-bottom-color: var(--stone-light);
}
.nav-utility .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.nav-tagline {
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    transition: color .3s;
}
#site-header.scrolled .nav-tagline { color: #999; }
.nav-util-right { display: flex; align-items: center; gap: 20px; }
.nav-lang {
    font-size: 10px;
    letter-spacing: .3em;
    color: rgba(255,255,255,.35);
    transition: color .3s;
}
#site-header.scrolled .nav-lang { color: #AAA; }
.nav-header-contact {
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .2s;
}
.nav-header-contact:hover { color: var(--gold-light); }
#site-header.scrolled .nav-header-contact { color: #777; }
#site-header.scrolled .nav-header-contact:hover { color: var(--gold); }
.nav-member-login {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color .2s;
}
.nav-member-login:hover { color: #E0B85A; }

/* Main bar */
.nav-main {
    background: #fff;
    border-bottom: 1px solid var(--stone-light);
}
.nav-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.nav-wordmark { display: flex; flex-direction: column; gap: 3px; line-height: 1; text-decoration: none; }
.nav-wordmark-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: 0.28em;
    color: var(--charcoal);
}
.nav-wordmark-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 8.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}
.footer-wordmark { display: flex; flex-direction: column; gap: 3px; line-height: 1; margin-bottom: 24px; }
.footer-wordmark-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.28em;
    color: #fff;
}
.footer-wordmark-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 8px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════════
  Signed-in account menu
   ═══════════════════════════════════════════════════════════ */
.account-menu {
    position: relative;
    z-index: 1000;
}
.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    transition: color .2s;
}
.account-trigger:hover { color: #fff; }
#site-header.scrolled .account-trigger { color: var(--gold); }
#site-header.scrolled .account-trigger:hover { color: #806522; }
.account-initials {
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    font-size: 9px;
    font-weight: 600;
}
#site-header.scrolled .account-initials {
    border-color: rgba(184,148,63,.35);
    background: rgba(184,148,63,.08);
}
.account-chevron {
    width: 9px;
    height: 6px;
    transition: transform .2s;
}
.account-menu.open .account-chevron { transform: rotate(180deg); }
.account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: 288px;
    overflow: hidden;
    border: 1px solid var(--stone-light);
    background: #fff;
    box-shadow: 0 18px 55px rgba(26,26,34,.18);
}
.account-menu.open .account-dropdown { display: block; }
.account-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid var(--stone-light);
    background: var(--parchment);
}
.account-avatar {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--gold-light);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.account-user { min-width: 0; }
.account-user strong,
.account-user span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-user strong { color: var(--charcoal); font-size: 15px; }
.account-user span { margin-top: 2px; color: var(--text-muted); font-size: 12px; }
.account-user small {
    display: block;
    margin-top: 5px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.account-actions { padding: 8px 0; }
.account-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-body);
    font-size: 13px;
    transition: color .2s, background .2s;
}
.account-action:hover { color: var(--gold); background: var(--parchment); }
.account-action svg { width: 17px; height: 17px; flex: 0 0 auto; }
.account-action .action-arrow { margin-left: auto; color: #C8C3BA; }
.account-action:hover .action-arrow { color: var(--gold); }
.account-logout {
    margin: 0;
    padding: 8px;
    border-top: 1px solid var(--stone-light);
}
.account-logout .account-action {
    width: 100%;
    border: 0;
    background: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    padding: 12px;
    color: #5B3131;
    font-weight: 600;
}
.account-logout .account-action:hover { background: #FBF4F2; }

/* Desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-item { position: relative; }
.nav-item > a,
.nav-item > button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--charcoal);
    white-space: nowrap;
    transition: color .2s;
}
.nav-item > a:hover,
.nav-item > button:hover { color: var(--gold); }
.nav-item .chevron {
    width: 10px; height: 6px;
    border: none; background: none;
    display: inline-flex;
    transition: transform .2s;
}
.nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--stone-light);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 8px 0;
    display: none;
    z-index: 200;
}
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #444;
    transition: color .15s, background .15s;
}
.nav-dropdown a:hover { color: var(--gold); background: var(--parchment); }

.nav-cta { margin-left: 8px; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--charcoal);
    transition: width .2s;
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 24px; }
.hamburger span:nth-child(3) { width: 16px; }

/* Mobile menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--stone-light);
    max-height: 80vh;
    overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-item.mobile-menu-cta > a.btn-primary {
    display: block;
    margin: 16px 24px;
    width: calc(100% - 48px);
    justify-content: center;
    text-align: center;
    background: var(--gold);
    color: #fff;
    border-bottom: none;
}
.mobile-menu-item.mobile-menu-cta > a.btn-primary:hover {
    background: #A07E30;
    color: #fff;
}
.mobile-menu-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--charcoal);
    border-bottom: 1px solid #F0ECE6;
}
.mobile-sub a {
    display: block;
    padding: 11px 40px;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #F0ECE6;
    transition: color .15s;
}
.mobile-sub a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    padding-top: 144px; /* header + ticker offset */
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--deep);
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .25;
    mix-blend-mode: luminosity;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28,28,36,.92) 0%, rgba(28,28,36,.55) 60%, rgba(44,44,53,.35) 100%);
}
.hero-accent-line {
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(184,148,63,.8), transparent);
}
.hero-body {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hero-body .container { width: 100%; }
.hero-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}
.hero-h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 300;
    color: #fff;
    line-height: 1.04;
    max-width: 640px;
    margin-bottom: 24px;
}
.hero-h1 .accent { color: var(--gold-light); font-weight: 700; }
.hero-p {
    font-size: 16px;
    color: rgba(255,255,255,.55);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-bottom: 32px;
}
.hero-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(184,148,63,.65));
}
.hero-scroll-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.7); }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar { background: var(--charcoal); }
.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(255,255,255,.1);
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.stat-label {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════════════════════
   I AM — PERSONA SELECTOR
═══════════════════════════════════════════════════════════ */
.persona-section {
    background: var(--sand);
    border-bottom: 1px solid var(--stone);
    padding: 64px 0;
    scroll-margin-top: 160px;
}
.persona-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 24px;
}
.persona-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.persona-tab {
    padding: 10px 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: #fff;
    color: #555;
    border: 1px solid var(--stone);
    transition: all .2s;
}
.persona-tab:hover { border-color: var(--gold); color: var(--gold); }
.persona-tab.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.persona-panel {
    background: #fff;
    border: 1px solid var(--stone);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.persona-name {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.persona-sub {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.persona-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.quick-access-label {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
}
.quick-access-list { border: 1px solid var(--stone-light); }
.quick-access-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 13px;
    color: var(--charcoal);
    border-bottom: 1px solid var(--stone-light);
    transition: all .15s;
}
.quick-access-list a:last-child { border-bottom: none; }
.quick-access-list a:hover { background: var(--parchment); color: var(--gold); }
.quick-access-list a .arrow { color: #ccc; transition: color .15s; }
.quick-access-list a:hover .arrow { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about-section { padding: 112px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}
.about-h2 { font-size: clamp(34px, 3.5vw, 50px); color: var(--charcoal); margin-bottom: 28px; }
.about-p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 20px;
}
.about-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.about-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #444;
    transition: color .2s;
}
.about-link:hover { color: var(--gold); }
.about-link .line {
    display: inline-block;
    width: 12px; height: 1px;
    background: var(--gold);
    transition: width .2s;
}
.about-link:hover .line { width: 20px; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.about-corner-br {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 110px; height: 110px;
    border: 2px solid rgba(184,148,63,.28);
    pointer-events: none;
}
.about-corner-tl {
    position: absolute;
    top: -20px; left: -20px;
    width: 80px; height: 80px;
    border: 1px solid rgba(44,44,53,.15);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services-section { background: var(--sand); padding: 112px 0; }
.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 48px;
}
.section-header.row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}
.section-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--stone);
    margin-bottom: 8px;
}
.service-card {
    background: var(--sand);
    padding: 28px;
    cursor: pointer;
    transition: background .2s;
    text-align: left;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.service-card:hover { background: #fff; }
.service-card.active { background: var(--charcoal); border-bottom-color: var(--gold); }
.service-icon {
    font-size: 22px;
    color: rgba(184,148,63,.45);
    margin-bottom: 16px;
    transition: color .2s;
}
.service-card:hover .service-icon { color: var(--gold); }
.service-card.active .service-icon { color: var(--gold-light); }
.service-title {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 8px;
    transition: color .2s;
}
.service-card.active .service-title { color: #fff; }
.service-expand-hint {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: transparent;
    transition: color .2s;
    margin-top: 12px;
}
.service-card:hover .service-expand-hint { color: var(--gold); }
.service-card.active .service-expand-hint { color: var(--gold-light); }

/* Expanded panel */
.service-panel {
    background: #fff;
    border: 1px solid var(--stone);
    padding: 48px;
    display: none;
    animation: slideDown .25s ease;
}
.service-panel.open { display: block; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.service-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
}
.service-panel h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 14px;
}
.service-panel p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 20px;
}
.service-panel .cta-link {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    transition: color .2s;
}
.service-panel .cta-link:hover { color: #A07E30; }
.level-label {
    font-size: 10px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: 14px;
}
.level-list { list-style: none; }
.level-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}
.level-list li::before {
    content: '·';
    color: var(--gold);
    margin-top: 1px;
    flex-shrink: 0;
}
.level-list li a { transition: color .15s; }
.level-list li a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   REGULATORY FRAMEWORK
═══════════════════════════════════════════════════════════ */
.regulatory-section {
    background: var(--charcoal);
    padding: 80px 0;
}
.regulatory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.regulatory-h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; margin-bottom: 20px; }
.regulatory-p { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.75; }
.reg-items { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reg-item { border-left: 2px solid rgba(184,148,63,.35); padding: 4px 0 4px 20px; }
.reg-item-label {
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 6px;
}
.reg-item-value {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   MARKET INFORMATION
═══════════════════════════════════════════════════════════ */
.market-section { padding: 112px 0; }
.market-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--stone);
    margin-bottom: 40px;
}
.market-tile {
    display: block;
    background: var(--parchment);
    padding: 32px 28px;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.market-tile:hover { background: #fff; border-bottom-color: var(--gold); }
.market-tile-value {
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}
.market-tile-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
    transition: color .2s;
}
.market-tile:hover .market-tile-label { color: var(--gold); }
.market-tile-sub { font-size: 11px; color: var(--text-faint); }

/* Database table */
.db-table-wrap { border: 1px solid var(--stone); overflow: hidden; }
.db-table-header {
    background: var(--charcoal);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.db-table-header span {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}
.db-table-header a {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color .2s;
}
.db-table-header a:hover { color: #E0B85A; }
.db-table { width: 100%; border-collapse: collapse; }
.db-table th {
    background: var(--sand);
    text-align: left;
    padding: 12px 20px;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    border-bottom: 1px solid var(--stone);
}
.db-table td {
    padding: 14px 20px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid var(--stone-light);
}
.db-table tr:last-child td { border-bottom: none; }
.db-table tr:hover td { background: var(--parchment); }
.db-table .isin { font-family: monospace; font-size: 12px; color: var(--gold); }
.db-table .status-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
}
.db-table .status-active::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.db-table .status-inactive {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
}
.db-table .status-inactive::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #AAA;
}
.db-table .isin a {
    color: var(--gold);
    transition: color .15s;
}
.db-table .isin a:hover { color: #806522; }

/* ═══════════════════════════════════════════════════════════
   MEMBERSHIP
═══════════════════════════════════════════════════════════ */
.membership-section { background: var(--charcoal); padding: 112px 0; scroll-margin-top: 160px; }
.membership-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}
.membership-h2 { font-size: clamp(34px, 3.5vw, 50px); color: #fff; margin-bottom: 16px; }
.membership-p { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 24px; }
.btn-membership {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid rgba(184,148,63,.45);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: all .2s;
}
.btn-membership:hover { background: rgba(184,148,63,.1); }
.membership-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.1);
}
.membership-step {
    background: var(--charcoal);
    padding: 28px;
}
.step-num {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: rgba(184,148,63,.35);
    margin-bottom: 16px;
}
.step-title {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.step-body { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   NEWS
═══════════════════════════════════════════════════════════ */
.news-section { padding: 112px 0; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--stone);
}
.news-card {
    background: var(--parchment);
    padding: 32px;
    transition: background .2s;
    cursor: pointer;
}
.news-card:hover { background: #fff; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.news-cat {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
}
.news-dot { color: #ccc; }
.news-date { font-size: 11px; color: var(--text-faint); }
.news-title {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.45;
    margin-bottom: 14px;
    transition: color .2s;
}
.news-card:hover .news-title { color: var(--gold); }
.news-excerpt { font-size: 14px; color: #666; line-height: 1.7; }
.news-cta {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    margin-top: 24px;
    opacity: 0;
    transition: opacity .2s;
}
.news-card:hover .news-cta { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact-section {
    background: var(--sand);
    border-top: 1px solid var(--stone);
    padding: 112px 0;
    scroll-margin-top: 94px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-h2 { font-size: clamp(34px, 3.5vw, 50px); color: var(--charcoal); margin-bottom: 28px; }
.contact-p { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 6px; }
.contact-details p { font-size: 14px; color: #555; }
.contact-details a { transition: color .2s; }
.contact-details a:hover { color: var(--gold); }
.dept-list { border: 1px solid var(--stone); background: #fff; }
.dept-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid var(--stone-light);
    transition: all .15s;
}
.dept-list a:last-child { border-bottom: none; }
.dept-list a:hover { background: var(--parchment); color: var(--gold); }
.dept-list a .arrow { color: #ccc; transition: color .15s; }
.dept-list a:hover .arrow { color: var(--gold); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--stone);
    background: #fff;
}
.contact-page-form {
    max-width: 720px;
    margin-top: 48px;
}
.contact-page-form .contact-form {
    padding: 0;
    border: none;
    background: transparent;
}
.contact-section .content-note {
    margin-top: 0;
    margin-bottom: 20px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-field span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #555;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--stone);
    background: #fff;
    color: var(--charcoal);
    font-family: inherit;
    font-size: 14px;
}
.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-field input[type="file"] {
    padding: 10px 0;
    border: none;
    background: transparent;
}
.contact-field small {
    font-size: 12px;
    color: #888;
}
.contact-form .auth-captcha {
    margin-top: 4px;
}
.contact-form .auth-captcha altcha-widget {
    display: block;
    --altcha-max-width: 100%;
    --altcha-border-radius: 2px;
    --altcha-border-color: var(--stone);
    --altcha-color-base: #fff;
    --altcha-color-base-content: var(--charcoal);
    --altcha-color-primary: var(--gold);
    --altcha-color-success: #2E7D4F;
    --altcha-color-error: #b42318;
    --altcha-checkbox-border-radius: 2px;
    --altcha-shadow: none;
}
.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 8px;
    border: none;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer { background: var(--deep); padding: 64px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .5; margin-bottom: 24px; }
.footer-about { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.65; max-width: 220px; margin-bottom: 20px; }
.footer-contact-line { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.footer-col-heading {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    margin-bottom: 20px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
    font-size: 13px;
    color: rgba(255,255,255,.82);
    transition: color .2s;
}
.footer-col-links a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.72); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   SHARED INNER-PAGE LAYOUTS
   Used by standard content, document, and membership pages.
═══════════════════════════════════════════════════════════ */
.inner-page {
    padding-top: 184px;
    padding-bottom: 80px;
}
.content-page .about-h2 {
    max-width: 24ch;
}
a.content-fact:hover .content-fact-value { color: var(--gold); }
.content-copy {
    max-width: 760px;
}
.content-copy .about-p:last-child {
    margin-bottom: 0;
}
.content-documents {
    margin-top: 56px;
}
.content-page .cta-link {
    display: inline-block;
    margin-top: 28px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    transition: color .2s;
}
.content-page .cta-link:hover { color: #A07E30; }

/* ═══════════════════════════════════════════════════════════
   JOIN / MEMBERSHIP PAGE — UNIQUE COMPONENTS
═══════════════════════════════════════════════════════════ */
.join-intro {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
}
.join-page .about-h2 { margin-bottom: 36px; }
.join-points {
    list-style: none;
    counter-reset: join;
    margin: 0;
    padding: 0;
    max-width: 760px;
}
.join-points li {
    counter-increment: join;
    display: flex;
    gap: 12px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}
.join-points li::before {
    content: counter(join) ".";
    color: var(--gold);
    font-weight: 600;
    min-width: 1.4em;
}
.join-download {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 14px 22px;
    border: 1px solid var(--gold);
    color: var(--charcoal);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.join-download:hover { background: var(--gold); color: #fff; }

/* Shared content facts */
.content-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--stone);
}
.content-fact {
    border-left: 2px solid rgba(184, 148, 63, .55);
    padding: 4px 0 4px 20px;
}
.content-fact-label {
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.content-fact-value {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.35;
}
.nav-plain {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--charcoal);
    white-space: nowrap;
    transition: color .2s;
}
.nav-plain:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   SHARED NEWS TICKER
═══════════════════════════════════════════════════════════ */
.news-ticker {
    display: flex;
    align-items: stretch;
    background: #14141a;
    border-bottom: 1px solid rgba(184, 148, 63, 0.35);
    overflow: hidden;
    min-height: 44px;
}
.news-ticker-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--alert);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}
.news-ticker-label:hover { background: #A07E30; color: #fff; }
.news-ticker-viewport {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.news-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: news-ticker-scroll 36s linear infinite;
}
.news-ticker-track--static { animation: none; }
.news-ticker-viewport:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    white-space: nowrap;
}
.news-ticker-item span {
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.news-ticker-item:hover { color: #fff; }
@keyframes news-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .news-ticker-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   SHARED EDITORIAL DETAIL-PAGE PATTERN
   Wrap the page in <article class="editorial-page"> with its own .container
   and set ViewData["FullWidth"] = true so the layout adds no second container.
   Add .editorial-page--lead for the larger landing-style title.
═══════════════════════════════════════════════════════════ */
.editorial-page {
    padding-block: 184px 96px; /* header + ticker offset */
}

.breadcrumb {
    border-bottom: 1px solid var(--stone-light);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 15px;
    color: #888;
    font-size: 11px;
}

.breadcrumb strong {
    color: var(--charcoal);
}

.about-intro {
    display: grid;
    grid-template-columns: 0.8fr 1.35fr;
    gap: clamp(64px, 7vw, 112px);
}

.eyebrow,
.legal-kicker {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 24px;
    letter-spacing: 0.45em;
}

.legal-kicker {
    margin: 0 0 12px;
    letter-spacing: 0.4em;
}

.editorial-page h1,
.editorial-page h2 {
    margin: 0;
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-weight: 300;
}

.editorial-page h1 strong,
.editorial-page h2 strong {
    font-weight: 700;
}

.editorial-page h1 {
    font-size: clamp(42px, 4.4vw, 58px);
    line-height: 1.04;
}

.editorial-page--lead h1 {
    margin-bottom: 32px;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 0.98;
}

.editorial-page h2 {
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.2;
}

.about-copy {
    max-width: 820px;
    padding-top: 4px;
    color: var(--text-body);
    font-size: 18px;
    line-height: 1.85;
}

.about-copy p {
    margin: 0;
}

.about-copy p + p {
    margin-top: 26px;
}

.editorial-page h1.news-headline {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.25;
}

.news-body {
    white-space: pre-wrap;
}

.about-copy strong {
    color: var(--charcoal);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT US — UNIQUE COMPONENTS
═══════════════════════════════════════════════════════════ */
.established {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 4px 0 4px 20px;
    border-left: 1px solid var(--gold-light);
}

.established-year {
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    font-weight: 600;
}

.established-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* ABOUT US — UNIQUE COMPONENTS END */

/* ═══════════════════════════════════════════════════════════
   SHARED LEGAL-REFERENCE COMPONENTS
   Used by About Us and Legal Framework.
═══════════════════════════════════════════════════════════ */
.legal {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--stone);
}

.legal-heading {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: 48px;
}

.legal-intro {
    max-width: 680px;
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.law-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.law-card {
    padding: 30px;
    border: 1px solid #e2ded6;
    border-top: 2px solid var(--gold);
    background: #fff;
}

.law-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.law-role {
    margin: 0 0 12px;
    color: #888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.law-card h3 {
    margin: 0;
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 28px;
    font-weight: 600;
}

.law-year {
    margin: 6px 0 0;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.law-watermark {
    color: rgba(44, 44, 53, 0.08);
    font-family: "Raleway", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.law-description {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid #eeeae3;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.law-documents {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.law-documents .source-link {
    margin-top: 24px;
}

/* Reusable three-column legal-reference variant */
.law-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.source-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.source-link:hover {
    color: #806522;
}

/* ═══════════════════════════════════════════════════════════
   SHARED DOCUMENT LIBRARY
   Reusable for legal, regulatory, rules, and resources pages.
═══════════════════════════════════════════════════════════ */
.document-library {
    margin-top: 80px;
}

.document-library-heading {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--stone);
}

.document-library-intro {
    max-width: 680px;
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.document-row {
    display: grid;
    grid-template-columns: 0.35fr 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 20px;
    border-bottom: 1px solid #e2ded6;
    transition: background 0.2s;
}

.document-row:hover {
    background: #fff;
}

.document-type {
    color: #888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.document-title {
    display: block;
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.2s;
}

.document-row:hover .document-title {
    color: var(--gold);
}

.document-description {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.document-action {
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.document-row--static {
    cursor: default;
}

.document-row--static:hover {
    background: transparent;
}

.document-row--static:hover .document-title {
    color: var(--charcoal);
}

.document-firm {
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   SHARED FEATURE CARDS
   Governance roles, memberships, networks and institutional links.
═══════════════════════════════════════════════════════════ */
.feature-grid {
    display: grid;
    gap: 1px;
    background: var(--stone);
}

.feature-grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: transparent;
}

.feature-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid--four {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 30px;
    background: #fff;
}

.feature-card--outlined {
    display: flex;
    flex-direction: column;
    border: 1px solid #e2ded6;
    border-top: 2px solid var(--gold);
}

.feature-card-label {
    margin: 0 0 28px;
    color: #888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.feature-card-title {
    margin: 0;
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.feature-card-title--large {
    font-size: 30px;
}

.title-detail {
    font-size: 0.72em;
}

.feature-card-description {
    margin: 14px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.feature-card--outlined .feature-card-description {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eeeae3;
}

.feature-card--outlined .source-link {
    margin-top: auto;
    padding-top: 8px;
}

.content-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding: 20px 24px;
    border: 1px solid #e2ded6;
    background: rgba(255, 255, 255, 0.55);
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.content-note::before {
    content: "";
    width: 32px;
    height: 1px;
    flex: 0 0 auto;
    margin-top: 10px;
    background: var(--gold);
}

.content-warning {
    margin-top: 32px;
    padding: 16px 24px;
    border: 1px solid #e4d3a2;
    background: #f8f1dc;
    color: #6b5420;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.content-warning + .content-warning {
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════
   SECURITIES DATABASE
═══════════════════════════════════════════════════════════ */
.securities-search {
    margin: 48px 0 32px;
    border: 1px solid #e2ded6;
    border-top: 2px solid var(--gold);
    background: #fff;
}

.securities-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
}

.securities-search-bar .legal-kicker {
    margin: 0;
}

.securities-collapse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--stone);
    color: var(--charcoal);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.securities-collapse:hover { border-color: var(--gold); color: var(--gold); }

.securities-collapse-icon {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-135deg);
    margin-top: 3px;
}

.securities-search.is-collapsed .securities-collapse-icon {
    transform: rotate(45deg);
    margin-top: -3px;
}

.securities-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
    padding: 0 28px 28px;
}

.securities-search.is-collapsed .securities-filters {
    display: none;
}

button.securities-btn,
a.securities-btn,
label.securities-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid var(--gold);
    border-radius: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

button.securities-btn--primary,
a.securities-btn--primary,
label.securities-btn--primary {
    background: var(--gold);
    color: #fff;
}

button.securities-btn--primary:hover,
a.securities-btn--primary:hover,
label.securities-btn--primary:hover { background: #A07E30; }

button.securities-btn--outline,
a.securities-btn--outline,
label.securities-btn--outline {
    background: #fff;
    color: var(--charcoal);
}

button.securities-btn--outline:hover,
a.securities-btn--outline:hover,
label.securities-btn--outline:hover {
    background: var(--gold);
    color: #fff;
}

.securities-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.securities-filter span {
    color: #888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.securities-filter input,
.securities-filter select,
.security-field input,
.security-field select,
.security-field textarea {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--stone);
    background-color: #fff;
    color: var(--charcoal);
    font-family: inherit;
    font-size: 14px;
}

.security-field textarea {
    height: auto;
    min-height: 160px;
    padding: 10px 12px;
    resize: vertical;
}

.security-field:has(textarea) {
    align-items: start;
}

.security-field input[type="file"] {
    height: auto;
    padding: 8px 0;
    border: 0;
    background: transparent;
}

.news-remove-attachment {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #555;
    font-size: 14px;
}

.news-remove-attachment input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.securities-filter input:focus,
.securities-filter select:focus,
.security-field input:focus,
.security-field select:focus,
.security-field textarea:focus {
    outline: 1px solid var(--gold);
    border-color: var(--gold);
}

.securities-filter-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 12px;
    grid-column: 1 / -1;
}

.securities-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 24px;
}

.securities-import {
    display: flex;
    align-items: stretch;
    height: 44px;
    margin: 0;
}

.securities-import .securities-btn {
    height: 44px;
}

.securities-import-label {
    position: relative;
    overflow: hidden;
}

.securities-import-label input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.securities-table-scroll { overflow-x: auto; }

.securities-delete {
    color: #5B3131;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.securities-delete:hover { color: #8a2020; }

.securities-error { border-color: #d8b8b8; color: #5B3131; }

.security-form-section {
    margin-top: 48px;
    padding: 28px;
    border: 1px solid #e2ded6;
    border-top: 2px solid var(--gold);
    background: #fff;
}

.security-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-top: 20px;
}

.security-field {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eeeae3;
}

.security-field span {
    color: #555;
    font-size: 13px;
}

.security-form .securities-toolbar { margin-top: 28px; }

.security-form .auth-captcha { margin-top: 24px; }

/* ═══════════════════════════════════════════════════════════
   ROLE IN THE LEBANESE MARKET — UNIQUE COMPONENTS
═══════════════════════════════════════════════════════════ */
.lifecycle {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--stone);
}

.lifecycle-heading {
    max-width: 680px;
    margin-bottom: 32px;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--stone);
}

.about-copy + .lifecycle-grid,
.about-copy + .feature-grid,
.about-copy + .document-list,
.document-library + .about-copy {
    margin-top: 32px;
}

.lifecycle-card {
    padding: 30px;
    background: #fff;
}

.lifecycle-number {
    display: block;
    margin-bottom: 32px;
    color: rgba(184, 148, 63, 0.35);
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.lifecycle-card h3 {
    margin: 0 0 12px;
    color: var(--charcoal);
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.lifecycle-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .membership-steps { grid-template-columns: repeat(3, 1fr); }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 24px 16px; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
    .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
    .persona-panel { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-wrap { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-panel-grid { grid-template-columns: 1fr; }
    .regulatory-grid { grid-template-columns: 1fr; gap: 36px; }
    .market-tiles { grid-template-columns: 1fr 1fr; }
    .membership-intro { grid-template-columns: 1fr; gap: 32px; }
    .membership-steps { grid-template-columns: 1fr; }
    .join-intro { grid-template-columns: 1fr; gap: 36px; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-header.row { flex-direction: column; align-items: flex-start; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .reg-items { grid-template-columns: 1fr; }
    .market-tiles { grid-template-columns: 1fr; }
    .about-links { grid-template-columns: 1fr; }
    .content-facts { grid-template-columns: 1fr; }
}



/* Shared editorial pages */
@media (max-width: 768px) {
    .editorial-page {
        padding-block: 168px 72px;
    }

    .about-intro,
    .legal-heading,
    .law-grid,
    .lifecycle-grid,
    .document-library-heading,
    .document-row,
    .feature-grid--two,
    .feature-grid--three,
    .feature-grid--four,
    .securities-filters,
    .security-form-grid {
        grid-template-columns: 1fr;
    }

    .security-field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .about-intro {
        gap: 44px;
    }

    .about-copy {
        font-size: 16px;
    }

    .legal,
    .lifecycle {
        margin-top: 56px;
        padding-top: 40px;
    }

    .legal-heading {
        gap: 18px;
    }

    .document-library {
        margin-top: 56px;
    }

    .document-library-heading {
        gap: 18px;
    }

    .document-row {
        padding-inline: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   WELCOME VIDEO
═══════════════════════════════════════════════════════════ */
body.welcome-video-open { overflow: hidden; }

.welcome-video {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 26, 34, 0.78);
}

.welcome-video[hidden] { display: none !important; }

.welcome-video__dialog {
    width: min(960px, 100%);
    background: var(--deep);
    border-top: 2px solid var(--gold);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.welcome-video__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px 12px 20px;
}

.welcome-video__label {
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.welcome-video__close {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.welcome-video__close:hover,
.welcome-video__close:focus-visible {
    border-color: var(--gold-light);
    color: var(--gold-light);
    outline: none;
}

.welcome-video__stage { position: relative; }

.welcome-video__player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(72vh, 540px);
    object-fit: contain;
    background: #000;
}

.welcome-video__unmute {
    position: absolute;
    left: 16px;
    bottom: 64px;
    padding: 10px 16px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.welcome-video__unmute[hidden] { display: none !important; }

@media (max-width: 768px) {
    .welcome-video { padding: 12px; }
    .welcome-video__player { max-height: 70vh; }
    .welcome-video__unmute { bottom: 56px; }
}
