/* V Capital Advisory — layout: editorial document grid, clause-numbered sections, one brass accent */
:root {
  --paper: #f4f5f7;
  --paper-2: #e7eaf0;
  --ink: #0c1a2b;
  --ink-soft: #4a5567;
  --pine: #10294a;
  --brass: #a8894f;
  --rule: #cfd5df;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--pine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: 0.01em; }
.brand-name span { font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--pine); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }
.lang { display: flex; gap: 2px; font-size: 13px; letter-spacing: 0.08em; border: 1px solid var(--rule); border-radius: 2px; }
.lang a, .lang span { padding: 4px 9px; text-decoration: none; }
.lang span { background: var(--pine); color: var(--paper); }
.lang a { color: var(--ink-soft); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); padding: 8px 12px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--paper-2); }
  .lang { margin-top: 14px; }
}

/* Hero */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: end; }
.eyebrow { font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); }
.hero h1 em { font-style: italic; color: var(--pine); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-block; padding: 13px 22px; text-decoration: none; font-size: 15px;
  border: 1px solid var(--pine); background: var(--pine); color: var(--paper); border-radius: 2px;
  font-family: var(--body); cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--paper-2); }

.dossier { border: 1px solid var(--rule); background: #fbfcfd; }
.dossier dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.dossier div { padding: 20px 22px; border-bottom: 1px solid var(--rule); }
.dossier div:nth-child(odd) { border-right: 1px solid var(--rule); }
.dossier div:nth-last-child(-n+2) { border-bottom: 0; }
.dossier dt { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--pine); font-variant-numeric: tabular-nums; }
.dossier dd { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }
.dossier .caption { grid-column: 1 / -1; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 22px; border-bottom: 1px solid var(--rule); border-right: 0; background: var(--paper-2); }

/* Page head (inner pages) */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 20ch; }
.page-head .lede { margin-top: 20px; }

/* Sections */
section.block { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 44px; }
.section-head .num { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); padding-top: 10px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { color: var(--ink-soft); margin-top: 14px; max-width: 60ch; }

/* Clause list — services */
.clauses { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.clause { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.clause:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--rule); }
.clause .idx { font-family: var(--display); font-size: 28px; color: var(--brass); line-height: 1; font-variant-numeric: tabular-nums; }
.clause h3 { font-size: 25px; margin-bottom: 10px; }
.clause p { color: var(--ink-soft); font-size: 16px; }
.clause a.more { display: inline-block; margin-top: 14px; font-size: 14.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
.step .label { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.step h3 { font-size: 24px; margin: 10px 0 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* Track record strip */
.record { background: var(--pine); color: var(--paper); padding: 64px 0; }
.record .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.record .num { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #d9c38f; padding-top: 6px; }
.record ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.record li { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); padding-right: 22px; margin-right: 22px; border-right: 1px solid rgba(244,245,247,0.25); }
.record li:last-child { border-right: 0; }
.record p { margin-top: 22px; color: rgba(244,245,247,0.78); max-width: 62ch; font-size: 16px; }

/* Service detail */
.service { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 64px 0; border-bottom: 1px solid var(--rule); }
.service .num { font-family: var(--display); font-size: 54px; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; }
.service .tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }
.service h2 { font-size: clamp(28px, 3.2vw, 38px); }
.service .intro { color: var(--ink-soft); margin-top: 14px; max-width: 64ch; }
.service ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.service li { padding: 13px 0 13px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 16px; }
.service li::before { content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 1px; background: var(--brass); }
.service .for { margin-top: 22px; font-size: 15px; color: var(--ink-soft); }
.service .for b { color: var(--ink); font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding: 80px 0; border-bottom: 1px solid var(--rule); }
.portrait {
  aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  color: var(--ink-soft); font-size: 13px; text-align: center; padding: 20px;
}
.portrait .mono { font-family: var(--display); font-size: 96px; color: var(--pine); line-height: 1; }
.about h2 { font-size: clamp(32px, 3.6vw, 44px); }
.about .role { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-top: 12px; }
.prose { margin-top: 26px; display: grid; gap: 18px; max-width: 64ch; }
.prose p { color: var(--ink); }
.facts { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding: 72px 0 88px; }
.contact-info dl { margin: 0; border-top: 1px solid var(--ink); }
.contact-info div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-info dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info dd { margin: 4px 0 0; font-size: 17px; }
.contact-info .note { margin-top: 22px; font-size: 15px; color: var(--ink-soft); }
form.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--rule);
  background: #fbfcfd; color: var(--ink); border-radius: 2px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: var(--pine); min-height: 1em; }
.consent { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-soft); }

/* CTA band */
.cta { padding: 80px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(244,245,247,0.75); padding: 48px 0 36px; font-size: 14.5px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer b { color: var(--paper); font-family: var(--display); font-weight: 500; font-size: 20px; display: block; margin-bottom: 8px; }
.site-footer a { color: rgba(244,245,247,0.85); text-decoration: none; }
.site-footer a:hover { color: #d9c38f; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(244,245,247,0.15); padding-top: 20px; margin-top: 12px; font-size: 13px; }

@media (max-width: 900px) {
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .section-head, .record .wrap, .service { grid-template-columns: 1fr; gap: 14px; }
  .clauses { grid-template-columns: 1fr; }
  .clause, .clause:nth-child(even) { padding: 26px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step, .step + .step { padding: 0; border-left: 0; }
  .step + .step { padding-top: 28px; border-top: 1px solid var(--rule); }
  .service ul { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 48px; }
  section.block { padding: 56px 0; }
  form.contact-form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .brand-name span { letter-spacing: 0.2em; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .actions, .dossier { animation: rise .7s ease both; }
  .hero .lede { animation-delay: .08s; }
  .hero .actions { animation-delay: .14s; }
  .dossier { animation-delay: .2s; }
  @keyframes rise { from { transform: translateY(8px); } to { transform: none; opacity: 1; } }
}
