/* Westly Group — site styles.
 * Ported VERBATIM from export-westly-v2/twg/site.css (Round 24 client revision).
 * The seven ad-hoc breakpoints (1180/1080/980/900/860/767/680) are intentionally
 * left as-is so the render can be diffed against the design reference.
 * Consolidate them later as a separate, verifiable step.
 */
/* ============================================================
   Westly Group site — page styles built on the TWG design system.
   Depends on: colors_and_type.css (tokens) + ui_kits/website/kit.css
   ============================================================ */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ---------- Section tones (max two light tones per page + navy) ---------- */
.sect       { padding: 64px 0; }
.sect.tight { padding: 44px 0; }
.sect-white { background: var(--color-bg); }
.sect-alt   { background: var(--color-bg-alt); }
.sect-dark  { background: var(--navy-800); color: #fff; }
.sect-deep  { background: var(--navy-900); color: #fff; }
.sect-dark h1, .sect-dark h2, .sect-dark h3, .sect-dark h4,
.sect-deep h1, .sect-deep h2, .sect-deep h3, .sect-deep h4 { color: #fff; }
.sect-dark p, .sect-deep p { color: var(--color-fg-2-on-dark); }
@media (max-width: 767px) { .sect { padding: 48px 0; } }

.lead-max { max-width: 68ch; }

/* ---------- Reveal-on-scroll ---------- */
.twg-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.twg-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .twg-reveal { opacity: 1; transform: none; transition: none; }
}
body.twg-no-motion .twg-reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Nav links: navy-blue tabs ---------- */
.twg .nav-link { color: var(--navy-800); font-weight: 600; }
.twg .nav-link:hover { color: var(--navy-900); }
.twg .nav-link.active { color: var(--navy-900); }
.twg .nav-link.active::after { background: var(--navy-800); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; }
.nav-shadow { box-shadow: var(--shadow-sm); }
.nav-aux {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-fg-3); text-decoration: none;
  white-space: nowrap; transition: color var(--dur-fast);
}
.nav-aux:hover { color: var(--color-fg); }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--color-fg); padding: 8px;
}
.nav-mobile {
  display: none; background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border); padding: 16px 32px 24px;
}
.nav-mobile .nav-link { display: block; padding: 10px 0; font-size: 16px; text-align: left; }
@media (max-width: 980px) {
  .nav-burger { display: block; }
  .nav-mobile.open { display: block; }
  .nav .btn { display: none; }
}
main { padding-top: 74px; }

/* ---------- Hero (home) ---------- */
.home-hero { min-height: 380px; display: flex; align-items: center; position: relative; overflow: visible; }
.home-hero .hero-inner { max-width: none; width: 100%; padding: 64px 32px 56px; }
.home-hero h1 { max-width: 1240px; font-size: clamp(24px, 3.4vw, 44px); }
.home-hero.hero-light { background: var(--color-bg); }
.home-hero.hero-light h1 { color: var(--color-fg); }
.home-hero.hero-light .hero-lead { color: var(--color-fg-2); }
.home-hero.hero-light .cycling-word { color: var(--color-primary); }
.hero-note {
  font-family: var(--font-mono); font-size: var(--fs-caption);
  letter-spacing: .06em; color: #5FB0DF; margin: 18px 0 0;
}
.home-hero.hero-light .hero-note { color: var(--color-primary); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycling-word { color: #5FB0DF; }

/* ---------- Logo tickers ---------- */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--ticker-width))); }
}
.ticker {
  background: var(--color-bg);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  padding: 22px 0; overflow: hidden;
}
.ticker-track { display: flex; white-space: nowrap; align-items: center; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused !important; }
.ticker-img { height: 52px; width: 160px; object-fit: contain; object-position: center; display: block;
  filter: grayscale(100%) contrast(1.05); mix-blend-mode: multiply; opacity: .65;
  transition: opacity var(--dur-med), filter var(--dur-med); }
.ticker-img:hover { opacity: 1; }
body.twg-logos-color .ticker-img { filter: none; opacity: .95; }
.ticker-name {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-fg-3);
}
.ticker-dot { color: var(--color-primary); font-size: 7px; }

/* ---------- Network section (home) ---------- */
.net-stat-n {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(56px, 7vw, 88px); line-height: 1; color: #5FB0DF;
}
.net-stat-k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-fg-2-on-dark);
}
.net-split { display: grid; grid-template-columns: 55% 45%; align-items: start; }
.net-split-l { padding-right: 48px; border-right: 1px solid rgba(255,255,255,.12); }
.net-split-r { padding-left: 48px; }
@media (max-width: 980px) {
  .net-split { grid-template-columns: 1fr; }
  .net-split-l { padding-right: 0; border-right: 0; }
  .net-split-r { padding-left: 0; margin-top: 32px; }
}

/* ---------- Sector cards (home, "where we invest") ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: stretch; margin-top: 12px; }
@media (max-width: 1180px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .sector-grid { grid-template-columns: 1fr; } }
.sector-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: var(--space-6); transition: all var(--dur-med) var(--ease-out);
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
}
.sector-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); transform: translateY(-3px); }
.sector-card h3 { font-size: 18px; letter-spacing: -.01em; margin: 16px 0 10px; }
.sector-card p { font-size: var(--fs-small); line-height: 1.6; margin: 0; }

/* ---------- Audience cards (home, "who we work with") ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 767px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: var(--space-7) var(--space-6); display: flex; flex-direction: column;
  transition: all var(--dur-med) var(--ease-out);
}
.aud-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.aud-card h3 { font-size: var(--fs-h3); line-height: 1.25; margin: 14px 0 12px; }
.aud-card p { margin: 0 0 28px; }
.aud-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Stats band (about) ---------- */
.stats-band { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 30px 0; }
.stats-row { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.stat .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-fg-2-on-dark); margin-top: 6px; }

/* ---------- Fund cards (about) ---------- */
.fund-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 767px) { .fund-grid { grid-template-columns: 1fr; } }
.fund-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-7) var(--space-6);
}
.fund-card h3 { font-size: var(--fs-h4); margin: 0 0 18px; }
/* fund cards are white surfaces even inside dark sections — re-assert ink text */
.sect-dark .fund-card h3, .sect-deep .fund-card h3 { color: var(--color-fg); }
.sect-dark .fund-card p, .sect-deep .fund-card p { color: var(--color-fg-2); }
.fund-spec { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.fund-spec-row { display: flex; align-items: baseline; gap: 16px; }
.fund-spec-row .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-primary); min-width: 96px; }
.fund-spec-row .v { font-family: var(--font-body); font-size: var(--fs-small);
  font-weight: 600; color: var(--color-fg); }
.fund-card > p { font-size: var(--fs-small); line-height: 1.6; margin: 0; }

/* ---------- Portfolio mosaic ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; grid-auto-rows: 160px; grid-auto-flow: dense;
}
@media (max-width: 980px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
.mtile {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs); transition: all var(--dur-med) var(--ease-out);
  text-decoration: none;
}
.mtile::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--mtile-tint, transparent); opacity: .85;
  transition: opacity var(--dur-med) var(--ease-out);
}
.mtile:hover::before { opacity: 1; }
.mtile:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mtile-featured::before { display: none; }
.mtile-featured { grid-column: span 2; grid-row: span 2; align-items: flex-end; justify-content: flex-start; background: var(--navy-900); border-color: var(--navy-900); }
.mtile-bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .6s var(--ease-out); }
.mtile:hover .mtile-bg { transform: scale(1.03); }
.mtile-scrim { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,46,.82), rgba(10,31,46,.30) 55%, rgba(10,31,46,.18));
  transition: background var(--dur-slow); }
.mtile-logo { max-width: 62%; width: auto; height: auto; max-height: 56px;
  filter: brightness(0); opacity: .68; transition: opacity var(--dur-med), filter var(--dur-med), transform var(--dur-med); }
.mtile:hover .mtile-logo { opacity: 1; transform: scale(1.04); }
.mtile-logo-white { filter: brightness(0) invert(1) !important; opacity: 1 !important; }
.mtile-name { font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--n-500); letter-spacing: -.01em; }
.mtile-feat-body { position: relative; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; width: 100%; height: 100%; padding: var(--space-6); }
.mtile-feat-body p { color: #fff; font-size: var(--fs-small); line-height: 1.55;
  max-width: 480px; margin: 14px 0 0; }
.mtile-markrow { display: flex; align-items: center; gap: 10px; }
.mtile .status { position: absolute; top: 10px; right: 10px; z-index: 3; }

/* ---------- Team editorial rows ---------- */
.t-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
@media (max-width: 767px) { .t-row { grid-template-columns: 1fr; min-height: 0; } .t-photo { margin-top: 8px; } }
.t-photo { position: relative; width: 320px; max-width: 100%; aspect-ratio: 4 / 5; min-height: 0;
  border-radius: var(--radius-md); overflow: hidden; align-self: center; justify-self: center; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; }
.t-photo-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.t-photo-empty img { position: static; width: 64px; height: 64px; object-fit: contain; opacity: .25; filter: none; }
.t-bio { display: flex; flex-direction: column; justify-content: center; padding: var(--space-7) var(--space-8); }
@media (max-width: 767px) { .t-bio { padding: var(--space-5) 0 var(--space-7); } }
.t-bio h3 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 4px; }
.t-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-primary); margin: 0 0 2px; }
.t-loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--color-fg-3); margin: 0 0 18px; }
.t-bio .bio { font-size: var(--fs-small); line-height: 1.65; color: var(--color-fg-2); margin: 0 0 22px; max-width: 56ch; }
.t-li { color: var(--n-400); transition: color var(--dur-fast); display: inline-flex; }
.t-li:hover { color: var(--color-primary); }
.t-rule { height: 1px; background: var(--color-hairline); margin: 8px 0; }

/* ---------- Network page ---------- */
.marquee { background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 26px 0; overflow: hidden; position: relative; }
@keyframes wn-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: wn-marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-fade { position: absolute; top: 0; bottom: 0; width: 80px; pointer-events: none; z-index: 2; }
.marquee-fade.l { left: 0; background: linear-gradient(to right, var(--navy-900), rgba(10,31,46,0)); }
.marquee-fade.r { right: 0; background: linear-gradient(to left, var(--navy-900), rgba(10,31,46,0)); }
.marquee-cell { display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 180px; height: 56px; padding: 0 24px; }
.marquee-cell img { max-height: 36px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(100%) invert(100%) brightness(1.5); mix-blend-mode: screen; opacity: .85; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: var(--space-6); overflow: hidden;
}
.pillar-num {
  position: absolute; top: 22px; right: 22px; font-family: var(--font-body);
  font-weight: 600; font-style: italic; font-size: 15px; line-height: 1; color: var(--n-300);
  user-select: none; pointer-events: none;
}
.pillar-rule { display: none; }
.pillar h3 { font-size: 17px; letter-spacing: -.01em; margin: 0 0 12px; padding-right: 34px; position: relative; }
.pillar p { font-size: var(--fs-small); line-height: 1.65; margin: 0; position: relative; }

/* Case studies */
.cs-slide { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
@media (max-width: 767px) { .cs-slide { grid-template-columns: 1fr; } }
.cs-photo { position: relative; min-height: 320px; }
.cs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cs-body { background: var(--color-surface); padding: 48px 56px 56px; display: flex; flex-direction: column; }
@media (max-width: 767px) { .cs-body { padding: 32px 24px; } }
.cs-logo { width: 200px; height: auto; object-fit: contain; filter: brightness(0); margin-bottom: 28px; align-self: flex-start; }
.cs-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-primary); margin: 0 0 6px; }
.cs-body .cs-text { font-size: var(--fs-small); line-height: 1.65; color: var(--color-fg-2); margin: 0 0 22px; }
.cs-founder { font-family: var(--font-mono); font-size: 12px; color: var(--color-fg-3); margin: auto 0 0; padding-top: 12px; }
.cs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  color: var(--color-fg-2); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: all var(--dur-fast);
}
.cs-arrow:hover { color: var(--color-primary); border-color: var(--color-primary); }
.cs-arrow.l { left: 16px; } .cs-arrow.r { right: 16px; }
.cs-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--n-200); transition: background var(--dur-fast); }
.cs-dot.active { background: var(--color-primary); }

/* Partner grid (network page) */
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 980px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-cell {
  height: 132px; display: flex; align-items: center; justify-content: center;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); transition: all var(--dur-med) var(--ease-out);
}
.lp-cell:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.lp-cell img { max-height: 48px; max-width: 78%; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .75; mix-blend-mode: multiply; transition: all var(--dur-med); }
.lp-cell:hover img { filter: grayscale(0%); opacity: 1; }
body.twg-logos-color .lp-cell img { filter: none; opacity: 1; }
.lp-cell span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-fg-3); text-align: center; padding: 0 12px; }

/* ---------- Contact ---------- */
.cform label { display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; color: var(--color-fg); margin-bottom: 7px; }
.cform input {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--color-fg);
  padding: 12px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong); background: #fff; outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  box-sizing: border-box;
}
.cform input:focus { border-color: var(--color-primary); box-shadow: var(--shadow-focus); }
.cform .field { margin-bottom: 16px; }

.office-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-primary); margin: 0 0 10px; }
.office-addr { font-size: var(--fs-small); line-height: 1.7; color: var(--color-fg-2); margin: 0 0 18px; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; }
@media (max-width: 767px) { .office-grid { grid-template-columns: 1fr; } }
.office-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--color-hairline); }
@media (max-width: 767px) { .office-divider { display: none; } }

/* ---------- W viz responsive ---------- */
.wviz-desktop { display: block; }
.wviz-mobile { display: none; }
@media (max-width: 767px) {
  .wviz-desktop { display: none; }
  .wviz-mobile { display: block; }
}

/* ---------- Mobile ordering (photo above text) ---------- */
@media (max-width: 767px) {
  .t-order-photo, .cs-order-photo { order: -1; }
}

/* ---------- Office illustrations hover ---------- */
.twg-illo { margin-bottom: 12px; }
.twg-illo-g { opacity: 0.6; transition: opacity var(--dur-slow) var(--ease-out); }
.twg-illo:hover .twg-illo-g { opacity: 1; }

/* ---------- Contact: two-column CTA layout ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; }
@media (max-width: 900px) { .contact-cols { grid-template-columns: 1fr; gap: 48px; } }
.contact-col { display: flex; flex-direction: column; }
.contact-col + .contact-col { padding-left: 56px; border-left: 1px solid var(--color-hairline); }
@media (max-width: 900px) { .contact-col + .contact-col { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--color-hairline); } }
.contact-h { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -.01em; margin: 14px 0 14px; }
.contact-p { font-size: var(--fs-small); line-height: 1.65; color: var(--color-fg-2); margin: 0 0 18px; }
.contact-col .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Secondary buttons: white surface, blue text ---------- */
.twg .btn-secondary, .twg a.btn-secondary {
  background: #fff; color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.twg .btn-secondary:hover, .twg a.btn-secondary:hover {
  background: var(--blue-50); color: var(--twg-blue-700, var(--color-primary));
  border-color: var(--color-primary);
}
.twg .btn.on-dark.btn-secondary, .twg a.btn.on-dark.btn-secondary {
  background: #fff; color: var(--color-primary); border-color: #fff;
}
.twg .btn.on-dark.btn-secondary:hover, .twg a.btn.on-dark.btn-secondary:hover {
  background: var(--blue-50); color: var(--color-primary);
}

/* ---------- Anchor buttons: undo .twg a link styling (blue-on-blue fix) ---------- */
.twg a.btn, .twg a.btn:hover { text-decoration: none; }
.twg a.btn-primary, .twg a.btn-primary:hover { color: #fff; }
.twg a.btn-secondary { color: var(--color-primary); }
.twg a.btn-secondary:hover { color: var(--color-primary); }
.twg a.btn.on-dark.btn-secondary, .twg a.btn.on-dark.btn-secondary:hover { color: var(--color-primary); }
.twg a.btn-ghost, .twg a.btn-ghost:hover { color: var(--color-primary); }

/* ---------- Footer / misc ---------- */
.footer-col a { white-space: nowrap; }

/* ---------- Section textures (About page) — faint blueprint grid / dot lattice per DS texture rules ---------- */
.sect-tex-grid {
  background-color: var(--color-bg-alt);
  background-image:
    linear-gradient(rgba(0,125,194,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,125,194,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sect-tex-dots {
  background-color: var(--color-bg);
  background-image: radial-gradient(rgba(0,125,194,0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}
.sect-watermark { position: relative; overflow: hidden; }
.sect-watermark::after {
  content: '';
  position: absolute; top: 50%; right: -140px; transform: translateY(-50%);
  width: 620px; height: 620px;
  background: url("_ds/the-westly-group-design-system-019dd5b9-6fe8-7e64-b0b9-cbef81f6c28e/assets/logo-mark.png") no-repeat center / contain;
  opacity: 0.05; pointer-events: none;
}
.sect-watermark > .container { position: relative; z-index: 1; }
@media (max-width: 980px) { .sect-watermark::after { display: none; } }

/* ---------- 404 ---------- */
.nf-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.nf-wrap .display { color: var(--color-fg); }

.net-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.net-hero .lp-grid { grid-template-columns: repeat(3, 1fr); }
.net-hero-copy { position: sticky; top: 110px; }
@media (max-width: 980px) { .net-hero { grid-template-columns: 1fr; } .net-hero-copy { position: static; } }

/* Opaque-JPG logos: multiply blend drops their baked-in white boxes */
.lp-cell img { mix-blend-mode: multiply; }

/* ---------- News ---------- */
.news-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.news-feature-title { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: var(--tracking-display); margin: 18px 0 14px; }
.news-feature-sum { max-width: 640px; margin: 0; color: var(--n-600); }
.news-feature-mark { display: flex; align-items: center; justify-content: center; min-height: 200px; background: var(--blue-50); border-radius: var(--radius-md); padding: 32px; }
.news-feature-mark img { max-width: 78%; max-height: 96px; object-fit: contain; }
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.news-pill { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--n-200); background: #fff; color: var(--n-600); cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.news-pill:hover { border-color: var(--blue-200); color: var(--color-primary); }
.news-pill.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--n-200); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); transition: all var(--dur-med) var(--ease-out); }
.news-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); transform: translateY(-2px); }
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-type { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }

/* ---------- How We Invest: blue text — refined, less "mono/AI" ---------- */
.about-page .eyebrow { font-family: var(--font-body); font-weight: 600; font-style: italic; font-size: 19px; letter-spacing: .01em; text-transform: none; }
.about-page .eyebrow.on-dark { color: var(--blue-300); }
.about-page .fund-spec-row .k { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 14px; letter-spacing: .01em; text-transform: none; min-width: 132px; }
.about-page-eyebrow.eyebrow { font-family: var(--font-body); font-weight: 900; font-style: italic; font-size: 19px; letter-spacing: .01em; text-transform: none; color: var(--color-primary); -webkit-text-stroke: 0.7px currentColor; }
.sect-dark .about-page-eyebrow.eyebrow { color: var(--blue-300); }
.eyebrow-as-h2.eyebrow { font-family: var(--font-display); font-weight: 700; font-style: normal; font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: var(--tracking-tight); text-transform: none; color: var(--color-primary); }
.sect-dark .eyebrow-as-h2.eyebrow { color: var(--blue-300); }
.news-date { font-size: 11px; letter-spacing: .06em; color: var(--n-500); }
.news-title { font-family: var(--font-display); font-size: 20px; line-height: 1.28; margin: 0; }
.news-sum { margin: 0; font-size: 15px; color: var(--n-600); flex: 1; }
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--n-200); }
.news-outlet { font-size: 13px; color: var(--n-500); }
.news-logo { max-height: 22px; max-width: 96px; object-fit: contain; opacity: .7; mix-blend-mode: multiply; }
@media (max-width: 1080px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } .news-grid { grid-template-columns: 1fr; } }

/* ---------- Portfolio section headers ---------- */
.pf-head { display: flex; align-items: baseline; gap: 14px; }
.pf-label { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: var(--tracking-display); line-height: 1; margin: 0; color: var(--color-fg); }
.pf-count { font-size: 13px; letter-spacing: .12em; color: var(--color-primary); align-self: flex-start; margin-top: 2px; }
.pf-rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--color-primary), var(--n-200) 55%, transparent); align-self: center; transform: scaleX(0); transform-origin: left; animation: pf-rule-in 900ms var(--ease-out) forwards; }
@keyframes pf-rule-in { to { transform: scaleX(1); } }
.pf-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--n-300); align-self: center; flex: none; }
.pf-dot-live { background: var(--color-primary); box-shadow: 0 0 0 0 rgba(0,125,194,.5); animation: pf-pulse 2.4s var(--ease-out) infinite; }
@keyframes pf-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,125,194,.45); } 70% { box-shadow: 0 0 0 9px rgba(0,125,194,0); } 100% { box-shadow: 0 0 0 0 rgba(0,125,194,0); } }
body.twg-no-motion .pf-dot-live { animation: none; }
body.twg-no-motion .pf-rule { animation: none; transform: scaleX(1); }

/* ---------- Global Syndicate display title ---------- */
.gs-title { position: relative; display: block; }
.gs-word { display: block; font-family: var(--font-display); font-weight: 700; font-size: calc(var(--fs-h2) * 1.12); line-height: 1.1; letter-spacing: -.015em; color: var(--n-500); }
.gs-word-accent { color: var(--n-500); }
.gs-underline { display: block; height: 2px; width: 56px; margin-top: 12px; background: var(--n-300); transform-origin: left; transform: scaleX(0); animation: gs-rise-line 700ms 200ms var(--ease-out) forwards; }
@keyframes gs-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes gs-rise-line { to { transform: scaleX(1); } }
body.twg-no-motion .gs-word { opacity: 1; transform: none; animation: none; }
body.twg-no-motion .gs-underline { transform: scaleX(1); animation: none; }

/* ---------- Value tree ---------- */
.vt-root { text-align: center; }
.vt-stem { width: 1px; height: 40px; margin: 8px auto 0; background: linear-gradient(to bottom, var(--color-primary), var(--n-300)); }
.vt-fork { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; position: relative; padding-top: 28px; }
.vt-fork::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 1px; background: var(--n-300); }
.vt-branch { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px 28px 24px; height: 100%; }
.vt-connector { position: absolute; top: -28px; left: 50%; width: 1px; height: 28px; background: var(--n-300); }
.vt-branch-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 0 0 18px; color: var(--color-primary); }
.vt-leaves { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vt-leaf { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .005em; color: var(--color-fg); padding: 11px 12px; border-radius: var(--radius-sm); transition: background var(--dur-med) var(--ease-out); }
.vt-leaf:hover { background: var(--blue-50); }
.vt-leaf:hover .vt-icon-wrap { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.vt-icon-wrap { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-md); border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--color-primary); transition: all var(--dur-med) var(--ease-out); }
@media (max-width: 860px) { .vt-fork { grid-template-columns: 1fr; gap: 28px; } .vt-fork::before { display: none; } .vt-connector { display: none; } }
