/* ==========================================================
   Tengri Capital — private investment house
   Monochrome identity drawn from the logo: ink on ivory
   ========================================================== */

:root {
  --ivory: #f6f4ef;
  --ivory-deep: #efece4;
  --ink: #141312;
  --ink-soft: #2b2926;
  --stone: #6e6a62;
  --line: #d8d4ca;
  --max: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--ink); text-decoration: none; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  height: 40px;
  width: auto;
  mix-blend-mode: multiply; /* hides the logo's white box on ivory */
}

.site-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

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

.nav-toggle { display: none; }

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

.hero {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 16ch;
}

.hero p {
  margin-top: 32px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--stone);
}

.hero-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  height: 380px;
  width: auto;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

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

.section { padding: 110px 0; }

.section + .section { border-top: 1px solid var(--line); }

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 22ch;
}

.section .lede {
  margin-top: 28px;
  max-width: 60ch;
  font-size: 18px;
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}

.two-col .body p + p { margin-top: 20px; }
.two-col .body { color: var(--stone); }

/* ---------- Principles grid ---------- */

.principles {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  padding: 36px 28px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.principle .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--stone);
  display: block;
  margin-bottom: 18px;
}

.principle h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
}

.principle p { font-size: 14.5px; color: var(--stone); }

/* ---------- Interest list (approach page) ---------- */

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

.interest {
  display: grid;
  grid-template-columns: 80px 320px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.interest .num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--stone);
}

.interest h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.3;
}

.interest p { color: var(--stone); font-size: 15.5px; }

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--ink);
  color: var(--ivory);
  padding: 110px 0;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.4;
  max-width: 30ch;
}

.quote-band cite {
  display: block;
  margin-top: 28px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.55);
}

/* ---------- Relationship note ---------- */

.relationship {
  background: var(--ivory-deep);
}

.relationship a.text-link {
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.25s;
}

.relationship a.text-link:hover { opacity: 0.6; }

/* ---------- CTA strip ---------- */

.cta-strip {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--ink);
}

.btn {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 48px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.25s, color 0.25s;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  margin-top: 64px;
}

.contact-details dt {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 32px;
}

.contact-details dt:first-child { margin-top: 0; }

.contact-details dd {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-top: 6px;
}

.form-field { margin-bottom: 28px; }

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

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

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

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

.hidden { display: none; }

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

.site-footer {
  background: var(--ink);
  color: rgba(246, 244, 239, 0.6);
  padding: 64px 0;
}

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

.footer-brand img {
  height: 34px;
  width: auto;
  filter: invert(1);          /* black logo → white */
  mix-blend-mode: screen;     /* hides the inverted (black) box on ink */
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav { display: flex; gap: 28px; }

.footer-nav a {
  color: rgba(246, 244, 239, 0.6);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.footer-nav a:hover { color: var(--ivory); }

/* ---------- Thank you ---------- */

.thanks { padding: 160px 0; text-align: center; }

.thanks h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--ink);
}

.thanks p { margin-top: 24px; color: var(--stone); }

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

@media (max-width: 900px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .interest { grid-template-columns: 48px 1fr; }
  .interest p { grid-column: 2; }
  .hero-mark { display: none; }
}

@media (max-width: 640px) {
  .header-inner { height: 72px; }
  .brand img { height: 32px; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--ink);
    cursor: pointer;
    line-height: 1;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px 32px 32px;
    gap: 20px;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 90px 0 80px; }
  .section { padding: 72px 0; }
  .principles { grid-template-columns: 1fr; }
}
