/* ============================================
   Noire Capital Holdings LLC — Site Styles
   ============================================ */

:root {
  --ink: #101010;
  --ink-soft: #2a2a2a;
  --paper: #e9e8e4;
  --paper-deep: #ddDCd6;
  --line: rgba(16, 16, 16, 0.16);
  --line-strong: rgba(16, 16, 16, 0.4);
  --accent: #8a7a5c; /* muted bronze */
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand .mark {
  width: 44px;
  height: 44px;
  color: var(--ink);
}

.brand .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand .wordmark .name {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 13px;
  text-transform: uppercase;
}

.brand .wordmark .descriptor {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.site-nav a:hover { border-color: var(--ink); opacity: 1; }
.site-nav a.active { border-color: var(--ink); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}

.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.08;
  max-width: 14em;
}

.hero h1 em {
  font-style: italic;
  color: #cfc9bb;
}

.hero .lede {
  margin-top: 32px;
  max-width: 34em;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  opacity: 0.82;
}

.hero-watermark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: min(46vw, 560px);
  color: rgba(233, 232, 228, 0.06);
  pointer-events: none;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }

.hero .btn:hover { background: var(--paper); color: var(--ink); }

.btn.dark { border-color: var(--ink); }
.btn.dark:hover { background: var(--ink); color: var(--paper); }

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

section { padding: clamp(72px, 10vw, 128px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .label {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  max-width: 18em;
}

.rule { border: none; border-top: 1px solid var(--line); }

/* ---------- Pillars / cards ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3.5vw, 48px);
  transition: background 0.35s ease;
}

.pillar:hover { background: var(--paper-deep); }

.pillar .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 14px;
}

.pillar p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split .label {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.split h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
}

.split .body p {
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 1.2em;
  max-width: 38em;
}

.split .body p:last-child { margin-bottom: 0; }

/* ---------- Dark band ---------- */

.band {
  background: var(--ink);
  color: var(--paper);
}

.band .section-head .label { color: #b3a685; }

.band blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  max-width: 24em;
}

.band .attribution {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---------- Holdings list ---------- */

.holdings-list { border-top: 1px solid var(--line); }

.holding {
  display: grid;
  grid-template-columns: 90px 1fr 2fr auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.holding:hover { background: var(--paper-deep); }

.holding .idx {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
  padding-left: 8px;
}

.holding h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
}

.holding .desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 40em;
}

.holding .tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  white-space: nowrap;
  margin-right: 8px;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--ink);
  padding: clamp(28px, 4vw, 52px);
}

.stat .value {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
}

.stat .caption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---------- Values / about page ---------- */

.values { counter-reset: value; }

.value-row {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.value-row:first-child { border-top: 1px solid var(--line); }

.value-row .idx {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.value-row h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
}

.value-row p {
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 42em;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
}

.page-hero .kicker {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.1;
  max-width: 15em;
}

.page-hero .lede {
  margin-top: 26px;
  max-width: 36em;
  font-weight: 300;
  font-size: 18px;
  color: var(--ink-soft);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}

.contact-block h3 {
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-block .big-link {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.contact-block .big-link:hover { border-color: var(--ink); }

.contact-block p {
  font-weight: 300;
  color: var(--ink-soft);
}

.contact-form { display: grid; gap: 22px; }

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 2px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

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

.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.75;
  font-weight: 300;
}

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

.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.15;
  max-width: 16em;
  margin: 0 auto 36px;
}

.cta-band .btn:hover { background: var(--paper); color: var(--ink); }

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

.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(233, 232, 228, 0.12);
  padding: clamp(48px, 6vw, 80px) 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 56px;
}

.site-footer .brand .mark { color: var(--paper); }

.site-footer .brand .wordmark .descriptor { color: var(--paper); opacity: 0.5; }

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.footer-col a:hover { opacity: 1; }

.footer-tagline {
  margin-top: 20px;
  font-weight: 300;
  font-size: 14px;
  opacity: 0.6;
  max-width: 26em;
}

.footer-bottom {
  border-top: 1px solid rgba(233, 232, 228, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }

  .holding {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .holding .idx { padding-left: 0; }
  .holding .tag { justify-self: start; }

  .value-row { grid-template-columns: 1fr; gap: 10px; }

  .footer-grid { grid-template-columns: 1fr; }

  .section-head { flex-direction: column; gap: 12px; }

  .nav-toggle { display: block; z-index: 110; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  body.nav-open .site-nav { transform: none; }

  .site-nav a { font-size: 16px; }
}
