/* 7X Capital — black & white, Wall Street */
:root {
  --black: #0a0a0a;
  --ink: #111111;
  --char: #1a1a1a;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(10, 10, 10, 0.14);
  --white: #ffffff;
  --paper: #f5f4f1;
  --mute: #9a9a9a;
  --mute-dark: #5c5c5c;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  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; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(10,10,10,.94); border-color: var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.brand-name { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--white); }
.nav { display: flex; gap: 40px; }
.nav a {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.72); padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.15) 100%),
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,0) 40%, rgba(10,10,10,.9) 100%);
}
.hero.short { min-height: 68vh; }
.hero .wrap { width: 100%; padding-bottom: clamp(56px, 10vh, 120px); }
.eyebrow {
  font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; line-height: 1.02;
  font-size: clamp(44px, 7.4vw, 104px); letter-spacing: -.01em; max-width: 14ch;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,.75); }
.hero p.lead { margin-top: 28px; max-width: 54ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.78); font-weight: 300; }
.hero-meta {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); max-width: 760px;
}
.hero-meta div { padding: 20px 24px 0 0; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.hero-meta span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  padding: 18px 30px; border: 1px solid var(--white); color: var(--white);
  background: transparent; cursor: pointer; transition: background .25s, color .25s;
  font-family: var(--sans);
}
.btn:hover { background: var(--white); color: var(--black); }
.btn.solid { background: var(--white); color: var(--black); }
.btn.solid:hover { background: transparent; color: var(--white); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.hero .actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section.light { background: var(--paper); color: var(--ink); }
.section.light .eyebrow { color: var(--mute-dark); }
.section-num {
  font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: var(--mute);
  display: block; margin-bottom: 18px;
}
.section.light .section-num { color: var(--mute-dark); }
h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.08;
  font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.005em;
}
h2 em { font-style: italic; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; }
.prose p { color: rgba(255,255,255,.74); font-weight: 300; font-size: 17px; }
.section.light .prose p { color: #3a3a3a; }
.prose p + p { margin-top: 1.1em; }

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

.quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; max-width: 24ch;
}
.quote-cite { margin-top: 28px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

/* Photo band */
.photo-band {
  height: clamp(320px, 52vw, 640px); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; filter: brightness(1.35) contrast(1.05);
}
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.6), rgba(10,10,10,.15)); }
.photo-band.cta::before { background: rgba(10,10,10,.35); }
.photo-band .wrap { position: relative; width: 100%; }

.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.framed::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1;
}
.section.light .framed::after { border-color: var(--line-dark); }

/* Pillars / values grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 72px; }
.section.light .grid-3 { border-color: var(--line-dark); }
.grid-3 > div { padding: 40px 40px 0 0; }
.grid-3 > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.section.light .grid-3 > div + div { border-color: var(--line-dark); }
.grid-3 .num { font-family: var(--serif); font-size: 15px; color: var(--mute); }
.grid-3 h3 { margin: 14px 0 12px; }
.grid-3 p { font-weight: 300; font-size: 15.5px; color: rgba(255,255,255,.7); }
.section.light .grid-3 p { color: #444; }

/* Sectors */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 64px; }
.sector {
  position: relative; min-height: 460px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center; isolation: isolate; overflow: hidden;
}
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.88)); transition: background .4s; }
.sector:hover::before { background: linear-gradient(180deg, rgba(10,10,10,.45), rgba(10,10,10,.96)); }
.sector .tag { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.sector h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 400; }
.sector p { margin-top: 14px; color: rgba(255,255,255,.78); font-weight: 300; max-width: 44ch; }

/* Services list */
.services { margin-top: 72px; border-top: 1px solid var(--line); }
.section.light .services { border-color: var(--line-dark); }
.service {
  display: grid; grid-template-columns: 80px 4fr 6fr; gap: 32px;
  padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.section.light .service { border-color: var(--line-dark); }
.service .num { font-family: var(--serif); font-size: 18px; color: var(--mute); padding-top: 6px; }
.section.light .service .num { color: var(--mute-dark); }
.service h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; }
.service .kicker { margin-top: 8px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.section.light .service .kicker { color: var(--mute-dark); }
.service p { font-weight: 300; color: rgba(255,255,255,.74); }
.section.light .service p { color: #3d3d3d; }
.service ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.service li {
  font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border: 1px solid var(--line); color: rgba(255,255,255,.8);
}
.section.light .service li { border-color: var(--line-dark); color: #333; }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto; }
.cta p { margin: 24px auto 40px; max-width: 52ch; color: rgba(255,255,255,.72); font-weight: 300; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 110px); }
.contact-info dl { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info dt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: 28px; }
.contact-info dd { margin-top: 8px; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.contact-info dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
  color: var(--white); font: 300 17px/1.5 var(--sans); padding: 10px 0; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #111; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.consent { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.65); font-weight: 300; }
.consent input { margin-top: 4px; accent-color: #fff; width: 16px; height: 16px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: 14px; color: rgba(255,255,255,.8); }
.form-status.error { color: #ff9b9b; }
.hp { position: absolute; left: -10000px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--black); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-top h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 18px; }
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.footer-top li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-tag { margin-top: 18px; max-width: 36ch; color: rgba(255,255,255,.6); font-weight: 300; font-size: 14px; }
.footer-legal { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.45); }
.footer-legal p + p { margin-top: 10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split.even, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > div, .grid-3 > div + div { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section.light .grid-3 > div { border-color: var(--line-dark); }
  .sectors { grid-template-columns: 1fr; }
  .service { grid-template-columns: 48px 1fr; }
  .service > div:last-child { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .framed::after { inset: 12px -12px -12px 12px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,10,10,.98); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div { padding: 16px 0 0; }
  form.contact { grid-template-columns: 1fr; }
  .sector { min-height: 380px; padding: 32px 24px; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service > div:last-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; }
}
