* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #F7F3ED; }
body {
  font-family: 'Jost', sans-serif;
  color: #0B1936;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
input, button { font-family: inherit; }
.serif { font-family: 'Playfair Display', serif; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 14px 40px;
  background: rgba(247,243,237,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,25,54,0.1);
}
.nav-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.nav-links { display: flex; gap: 30px; font-size: 12px; letter-spacing: 0.18em; font-weight: 400; white-space: nowrap; }
.btn-dark {
  font-size: 11.5px; letter-spacing: 0.18em; background: #0B1936; color: #F7F3ED;
  padding: 11px 24px; white-space: nowrap; display: inline-block;
}
.btn-dark:hover { background: #CBA568; color: #0B1936; }
.menu-toggle { cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle div { width: 22px; height: 1.5px; background: #0B1936; }
.mobile-menu {
  position: sticky; top: 61px; z-index: 49;
  display: flex; flex-direction: column;
  background: rgba(247,243,237,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,25,54,0.1);
}
.mobile-menu a {
  padding: 16px 40px; font-size: 12px; letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(11,25,54,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }

.wide-only { display: flex; }
.narrow-only { display: none; }
@media (max-width: 1099px) {
  .wide-only { display: none; }
  .narrow-only { display: flex; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(112deg, rgba(203,165,104,0.2) 0%, rgba(203,165,104,0.2) 5%, rgba(227,205,161,0.11) 5%, rgba(227,205,161,0.11) 10%, rgba(203,165,104,0) 10%),
    linear-gradient(248deg, rgba(203,165,104,0.16) 0%, rgba(203,165,104,0.16) 6%, rgba(227,205,161,0.09) 6%, rgba(227,205,161,0.09) 11%, rgba(203,165,104,0) 11%),
    #0B1936;
  color: #F7F3ED;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px;
  padding: 104px 48px 92px;
}
.hero-mark-bg { position: absolute; right: -150px; bottom: -160px; width: 560px; height: 530px; opacity: 0.07; color: #CBA568; }
.btn-outline-gold {
  font-size: 12px; letter-spacing: 0.18em; border: 1px solid #CBA568; color: #CBA568; padding: 14px 32px;
}
.btn-outline-gold:hover { background: #CBA568; color: #0B1936; }

/* Ecosystem */
.ecosystem {
  background: linear-gradient(104deg, rgba(203,165,104,0.14) 0%, rgba(203,165,104,0.14) 4%, rgba(227,205,161,0.07) 4%, rgba(227,205,161,0.07) 8%, rgba(203,165,104,0) 8%), #0B1936;
  color: #F7F3ED;
  padding: 84px 48px;
}
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; min-height: 280px;
}
.brand-card {
  cursor: pointer; display: flex; flex-direction: column; gap: 16px;
  border: 1px solid rgba(247,243,237,0.14);
  background: rgba(247,243,237,0.04);
  padding: 28px 24px;
  transition: all .25s;
}
.brand-card:hover { background: rgba(203,165,104,0.08); border-color: rgba(203,165,104,0.6); transform: translateY(-3px); }
.brand-card.active { border-color: rgba(203,165,104,0.65); }
.brand-logo-slot { height: 74px; background: #F7F3ED; display: flex; align-items: center; justify-content: center; padding: 12px 16px; box-sizing: border-box; }
.brand-logo-slot img { max-height: 100%; max-width: 100%; object-fit: contain; }
.brand-tag-row { display: flex; align-items: center; gap: 12px; }
.brand-tag { font-family: 'Jost', sans-serif; font-size: 13px; letter-spacing: 0.26em; color: #F7F3ED; }
.brand-role { font-size: 11.5px; letter-spacing: 0.06em; font-weight: 300; color: #A7AFC0; line-height: 1.6; }
.brand-links { display: flex; gap: 16px; margin-top: auto; }
.view-profile { font-size: 10px; letter-spacing: 0.24em; color: #CBA568; }
.full-page { font-size: 10px; letter-spacing: 0.24em; color: #F7F3ED; }
.full-page:hover { color: #CBA568; }

.active-panel {
  display: flex; gap: 36px; flex-wrap: wrap;
  border: 1px solid rgba(203,165,104,0.45);
  background: linear-gradient(135deg, rgba(203,165,104,0.1), rgba(203,165,104,0.03)), rgba(247,243,237,0.03);
  padding: 36px 40px; position: relative;
}
.active-close { position: absolute; top: 16px; right: 20px; cursor: pointer; font-size: 17px; color: #A7AFC0; line-height: 1; }
.active-close:hover { color: #CBA568; }
.active-col { display: flex; flex-direction: column; gap: 10px; min-width: 230px; flex: 1; }
.active-info-col { display: flex; flex-direction: column; gap: 8px; min-width: 200px; flex: 1; }
.active-products-wrap { display: flex; flex-direction: column; gap: 14px; width: 100%; border-top: 1px solid rgba(203,165,104,0.25); padding-top: 22px; }
.active-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.active-product-card { border: 1px solid rgba(247,243,237,0.14); background: rgba(11,25,54,0.45); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }

/* Leadership */
.leadership { padding: 88px 48px; background: #F7F3ED; }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 52px; max-width: 1180px; margin: 0 auto; }
.leader-card { border: 1px solid rgba(11,25,54,0.12); background: #FFFFFF; padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; max-width: 400px; }
.region-item {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid rgba(11,25,54,0.12); background: rgba(255,255,255,0.5); padding: 18px 24px; transition: all .2s;
  margin-bottom: 8px;
}
.region-item.open { border-color: rgba(203,165,104,0.7); background: #FFFFFF; }
.region-name { font-size: 13px; letter-spacing: 0.18em; }
.region-detail { font-size: 12.5px; font-weight: 300; color: #5A6472; line-height: 1.6; margin-top: 4px; }
.region-chev { font-size: 14px; color: #CBA568; }

/* Portal */
.portal {
  background: linear-gradient(248deg, rgba(203,165,104,0.14) 0%, rgba(203,165,104,0.14) 5%, rgba(227,205,161,0.07) 5%, rgba(227,205,161,0.07) 10%, rgba(203,165,104,0) 10%), #0B1936;
  color: #F7F3ED; padding: 84px 48px;
}
.portal-box { border: 1px solid rgba(203,165,104,0.35); background: rgba(247,243,237,0.03); display: flex; flex-wrap: wrap; }
.tab-list { flex: 1.3; min-width: 300px; display: flex; flex-direction: column; border-right: 1px solid rgba(203,165,104,0.2); }
.tab-item {
  cursor: pointer; padding: 20px 26px; border-bottom: 1px solid rgba(203,165,104,0.15);
  border-left: 2px solid transparent; display: flex; flex-direction: column; gap: 6px; transition: all .2s;
}
.tab-item.active { border-left-color: #CBA568; background: rgba(203,165,104,0.06); }
.tab-label { font-size: 11.5px; letter-spacing: 0.2em; color: #A7AFC0; }
.tab-item.active .tab-label { color: #CBA568; }
.tab-body { font-size: 12.5px; font-weight: 300; line-height: 1.65; color: #C7CBD6; margin-top: 6px; }
.form-panel { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 14px; padding: 34px 32px; justify-content: center; }
.access-form { display: flex; flex-direction: column; gap: 14px; }
.access-form input {
  background: rgba(11,25,54,0.6); border: 1px solid rgba(247,243,237,0.2); padding: 12px 14px;
  color: #F7F3ED; font-family: 'Jost', sans-serif; font-size: 13px; outline: none;
}
.access-form input::placeholder { color: rgba(247,243,237,0.5); }
.btn-gold-block {
  cursor: pointer; text-align: center; font-size: 11.5px; letter-spacing: 0.2em;
  background: #CBA568; color: #0B1936; padding: 13px 20px; font-weight: 500; border: none;
}
.btn-gold-block:hover { background: #DBBB84; }
.form-sent { border: 1px solid rgba(203,165,104,0.5); padding: 22px; text-align: center; font-size: 13px; font-weight: 300; line-height: 1.7; color: #E4E0D6; }

/* Shared */
.eyebrow { font-size: 10.5px; letter-spacing: 0.3em; color: #CBA568; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.info-card { border: 1px solid rgba(11,25,54,0.12); background: #FFFFFF; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.info-body { font-size: 13.5px; font-weight: 300; line-height: 1.7; color: #3A465C; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.product-card { border: 1px solid rgba(11,25,54,0.12); background: #FFFFFF; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.product-img { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.product-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-name { font-size: 13px; letter-spacing: 0.16em; color: #0B1936; }
.product-spec { font-size: 12.5px; font-weight: 300; line-height: 1.65; color: #5A6472; }
.divider-gold { width: 20px; height: 1px; background: #CBA568; }
.btn-outline { font-size: 11px; letter-spacing: 0.2em; border: 1px solid #CBA568; color: #0B1936; padding: 10px 22px; }
.btn-outline:hover { background: #CBA568; }
.btn-gold { font-size: 11.5px; letter-spacing: 0.2em; background: #CBA568; color: #0B1936; padding: 13px 28px; font-weight: 500; }
.btn-gold:hover { background: #DBBB84; }
.cta-bar {
  background: #0B1936; color: #F7F3ED; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding: 32px 36px;
}

/* Brand page */
.brand-hero {
  background: linear-gradient(112deg, rgba(203,165,104,0.2) 0%, rgba(203,165,104,0.2) 5%, rgba(227,205,161,0.11) 5%, rgba(227,205,161,0.11) 10%, rgba(203,165,104,0) 10%), #0B1936;
  color: #F7F3ED; padding: 64px 48px;
}
.brand-hero-inner { display: flex; flex-direction: column; gap: 26px; max-width: 1180px; margin: 0 auto; }
.back-link { cursor: pointer; font-size: 11px; letter-spacing: 0.24em; color: #CBA568; }
.brand-hero-row { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.brand-logo-box { width: 250px; height: 130px; background: #F7F3ED; display: flex; align-items: center; justify-content: center; padding: 18px 24px; box-sizing: border-box; flex-shrink: 0; }
.brand-logo-box img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Footer */
.footer { background: #0B1936; color: #C7CBD6; display: flex; flex-direction: column; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding: 56px 48px 40px; max-width: 1180px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.footer-brands {
  background: linear-gradient(104deg, rgba(203,165,104,0.4) 0%, rgba(203,165,104,0.4) 6%, rgba(227,205,161,0.22) 6%, rgba(227,205,161,0.22) 12%, rgba(203,165,104,0) 12%),
    linear-gradient(256deg, rgba(203,165,104,0.36) 0%, rgba(203,165,104,0.36) 7%, rgba(227,205,161,0.18) 7%, rgba(227,205,161,0.18) 13%, rgba(203,165,104,0) 13%),
    #081226;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding: 20px 48px; font-size: 11px; letter-spacing: 0.24em; color: #E4E0D6; box-sizing: border-box;
}
.footer-bottom {
  border-top: 1px solid rgba(199,203,214,0.12); display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; padding: 16px 48px; font-size: 9.5px; letter-spacing: 0.2em; color: #5E6B85; box-sizing: border-box;
}

@media (max-width: 640px) {
  .hero { padding: 84px 24px 72px; }
  .hero .serif { font-size: 38px !important; }
  .ecosystem, .leadership, .portal, .brand-hero, .brand-page > div { padding-left: 24px; padding-right: 24px; }
}
