/* ================================
   Henni Capital LLC — Site Styles
   ================================ */

:root {
  --cream:      #faf6ee;
  --paper:      #f1ead9;
  --ink:        #1c1811;
  --ink-soft:   #55503f;
  --line:       rgba(28, 24, 17, 0.12);
  --line-light: rgba(250, 246, 238, 0.18);

  --gold-dark:  #8a6a2f;
  --gold-mid:   #c9a34e;
  --gold-light: #f0dfa0;
  --gold-grad:  linear-gradient(100deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);

  --charcoal:   #17150f;
  --charcoal-2: #211d15;

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* subtle paper grain overlay for warmth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Eyebrow / display helpers ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin: 0 0 18px;
}

.eyebrow-light { color: var(--gold-light); }

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  margin: 0 0 22px;
  color: var(--ink);
}

.display-light { color: var(--cream); }

.display-quote {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.center { text-align: center; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}

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

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

.brand-mark {
  width: 26px;
  height: 26px;
}

.brand-word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--gold-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(201,163,78,0.10) 0%, rgba(201,163,78,0) 70%),
    var(--cream);
}

.hero-inner {
  max-width: 760px;
}

.hero-logo {
  width: min(80vw, 460px);
  margin: 0 auto 30px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
}

.hero-tagline em {
  font-style: italic;
  color: var(--ink);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold-dark), transparent);
}

.scroll-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.section {
  padding: 120px 0;
}

.section-cream { background: var(--cream); }

.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section-head {
  max-width: 620px;
  margin: 0 0 64px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.about-body p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 20px;
  max-width: 540px;
}

.principles {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 32px 0 0;
}

.principles li {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-dark);
  position: relative;
  padding-left: 16px;
}

.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--gold-mid);
}

/* Divider */

.divider {
  display: flex;
  justify-content: center;
  padding: 0;
  background: var(--cream);
}

.divider img {
  width: 30px;
  height: 30px;
  opacity: 0.85;
  transform: translateY(50%);
}

/* Investments */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.focus-card {
  background: var(--charcoal);
  padding: 40px 28px;
}

.focus-num {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--gold-mid);
  letter-spacing: 0.05em;
}

.focus-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  margin: 18px 0 12px;
  color: var(--cream);
}

.focus-card p {
  font-size: 14.5px;
  color: rgba(250,246,238,0.62);
  margin: 0;
}

/* Philanthropy */

.philanthropy-wrap {
  max-width: 820px;
}

.philanthropy-body {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

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

.site-footer {
  background: var(--charcoal-2);
  color: rgba(250,246,238,0.6);
  padding: 56px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 26px;
  width: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(250,246,238,0.5);
}

.footer-copy {
  font-size: 12.5px;
  margin: 0;
  color: rgba(250,246,238,0.4);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -8px 0 30px rgba(0,0,0,0.08);
  }

  .nav.open { transform: translateX(0); }

  .nav-link { font-size: 15px; }

  .nav-toggle { display: flex; }

  .section { padding: 90px 0; }
}

@media (max-width: 560px) {
  .focus-grid { grid-template-columns: 1fr; }

  .wrap { padding: 0 22px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
