/* =============================================================
   B&C VENTURES — Site stylesheet
   Tokens → Reset/Base → Layout → Components → Page-specific → Media queries
   Source of truth for tokens: Brand & Visual Standards/Visual Standards.md
   ============================================================= */


/* --- TOKENS -------------------------------------------------- */
:root {
  /* colour */
  --black:     #111010;
  --dark-grey: #1E1D1B;
  --gold:      #C9A84C;
  --gold-light:#E2C57A;
  --white:     #F5F2EC;
  --grey:      #8A8680;

  /* type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  /* layout */
  --nav-height:    76px;
  --content-max:   1100px;
  --page-pad-x:    5rem;
  --page-pad-x-sm: 2rem;
}


/* --- RESET / BASE -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }


/* --- ANIMATIONS ---------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}


/* --- SCROLL REVEAL ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }


/* --- BUTTONS ------------------------------------------------- */
.btn-primary {
  background: var(--gold); color: var(--black);
  padding: .9rem 2.4rem; text-decoration: none;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  display: inline-block; transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(201,168,76,.4); color: var(--gold);
  padding: .9rem 2.4rem; text-decoration: none;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  display: inline-block; transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,168,76,.06); }


/* --- SECTION LABELS / TITLES --------------------------------- */
.section-label {
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3.2rem); font-weight: 300; line-height: 1.2; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold); }


/* --- NAV ----------------------------------------------------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--page-pad-x);
  background: rgba(17,16,16,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,.12);
}
.nav-logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; position: relative; z-index: 2; }
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--gold); letter-spacing: .2em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.8rem; list-style: none; position: relative; z-index: 2; }
.nav-links a {
  color: var(--white); text-decoration: none;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  position: relative; padding-bottom: 3px; opacity: .7; transition: opacity .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { opacity: 1; color: var(--gold); }

/* Decorative logo watermark in nav — contact page only */
body.page-contact nav { overflow: hidden; }
body.page-contact nav::after {
  content: '';
  position: absolute; right: -140px; top: -310px;
  width: 460px; height: 460px;
  background: url('../assets/logo.png') center center / contain no-repeat;
  opacity: 0.55; pointer-events: none; z-index: 0;
}


/* --- FOOTER -------------------------------------------------- */
footer {
  background: #0a0909;
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 3rem var(--page-pad-x);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  color: var(--gold); letter-spacing: .2em; text-transform: uppercase;
}
.footer-copy { font-size: .65rem; color: var(--grey); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: .65rem; color: var(--grey); text-decoration: none;
  letter-spacing: .15em; text-transform: uppercase; transition: color .3s;
}
.footer-links a:hover { color: var(--gold); }


/* --- PAGE HERO (about.html) ---------------------------------- */
.page-hero {
  padding: 9rem var(--page-pad-x) 5rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,.08);
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 30%, rgba(201,168,76,.05) 0%, transparent 70%);
}
.page-eyebrow {
  font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.page-eyebrow span { display: inline-block; width: 24px; height: 1px; background: var(--gold); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 300; line-height: 1.1;
  max-width: 700px; margin: 0 auto;
}
.page-title em { font-style: italic; color: var(--gold); }


/* =============================================================
   INDEX.HTML — HOME
   ============================================================= */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: var(--nav-height) var(--page-pad-x) 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(201,168,76,.07) 0%, transparent 65%),
              linear-gradient(160deg, #0d0c0b 0%, #111010 40%, #0e0d0c 100%);
}
.hero-globe {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 820px; height: 820px; opacity: .45; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 840px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-logo { margin-bottom: 1.8rem; opacity: 0; animation: fadeUp 1s .1s forwards; }
.hero-logo img { width: 120px; height: 120px; object-fit: contain; }
.hero-eyebrow {
  font-size: .62rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.8rem;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  opacity: 0; animation: fadeUp 1s .3s forwards;
}
.hero-eyebrow span { display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem,6vw,5.5rem); font-weight: 300; line-height: 1.08;
  color: var(--white); margin-bottom: 1.6rem;
  opacity: 0; animation: fadeUp 1s .5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: .88rem; line-height: 2; color: var(--grey);
  max-width: 560px; margin: 0 auto 3rem;
  opacity: 0; animation: fadeUp 1s .7s forwards;
}
.hero-actions {
  display: flex; gap: 1.2rem; align-items: center; justify-content: center;
  opacity: 0; animation: fadeUp 1s .9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeUp 1s 1.3s forwards;
}
.hero-scroll span { font-size: .52rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2s infinite; }

.stats-bar {
  background: var(--dark-grey);
  padding: 2.5rem var(--page-pad-x);
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: .4rem;
}
.stat-label { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); line-height: 1.6; }

.mission-section { padding: 7rem var(--page-pad-x); }
.mission-text-only { max-width: 720px; margin: 0 auto; text-align: center; }
.mission-text-only .section-label { justify-content: center; }
.mission-text-only .section-label::before { display: none; }
.mission-text-only .section-title { margin-bottom: 2rem; }
.mission-text-only p { color: var(--grey); font-size: .88rem; line-height: 2; margin-bottom: 1.2rem; }
.mission-text-only p strong { color: var(--white); font-weight: 500; }

.bridge-section {
  padding: 7rem var(--page-pad-x);
  background: var(--dark-grey);
  border-top: 1px solid rgba(201,168,76,.08);
  border-bottom: 1px solid rgba(201,168,76,.08);
}
.bridge-inner { max-width: var(--content-max); margin: 0 auto; }
.bridge-header { margin-bottom: 3.5rem; }
.bridge-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: start; }
.bridge-col-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 300;
  color: var(--white); margin-bottom: 1.2rem; display: flex; align-items: center; gap: .7rem;
}
.bridge-col-item {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .85rem 0; border-bottom: 1px solid rgba(201,168,76,.07);
  font-size: .79rem; color: var(--grey); line-height: 1.65;
}
.bridge-col-item:last-child { border-bottom: none; }
.bridge-col-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.bridge-divider {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 0 1.5rem;
}
.bridge-line-v { width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); opacity: .3; }
.arrow-both { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.bridge-label { font-size: .52rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); opacity: .7; }

.sectors-section { padding: 7rem var(--page-pad-x); background: var(--black); }
.sectors-inner { max-width: var(--content-max); margin: 0 auto; }
.sectors-header { margin-bottom: 3.5rem; }
.sectors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.sector-item {
  border: 1px solid rgba(201,168,76,.1); padding: 1.8rem 1.5rem;
  transition: border-color .3s, background .3s;
  display: flex; flex-direction: column; gap: .8rem;
}
.sector-item:hover { border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.03); }
.sector-icon { color: var(--gold); display: flex; }
.sector-name { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.sector-desc { font-size: .74rem; color: var(--grey); line-height: 1.7; }

.cta-section {
  padding: 6rem var(--page-pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  border-top: 1px solid rgba(201,168,76,.08);
}
.cta-text .section-title { margin-bottom: .8rem; }


/* =============================================================
   ABOUT.HTML
   ============================================================= */

.partner {
  padding: 6rem var(--page-pad-x);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.partner.alt {
  background: var(--dark-grey);
  border-top: 1px solid rgba(201,168,76,.08);
  border-bottom: 1px solid rgba(201,168,76,.08);
}
.partner-collage {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(201,168,76,.1);
}
.partner-img-wrap { position: relative; }
.partner-accent {
  position: absolute; top: -1rem; right: -1rem;
  width: 55px; height: 55px; border: 1px solid var(--gold); opacity: .25;
}
.partner-eyebrow { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.partner-name {
  font-family: var(--font-display);
  font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; color: var(--white);
  line-height: 1.15; margin-bottom: .5rem;
}
.partner-role {
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(201,168,76,.12);
}
.partner-bio p { font-size: .82rem; line-height: 2; color: var(--grey); margin-bottom: 1.1rem; }
.partner-bio p strong { color: var(--white); font-weight: 500; }
.partner-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.highlight { border: 1px solid rgba(201,168,76,.12); padding: 1.2rem 1rem; transition: border-color .3s; }
.highlight:hover { border-color: rgba(201,168,76,.3); }
.highlight-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: .3rem;
}
.highlight-label { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

.values {
  padding: 6rem var(--page-pad-x); text-align: center;
  background: linear-gradient(135deg, rgba(201,168,76,.04) 0%, transparent 50%);
}
.values-label { font-size: .6rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.values-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 300; margin-bottom: 3.5rem;
}
.values-title em { font-style: italic; color: var(--gold); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.value-item { padding: 2rem; border: 1px solid rgba(201,168,76,.1); }
.value-icon { color: var(--gold); display: flex; justify-content: center; margin-bottom: 1rem; }
.value-name { font-size: .73rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--white); margin-bottom: .6rem; }
.value-desc { font-size: .78rem; color: var(--grey); line-height: 1.8; }

.about-cta { padding: 5rem var(--page-pad-x); text-align: center; border-top: 1px solid rgba(201,168,76,.08); }
.about-cta h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
.about-cta h2 em { font-style: italic; color: var(--gold); }
.about-cta p { color: var(--grey); font-size: .85rem; margin-bottom: 2.5rem; }


/* =============================================================
   CONTACT.HTML
   ============================================================= */

.contact-page {
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  display: grid; grid-template-columns: 1fr 1fr;
}
.contact-left {
  padding: 5rem;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201,168,76,.06) 0%, transparent 70%), var(--dark-grey);
  border-right: 1px solid rgba(201,168,76,.08);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-left .page-eyebrow {
  justify-content: flex-start;
}
.contact-left .page-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 300; line-height: 1.15; margin-bottom: 2rem;
}
.contact-title em { font-style: italic; color: var(--gold); }
.contact-intro { font-size: .83rem; line-height: 2; color: var(--grey); margin-bottom: 3rem; max-width: 420px; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-item {
  display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.1rem;
  border: 1px solid rgba(201,168,76,.1); transition: border-color .3s;
}
.info-item:hover { border-color: rgba(201,168,76,.25); }
.info-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.info-label { font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.info-value { font-size: .8rem; color: var(--white); line-height: 1.5; }
.contact-divider { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.contact-divider span { font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.contact-divider::before, .contact-divider::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,.12); }

.contact-right { padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.form-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; margin-bottom: .5rem; }
.form-subtitle { font-size: .73rem; color: var(--grey); margin-bottom: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--dark-grey); border: 1px solid rgba(201,168,76,.15);
  color: var(--white); padding: .85rem 1rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 300;
  outline: none; transition: border-color .3s; width: 100%;
  -webkit-appearance: none;
}
.form-field select { cursor: pointer; }
.form-field select option { background: var(--dark-grey); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--grey); opacity: .6; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--gold); color: var(--black); border: none;
  padding: 1rem 2.4rem; font-family: var(--font-body);
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; align-self: flex-start; transition: background .3s, transform .2s; margin-top: .5rem;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-note { font-size: .67rem; color: var(--grey); margin-top: .5rem; line-height: 1.7; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; border: 1px solid rgba(201,168,76,.2); }
.form-success.show { display: block; }
.form-success .success-icon { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; margin-bottom: .8rem; color: var(--gold); }
.form-success p { font-size: .82rem; color: var(--grey); line-height: 1.8; }


/* =============================================================
   MEDIA QUERIES
   ============================================================= */

/* Tablet — index + about */
@media (max-width: 1024px) {
  nav { padding: 0 var(--page-pad-x-sm); }
  .hero { padding: var(--nav-height) var(--page-pad-x-sm) 0; }
  .hero-globe { width: 500px; height: 500px; }
  .mission-section,
  .bridge-section,
  .sectors-section { padding: 5rem var(--page-pad-x-sm); }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 2rem; }
  .bridge-cols { grid-template-columns: 1fr; }
  .bridge-divider { flex-direction: row; padding: 1.5rem 0; }
  .bridge-line-v { display: none; }
  .sectors-grid { grid-template-columns: repeat(2,1fr); }
  .cta-section { flex-direction: column; text-align: center; padding: 4rem var(--page-pad-x-sm); }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2.5rem var(--page-pad-x-sm); }
  .footer-links { justify-content: center; }
  .page-hero { padding: 8rem var(--page-pad-x-sm) 4rem; }
  .partner { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem var(--page-pad-x-sm); }
  .values { padding: 5rem var(--page-pad-x-sm); }
  .values-grid { grid-template-columns: 1fr; }
  .about-cta { padding: 4rem var(--page-pad-x-sm); }
}

/* Mobile — contact */
@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-left { padding: 4rem var(--page-pad-x-sm); }
  .contact-right { padding: 3rem var(--page-pad-x-sm) 5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; }
  .hero-logo, .hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions, .hero-scroll {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .scroll-line { animation: none !important; }
  .btn-primary, .btn-ghost, .form-submit { transition: none !important; }
}
