/* NBFC federation platform — separate visual layer; legacy event styling stays intact. */
:root { --hub-border: rgba(241,238,232,.18); }
.site-header .main-nav { gap: 19px; font-size: 9px; letter-spacing: .08em; }
.site-header .main-nav a:focus-visible, .hub-index a:focus-visible, .portal-entry a:focus-visible,
.hub-event-list a:focus-visible, .hub-ranking-archive a:focus-visible, .hub-inline:focus-visible,
.division-controls button:focus-visible, .button:focus-visible { outline: 3px solid #f3b47d; outline-offset: 3px; }

/* Entry from existing event homepage */
.portal-entry { background: #191c1b; border-bottom: 1px solid var(--line); padding-top: 75px; padding-bottom: 80px; }
.portal-entry-head { display: grid; grid-template-columns: 1.2fr .7fr; align-items: end; gap: 7vw; margin: 38px 0; }
.portal-entry-head h2 { margin: 0; font-size: clamp(54px,7vw,92px); }
.portal-entry-head p { max-width: 430px; margin: 0; color: #c4c4bb; font-size: 13px; line-height: 1.85; }
.portal-entry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: #3b3d3b; border: 1px solid #3b3d3b; }
.portal-entry-grid a { min-height: 143px; padding: 20px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 16px; background: #232625; transition: background .2s; }
.portal-entry-grid a:hover { background: #343837; }
.portal-entry-grid a span { grid-column: 1 / -1; font-size: 8px; font-weight: 800; letter-spacing: .16em; color: #b9b9b4; }
.portal-entry-grid a strong { font: 800 27px/.95 var(--display); letter-spacing: .02em; }
.portal-entry-grid a b { justify-self: end; color: var(--red); font-size: 22px; line-height: .8; }

/* Main platform */
.platform-page { background: #141615; }
.hub-hero { padding: 80px 8vw 0; display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 6vw; align-items: center; background: radial-gradient(circle at 75% 22%,rgba(232,73,54,.11),transparent 37%), #151716; }
.hub-hero-copy { position: relative; z-index: 1; padding: 15px 0 85px; }
.hub-kicker { display: flex; gap: 11px; align-items: center; color: #d2cfca; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.hub-hero h1 { margin: 30px 0 24px; font: 900 clamp(75px,9vw,142px)/.79 var(--display); letter-spacing: -.038em; }
.hub-hero-copy>p:not(.hub-kicker) { max-width: 540px; color: #c0bfba; font-size: 15px; line-height: 1.85; }
.hub-hero-actions { margin-top: 31px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hub-quiet-link { font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #d5d0c9; }
.hub-quiet-link:hover { color: var(--red); }
.hub-hero-image { width: 100%; height: min(43vw,540px); min-height: 420px; position: relative; overflow: hidden; border: 1px solid #414340; box-shadow: 12px 16px 0 #a33729; align-self: center; }
.hub-hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.1); }
.hub-hero-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.04) 30%,rgba(0,0,0,.87)); pointer-events: none; }
.hub-image-overlay { position: absolute; bottom: 27px; left: 27px; right: 25px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.hub-image-overlay span { color: #ded9d1; font-size: 8px; letter-spacing: .22em; font-weight: 800; }
.hub-image-overlay b { font: 900 clamp(39px,5vw,75px)/.88 var(--display); }
.hub-hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid var(--line); margin-top: 40px; padding: 17px 0; color: #999994; font-size: 9px; letter-spacing: .18em; font-weight: 800; }
.hub-index { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); background: #272a28; padding: 1px; gap: 1px; }
.hub-index a { display: flex; flex-direction: column; gap: 17px; background: #f1eee8; color: #101111; min-height: 108px; padding: 20px 18px 13px; position: relative; transition: background .2s; }
.hub-index a:hover { background: #e0d6cd; }
.hub-index small { color: #a33a2c; font-weight: 900; letter-spacing: .12em; }
.hub-index b { font: 800 24px/.9 var(--display); text-transform: uppercase; }
.hub-index span { position: absolute; right: 16px; bottom: 12px; color: #a33a2c; font-size: 19px; }
.hub-section { padding: 90px 8vw 94px; scroll-margin-top: 74px; }
.hub-dark { background: #171a19; color: #f1eee8; }
.hub-light { background: #f1eee8; color: #101111; }
.hub-rankings { background: #e6e4de; color: #101111; }
.hub-officials { background: #202322; color: #f1eee8; }
.hub-section-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid currentColor; opacity: .65; font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.hub-intro { display: grid; grid-template-columns: 1.15fr .72fr; gap: 7vw; align-items: end; margin: 48px 0 43px; }
.hub-overline { font-size: 9px; font-weight: 800; letter-spacing: .2em; color: var(--red); margin: 0 0 20px; }
.hub-light .hub-overline, .hub-rankings .hub-overline { color: #ad2c20; }
.hub-intro h2 { font: 900 clamp(59px,7vw,102px)/.85 var(--display); margin: 0; letter-spacing: -.03em; }
.hub-intro>div:last-child { padding-bottom: 4px; }
.hub-intro>div:last-child p { max-width: 470px; margin: 0; color: #bdbdb6; font-size: 14px; line-height: 1.9; }
.hub-light .hub-intro>div:last-child p, .hub-rankings .hub-intro>div:last-child p { color: #555953; }
.hub-inline { display: inline-flex; margin-top: 20px; border-bottom: 1px solid var(--red); padding-bottom: 5px; font-size: 10px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: var(--red); }
.hub-light .hub-inline { color: #a82b1e; }
.hub-inline:hover { opacity: .75; }
.hub-grid { display: grid; gap: 12px; }
.hub-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hub-grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.hub-panel { border: 1px solid rgba(241,238,232,.18); background: #222625; padding: 27px 27px 29px; min-height: 225px; }
.hub-panel>span { display: block; font-size: 9px; color: #e36c5c; font-weight: 800; letter-spacing: .15em; }
.hub-panel h3 { font: 800 32px/.95 var(--display); margin: 25px 0 12px; }
.hub-panel p, .hub-panel li { color: #b5b9b3; font-size: 12px; line-height: 1.8; margin: 0; }
.hub-panel-feature { min-height: 310px; }
.hub-panel-feature h3 { font-size: 40px; }
.hub-panel-feature ul { margin: 23px 0 0; padding-left: 20px; }
.hub-panel-feature li { padding: 5px 0; }
.hub-notice { display: grid; grid-template-columns: .6fr 1.5fr auto; align-items: center; gap: 22px; border-top: 1px solid var(--line); padding: 25px 0 0; margin-top: 29px; }
.hub-notice>b { font: 800 23px var(--display); }
.hub-notice p { color: #b5b7b1; margin: 0; font-size: 11px; line-height: 1.75; }
.hub-notice a { color: #f07769; font-size: 10px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.hub-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #c8c6bf; border: 1px solid #c8c6bf; }
.hub-steps article { background: #f1eee8; padding: 28px 30px; display: flex; gap: 24px; min-height: 172px; }
.hub-steps article>span { font: 800 42px/.8 var(--display); color: #bb3023; }
.hub-steps h3 { font: 800 28px/.95 var(--display); margin: 0 0 12px; }
.hub-steps p { max-width: 430px; color: #5c5e58; font-size: 12px; line-height: 1.8; margin: 0; }
.hub-fineprint { color: #767a74; margin: 23px 0 0; font-size: 10px; line-height: 1.75; }
.hub-ranking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.hub-ranking-archive { border: 1px solid #c8c8c1; background: #f1eee8; padding: 29px; }
.hub-small-label { display: block; color: #a12e22; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.hub-ranking-archive>a { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 25px 0; border-bottom: 1px solid #c7c7bf; }
.hub-ranking-archive>a:hover strong { color: #ad3327; }
.hub-ranking-archive>a strong { font: 800 43px/.85 var(--display); }
.hub-ranking-archive>a span { grid-column: 1; font-size: 10px; color: #656860; }
.hub-ranking-archive>a b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #ac2f22; font-size: 25px; }
.hub-ranking-archive>p { color: #6f726b; font-size: 10px; margin: 24px 0 0; line-height: 1.7; }
.hub-league { background: #151817; color: #f1eee8; padding: 29px; }
.hub-league-head { display: flex; justify-content: space-between; gap: 12px; color: #d1ccc4; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.hub-league-head strong { color: #ee7466; }
.hub-league h3 { font: 900 54px/.9 var(--display); margin: 42px 0 14px; }
.hub-league>p { max-width: 450px; color: #aaaea9; font-size: 12px; line-height: 1.85; }
.division-controls { display: flex; gap: 8px; margin-top: 24px; }
.division-controls button { border: 1px solid #6a6e6a; background: transparent; color: #f1eee8; cursor: pointer; padding: 11px 16px; font: 800 12px var(--body); }
.division-controls button:hover, .division-controls button.is-active { background: #e84936; border-color: #e84936; }
.division-result { border: 1px solid #454a46; margin-top: 13px; padding: 19px; min-height: 102px; display: flex; flex-direction: column; gap: 10px; }
.division-result b { font: 800 21px var(--display); }
.division-result span { font-size: 11px; color: #abaea8; }
.hub-league>a { display: inline-block; color: #fa7666; margin-top: 21px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.hub-document-bar { display: flex; justify-content: space-between; gap: 28px; padding: 26px 0; margin-top: 25px; border-top: 1px solid var(--line); }
.hub-document-bar>div:first-child { max-width: 650px; }
.hub-document-bar b { font: 800 24px var(--display); }
.hub-document-bar p { color: #b5b9b3; font-size: 11px; line-height: 1.85; margin: 10px 0 0; }
.hub-document-bar>div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.hub-document-bar a { color: #fa7868; font-size: 10px; text-transform: uppercase; font-weight: 800; }
.hub-event-feature { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding: 34px; background: #191c1b; color: #f1eee8; border-left: 5px solid var(--red); }
.hub-event-feature h3 { font: 900 clamp(74px,8vw,117px)/.8 var(--display); margin: 26px 0 13px; }
.hub-event-feature h3 em { color: var(--red); font-style: normal; }
.hub-event-feature p { color: #cbc9c4; font-size: 12px; margin: 0 0 24px; }
.hub-event-feature .button { flex-shrink: 0; white-space: nowrap; }
.hub-event-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.hub-event-tags span { border: 1px solid #555953; padding: 7px 10px; font-size: 8px; letter-spacing: .1em; font-weight: 800; }
.hub-event-list { margin-top: 17px; border-top: 1px solid #bcbeb8; }
.hub-event-list a { display: grid; grid-template-columns: .8fr 1.2fr 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid #bcbeb8; padding: 17px 8px; }
.hub-event-list a:hover { background: #e4e1da; }
.hub-event-list span { font-size: 9px; font-weight: 800; letter-spacing: .07em; color: #6a6a62; }
.hub-event-list b { font: 800 30px var(--display); }
.hub-event-list small { font-size: 9px; font-weight: 800; color: #797a72; }
.hub-event-list strong { color: #b42e20; font-size: 21px; }
.hub-contact { display: grid; grid-template-columns: 1.1fr .75fr; gap: 8vw; padding: 75px 8vw 88px; background: linear-gradient(120deg,#972e22,#4e1e1a 85%); color: #fff6ed; align-items: end; }
.hub-contact span { font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.hub-contact h2 { font: 900 clamp(67px,8vw,116px)/.8 var(--display); margin: 23px 0 0; }
.hub-contact h2 em { color: #f1aaa2; }
.hub-contact p { font-size: 13px; line-height: 1.85; }
.hub-contact .button-red { background: #f1eee8; color: #721e16; margin-top: 15px; }
.hub-contact .button-red:hover { background: #fff; }

@media (max-width: 1120px) { .site-header { padding: 0 3vw; } .site-header .main-nav { gap: 12px; font-size: 8px; } }
@media (max-width: 960px) {
  .site-header { padding: 0 5vw; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
  .menu-toggle span { width: 21px; height: 2px; background: #f1eee8; }
  .site-header .main-nav { display: none; position: absolute; top: 77px; left: 0; right: 0; padding: 20px 6vw 25px; background: #121413; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 13px; }
  .site-header .main-nav.open { display: flex; }
  .site-header .main-nav a { font-size: 11px; padding: 5px 0; }
  .site-header .main-nav .nav-cta { text-align: center; margin-top: 4px; }
  .hub-hero { padding: 60px 6vw 0; }
  .hub-hero h1 { font-size: clamp(65px,9vw,95px); }
  .hub-hero-image { min-height: 330px; }
  .hub-section { padding: 75px 6vw; }
  .hub-contact { padding: 65px 6vw; }
  .hub-intro { gap: 4vw; }
  .hub-index b { font-size: 19px; }
  .hub-index a { padding: 17px 12px; }
}
@media (max-width: 720px) {
  .site-header .main-nav { top: 65px; }
  .portal-entry { padding-top: 55px; padding-bottom: 60px; }
  .portal-entry-head, .hub-intro, .hub-contact { grid-template-columns: 1fr; gap: 25px; }
  .portal-entry-head h2, .hub-intro h2 { font-size: clamp(55px,12vw,85px); }
  .portal-entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-entry-grid a { min-height: 124px; padding: 15px; }
  .portal-entry-grid a strong { font-size: 24px; }
  .hub-hero { grid-template-columns: 1fr; padding: 54px 6vw 0; }
  .hub-hero-copy { padding-bottom: 15px; }
  .hub-hero h1 { font-size: clamp(68px,15vw,115px); }
  .hub-hero-copy>p:not(.hub-kicker) { font-size: 13px; }
  .hub-hero-image { min-height: 0; height: 62vw; margin: 30px 0 10px; box-shadow: 7px 9px 0 #a33729; }
  .hub-image-overlay { left: 17px; bottom: 18px; }
  .hub-image-overlay b { font-size: clamp(36px,9vw,60px); }
  .hub-hero-bottom { margin-top: 22px; justify-content: flex-start; gap: 6px 16px; font-size: 7px; }
  .hub-index { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hub-index a { min-height: 86px; padding: 13px; gap: 10px; }
  .hub-index b { font-size: 21px; }
  .hub-section { padding: 60px 6vw; }
  .hub-intro { margin: 35px 0; }
  .hub-grid-three, .hub-grid-two, .hub-steps, .hub-ranking-layout { grid-template-columns: 1fr; }
  .hub-panel { min-height: auto; padding: 25px; }
  .hub-panel h3 { margin-top: 15px; }
  .hub-panel-feature { min-height: auto; }
  .hub-notice { grid-template-columns: 1fr; gap: 10px; }
  .hub-notice a { white-space: normal; }
  .hub-steps article { padding: 23px; min-height: auto; }
  .hub-document-bar { flex-direction: column; }
  .hub-document-bar>div:last-child { align-items: flex-start; }
  .hub-event-feature { padding: 24px; align-items: flex-start; flex-direction: column; }
  .hub-event-feature h3 { font-size: 81px; }
  .hub-event-list a { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .hub-event-list span { grid-column: 1; }
  .hub-event-list b { grid-column: 1; }
  .hub-event-list small { grid-column: 1; }
  .hub-event-list strong { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .hub-contact h2 { font-size: clamp(67px,13vw,100px); }
}
@media (max-width: 390px) { .hub-index b { font-size: 18px; } .division-controls button { padding: 9px 12px; } .hub-hero h1 { font-size: 63px; } }
