/* Inherent Wealth Fund — direction A ("Embarcadero").
   Dark green-black ground, serif headlines (Newsreader), Inter for everything else, the brand green
   as the one accent. Layout: a 1200px column, 12-track grids on wide screens that stack under 900px. */

:root {
  --bg: #0f1a17;
  --band: #122019;
  --deep: #0b1412;
  --surface: #0f1a17;
  --fg: #eef1ec;
  --fg-strong: #f6f8f3;
  --fg-soft: #c9d2cb;
  --muted: #a4b0a8;
  --muted-2: #8d9a92;
  --faint: #76837b;
  --rule: #243530;
  --rule-2: #3a4f47;
  --accent: #87c442;
  --link: #a7d86a;
  --link-hover: #c6ea97;
  --on-accent: #0f1a17;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

/* Reset, the short version */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; }
table { border-collapse: collapse; }

.iwf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.iwf-skip { position: absolute; left: 16px; top: -48px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 4px; font-weight: 600; z-index: 100; }
.iwf-skip:focus { top: 12px; color: var(--on-accent); }

.iwf-wrap { max-width: 1248px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.iwf-section { padding-block: 96px; display: flex; flex-direction: column; gap: 44px; }
.iwf-band { background: var(--band); }

/* Type */
.iwf-eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.iwf-eyebrow-sm { font-size: 12px; letter-spacing: 0.08em; }
.iwf-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.iwf-h1 { font-family: var(--display); font-weight: 300; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.015em; color: var(--fg-strong); text-wrap: balance; }
.iwf-h1-page { font-size: clamp(36px, 4.6vw, 56px); font-weight: 400; }
.iwf-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; color: var(--fg-strong); text-wrap: balance; }
.iwf-h2-lg { font-size: clamp(34px, 3.9vw, 48px); line-height: 1.08; }
.iwf-h3 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.25; color: var(--fg-strong); text-wrap: balance; }
.iwf-h3 a { color: inherit; }
.iwf-h3 a:hover { color: var(--link-hover); }
.iwf-h3-sans { font-family: var(--body); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--fg-strong); }
.iwf-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #b9c3bc; max-width: 620px; }
.iwf-body-lg { font-size: 17px; line-height: 1.65; }
.iwf-muted { color: var(--muted); }
.iwf-small { font-size: 14px; line-height: 1.6; }
.iwf-fine { font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.iwf-link { font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* Buttons */
.iwf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-align: center; }
.iwf-btn-lg { min-height: 48px; padding: 14px 24px; font-size: 15px; }
.iwf-btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.iwf-btn-primary:hover { background: #95d050; border-color: #95d050; color: var(--on-accent); }
.iwf-btn-ghost { color: var(--fg); border-color: var(--rule-2); background: transparent; }
.iwf-btn-ghost:hover { border-color: var(--muted); color: var(--fg-strong); }
.iwf-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.iwf-hd { border-bottom: 1px solid var(--rule); background: var(--bg); position: relative; z-index: 20; }
.iwf-hd-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.iwf-logo { display: inline-flex; align-items: center; }
.iwf-logo-img { height: 64px; width: auto; display: block; }
.iwf-logo-sm .iwf-logo-img { height: 52px; }
.iwf-logo-text { font-family: var(--display); font-size: 26px; color: var(--fg-strong); }
.iwf-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.iwf-nav-list { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.iwf-nav-list a { color: var(--fg-soft); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.iwf-nav-list a:hover, .iwf-nav-list .current-menu-item > a { color: var(--fg-strong); }
.iwf-menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 4px; background: transparent; color: var(--fg); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.iwf-menu-btn .iwf-menu-close { display: none; }
.iwf-ic { width: 24px; height: 24px; display: block; }

/* Hero */
.iwf-hero { position: relative; overflow: hidden; }
.iwf-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; padding-block: 112px 96px; }
.iwf-hero-main { grid-column: span 8; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.iwf-hero-main .iwf-actions { margin-top: 8px; }
.iwf-hero-side { grid-column: span 4; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--rule); padding-left: 32px; min-width: 0; }
.iwf-hero-side-text { font-family: var(--display); font-size: 24px; line-height: 1.35; color: var(--fg); }
.iwf-hero-rule { display: block; width: 100%; height: 120px; color: var(--rule); }

/* Section heads */
.iwf-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.iwf-section-head-stack { flex-direction: column; align-items: flex-start; gap: 16px; max-width: 640px; }
.iwf-section-intro { max-width: 480px; font-size: 16px; line-height: 1.6; }

/* Cards */
.iwf-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.iwf-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 260px; min-width: 0; }
.iwf-card .iwf-muted { font-size: 15px; line-height: 1.65; }
.iwf-card .iwf-link { margin-top: auto; }
.iwf-card-ic { color: var(--accent); display: inline-flex; }
.iwf-card-ic .iwf-ic { width: 28px; height: 28px; }
.iwf-card-post { padding: 28px; gap: 14px; min-height: 0; }
.iwf-card-post .iwf-h3 { font-size: 24px; }
.iwf-card-foot { margin-top: auto; font-size: 13px; }

/* How we invest */
.iwf-invest { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; padding-block: 112px; }
.iwf-invest-lead { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.iwf-pillars { grid-column: span 7; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.iwf-pillars li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding-block: 32px; border-top: 1px solid var(--rule); }
.iwf-pillars li:last-child { border-bottom: 1px solid var(--rule); }
.iwf-pillars li > div { display: flex; flex-direction: column; gap: 10px; }
.iwf-pillar-n { font-family: var(--display); font-size: 34px; color: var(--accent); line-height: 1; }

/* Strategies table */
.iwf-tablewrap { overflow-x: auto; }
.iwf-table { width: 100%; min-width: 720px; font-size: 16px; }
.iwf-table th { text-align: left; padding: 14px 16px; border-bottom: 1px solid #2c3f38; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.iwf-table th:first-child, .iwf-table td:first-child { padding-left: 0; }
.iwf-table th:last-child, .iwf-table td:last-child { padding-right: 0; }
.iwf-table td { padding: 22px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }
.iwf-td-title { font-family: var(--display); font-size: 22px; line-height: 1.25; }
.iwf-td-title a { color: var(--fg-strong); }
.iwf-td-title a:hover { color: var(--link-hover); }
.iwf-td-act { text-align: right; white-space: nowrap; }
.iwf-status { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.iwf-status-core { background: var(--accent); color: var(--on-accent); }
.iwf-status-active { background: #1d3320; color: var(--link); }
.iwf-status-research { background: #1a2a25; color: var(--fg-soft); }
.iwf-status-closed { background: #1a2a25; color: var(--muted-2); }

/* Process */
.iwf-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.iwf-steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--rule-2); min-width: 0; }
.iwf-steps li.is-first { border-top-color: var(--accent); }
.iwf-steps .iwf-muted { font-size: 15px; line-height: 1.65; }

/* About + contact */
.iwf-about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; padding-block: 112px; }
.iwf-about-text { grid-column: span 6; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.iwf-ticks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; font-size: 15px; color: var(--fg-soft); margin-top: 8px; }
.iwf-ticks li { display: flex; gap: 12px; align-items: flex-start; }
.iwf-ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.iwf-contact { grid-column: span 6; background: var(--band); border: 1px solid var(--rule); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px; min-width: 0; scroll-margin-top: 24px; }
.iwf-contact-h { font-size: 30px; }
.iwf-contact .iwf-muted { font-size: 15px; }

/* Contact Form 7 inside the contact box */
.iwf-contact .wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.iwf-contact .wpcf7 form > p, .iwf-contact .wpcf7 form > div:not(.wpcf7-response-output) { margin: 0; min-width: 0; }
.iwf-contact .wpcf7 form > p.iwf-span2, .iwf-contact .wpcf7 form > p:has(textarea), .iwf-contact .wpcf7 form > p:has(select), .iwf-contact .wpcf7 form > p:has(.wpcf7-submit) { grid-column: span 2; }
.iwf-contact label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg-soft); }
.iwf-contact .wpcf7-form-control-wrap { display: block; }
.iwf-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .iwf-contact select, .iwf-contact textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--rule-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 400; }
.iwf-contact textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.iwf-contact input::placeholder, .iwf-contact textarea::placeholder { color: var(--muted-2); }
.iwf-contact .wpcf7-submit, .iwf-contact button[type="submit"] { width: 100%; height: 50px; border: 0; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; cursor: pointer; }
.iwf-contact .wpcf7-submit:hover { background: #95d050; }
.iwf-contact .wpcf7-spinner { display: none; }
.iwf-contact .wpcf7-not-valid-tip { color: #f0b86a; font-size: 13px; font-weight: 500; margin-top: 4px; display: block; }
.iwf-contact .wpcf7-response-output { grid-column: span 2; margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--rule-2) !important; border-radius: 4px; font-size: 14px; color: var(--fg); }
.iwf-contact .wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent) !important; }
.iwf-contact .wpcf7 form.invalid .wpcf7-response-output, .iwf-contact .wpcf7 form.failed .wpcf7-response-output { border-color: #f0b86a !important; }
.iwf-contact-plain { font-size: 16px; }
.iwf-contact .iwf-turnstile { grid-column: span 2; min-height: 0; line-height: 0; margin: -16px 0; }
.iwf-contact .iwf-turnstile:has(iframe[style*="height"]) { margin: 0; line-height: normal; }

/* Inner pages */
.iwf-page-head { border-bottom: 1px solid var(--rule); }
.iwf-page-head .iwf-wrap { display: flex; flex-direction: column; gap: 18px; padding-block: 72px 56px; }
.iwf-single-head .iwf-small { color: var(--muted-2); }
.iwf-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; gap: 0; display: block; }
.iwf-prose > * + * { margin-top: 1.1em; }
.iwf-prose h2 { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--fg-strong); margin-top: 2em; }
.iwf-prose h3 { font-size: 20px; font-weight: 600; color: var(--fg-strong); margin-top: 1.8em; }
.iwf-prose h4, .iwf-prose h5 { font-size: 16px; font-weight: 600; color: var(--fg-strong); letter-spacing: 0.04em; margin-top: 1.6em; }
.iwf-prose p, .iwf-prose li { color: #c9d2cb; }
.iwf-prose strong, .iwf-prose b { color: var(--fg-strong); font-weight: 600; }
.iwf-prose ul, .iwf-prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 0.5em; }
.iwf-prose a { text-decoration: underline; text-underline-offset: 3px; }
.iwf-prose img { border-radius: var(--radius); }
.iwf-prose .iwf-fine { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--rule); }
.iwf-prose .elementor-section, .iwf-prose .e-con { padding-left: 0 !important; padding-right: 0 !important; }
/* Article with sidebar: the reading column on the left, aligned with the title above it; the sidebar sticky on the right. */
.iwf-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; padding-block: 64px 96px; align-items: start; }
.iwf-prose-left { margin: 0; max-width: 720px; }
.iwf-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.iwf-side-block { border-top: 2px solid var(--rule-2); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.iwf-side-h { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--fg-strong); }
.iwf-side-list { list-style: none; display: flex; flex-direction: column; }
.iwf-side-list li { border-bottom: 1px solid var(--rule); }
.iwf-side-list li:last-child { border-bottom: 0; }
.iwf-side-list a { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; color: var(--fg); }
.iwf-side-list a:hover .iwf-side-title { color: var(--link-hover); }
.iwf-side-kind { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.iwf-side-title { font-family: var(--display); font-size: 18px; line-height: 1.3; color: var(--fg-strong); }
.iwf-side-date { font-size: 12px; color: var(--muted-2); }
.iwf-side-cta { background: var(--band); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.iwf-side-cta-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.iwf-side-cta .iwf-btn { width: 100%; }
.iwf-list { padding-top: 0; }
.iwf-pager { display: flex; justify-content: center; }
.iwf-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.iwf-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 4px; color: var(--fg-soft); font-weight: 500; font-size: 14px; }
.iwf-pager .page-numbers.current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Footer */
.iwf-ft { border-top: 1px solid var(--rule); background: var(--deep); }
.iwf-ft-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px 48px; padding-block: 56px 40px; }
.iwf-ft-firm { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.iwf-ft-addr { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.iwf-ft-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; font-size: 14px; justify-self: end; width: 100%; max-width: 640px; }
.iwf-ft-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.iwf-ft-col a { color: var(--fg-soft); display: inline-flex; align-items: center; min-height: 32px; }
.iwf-ft-col a:hover { color: var(--fg-strong); }
.iwf-ft-h { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.iwf-disclosure { grid-column: 1 / -1; font-size: 12px; line-height: 1.7; color: var(--faint); max-width: 1000px; }

/* Shop plugins still installed print their modals and notices into every page; none of it belongs here. */
#yith-quick-view-modal, .yith-wcwl-popup, .woocommerce-notices-wrapper:empty, .woocommerce-store-notice { display: none !important; }

/* Logged-in admin bar */
body.admin-bar .iwf-skip:focus { top: 44px; }

/* ---------- Tablet ---------- */
/* nav fits at tablet width */
@media (min-width: 900px) and (max-width: 1240px) {
  .iwf-nav, .iwf-nav-list { gap: 18px; }
  .iwf-nav-list a { font-size: 13.5px; }
  .iwf-nav-cta { padding: 10px 14px; font-size: 13.5px; }
  .iwf-logo-img { height: 56px; }
}
@media (max-width: 1100px) {
  .iwf-article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
  .iwf-hero-main { grid-column: span 7; }
  .iwf-hero-side { grid-column: span 5; }
  .iwf-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iwf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iwf-invest-lead, .iwf-pillars, .iwf-about-text, .iwf-contact { grid-column: span 12; }
  .iwf-invest, .iwf-about { gap: 40px; }
}

/* ---------- Phone ---------- */
@media (max-width: 899px) {
  .iwf-section, .iwf-invest, .iwf-about { padding-block: 56px; gap: 28px; }
  .iwf-hero-grid { padding-block: 48px 40px; gap: 28px; }
  .iwf-hero-main, .iwf-hero-side { grid-column: span 12; }
  .iwf-hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; gap: 10px; }
  .iwf-hero-side-text { font-size: 19px; }
  .iwf-hero-rule { height: 60px; }
  .iwf-hero-main .iwf-actions { flex-direction: column; }
  .iwf-hero-main .iwf-btn { width: 100%; }

  .iwf-hd-row { padding-block: 14px; flex-wrap: nowrap; }
  .iwf-logo-img { height: 46px; }
  .iwf-menu-btn { display: inline-flex; }
  .iwf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter-r) 20px var(--gutter); flex-direction: column; align-items: stretch; gap: 8px; }
  .iwf-menu-is-open .iwf-nav { display: flex; }
  .iwf-menu-is-open .iwf-menu-btn .iwf-menu-open { display: none; }
  .iwf-menu-is-open .iwf-menu-btn .iwf-menu-close { display: block; }
  .iwf-nav-list { flex-direction: column; gap: 0; }
  .iwf-nav-list a { font-size: 16px; min-height: 48px; border-bottom: 1px solid var(--rule); width: 100%; }
  .iwf-nav-cta { margin-top: 8px; }

  .iwf-cards3, .iwf-steps, .iwf-ticks { grid-template-columns: minmax(0, 1fr); }
  .iwf-card { padding: 22px; min-height: 0; gap: 10px; }
  .iwf-h3 { font-size: 22px; }
  .iwf-pillars li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 22px; }
  .iwf-pillar-n { font-size: 26px; }
  .iwf-h3-sans { font-size: 18px; }
  .iwf-section-head { flex-direction: column; align-items: flex-start; }
  .iwf-contact { padding: 22px; }
  .iwf-contact-h { font-size: 26px; }
  .iwf-contact .wpcf7 form { grid-template-columns: minmax(0, 1fr); }
  .iwf-contact .wpcf7 form > p:has(textarea), .iwf-contact .wpcf7 form > p:has(select), .iwf-contact .wpcf7 form > p:has(.wpcf7-submit), .iwf-contact .wpcf7-response-output { grid-column: span 1; }
  .iwf-contact .iwf-turnstile { grid-column: span 1; }
  .iwf-contact input:not([type="submit"]), .iwf-contact select, .iwf-contact textarea { font-size: 16px; }

  .iwf-page-head .iwf-wrap { padding-block: 40px 32px; }
  .iwf-prose { font-size: 16px; }
  .iwf-article-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 40px 56px; }
  .iwf-side { position: static; }
  .iwf-ft-grid { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 24px; }
  .iwf-ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; justify-self: start; }
  .iwf-logo-sm .iwf-logo-img { height: 42px; }
  .iwf-disclosure { font-size: 11px; }
}

/* The strategies table on a phone: rows become stacked blocks instead of a sideways scroll. */
@media (max-width: 640px) {
  .iwf-table { min-width: 0; }
  .iwf-table thead { display: none; }
  .iwf-table tr { display: flex; flex-direction: column; gap: 8px; padding-block: 18px; border-top: 1px solid var(--rule); }
  .iwf-table tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .iwf-table td { padding: 0; border: 0; }
  .iwf-td-title { font-size: 21px; }
  .iwf-td-act { text-align: left; }
  .iwf-td-act .iwf-link { min-height: 36px; }
  .iwf-ft-nav { grid-template-columns: minmax(0, 1fr); }
}

/* Partner Wealth Review page */
.iwf-glance { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--fg-soft); }
.iwf-glance li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.iwf-glance li:last-child { border-bottom: 0; padding-bottom: 0; }
.iwf-glance span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; padding-top: 3px; }
.iwf-pwr-why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.iwf-pwr-why-text { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.iwf-pwr-facts { grid-column: span 6; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.iwf-pwr-facts li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--rule); }
.iwf-pwr-facts li:last-child { border-bottom: 1px solid var(--rule); }
.iwf-pwr-facts strong { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--fg-strong); }
.iwf-pwr-facts span { font-size: 15px; line-height: 1.6; color: var(--muted); }
.iwf-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iwf-pwr-who { gap: 40px; }
.iwf-pwr-intake { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: start; }
.iwf-pwr-intake-text { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.iwf-pwr-form { grid-column: span 7; }
.iwf-pwr-form .wpcf7 form > p:has(select) { grid-column: span 1; }
.iwf-pwr-form .wpcf7 form > p:has(select[name="capital"]), .iwf-pwr-form .wpcf7 form > p:has(select[name="buyout"]) { grid-column: span 2; }
.iwf-pwr-form .wpcf7 form > p:has(textarea), .iwf-pwr-form .wpcf7 form > p:has(.wpcf7-checkbox), .iwf-pwr-form .wpcf7 form > p:has(.wpcf7-submit) { grid-column: span 2; }
.iwf-contact .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 400; font-size: 15px; color: var(--fg); }
.iwf-contact .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.iwf-contact .wpcf7-checkbox label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; color: var(--fg); }
.iwf-contact input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
@media (max-width: 1100px) {
  .iwf-pwr-why-text, .iwf-pwr-facts, .iwf-pwr-intake-text, .iwf-pwr-form { grid-column: span 12; }
  .iwf-steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .iwf-pwr-why, .iwf-pwr-intake { gap: 28px; }
  .iwf-steps-3 { grid-template-columns: minmax(0, 1fr); }
  .iwf-contact .wpcf7 form > * { grid-column: 1 / -1 !important; }
  .iwf-pwr-form .wpcf7 form > p:has(textarea), .iwf-pwr-form .wpcf7 form > p:has(.wpcf7-checkbox), .iwf-pwr-form .wpcf7 form > p:has(.wpcf7-submit) { grid-column: span 1; }
  .iwf-glance li { grid-template-columns: 72px minmax(0, 1fr); }
}

/* The letter sign-up */
.iwf-letter { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); display: grid; gap: 20px; }
.iwf-letter-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 28px 32px; scroll-margin-top: 24px; }
.iwf-letter-side { padding: 22px; scroll-margin-top: 24px; }
.iwf-letter-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.iwf-letter-h { font-family: var(--display); font-size: 22px; line-height: 1.25; color: var(--fg-strong); }
.iwf-letter-side .iwf-letter-h { font-size: 19px; }
.iwf-letter-sub { font-size: 14px; line-height: 1.55; color: var(--muted); }
.iwf-letter-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.iwf-letter-fields input { flex: 1 1 160px; min-width: 0; height: 46px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--rule-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; }
.iwf-letter-fields input::placeholder { color: var(--muted-2); }
.iwf-letter-fields .iwf-btn { flex: 0 0 auto; height: 46px; }
.iwf-letter-side .iwf-letter-fields input, .iwf-letter-side .iwf-letter-fields .iwf-btn { flex: 1 1 100%; }
.iwf-letter-ts { flex: 1 1 100%; line-height: 0; }
.iwf-letter-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iwf-letter-done { font-size: 15px; color: var(--link); padding: 14px 16px; border: 1px solid var(--accent); border-radius: 4px; }
.iwf-letter-err { font-size: 14px; color: #f0b86a; margin-top: 8px; }
@media (max-width: 899px) { .iwf-letter-band { grid-template-columns: minmax(0, 1fr); padding: 22px; } .iwf-letter-fields input, .iwf-letter-fields .iwf-btn { flex: 1 1 100%; } }

/* Who we serve: the two specialist pages under the cards */
.iwf-serve-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.iwf-serve-link { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--rule); color: var(--fg); min-width: 0; }
.iwf-serve-link .iwf-muted { font-size: 15px; line-height: 1.55; }
.iwf-serve-title { font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--fg-strong); }
.iwf-serve-title::after { content: " →"; color: var(--accent); }
.iwf-serve-link:hover .iwf-serve-title { color: var(--link-hover); }
@media (max-width: 899px) { .iwf-serve-more { grid-template-columns: minmax(0, 1fr); gap: 12px; } .iwf-serve-link { padding: 18px 0; } .iwf-serve-title { font-size: 21px; } }

/* menu button below 980px: below that the five items, the button and the logo do not fit one row */
@media (max-width: 979px) {
  .iwf-hd-row { flex-wrap: nowrap; }
  .iwf-menu-btn { display: inline-flex; }
  .iwf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter-r) 20px var(--gutter); flex-direction: column; align-items: stretch; gap: 8px; }
  .iwf-menu-is-open .iwf-nav { display: flex; }
  .iwf-menu-is-open .iwf-menu-btn .iwf-menu-open { display: none; }
  .iwf-menu-is-open .iwf-menu-btn .iwf-menu-close { display: block; }
  .iwf-nav-list { flex-direction: column; gap: 0; }
  .iwf-nav-list a { font-size: 16px; min-height: 48px; border-bottom: 1px solid var(--rule); width: 100%; }
  .iwf-nav-cta { margin-top: 8px; padding: 11px 18px; font-size: 14px; }
}

.iwf-hero-side-custody { font-size: 15px; line-height: 1.55; color: var(--fg-soft); padding: 10px 0 2px; border-top: 1px solid var(--rule); }
