/* ============================================================
   BLACK SEVEN HOLDINGS — shared stylesheet
   ============================================================ */

:root {
  --bg: #0a0908;
  --bg-alt: #121110;
  --bg-card: #16140f;
  --line: rgba(179, 146, 90, 0.22);
  --line-strong: rgba(179, 146, 90, 0.45);
  --gold: #b3925a;
  --gold-light: #e3c98f;
  --gold-dim: #7d6842;
  --text: #f3efe6;
  --text-muted: #a79f92;
  --text-faint: #6f695f;
  --max: 1180px;
  --radius: 2px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logotype: "Rajdhani", "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Background texture: faint dot grid + radial glow, used behind hero + sections */
.texture-bg {
  position: relative;
  isolation: isolate;
}
.texture-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(179,146,90,0.10), transparent 40%),
    radial-gradient(circle at 82% 75%, rgba(179,146,90,0.08), transparent 45%),
    linear-gradient(180deg, #0a0908 0%, #0d0c0a 100%);
}
.texture-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(179,146,90,0.16) 0.6px, transparent 0.6px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
}

/* ---------------- Header ---------------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
header.site-header.scrolled {
  background: rgba(10, 9, 8, 0.92);
  border-bottom-color: var(--line);
  padding: 14px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark { height: 28px; width: auto; flex-shrink: 0; display: block; }
.brand-word {
  font-family: var(--logotype);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 15px;
  text-transform: lowercase;
  line-height: 1.3;
}
.brand-word span { display: block; color: var(--gold); font-size: 9px; letter-spacing: 0.4em; margin-top: 1px; text-transform: lowercase; }

/* ---------------- Hero lockup (mark + wordmark) ---------------- */
.hero-mark-wrap { margin-bottom: 30px; }
.hero-mark { height: 92px; width: auto; margin: 0 auto; }
h1.lockup {
  font-family: var(--logotype);
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.14em;
  line-height: 1.05;
}
h1.lockup .lockup-word {
  display: block;
  font-size: clamp(38px, 7vw, 72px);
  color: var(--text);
}
h1.lockup .lockup-sub {
  display: block;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 10px;
}

nav.main-nav ul {
  display: flex;
  gap: 34px;
}
nav.main-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: #0c0b09;
    border-left: 1px solid var(--line);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 99;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; gap: 26px; }
  .nav-toggle { display: flex; }
  header.site-header { padding: 18px 20px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
}
.hero .skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 46%;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.hero p.lead {
  margin-top: 26px;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 300;
}
.hero .cta-row {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dim);
  color: var(--text);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(179,146,90,0.08); }
.btn.solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0908;
  font-weight: 600;
}
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); color: #0a0908; }

/* ---------------- Sections ---------------- */
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
h2 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.25;
}
h3 {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.section-head p { margin-top: 18px; color: var(--text-muted); font-size: 16px; font-weight: 300; }

p.body-text {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 16px;
  max-width: 760px;
}
p.body-text + p.body-text { margin-top: 18px; }

/* ---------------- Grid / cards ---------------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 34px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card .num {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-dim);
  margin-bottom: 18px;
  display: block;
}
.card h3 { margin-bottom: 12px; color: var(--gold-light); }
.card p { color: var(--text-muted); font-size: 14.5px; font-weight: 300; }
.card a.card-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
}

/* ---------------- Leadership ---------------- */
.person {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.person:first-of-type { border-top: none; }
.person-avatar {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold-light);
  background:
    radial-gradient(circle at 30% 20%, rgba(179,146,90,0.18), transparent 60%),
    var(--bg-card);
  letter-spacing: 0.05em;
}
.person h3 { font-size: 22px; color: var(--gold-light); margin-bottom: 4px; }
.person .role { color: var(--gold); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.person p { color: var(--text-muted); font-weight: 300; font-size: 15px; max-width: 620px; }
@media (max-width: 640px) {
  .person { grid-template-columns: 100px 1fr; gap: 22px; }
  .person-avatar { font-size: 28px; }
}

/* ---------------- Quote / stat strip ---------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip div {
  padding: 40px 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat-strip div:first-child { border-left: none; }
.stat-strip .figure {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-light);
  display: block;
  font-variant-numeric: lining-nums;
}
.stat-strip .label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(3) { border-left: none; }
}

/* ---------------- Journal / empty state ---------------- */
.journal-card {
  border: 1px dashed var(--line-strong);
  padding: 40px;
  text-align: center;
  color: var(--text-faint);
}
.journal-card .tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--gold-dim);
  padding: 4px 10px;
  margin-bottom: 16px;
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  border: 1px solid var(--line-strong);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(179,146,90,0.05), transparent);
}
.cta-banner h2 { margin-bottom: 20px; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: #080706;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid .brand-word { margin-bottom: 16px; }
.footer-grid p { color: var(--text-faint); font-size: 13.5px; font-weight: 300; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-faint);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- Page header (non-home hero) ---------------- */
.page-hero {
  padding: 170px 0 80px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.08em;
  font-size: clamp(30px, 5vw, 52px);
}
.page-hero p { margin-top: 20px; color: var(--text-muted); max-width: 620px; margin-left: auto; margin-right: auto; font-weight: 300; }

/* ---------------- Reveal-on-scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------- Divider ---------------- */
.rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.section-head .rule { margin: 0 0 20px; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-item { margin-bottom: 30px; }
.contact-item h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-item a, .contact-item span { color: var(--text); font-size: 17px; font-weight: 300; }
.contact-item a:hover { color: var(--gold-light); }
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
