/* Tokens captured from the live Elementor site: reference/tokens.json */
:root {
  --navy: #010088;
  --ink: #000000;
  --white: #ffffff;
  --charcoal: #2a2a2a;
  --stone: #d9d8d1;
  --field-border: #dfdfdf;
  --dot: #afafaf;
  --link: #cc3366;
  --card-shadow: 0 0 5px 0 rgba(190, 190, 190, 0.5);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
  --content: 1140px;
  --section-y: 60px;
  --gutter: 20px;
  --h1: 50px;
  --h2: 35px;
  --h2-intro: 28px;
  --lede: 22px;
}
@media (max-width: 767px) {
  :root { --h1: 40px; --h2: 24px; --h2-intro: 24px; --lede: 18px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--link); }

.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) var(--gutter); }
.section > .wrap { padding: 0; }
.stone { background: var(--stone); }
.dark { background: var(--charcoal); color: var(--white); }
.center { text-align: center; }
.h2 { font-size: var(--h2); }
.section-title { font-size: var(--h2); max-width: 77%; margin: 0 auto 30px; text-align: center; }
@media (max-width: 1024px) { .section-title { max-width: 100%; } }

.btn {
  display: inline-block; background: var(--navy); color: var(--white); text-decoration: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; line-height: 1;
  text-transform: uppercase; padding: 16px 25px; border: 0; border-radius: 0; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--charcoal); color: var(--white); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: url(/images/hero-mountains.jpg) center / cover no-repeat; color: var(--white); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--charcoal); opacity: 0.7; }
.hero > div { position: relative; max-width: 800px; }
.hero h1 { font-size: var(--h1); font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: var(--lede); margin-bottom: 30px; }
.hero .btn:hover { background: var(--ink); }

/* Intro */
.intro { display: flex; gap: 50px; align-items: center; }
.intro > :first-child { flex: 0 0 calc(60% - 25px); }
.intro > :last-child { flex: 0 0 calc(40% - 25px); }
.intro h2 { font-size: var(--h2-intro); margin-bottom: 20px; }
.intro .quote { font-style: italic; font-weight: 600; }
@media (max-width: 767px) { .intro { flex-direction: column; gap: 30px; } .intro > * { flex-basis: auto !important; } }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 27px; }
.card { flex: 1 1 calc(25% - 21px); background: var(--white); box-shadow: var(--card-shadow); padding: 15px; display: flex; flex-direction: column; gap: 15px; }
.card h3 { font-size: 18px; line-height: 1.4; }
.card p { font-size: 14px; margin: 0; }
.check { width: 28px; height: 28px; color: var(--navy); }
@media (max-width: 1024px) { .card { flex-basis: calc(50% - 14px); } }
@media (max-width: 767px) { .card { flex-basis: 100%; } }

/* Testimonials: CSS scroll-snap in place of the Elementor/Swiper slider */
.slides { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; max-width: 1080px; margin: 0 auto; }
.slide { margin: 0; flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: var(--white); color: var(--ink); padding: 20px; text-align: center; }
.slide blockquote { margin: 0 0 20px; font-size: 17px; line-height: 1.6; }
.slide figcaption { display: flex; align-items: center; justify-content: center; gap: 15px; text-align: left; }
.slide img { width: 59px; height: 59px; border-radius: 50%; object-fit: cover; }
.slide .name { font-family: var(--font-heading); font-weight: 700; font-size: 16px; display: block; }
.slide .title { font-size: 13px; line-height: 1.5; display: block; }
@media (max-width: 1024px) { .slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 767px) { .slide { flex-basis: 100%; } }

/* Investments */
.holdings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; max-width: 900px; margin: 0 auto; }
.holdings div { padding: 16px 0; border-top: 1px solid var(--field-border); }
.holdings h3 { font-size: 18px; line-height: 1.4; }
.holdings p { font-size: 14px; margin: 0; }
.holdings-label { font-family: var(--font-heading); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; text-align: center; margin: 30px 0 10px; }
@media (max-width: 767px) { .holdings { grid-template-columns: 1fr; } }

/* Journal */
.narrow { max-width: 900px; margin: 0 auto; text-align: center; }
.narrow > * + * { margin-top: 22px; }
.subhead { font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.4; }
.signup { display: flex; max-width: 69%; margin-left: auto; margin-right: auto; }
.signup input { flex: 1 1 66%; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: 2px; background: var(--white); }
.signup .btn { flex: 1 1 34%; font-size: 16px; letter-spacing: 1px; }
@media (max-width: 767px) { .signup { max-width: 100%; flex-direction: column; } }

/* Connect */
.buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.email-line { font-size: 18px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--white); font-size: 14px; padding: 15px var(--gutter); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 0; flex-wrap: wrap; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer nav { display: flex; gap: 16px; }
@media (max-width: 767px) { .site-footer .wrap { flex-direction: column; text-align: center; } }

/* Inner pages */
.site-header { border-bottom: 1px solid var(--field-border); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.brand { font-family: var(--font-heading); font-weight: 800; font-size: 24px; color: var(--ink); text-decoration: none; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { font-family: var(--font-heading); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--navy); }
.page { max-width: 800px; margin: 0 auto; padding: var(--section-y) var(--gutter); }
.page h1 { font-size: var(--h2); margin-bottom: 24px; }
.page .meta { font-size: 14px; color: #555; margin-top: -16px; margin-bottom: 24px; }
.prose img { height: auto; }
.prose figure, .prose .wp-caption { max-width: 100%; margin: 1em 0; }
.prose blockquote { border-left: 3px solid var(--stone); margin: 1em 0; padding-left: 1em; }
.archive-note { font-size: 14px; background: var(--stone); padding: 10px 14px; margin-bottom: 24px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-size: 14px; }
.signup-todo { font-size: 13px; color: #555; margin-top: 8px !important; }
.signup .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.slide .initials { flex: 0 0 59px; width: 59px; height: 59px; border-radius: 50%; background: var(--charcoal); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 18px; }

/* Polish pass 2026-10-22: rhythm, a11y, tap targets. No new colors or fonts. */
h1, h2, h3 { text-wrap: balance; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.hero :focus-visible, .dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.quiet-link { color: inherit; text-decoration: none; }
.quiet-link:hover { text-decoration: underline; }
/* 44px hit area without moving layout */
.site-header nav a, .site-footer nav a, .holdings h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }
/* Old posts: shrink embeds, break long URLs, and let wide newsletter tables scroll inside the post instead of the page */
.prose { overflow-wrap: anywhere; }
.prose iframe, .prose embed, .prose object, .prose video { max-width: 100%; }
.prose article { overflow-x: auto; }
/* Testimonials: names line up at the card bottom; prev/next shown by the inline script */
.slide { display: flex; flex-direction: column; }
.slide figcaption { margin-top: auto; }
@media (max-width: 767px) { .slide { justify-content: center; } .slide figcaption { margin-top: 0; } }
.slide-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.slide-nav[hidden] { display: none; }
.slide-nav .btn { font-size: 18px; padding: 13px 20px; }
.slide-nav .btn:hover, .slide-nav .btn:focus-visible { background: var(--ink); }
.link-list { padding-left: 1.2em; margin: 0 0 1em; }
.link-list li { padding: 4px 0; }
