/* CBI Consulting Ltd – Fine Urban inspired luxury style (v2 – cleaned) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --black: #181818;
  --black-soft: #111111;
  --black-card: #111111;
  --gold: #C8A060;
  --gold-light: #F3D88B;
  --text: #C8C8C8;
  --text-light: #F0F0F0;
  --white: #FFFFFF;
  --border: #222222;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--black);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.text-center { text-align: center; }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(24, 24, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 160, 96, 0.12);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: #000 !important;
  padding: 11px 22px !important;
  border-radius: 2px;
  font-weight: 500 !important;
  letter-spacing: 0.6px;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: #000 !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-light);
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-height: 52px;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold);
  color: #000;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #111111;
  background-image: linear-gradient(to bottom, rgba(24,24,24,0.48) 0%, rgba(24,24,24,0.88) 100%),
                    url('../images/trading-desk.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.12;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
}

.hero p {
  font-size: 17px;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title .gold {
  color: var(--gold);
  font-style: italic;
}

.section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
  color: var(--text);
  font-weight: 300;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.card:hover {
  border-color: rgba(200, 160, 96, 0.45);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 500;
}

.card p {
  font-size: 15px;
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

/* ========== MEMBERSHIP ========== */
.membership-box {
  max-width: 480px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid rgba(200, 160, 96, 0.35);
  border-radius: 4px;
  padding: 56px 44px;
  text-align: center;
}

.membership-box .price {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1;
}

.membership-box .period {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.6px;
  margin-bottom: 32px;
  font-weight: 300;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin: 32px 0;
  font-size: 13px;
  color: var(--text);
  font-weight: 300;
  line-height: 1.55;
}

.terms-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.locked-preview {
  margin-top: 64px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111111;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.72);
}

.locked-overlay .lock {
  font-size: 36px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.locked-overlay span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== FORMS ========== */
.form-box {
  max-width: 620px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}

.checkbox-group input {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
}

/* ========== LEGAL ========== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0 100px;
}

.legal-content h1 {
  font-size: 40px;
  margin-bottom: 36px;
  font-weight: 500;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--gold);
  margin: 40px 0 14px;
  font-weight: 500;
}

.legal-content p,
.legal-content li {
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 300;
  font-size: 15.5px;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 24px;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: #777;
  font-weight: 300;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: var(--white);
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.footer-links a {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.3px;
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,160,96,0.48), transparent);
  margin: 60px auto;
  max-width: 200px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; padding: 100px 0 80px; }
}

@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .membership-box { padding: 40px 24px; }
  .membership-box .price { font-size: 46px; }
  .form-box { padding: 32px 22px; }
  .section { padding: 70px 0; }
  .card:hover { transform: none; }
  .legal-content h1 { font-size: 32px; }
}

/* cards-orphan-fix */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 901px) {
  .cards > .card:nth-last-child(2):nth-child(3n+1),
  .cards > .card:nth-last-child(1):nth-child(3n+2) {
    /* five-card grid: last two sit centred on the second row */
  }
  .cards.cards-5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .cards.cards-5 > .card {
    grid-column: span 2;
  }
  .cards.cards-5 > .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards.cards-5 > .card:nth-child(5) { grid-column: 4 / span 2; }
}


/* ========== PREVIEW ADDITIONS (append only; do not duplicate :root) ========== */

.trust-line {
  max-width: 740px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(200, 160, 96, 0.22);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  text-align: center;
  line-height: 1.65;
  background: rgba(17, 17, 17, 0.62);
}

.trust-line strong {
  color: var(--gold-light);
  font-weight: 500;
}

.page-hero {
  padding: 88px 0 28px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  color: var(--text);
}

.tertiary-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: #888;
}

.tertiary-link:hover {
  color: var(--gold);
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
}

@media (min-width: 901px) {
  .meta-list {
    grid-template-columns: 1fr 1fr;
  }
}

.meta-list li {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 24px;
}

.meta-list .label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

.meta-list .blank {
  display: block;
  min-height: 28px;
  border-bottom: 1px dashed rgba(200, 160, 96, 0.35);
  color: #666;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
}

.meta-note {
  text-align: center;
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 13px;
  color: #888;
  font-weight: 300;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  counter-reset: step;
}

@media (min-width: 901px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 28px 32px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  font-weight: 300;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.sample-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.sample-frame {
  position: relative;
  min-height: 280px;
  background-color: #111111;
  background-image: linear-gradient(to bottom, rgba(24,24,24,0.35), rgba(24,24,24,0.82)),
                    url('../images/trading-desk.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sample-watermark {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 160, 96, 0.45);
  padding: 10px 16px;
  background: rgba(17, 17, 17, 0.72);
}

.sample-card figcaption {
  padding: 20px 24px 24px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
}

.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

@media (min-width: 901px) {
  .founder {
    grid-template-columns: 140px 1fr;
    gap: 40px;
  }
}

.founder-mark {
  width: 140px;
  height: 140px;
  border: 1px solid rgba(200, 160, 96, 0.4);
  background: #111111;
  color: #C8A060;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 500;
}

.founder-role {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.founder h2 {
  margin-bottom: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 901px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.who {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
}

.who h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.who ul {
  padding-left: 18px;
}

.who li {
  margin-bottom: 10px;
  font-weight: 300;
  font-size: 15px;
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  color: var(--white);
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-right: 32px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
}

.faq details[open] summary::after {
  content: '\2013';
}

.faq details p {
  padding: 0 0 22px;
  font-weight: 300;
  font-size: 15px;
}

.form-thanks {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-thanks.is-visible {
  display: block;
}

.form-thanks h2 {
  margin-bottom: 14px;
}

.cards.cards-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 901px) {
  .cards.cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.placeholder-note {
  font-size: 13px;
  color: #777;
  font-style: italic;
  font-weight: 300;
}

.not-claimed {
  max-width: 720px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
}

.not-claimed h3 {
  margin-bottom: 16px;
}

.not-claimed ul {
  padding-left: 18px;
}

.not-claimed li {
  margin-bottom: 8px;
  font-weight: 300;
  font-size: 15px;
}

.founder-photo {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(200, 160, 96, 0.4);
  overflow: hidden;
  background: #111111;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.meta-list .value {
  display: block;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}
@media (min-width: 901px) {
  .founder {
    grid-template-columns: 180px 1fr;
  }
}

.sample-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.sample-grid.sample-grid-2 {
  max-width: 960px;
  gap: 32px;
}

.legal-updated { color: #847055; font-size: 13px; letter-spacing: 0.04em; margin: -12px 0 28px; }


/* Gold italic utility used in headings across pages */
.gold { color: var(--gold); }
h1 .gold, h2 .gold { font-style: italic; }


/* Outbound About curtain (gold, not lime). Injected by js/cbi-curtain.js */
.cbi-nav-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #C8A060;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(.77, 0, .18, 1);
  pointer-events: none;
}
.cbi-nav-curtain.is-in { transform: translateY(0); }
.cbi-nav-curtain img {
  height: 48px;
  filter: brightness(0);
}
.cbi-nav-curtain span {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #181818;
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  .cbi-nav-curtain { display: none; }
}
