/* ============================================
   Blackstone Equity Investments, LLC
   Shared stylesheet — black & white edition
   ============================================ */

:root {
  --black: #111111;
  --off-black: #1b1b1b;
  --charcoal: #2b2b2b;
  --gray: #6b6b6b;
  --light-gray: #a9a9a9;
  --line: #e4e0d9;
  --cream: #f5f2ed;
  --paper: #faf9f7;
  --white: #ffffff;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 8px 28px rgba(17, 17, 17, 0.10);
  --shadow-lg: 0 18px 50px rgba(17, 17, 17, 0.16);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--black); text-decoration: none; }
a:hover { color: var(--gray); }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  color: var(--black);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  color: var(--gray);
  font-size: 1.05rem;
  margin-top: 1.1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Primary (solid black) */
.btn-gold {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-gold:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

/* Ghost (outlined black, for light backgrounds) */
.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

/* On-photo outline (white) */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Secondary solid (same treatment as primary) */
.btn-navy {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-navy:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand { display: flex; align-items: center; gap: 0.9rem; }

.brand-emblem {
  height: 52px;
  width: auto;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #14141e;
}

.brand-rule {
  height: 2px;
  background: #ddd3c0;
  margin: 5px 0 4px;
}

.brand-subtitle {
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #14141e;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.main-nav .nav-cta {
  padding: 0.65rem 1.6rem;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 2px;
}
.main-nav .nav-cta:hover {
  background: var(--white);
  color: var(--black);
  border-bottom-color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--cream);
  color: var(--black);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--black); }
.page-hero p {
  max-width: 640px;
  margin-top: 1.1rem;
  color: var(--gray);
  font-size: 1.08rem;
}

/* ---------- Welcome split (photo + cream panel) ---------- */

.welcome-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
  background: var(--cream);
}

.welcome-photo {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.welcome-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-panel {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4.5rem 3.2rem;
}

.welcome-panel h1 {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  max-width: 430px;
  font-weight: 500;
}

.welcome-panel p {
  max-width: 420px;
  color: var(--gray);
  margin-top: 1.4rem;
  font-size: 1.02rem;
}

.welcome-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.2rem;
}

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--black);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
}

.stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-top: 0.4rem;
}

/* ---------- Sections ---------- */

.section { padding: 6rem 0; }
.section-alt { background: var(--paper); }
.section-navy {
  background: var(--black);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--light-gray); }
.section-navy .eyebrow { color: var(--gray); }

.section-head { margin-bottom: 3.2rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: 2px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--white); }

.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--gray); font-size: 0.97rem; }

.card .card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
}
.card .card-link:hover { color: var(--gray); border-color: var(--gray); }

/* ---------- Two-column feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media svg { display: block; width: 100%; height: auto; }
.split-media img { display: block; width: 100%; height: auto; }

/* Quote panel */
.quote-panel {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 3rem;
  border-radius: var(--radius);
}

.quote-panel blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
}

.quote-panel .quote-attrib {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.check-list { list-style: none; margin-top: 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.95rem;
  color: var(--gray);
}
.check-list li strong { color: var(--black); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 18px;
  height: 18px;
  background: var(--black);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Process steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.step {
  position: relative;
  padding: 2rem 1.7rem 1.7rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; }

/* ---------- Values ---------- */

.value-row {
  display: flex;
  gap: 1.4rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child { border-bottom: none; }

.value-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--light-gray);
  min-width: 52px;
}

.value-row h3 { margin-bottom: 0.4rem; }
.value-row p { color: var(--gray); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-band h2 { color: var(--white); margin-bottom: 0.9rem; }
.cta-band p {
  color: var(--light-gray);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}
.cta-band .btn-gold {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.cta-band .btn-gold:hover {
  background: transparent;
  color: var(--white);
}

/* ---------- Detail sections (investments page) ---------- */

.detail-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2.7rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-block:last-child { border-bottom: none; }

.detail-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: 2px;
}
.detail-icon svg { width: 34px; height: 34px; stroke: var(--white); }

.detail-block h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.detail-block > div > p { color: var(--gray); max-width: 760px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.tag {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.35rem 0.95rem;
  border-radius: 2px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2.3rem;
  box-shadow: var(--shadow-lg);
}

.contact-card h3 { color: var(--white); margin-bottom: 1.6rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--white);
  margin-top: 3px;
}
.contact-item .label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 0.15rem;
}
.contact-item p, .contact-item a { color: rgba(255, 255, 255, 0.92); }
.contact-item a:hover { color: var(--light-gray); }

.hours-note {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  color: var(--light-gray);
}

/* ---------- Form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.form-field textarea { resize: vertical; min-height: 140px; }

.form-note {
  grid-column: 1 / -1;
  font-size: 0.83rem;
  color: var(--gray);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer-brand .brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 300px;
  color: var(--light-gray);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.93rem; }
.footer-col a { color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--light-gray);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  line-height: 1.6;
}

/* ---------- Reveal animation ---------- */

/* Only hide .reveal elements when JS is running (html.js is set by an inline
   script), so content stays visible without JavaScript. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .welcome-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .brand-emblem { height: 40px; }
  .brand-title { font-size: 1.1rem; }
  .brand-subtitle { font-size: 0.6rem; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a {
    width: 100%;
    padding: 1rem 4%;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .nav-cta {
    background: var(--black);
    border-radius: 0;
  }

  .welcome-photo { min-height: 280px; }
  .welcome-panel { padding: 3.2rem 1.8rem; }
  .section { padding: 4rem 0; }

  .detail-block { grid-template-columns: 1fr; gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
