/* =========================================================
   NOVA STONE INVESTMENT L.L.C. — Stylesheet
   Palette: obsidian / stone / ivory / champagne gold
   ========================================================= */

:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --bg-3: #1a1917;
  --stone: #2a2825;
  --line: rgba(233, 226, 214, 0.12);
  --line-strong: rgba(233, 226, 214, 0.22);
  --ivory: #ece6db;
  --muted: #a39d92;
  --dim: #6f6a62;
  --gold: #c9a96e;
  --gold-soft: #b89a63;
  --gold-glow: rgba(201, 169, 110, 0.16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fine grain overlay for a tactile, stone-like finish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); font-weight: 300; }

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

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.section__intro {
  color: var(--muted);
  max-width: 560px;
  font-size: 17px;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--gold {
  background: var(--gold);
  color: #12100c;
}
.btn--gold:hover {
  background: #d9bc85;
  box-shadow: 0 10px 40px var(--gold-glow);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 26px 0;
  transition: all 0.5s var(--ease);
}
.nav.is-scrolled {
  padding: 16px 0;
  background: rgba(11, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--ivory);
  font-weight: 500;
}
.brand__sub {
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--muted);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 11px 22px;
}
.nav__cta:hover { background: var(--gold); color: #12100c !important; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px; height: 22px;
  position: relative;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ivory);
  transition: all 0.4s var(--ease);
}
.nav__toggle span:first-child { top: 6px; }
.nav__toggle span:last-child { bottom: 6px; }
.nav__toggle.is-open span:first-child { top: 10px; transform: rotate(45deg); }
.nav__toggle.is-open span:last-child { bottom: 11px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 120px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 45%, rgba(201,169,110,0.13), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(80,70,55,0.25), transparent 70%),
    linear-gradient(180deg, #0b0b0a 0%, #100f0d 100%);
}
.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.5;
}
.hero__facet {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(62vw, 760px);
  transform: translateY(-50%);
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.32;
  animation: float 14s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-53%) rotate(2deg); }
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  max-width: 1000px;
}
.hero__lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 2;
}
.hero__scroll i {
  width: 1px; height: 52px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 45s linear infinite;
  align-items: center;
}
.marquee span {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 300;
}
.marquee b { color: var(--gold); font-size: 9px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 150px 0; position: relative; }
.section__head { margin-bottom: 90px; }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 100px;
}
.about__intro { position: sticky; top: 140px; align-self: start; }
.about__body > p:not(.lead) { color: var(--muted); margin-bottom: 22px; }
.facts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.facts > div {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 28px; }
.facts dt {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.facts dd {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  color: var(--ivory);
}

/* Portfolio */
.portfolio { background: var(--bg-2); }
.pillar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__label { position: sticky; top: 120px; align-self: start; }
.pillar__num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
  display: block;
  margin-bottom: 14px;
}
.pillar__label h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg-2);
  padding: 44px 34px 48px;
  position: relative;
  transition: background 0.6s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.7s var(--ease);
}
.card:hover { background: var(--bg-3); }
.card:hover::after { width: 100%; }
.card__icon {
  width: 44px; height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  margin-bottom: 40px;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__icon { transform: translateY(-4px); }
.card__num {
  position: absolute;
  top: 40px; right: 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
}
.card h4 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* Statement */
.statement {
  padding: 160px 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(201,169,110,0.08), transparent 70%),
    var(--bg);
}
.statement blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.3;
  max-width: 980px;
  margin: 0 auto 32px;
}
.statement__by {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Approach */
.approach { border-top: 1px solid var(--line); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 100px;
}
.step {
  padding: 44px 32px 20px 0;
  position: relative;
}
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}
.step + .step::before { left: 32px; }
.step__num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  display: block;
  margin-bottom: 28px;
}
.step h4 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 14.5px; }

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.capabilities__col { background: var(--bg); padding: 44px 40px; }
.capabilities h5 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 24px;
}
.capabilities ul { list-style: none; }
.capabilities li {
  font-family: var(--serif);
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
}
.capabilities li:last-child { border-bottom: 0; }

/* Investors */
.investors {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}
.investors__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 100px;
  align-items: start;
}
.investors .section__intro { margin-bottom: 44px; }
.pillars-list { border-top: 1px solid var(--line); }
.why {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
}
.why h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}
.why p { color: var(--muted); font-size: 14.5px; }

/* Values */
.values {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value {
  padding: 64px 32px;
  text-align: center;
}
.value + .value { border-left: 1px solid var(--line); }
.value span {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
}
.value p { color: var(--muted); font-size: 14px; }

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 100px;
  align-items: start;
}
.contact__list { list-style: none; margin-top: 52px; border-top: 1px solid var(--line); }
.contact__list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: baseline;
}
.contact__list span {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact__list p { font-family: var(--serif); font-size: 21px; }
.contact__list p[data-placeholder] { color: var(--dim); font-style: italic; }

.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form label { display: flex; flex-direction: column; gap: 10px; }
.form label > span {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 10px 0 12px;
  outline: none;
  transition: border-color 0.4s;
  border-radius: 0;
  resize: vertical;
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0 L5 6 L10 0' fill='none' stroke='%23c9a96e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.form select option { background: var(--bg-2); color: var(--ivory); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form .is-invalid { border-color: #b0604f; }
.form button { margin-top: 12px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 12px; color: var(--dim); text-align: center; letter-spacing: 0.04em; }
.form__note.is-success { color: var(--gold); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #080807;
  padding: 80px 0 36px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer__brand { display: flex; gap: 18px; align-items: center; color: var(--gold); }
.footer__brand .brand__mark { width: 44px; height: 44px; }
.footer__name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.24em;
  color: var(--ivory);
}
.footer__tag { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.footer__links { display: flex; gap: 34px; flex-wrap: wrap; }
.footer__links a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  font-size: 12px;
  color: var(--dim);
  flex-wrap: wrap;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about__grid, .investors__grid, .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__intro { position: static; }
  .pillar { grid-template-columns: 1fr; gap: 36px; }
  .pillar__label { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(11,11,10,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 13px; }
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 60px; }
  .cards, .capabilities { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 10px; }
  .hero__facet { width: 120vw; right: -50%; opacity: 0.18; }
  .hero__title br { display: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step + .step::before { left: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(odd) { border-right: 0; }
  .facts > div:nth-child(even) { padding-left: 0; }
  .values__grid { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .form { padding: 36px 24px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .brand__name { font-size: 17px; }
}
