/* Wealth Nexus site styles (2026-10-08 mockups: Main, About, Our Products, Perspectives + 3 articles) */
:root {
  --ink: #15245F;        /* headline indigo */
  --navy: #0B1F3A;
  --navy-deep: #061430;
  --blue: #1E6BFF;
  --blue-text: #2F6BFF;  /* accent word in headlines */
  --cyan: #22C3EE;
  --purple: #7A3DFF;     /* Curiyo */
  --muted: #5B667A;
  --body: #46538F;
  --wash: #F3F7FE;
  --wash-2: #E9F1FE;
  --line: #E3E8F0;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--navy); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
section[id] { scroll-margin-top: 90px; }
.frame { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-cyan { color: var(--cyan); }
.display { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; color: var(--ink); letter-spacing: -0.025em; line-height: 1.04; }
h1.display { font-size: clamp(40px, 5vw, 62px); margin-bottom: 22px; }
h2.display { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin-bottom: 18px; }
h3.display { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.accent { color: var(--blue-text); }
.lede { font-size: 17px; line-height: 1.55; color: var(--body); max-width: 440px; margin-bottom: 26px; }
.copy { font-size: 16px; line-height: 1.6; color: var(--body); }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--blue); }
.link .arrow, .btn .arrow { display: inline-block; transition: transform 0.2s; }
.link:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
.link-sm { font-size: 14px; }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; border: none; border-radius: 6px; cursor: pointer; font: 500 15px/1.2 var(--sans); color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(30, 107, 255, 0.22); transition: background 0.2s, transform 0.2s; }
.btn:hover { background: #0F5AEB; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(11, 31, 58, 0.06); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 50px; width: auto; margin: -4px -6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 29px; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
.brand-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); margin-top: 5px; }
.nav-links { display: flex; gap: 34px; margin: 0 auto; }
.nav-links a { position: relative; padding: 8px 0; font-size: 14px; font-weight: 500; color: #33415C; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--blue); }
.nav-cta { padding: 11px 26px; font-size: 14px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FE 100%); border-bottom: 1px solid var(--line); }
.hero-inner { position: static; display: flex; align-items: center; min-height: 540px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { position: relative; z-index: 1; max-width: 540px; }
/* the ribbon art bleeds to the right edge of the viewport, as in the mockups */
.hero-art { position: absolute; top: 0; bottom: 0; right: 0; left: calc(50% - 60px); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hero .eyebrow { margin-bottom: 18px; }

/* ---------- Generic section grids ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-wash { background: var(--wash); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split .copy { max-width: 440px; }
.heading-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; margin-bottom: 44px; }
.heading-row .copy { max-width: 400px; padding-bottom: 8px; }
.heading-row .display { margin-bottom: 0; }
.rule { border: none; border-top: 1px solid var(--line); margin: 0; }

/* Pillars (icon + title + text) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 8px 32px 8px 0; border-left: 1px solid var(--line); padding-left: 32px; }
.pillar:first-child { border-left: none; padding-left: 0; }
.pillar-icon { width: 52px; height: 52px; color: var(--blue); margin-bottom: 16px; }
.pillar h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.pillar p { font-size: 15px; line-height: 1.5; color: var(--body); max-width: 300px; }
.pillars-4 { grid-template-columns: repeat(4, 1fr); text-align: center; }
.pillars-4 .pillar { padding: 8px 20px; }
.pillars-4 .pillar-icon { margin: 0 auto 12px; width: 44px; height: 44px; }
.pillars-4 .pillar h3 { font-size: 22px; }
.pillars-4 .pillar p { margin: 0 auto; font-size: 14px; }

/* Curiyo product block */
.product-logo { display: flex; align-items: center; gap: 16px; margin: 6px 0 22px; }
.product-symbol { width: 84px; height: auto; flex-shrink: 0; }
.product-name { font: 600 32px/1 'Quicksand', var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); white-space: nowrap; }
.product-name sup { font-size: 0.4em; letter-spacing: 0; vertical-align: 1.4em; margin-left: 2px; }
.product-art { border-radius: 8px; }

/* Article cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(11, 31, 58, 0.10); }
.card img { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.card-body { padding: 18px 18px 20px; }
.kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.meta { font-size: 12px; color: var(--muted); }
.meta b { font-weight: 500; color: var(--body); }
.meta .sep { margin: 0 8px; opacity: 0.5; }

/* Founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founder { display: grid; grid-template-columns: 170px 1fr; gap: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.founder-photo { width: 170px; aspect-ratio: 170 / 184; object-fit: cover; object-position: 50% 0; border-radius: 4px; }
.founder h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin: 4px 0 2px; }
.founder-role { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.founder p { font-size: 14.5px; line-height: 1.55; color: var(--body); margin-bottom: 12px; }
.creds { list-style: none; margin: 0; padding: 0; }
.creds li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--body); margin-bottom: 4px; }
.creds svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.bio-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; border: none; background: none; padding: 0; font: 600 13px var(--sans); color: var(--blue); cursor: pointer; }
.bio-full { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bio-full[hidden] { display: none; }
.bio-full p { font-size: 14px; }

/* Connect band */
.connect { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse 50% 90% at 85% 50%, rgba(30, 107, 255, 0.35), transparent 70%), linear-gradient(100deg, #061430 0%, #0A2152 60%, #0B2A6B 100%); }
.connect-ribbon { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 560px; opacity: 0.55; pointer-events: none; }
.connect-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.connect h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.15; max-width: 560px; }
.connect .eyebrow { margin-bottom: 10px; }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 36px; min-height: 96px; padding-top: 18px; padding-bottom: 18px; }
.footer-links { display: flex; gap: 26px; margin-left: auto; }
.footer-links a { font-size: 13px; font-weight: 500; color: #33415C; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-legal { font-size: 11.5px; line-height: 1.5; color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }

/* Perspectives page */
.featured { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.featured img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-2 .card img { aspect-ratio: 2.4 / 1; }
.cards-2 .card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.cards-2 .card p { font-size: 15px; line-height: 1.5; color: var(--body); margin-bottom: 12px; }
.cards-2 .card .link { margin-top: 12px; }
.loop { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 36px 40px; border-radius: 12px; background: linear-gradient(90deg, #EAF2FE 0%, #DCEBFF 100%); }
.loop h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.loop p { font-size: 15px; line-height: 1.5; color: var(--body); max-width: 480px; }
.loop form { display: flex; gap: 10px; }
.loop input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid #C9D7F0; border-radius: 6px; font: 15px var(--sans); color: var(--navy); background: #fff; }
.loop .btn { box-shadow: none; }

/* ---------- Article pages ---------- */
.article-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F0F5FE 100%); border-bottom: 1px solid var(--line); }
.article-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.article-hero h1 { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 18px; }
.byline { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); margin: 14px 0 10px; }
.article-meta-sm { font-weight: 500; letter-spacing: 0.12em; }
.article-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.article-meta .sep { margin: 0 10px; opacity: 0.5; }
.article-hero-art img { width: 100%; height: auto; border-radius: 8px; justify-self: end; }
.article-body { padding-top: 48px; padding-bottom: 32px; }
.article-lede { max-width: 760px; margin: 0 auto 12px; padding-left: 28px; border-left: 2px solid var(--blue); font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; color: var(--ink); }
.article-intro { max-width: 760px; margin: 0 auto; padding-left: 30px; }
.article-intro p { font-size: 16px; line-height: 1.6; color: var(--body); margin-bottom: 12px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 48px; }
.chapter-text { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; }
.chapter-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EDF2FD; color: var(--ink); font: 600 12px var(--sans); letter-spacing: 0.08em; }
.chapter-text h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; margin-bottom: 14px; position: relative; padding-top: 14px; }
.chapter-text h2::before { content: ''; position: absolute; top: 0; left: 0; width: 30px; height: 2px; background: var(--blue); }
.chapter-text p { font-size: 15.5px; line-height: 1.6; color: var(--body); margin-bottom: 12px; }
.chapter-art img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 36px rgba(11, 31, 58, 0.10); }
.chapter-art figcaption { margin-top: 12px; font: 400 18px/1.25 'Caveat', cursive; color: #3B4CB0; text-align: right; }
.chapter-art-left { order: -1; }
.chapter-wide { grid-template-columns: 1fr; }
.chapter-wide .chapter-text { max-width: 860px; }
.chapter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 48px; }
.chapter-pair .chapter-text { align-content: start; }
.pullquote { position: relative; padding: 24px 0 24px 28px; border-left: 2px solid var(--blue); font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; color: var(--ink); max-width: 420px; }
.pullquote::before { content: '\201C'; display: block; font-style: normal; font-size: 64px; line-height: 0.6; color: #9DB6F7; margin-bottom: 14px; }
.signoff { display: flex; justify-content: flex-end; padding-top: 48px; padding-bottom: 56px; }
.signoff span { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1.05; color: var(--ink); text-align: left; border-bottom: 2px solid var(--blue); padding-bottom: 14px; }
.more { padding-top: 40px; padding-bottom: 56px; }
.more h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); margin-bottom: 20px; }
.hand { font: 400 clamp(22px, 2.4vw, 30px)/1.2 'Caveat', cursive; color: #3B4CB0; }

/* Contact page */
.hero-short .hero-inner { min-height: 400px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-form label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.contact-form input, .contact-form textarea { padding: 13px 14px; border: 1px solid #C9D7F0; border-radius: 6px; font: 15px/1.5 var(--sans); color: var(--navy); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.15); }
.contact-form textarea { resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 14px; margin-bottom: 14px; color: var(--body); }
.form-status.error { color: #B3261E; }
.form-status a { color: var(--blue); font-weight: 600; }
.contact-done { padding: 28px 32px; border-radius: 10px; background: var(--wash); }
.contact-aside { padding: 28px 30px; border: 1px solid var(--line); border-radius: 10px; }
.contact-aside .eyebrow { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 20px; }
  .pillars-4 { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pillars-4 .pillar:nth-child(3) { border-left: none; }
  .founders { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: center; row-gap: 16px; padding-top: 24px; padding-bottom: 24px; }
  .footer-links { margin-left: 0; }
  .connect-ribbon { opacity: 0.3; }
}
@media (max-width: 760px) {
  .frame { padding-left: 20px; padding-right: 20px; }
  .nav-inner { height: 64px; gap: 12px; }
  .brand-mark { height: 38px; }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 7px; letter-spacing: 0.24em; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 16px 32px rgba(11, 31, 58, 0.12); }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 14px; border: none; }
  .nav.open .nav-links { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner { display: block; min-height: 0; padding-top: 36px; padding-bottom: 0; }
  .hero-art { position: static; margin: 16px -20px 0; }
  .hero-art img { height: auto; -webkit-mask-image: none; mask-image: none; }
  h1.display { font-size: 40px; }
  h2.display { font-size: 32px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .split, .heading-row, .featured, .loop, .chapter, .chapter-pair, .article-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .heading-row { margin-bottom: 28px; }
  .split .copy, .heading-row .copy { max-width: none; }
  .pillars { grid-template-columns: 1fr; row-gap: 22px; }
  .pillar, .pillar:first-child { border-left: none; border-top: 1px solid var(--line); padding: 18px 0 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .pillar-icon { width: 40px; height: 40px; grid-row: span 2; margin: 0; }
  .pillars-4 { grid-template-columns: 1fr 1fr; text-align: left; }
  .pillars-4 .pillar { display: block; padding: 18px 0 0; }
  .pillars-4 .pillar-icon { margin: 0 0 10px; }
  .product-symbol { width: 64px; }
  .product-name { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { width: 100%; aspect-ratio: 4 / 3; object-position: 50% 0; }
  .connect-inner { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
  .connect-ribbon { width: 150vw; right: -60vw; opacity: 0.25; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .footer-legal { border-left: none; padding-left: 0; text-align: center; }
  .loop { padding: 26px 20px; }
  .loop form { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-hero-inner { padding-top: 28px; padding-bottom: 28px; }
  .article-hero h1 { font-size: 36px; }
  .article-lede { padding-left: 18px; font-size: 21px; }
  .article-intro { padding-left: 20px; }
  .chapter-text { grid-template-columns: 40px 1fr; column-gap: 12px; }
  .chapter-num { width: 34px; height: 34px; font-size: 11px; }
  .chapter-art-left { order: 1; }
  .pullquote { max-width: none; }
  .signoff { justify-content: flex-start; }
}
