/* ==========================================================================
   Provestments — refined private-capital editorial
   Palette: deep evergreen ink, warm paper cream, brass accent
   Type: Fraunces (display serif) + Archivo (grotesque)
   ========================================================================== */

:root {
  --evergreen: #0d2b21;
  --evergreen-deep: #081d16;
  --paper: #f4efe4;
  --paper-warm: #efe8d8;
  --ink: #1a2420;
  --brass: #b3892f;
  --brass-soft: #c9a557;
  --hairline-dark: rgba(13, 43, 33, 0.22);
  --hairline-light: rgba(244, 239, 228, 0.22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --pad-x: clamp(1.5rem, 6vw, 6rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass-soft); color: var(--evergreen-deep); }

/* --- Grain overlay ------------------------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem var(--pad-x);
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-nav a:hover { opacity: 1; }

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--brass-soft);
  border-radius: 2rem;
  color: var(--brass-soft) !important;
  opacity: 1 !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--brass-soft);
  color: var(--evergreen-deep) !important;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(201, 165, 87, 0.10), transparent 55%),
    linear-gradient(170deg, var(--evergreen) 0%, var(--evergreen-deep) 100%);
  color: var(--paper);
  padding: 8rem var(--pad-x) 6rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 60rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass-soft);
}

.hero-lede {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(244, 239, 228, 0.82);
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-line {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: min(38vh, 320px);
  color: var(--brass-soft);
  z-index: 1;
  opacity: 0.55;
}

.hero-line path[stroke] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 2.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--brass-soft);
  color: var(--evergreen-deep);
  border: 1px solid var(--brass-soft);
}

.btn-solid:hover { background: #d8b869; border-color: #d8b869; }

.btn-ghost {
  color: var(--paper);
  border: 1px solid var(--hairline-light);
}

.btn-ghost:hover { border-color: var(--brass-soft); color: var(--brass-soft); }

.btn-lg { padding: 1.1rem 2.6rem; font-size: 0.9rem; }

/* --- Sections -------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) var(--pad-x); }

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

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

.section-dark {
  background: linear-gradient(180deg, var(--evergreen) 0%, var(--evergreen-deep) 100%);
  color: var(--paper);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-dark .section-head { border-color: var(--hairline-light); }

.section-no {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: 0.1em;
}

.section-dark .section-no { color: var(--brass-soft); }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

/* --- Thesis -------------------------------------------------------------- */
.thesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.thesis-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--evergreen);
}

.thesis-points {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.point {
  border-left: 2px solid var(--brass);
  padding-left: 1.5rem;
}

.point h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--evergreen);
}

.point p { color: rgba(26, 36, 32, 0.75); max-width: 32rem; }

.point-no {
  font-weight: 300;
  font-style: italic;
  color: var(--brass);
  margin-right: 0.4rem;
}

/* --- Our Focus -------------------------------------------------------------- */
.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.criteria { margin: 0; }

.criterion {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.criterion:first-child { border-top: 1px solid var(--hairline-dark); }

.criterion dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.criterion dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--evergreen);
}

/* --- For Owners -------------------------------------------------------------- */
.owners-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.45;
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.commitment {
  border-top: 2px solid var(--brass-soft);
  padding-top: 1.25rem;
}

.commitment h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.commitment p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 239, 228, 0.72);
}

.process-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 2.5rem;
}

.owners-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.owners-cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(244, 239, 228, 0.6);
}

/* --- Approach -------------------------------------------------------------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.steps-five { grid-template-columns: repeat(5, 1fr); }

.steps li {
  padding: 0 1.75rem;
  border-left: 1px solid var(--hairline-light);
}

.steps li:first-child { border-left: none; padding-left: 0; }

.step-no {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--brass-soft);
  margin-bottom: 1.25rem;
}

.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.steps p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 239, 228, 0.72);
}

/* --- Invest -------------------------------------------------------------- */
.invest-inner {
  max-width: 42rem;
  text-align: center;
  margin: 0 auto;
}

.invest-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--evergreen);
  margin-bottom: 2.5rem;
}

.invest-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(26, 36, 32, 0.6);
}

/* --- Get in Touch -------------------------------------------------------------- */
.form-embed {
  max-width: 44rem;
  margin: 0 auto;
}

.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 791px;
}

/* --- Inner pages (privacy, etc.) ------------------------------------------- */
.page-band {
  position: relative;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(201, 165, 87, 0.10), transparent 55%),
    linear-gradient(170deg, var(--evergreen) 0%, var(--evergreen-deep) 100%);
  color: var(--paper);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-band .site-header { position: static; }

.page-band-title {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad-x) 0;
}

.page-band-title .eyebrow { margin-bottom: 1rem; }

.page-band-title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.01em;
}

.page-band-date {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(244, 239, 228, 0.6);
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad-x) clamp(4rem, 9vw, 7rem);
}

.legal p, .legal ul { margin-bottom: 1.25rem; color: rgba(26, 36, 32, 0.85); }

.legal ul { padding-left: 1.4rem; }

.legal li { margin-bottom: 0.5rem; }

.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--evergreen);
  margin: 2.5rem 0 0.9rem;
}

.legal a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
}

.legal a:hover { color: var(--evergreen); border-color: var(--evergreen); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--evergreen-deep);
  color: rgba(244, 239, 228, 0.6);
  padding: 3.5rem var(--pad-x) 2.5rem;
}

.disclaimer {
  max-width: 52rem;
  font-size: 0.78rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-legal { font-size: 0.75rem; letter-spacing: 0.08em; }

.footer-legal a {
  color: rgba(244, 239, 228, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover { color: var(--brass-soft); }

/* --- Reveal animations ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.r1 { animation-delay: 0.1s; }
.r2 { animation-delay: 0.25s; }
.r3 { animation-delay: 0.45s; }
.r4 { animation-delay: 0.6s; }
.r5 { animation-delay: 0.9s; }

@keyframes rise { to { opacity: 1; transform: none; } }

.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.will-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .will-reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-line path[stroke] { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 900px) {
  .steps, .steps-five { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .steps li:nth-child(odd) { border-left: none; padding-left: 0; }
  .steps li:nth-child(even) { padding-right: 0; }
  .thesis-grid, .focus-grid { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .steps, .steps-five { grid-template-columns: 1fr; }
  .steps li { border-left: none; padding: 0; }
  .criterion { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero { padding-top: 7rem; }
}
