/* Virtueus Advisors — base styles */

/* Lato, self-hosted (SIL Open Font License) so no visitor data goes to third-party font servers */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("/fonts/lato-900.woff2") format("woff2"); }
:root {
  --ink: #0b2545;          /* top bar / dark bands */
  --navy: #0b2545;         /* headings on light */
  --gold: #b8892b;         /* accent on dark */
  --gold-ink: #8a6516;     /* accent text on light (AA) */
  --gold-soft: #f6efe0;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #dfe4ea;
  --text: #1d2733;
  --muted: #5b6876;
  --radius: 10px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px rgba(11,37,69,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Lato", sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .8rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #cfa24a; }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.nav { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
/* Official TM logo (SVG, outlined Lato) */
.brand-logo { height: 48px; width: auto; display: block; }
.site-footer .brand-logo { height: 56px; }
/* Wordmark recreated in Lato so it works on dark backgrounds (logo.png is used on light ones) */
.wordmark { display: inline-flex; flex-direction: column; font-family: "Lato", sans-serif; line-height: 1; color: #fff; }
.wm-top { font-weight: 900; font-size: 1.6rem; letter-spacing: -.01em; }
.wm-top b { color: var(--gold); font-weight: 900; }
.wm-sub { font-weight: 300; font-size: .74rem; letter-spacing: .42em; margin-top: 3px; padding-left: 2px; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; color: #dbe3ec; font: inherit; font-size: .93rem; font-weight: 500; background: none; border: 0; cursor: pointer; text-decoration: none; border-radius: 6px; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > button[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.chev { width: 10px; height: 10px; transition: transform .2s; }
button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-btn { background: none; border: 0; color: #dbe3ec; cursor: pointer; padding: 8px; border-radius: 6px; display: inline-flex; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { padding: .55rem 1.1rem; font-size: .88rem; }
.burger { display: none; }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 64px; background: #fff; color: var(--text); border-top: 3px solid var(--gold); box-shadow: 0 24px 48px rgba(11,37,69,.18); display: none; }
.mega.open { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 32px 24px 36px; }
.mega h4 { margin: 0 0 10px; font-size: .95rem; color: var(--navy); }
.mega h4 a { text-decoration: none; }
.mega h4 a:hover { color: var(--gold-ink); }
.menu-contact { display: none; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.mega li a:hover { color: var(--gold-ink); }
.mega-feature { background: var(--mist); border-radius: var(--radius); padding: 20px; }
.mega-feature p { font-size: .9rem; color: var(--muted); }
.mega-feature a { color: var(--gold-ink); font-weight: 600; font-size: .9rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #eef3f6 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding: 72px 24px 80px; }
.hero h1 em { font-style: normal; color: var(--gold-ink); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 500px; justify-self: end; width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* Statement band */
.band { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.band .wrap { padding-top: 84px; padding-bottom: 84px; position: relative; }
.band h2 { color: #fff; font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.band p { color: #b9c6d4; max-width: 68ch; margin: 0 auto 30px; font-size: 1.05rem; }
.band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.band-rule { height: 6px; background: linear-gradient(90deg, var(--gold), #d9b36a); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .lede { margin: 0; }
.link-arrow { color: var(--gold-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service.cta { background: var(--gold-soft); border-color: #ead9b5; justify-content: center; }
.service h3 a { text-decoration: none; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service.lead { background: var(--ink); border-color: var(--ink); color: #c9d4e0; }
.service.lead h3 { color: #fff; }
.service.lead .tag { background: var(--gold); color: #fff; }
.service .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; margin-bottom: 18px; }
.service.lead .icon { background: rgba(184,137,43,.18); color: var(--gold); }
.service ul { padding-left: 18px; margin: 4px 0 20px; font-size: .92rem; }
.service ul li { margin-bottom: 4px; }
.service p { font-size: .95rem; }
.service .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--gold-ink); text-decoration: none; }
.service.lead .more { color: var(--gold); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--mist); color: var(--muted); margin-bottom: 10px; align-self: flex-start; }

/* Insights */
.insights { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-art { aspect-ratio: 16 / 9; background: var(--ink); position: relative; }
.card.feature .card-art { aspect-ratio: 16 / 10; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .94rem; }
.meta { margin-top: auto; font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.meta b { color: var(--text); font-weight: 600; }
.sample { font-size: .72rem; color: #a05a00; background: #fff4e0; border-radius: 4px; padding: 2px 6px; margin-left: auto; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { border-top: 2px solid var(--gold); padding-top: 20px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: "Lato", sans-serif; font-weight: 700; color: var(--gold-ink); font-size: .9rem; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: .92rem; font-weight: 500; color: var(--navy); }

/* Leadership */
.lead-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, #dfe8ee, #c8d5de); display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 20px; }
/* Monogram avatar in logo colours (used until photos are added) */
.avatar { aspect-ratio: 1 / 1; max-width: 280px; width: 100%; border-radius: var(--radius); background: radial-gradient(circle at 70% 25%, #163a63 0%, var(--ink) 65%); position: relative; display: grid; place-items: center; overflow: hidden; }
.avatar::before { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(184,137,43,.55); border-radius: 6px; }
.avatar::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -90px; border-radius: 50%; border: 1px solid rgba(184,137,43,.35); box-shadow: 0 0 0 30px rgba(184,137,43,.06); }
.avatar span { font-family: "Lato", sans-serif; font-weight: 900; font-size: clamp(3.5rem, 8vw, 5.5rem); color: #fff; letter-spacing: -.02em; position: relative; z-index: 1; }
.avatar span b { color: var(--gold); font-weight: 900; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.creds span { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: var(--gold-soft); color: var(--gold-ink); }

/* Contact */
.contact { background: var(--ink); color: #c9d4e0; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.contact-list svg { flex: none; color: var(--gold); margin-top: 3px; }
.contact-list a { color: #fff; }
form { background: #fff; border-radius: var(--radius); padding: 32px; color: var(--text); }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
input, select, textarea { font: inherit; font-size: .95rem; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.privacy-notice { background: var(--mist); border-left: 3px solid var(--gold); border-radius: 6px; padding: 12px 14px; margin: 4px 0 14px; font-size: .82rem; color: var(--text); }
.privacy-notice strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: .85rem; }
.privacy-notice p { margin: 0 0 6px; }
.privacy-notice p:last-child { margin: 0; }
.privacy-notice a { color: var(--gold-ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { width: auto; margin-top: 3px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* Footer */
.site-footer { background: #071a33; color: #8d9bab; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 56px 24px 40px; }
.site-footer h4 { color: #fff; font-size: .9rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c6d4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-base { border-top: 1px solid #15304f; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.disclaimer { font-size: .78rem; color: #6f7f91; max-width: 80ch; padding: 0 24px 28px; margin: 0 auto; max-width: var(--max); }

/* Inner pages */
.page-hero { background: var(--ink); color: #c9d4e0; position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero p { font-size: 1.1rem; max-width: 62ch; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero-art { position: absolute; right: -140px; top: -140px; width: 520px; opacity: .3; pointer-events: none; }
.crumbs { font-size: .82rem; margin-bottom: 18px; color: #8fa3ba; }
.crumbs a { color: #c9d4e0; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.offer-list { display: grid; gap: 16px; }
.offer { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 20px 22px; background: #fff; scroll-margin-top: 90px; }
.offer h3 { margin-bottom: 6px; }
.offer p { color: var(--muted); margin: 0; font-size: .96rem; }
.offer ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.aside-box { background: var(--mist); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.aside-box h3 { font-size: 1rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0 0 20px; }
.aside-box li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.aside-box li:last-child { border-bottom: 0; }
.aside-box li a { text-decoration: none; color: var(--navy); }
.aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--gold-ink); font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { border-top: 3px solid var(--gold); padding-top: 18px; }
.value p { color: var(--muted); font-size: .95rem; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.member { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.member .portrait { border-radius: 0; aspect-ratio: 4 / 3.4; }
.member-body { padding: 20px; }
.member-body p { color: var(--muted); font-size: .93rem; margin: 0 0 8px; }
.role { color: var(--gold-ink) !important; font-weight: 700; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--text); }
.note-box { background: #fff4e0; border: 1px solid #f0d9a8; color: #6b4a00; border-radius: 8px; padding: 14px 18px; font-size: .9rem; margin-bottom: 28px; }
.cta-band { background: var(--gold-soft); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: 1fr 1fr; }
  .insights .feature { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .aside-box { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu, .nav-cta, .nav-right .search { display: none; }
  .menu-contact { display: list-item; }
  .burger { display: inline-flex; }
  .site-header.menu-open .menu { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink); padding: 8px 16px 16px; border-top: 1px solid #1a3a60; max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-header.menu-open .menu > li > a, .site-header.menu-open .menu > li > button { width: 100%; padding: 12px 8px; font-size: 1rem; }
  .mega { position: static; box-shadow: none; border-top: 0; border-radius: 8px; margin: 4px 0 8px; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 16px 56px; gap: 32px; }
  .hero-art { justify-self: center; max-width: 340px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 64px 0; }
  .lead-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait, .avatar { max-width: 220px; }
}
@media (max-width: 600px) {
  .services, .insights, .steps, .values { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; padding: 40px 16px 28px; }
  form { padding: 22px; }
  .band .wrap { padding-top: 60px; padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
