/* ==========================================================================
   Nexus Point Ventures — Option A, "Boardroom"
   Calm authority, editorial. Hairlines, not shadows. Brass is used for
   rules, dots and hover states; text that needs to read uses --accent-text,
   a darker brass that passes WCAG AA on ivory.
   ========================================================================== */

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --text: #0F1B2D;
  --muted: #5B6474;
  --accent: #B08D57;        /* decorative brass: rules, dots, hovers */
  --accent-text: #7A5C2E;   /* brass dark enough for small text */
  --line: #E4DFD5;
  --line-strong: #D3CBBB;

  /* Placeholders and draft tags (strong only in .preview) */
  --confirm-bg: #FFF4D6;
  --confirm-text: #5C4415;
  --confirm-border: #B08D57;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --fs-body: 1.0625rem;      /* 17px */
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --fs-h1: clamp(2.5rem, 5vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 3.2vw, 2.75rem);
  --fs-h3: 1.25rem;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: 72px;
  --gap: clamp(1.25rem, 2.5vw, 2rem);
  --radius: 2px;
  --header-h: 72px;
}
@media (min-width: 1024px) { :root { --section: 120px; } }

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--text); }
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--sans); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 1px; }
[tabindex="-1"]:focus { outline: none; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  padding: 0.75rem 1rem; background: var(--text); color: var(--bg);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border: 1px solid var(--text); border-radius: var(--radius);
  font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--text); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--text); }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--text); background: rgba(176, 141, 87, 0.08); }
.btn-sm { min-height: 44px; padding: 0.55rem 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 26px; height: 30px; flex: none; }
.brand-dot { fill: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.06em; }
.brand-sub { margin-top: 0.3rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.38em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--text); padding: 0.5rem 0; }
.site-nav ul a:hover { color: var(--accent-text); }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--text);
}
.nav-toggle-bars { display: grid; gap: 5px; width: 22px; margin: 0 auto; }
.nav-toggle-bars span { display: block; height: 1.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; }
  /* Without JS the nav simply stacks under the logo. */
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-top: 1px solid var(--line); }
  .site-nav .btn { margin-top: 0.75rem; }
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8.5rem) 0 clamp(4rem, 9vw, 7.5rem); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 54ch; margin-top: 1.5rem; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); line-height: 1.6; }

.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 0 0 1.25rem;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--accent); flex: none; }
.hero .eyebrow { margin-bottom: 1.75rem; }

.hero-art { display: none; }
@media (min-width: 1024px) {
  .hero-art {
    display: block; position: absolute; top: 50%; right: max(-60px, calc((100vw - var(--wrap)) / 2 - 140px));
    width: 460px; transform: translateY(-50%);
    color: var(--line-strong);
  }
  .hero-art-dot { fill: var(--accent); }
}

/* ------------------------------------------------------------------ strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats { display: grid; }
.stat { display: flex; flex-direction: column; gap: 0.5rem; padding: 2rem 0; }
.stat + .stat { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 2.5rem 2rem; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
}
.stat-num { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; align-self: flex-start; }
.stat-label { font-size: var(--fs-small); color: var(--muted); align-self: flex-start; }

/* --------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card p { color: var(--muted); }
.card h3 { margin-bottom: 0.75rem; }

.who-grid { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card { border-top: 2px solid var(--text); }

/* Services: a 2x2 table of hairlines. */
.services-grid { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.service { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.service h3 { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.015em; }
.ticks { display: grid; gap: 0.6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 1.4rem; font-size: var(--fs-small); color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }

.steps { display: grid; gap: var(--gap); counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.step-num { display: block; margin-bottom: 1rem; font-family: var(--serif); font-size: 2.75rem; font-weight: 600; line-height: 1; color: var(--accent-text); letter-spacing: -0.02em; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

.about { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; } }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p { color: var(--muted); }
.about-sign { margin-top: 1.5rem; font-family: var(--serif); font-size: 1.125rem; color: var(--text) !important; }

.quotes { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; min-height: 12rem; }

.faq-wrap { max-width: calc(800px + 2 * var(--gutter)); }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 64px; padding: 1.1rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: var(--text);
}
.faq-q::after {
  content: ''; flex: none; width: 12px; height: 12px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.2s ease;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent-text); }
.faq-a { padding: 0 0 1.4rem; }
.faq-a p { color: var(--muted); }

/* Contact: the one dark band. */
.contact { background: var(--text); color: #E9ECF1; }
.contact h2 { color: #FFFFFF; }
.contact-inner { text-align: center; }
.contact-inner .lead { margin: 1.25rem auto 0; color: #C5CBD6; }
.contact .btn-row { justify-content: center; }
.contact .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--text); }
.contact .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; }
.contact .btn-secondary { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.contact .btn-secondary:hover { border-color: var(--accent); background: rgba(176, 141, 87, 0.15); }
.contact-note { max-width: 36rem; margin: 2rem auto 0; }
.contact .confirm { color: #C5CBD6; border-color: rgba(255, 255, 255, 0.35); }
.contact-loc { margin: 1.5rem auto 0; font-size: var(--fs-small); color: #C5CBD6; }
.contact :focus-visible { outline-color: var(--accent); }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-copy, .footer-mail { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.footer-mail { margin-top: 0.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-content: flex-start; }
.footer-nav a { font-size: var(--fs-small); text-decoration: none; padding: 0.5rem 0; }

/* ---------------------------------------------------- placeholders, draft */
.confirm {
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--muted); text-align: center;
}
.confirm-label { font-size: var(--fs-small); font-weight: 600; line-height: 1.45; }
.about-copy .confirm { margin: 0 0 1em; }
.confirm-inline { font-weight: 600; }
.draft-tag { display: none; }

.preview .confirm { background: var(--confirm-bg); border-color: var(--confirm-border); color: var(--confirm-text); }
.preview .confirm-inline { background: var(--confirm-bg); color: var(--confirm-text); outline: 1.5px dashed var(--confirm-border); outline-offset: 1px; padding: 0 0.25em; border-radius: 2px; }
.preview .draft-tag {
  display: inline-block; margin-bottom: 1rem; padding: 0.2rem 0.55rem;
  background: var(--confirm-bg); color: var(--confirm-text); border: 1px solid var(--confirm-border); border-radius: 2px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.preview .contact .confirm-inline { color: var(--confirm-text); }
.preview .contact .confirm { background: #FFF4D6; }

/* ----------------------------------------------------------------- motion */
.reveal-ready .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.nowrap { white-space: nowrap; }

/* About: brand mark panel (stands in until there is a headshot). */
.portrait-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; background: var(--bg); border: 1px solid var(--line); }
.portrait-mark-svg { width: 34%; height: auto; color: var(--text); }
.portrait-mark-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--text); }
