/* Aurevon Capital — site styles
   Palette: Ink (navy) · Brass · Pine · Mist · Paper
   Type: Spectral (display serif) + Figtree (text sans) */

:root {
  --ink: #14233a;
  --ink-2: #22344f;
  --slate: #44526a;
  --mist: #e9eef0;
  --paper: #ffffff;
  --brass: #a8843f;
  --brass-soft: #f3ece0;
  --pine: #2f5d50;
  --line: #d5dde2;
  --focus: #1d6fd8;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.45rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 60ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #dfe6ee; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { font-size: .95rem; font-weight: 600; color: var(--brass); margin-bottom: .6em; display: block; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em; color: var(--slate); margin-top: 4px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--ink); }
.nav .btn { border-bottom: 0; padding: 10px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { margin-top: 14px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 14px 26px; border-radius: var(--radius); border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--brass:hover { background: #8f6f32; border-color: #8f6f32; color: #fff; }
.btn--light { background: transparent; border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #dfe6ee; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 11vw, 140px); }
.hero h1 { color: #fff; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { padding-left: .9em; }
.hero h1 span:nth-child(3) { padding-left: 1.8em; color: #e3cfa3; }
.hero .lead { color: #c3cedb; margin-top: 28px; max-width: 52ch; }
.hero-markets { max-width: 60%; }
@media (max-width: 900px) { .hero-markets { max-width: none; } }
.hero-lines { position: absolute; right: 0; bottom: 0; width: 34%; height: 100%; z-index: 0; opacity: .45; pointer-events: none; }
@media (max-width: 900px) { .hero-lines { display: none; } .hero h1 span:nth-child(2) { padding-left: .5em; } .hero h1 span:nth-child(3) { padding-left: 1em; } }
.hero-markets { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: .95rem; color: #aebccc; }
.hero-markets strong { color: #fff; font-weight: 600; }

.page-hero { background: var(--ink); color: #c3cedb; }
.page-hero .wrap { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero .lead { color: #c3cedb; }

/* ---------- Mission band ---------- */
.mission { padding: clamp(72px, 10vw, 130px) 0; text-align: left; }
.mission blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; color: var(--ink); max-width: 30ch; }
.mission .attrib { margin-top: 24px; color: var(--slate); font-size: .98rem; }

/* ---------- Commitment (3 stakeholders) ---------- */
.commit { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.commit article { padding: 32px 32px 8px 0; }
.commit article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.commit h3 { margin-bottom: .4em; }
.commit .for { font-weight: 600; color: var(--brass); font-size: .95rem; margin-bottom: 14px; display: block; }
.commit ul { margin: 0; padding-left: 1.1em; color: var(--slate); }
.commit li { margin-bottom: .5em; }
@media (max-width: 860px) {
  .commit { grid-template-columns: 1fr; }
  .commit article, .commit article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Lifecycle (signature element) ---------- */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; position: relative; }
.lifecycle::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: rgba(255,255,255,.22); }
.lifecycle li { counter-increment: step; position: relative; padding-right: 22px; }
.lifecycle li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 2px solid var(--brass); color: #fff; font-family: var(--serif); font-size: 1.25rem; position: relative; z-index: 1; margin-bottom: 20px; }
.lifecycle h3 { font-size: 1.3rem; margin-bottom: .35em; }
.lifecycle p { font-size: .96rem; color: #c3cedb; margin-bottom: .8em; }
.lifecycle .lead-by { font-size: .88rem; color: #e3cfa3; font-weight: 600; }
.section--mist .lifecycle::before, .section:not(.section--ink) .lifecycle::before { background: var(--line); }
.section:not(.section--ink) .lifecycle li::before { background: #fff; color: var(--ink); }
.section:not(.section--ink) .lifecycle p { color: var(--slate); }
.section:not(.section--ink) .lifecycle .lead-by { color: var(--brass); }
@media (max-width: 960px) {
  .lifecycle { grid-template-columns: 1fr; gap: 8px; }
  .lifecycle::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .lifecycle li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding: 0 0 24px; }
  .lifecycle li::before { grid-row: span 3; margin: 0; }
}

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checks li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.checks h4 { margin: 0 0 4px; font-size: 1.1rem; }
.checks p { margin: 0; color: var(--slate); }

/* ---------- Principles ---------- */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, upper-roman) "."; font-family: var(--serif); font-size: 1.6rem; color: var(--brass); line-height: 1.2; }
.principles h3 { font-size: 1.3rem; margin-bottom: .3em; }
.principles p { margin: 0; color: var(--slate); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.member .photo { position: relative; aspect-ratio: 4 / 5; background: var(--mist); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.member .photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--ink); opacity: .35; }
.member .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: .1em; }
.member .role { color: var(--brass); font-weight: 600; font-size: .95rem; margin-bottom: .2em; }
.member .focus { color: var(--slate); font-size: .95rem; margin-bottom: 1em; }
.member p { color: var(--slate); font-size: .98rem; }
.member .links a { font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; max-width: 520px; } }

/* Full bios */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); padding: 56px 0; border-top: 1px solid var(--line); }
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio .photo { position: relative; aspect-ratio: 4 / 5; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.bio .photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--ink); opacity: .35; }
.bio .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio .role { color: var(--brass); font-weight: 600; margin-bottom: 1.2em; }
.bio dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 24px 0 0; font-size: .96rem; }
.bio dt { font-weight: 600; }
.bio dd { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio .photo { max-width: 280px; } }

/* ---------- Criteria table ---------- */
.criteria { width: 100%; border-collapse: collapse; font-size: 1rem; }
.criteria th, .criteria td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.criteria th { width: 30%; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.criteria td { color: var(--slate); }
.criteria td strong { color: var(--ink); display: block; font-weight: 600; margin-bottom: 2px; }

.pass-list { list-style: none; padding: 0; margin: 0; }
.pass-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--slate); }
.pass-list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 2px; background: #b5462f; }

/* ---------- Process steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 24px 22px 0 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before { content: "Step " counter(s); display: block; font-size: .88rem; font-weight: 600; color: var(--brass); margin-bottom: 8px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--slate); font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; color: var(--brass); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; color: var(--slate); }

/* ---------- Notice ---------- */
.notice { background: var(--brass-soft); border-left: 3px solid var(--brass); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--slate); }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9c4cc; border-radius: var(--radius); padding: 12px 14px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(29,111,216,.35); border-color: var(--focus); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--pine); }
.form-status.err { color: #b5462f; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 6vw, 80px); }
.contact-card h3 { font-size: 1.15rem; margin-top: 1.6em; }
.contact-card h3:first-child { margin-top: 0; }
.contact-card p { color: var(--slate); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #c3cedb; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1a2c; color: #9fb0c3; font-size: .95rem; padding: 64px 0 32px; }
.site-footer a { color: #dfe6ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top h4 { color: #fff; margin-bottom: 14px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-name small { color: #9fb0c3; }
.disclosure { padding-top: 28px; font-size: .84rem; line-height: 1.6; color: #8395a9; }
.disclosure p { max-width: none; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .85rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Prose pages (privacy) */
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--slate); max-width: 72ch; }
