/* Sherwood Global Partners — static site styles */
:root {
  --navy: #0b0e4a;
  --navy-deep: #06093a;
  --navy-foot: #232665;
  --blue: #1b21b3;
  --blue-bright: #2a4de6;
  --green: #98bd48;
  --white: #fff;
  --w75: rgba(255, 255, 255, .75);
  --wrap: 980px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.g { color: var(--green); font-style: normal; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 124px; }
.logo img { width: 209px; height: 40px; }
.nav ul { display: flex; gap: 40px; align-items: center; }
.nav a { font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--w75); text-decoration: none; padding: 10px 0; display: block; transition: color .2s; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--green); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: -18px; background: #fff; padding: 6px 0; min-width: 150px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.nav .sub a { color: var(--navy); font-weight: 400; font-size: 15px; letter-spacing: 0; padding: 9px 18px; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { color: var(--blue); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; background: var(--blue) url(bg.jpg) center top / cover no-repeat; padding: 318px 0 110px; }
.hero.sub { padding: 236px 0 78px; }
.hero.tall { padding: 236px 0 62px; }
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
.hero h1 + p, .hero .lead { margin-top: 12px; font-size: 20px; line-height: 1.5; max-width: 650px; }
.hero .lead + .lead { margin-top: 30px; }
.hero h1 + .h1b { margin-top: 0; font-size: 36px; line-height: 1.35; font-weight: 700; color: var(--green); max-width: none; }
.hero .h1b + .lead { margin-top: 18px; max-width: 940px; }
.hero.val { background-image: linear-gradient(rgba(70, 72, 190, .55), rgba(70, 72, 190, .55)), url(bg.jpg); padding: 300px 0 60px; }
.btn { display: inline-block; margin-top: 28px; padding: 12px 32px; border: 1px solid #fff; color: #fff; font-size: 16px; line-height: 1.3; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover, .btn:focus-visible { background: #fff; color: var(--navy); }
.btn.pill { background: #fff; color: #6f9224; font-weight: 700; font-size: 15px; border-radius: 16px; padding: 18px 32px; border-color: #1a1a1a; }
.btn.pill:hover, .btn.pill:focus-visible { background: var(--green); color: var(--navy); border-color: var(--green); }

/* Sections */
.sec { padding: 96px 0; }
.sec.tight { padding: 70px 0; }
.sec.flush-top { padding-top: 0; }
.sec.blue { background: var(--blue-bright); padding: 44px 0 56px; }
.sec.deep { background: var(--navy-deep); }
h2 { font-size: 40px; line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
h2.md { font-size: 34px; }
.sec h2 + p, .sec h2 + .grid, .sec h2 + ul { margin-top: 26px; }
.sec h2 + div.prose { margin-top: 18px; }
.prose { max-width: 620px; font-size: 16px; line-height: 1.75; }
.prose.wide { max-width: 900px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 22px; }
.prose ul { list-style: disc; padding-left: 30px; }
.prose li + li { margin-top: 2px; }
.prose.lg { font-size: 18px; line-height: 1.6; max-width: 700px; }
.mission { font-size: 16px; line-height: 1.75; max-width: 610px; }
.mission.lg { font-size: 24px; line-height: 1.75; font-weight: 300; max-width: none; }
.stat-line { margin-top: 64px; font-size: 16px; line-height: 1.75; max-width: 620px; }

/* Grids */
.grid { display: grid; gap: 40px 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* Stage columns (home) */
.stages { border-top: 12px solid rgba(0, 0, 0, .25); }
.stage { position: relative; padding: 14px 10px 4px 22px; border-left: 3px solid #fff; margin-top: 18px; }
.stage::before { content: ""; position: absolute; left: -12px; top: -30px; width: 56px; height: 12px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.stage h3, .card h3 { font-size: 20px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.stage li { font-size: 15px; line-height: 1.65; }

/* Cards with left rule */
.card { padding: 0 10px 4px 20px; border-left: 3px solid #fff; }
.card h3 { text-transform: uppercase; font-size: 19px; margin-bottom: 20px; }
.card p { font-size: 14px; line-height: 1.7; }
.card.full { grid-column: 1 / -1; }
.cards { gap: 90px 26px; }

/* Icon features */
.feat img { height: 24px; width: auto; margin-bottom: 18px; }
.feat h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 14px; line-height: 1.7; max-width: 215px; }
.feat.big img { height: 48px; margin-bottom: 26px; }
.feat.big h3 { font-size: 28px; margin-bottom: 14px; }
.feat.big p { font-size: 15px; line-height: 1.85; max-width: none; }
.sec.blue .feat h3 { margin-bottom: 18px; }

/* Stats */
.stats { margin-top: 18px; }
.stats strong { display: block; font-size: 30px; line-height: 1.2; color: var(--green); }
.stats span { font-size: 15px; font-weight: 700; }

/* Map + offices */
.map { position: relative; margin: 44px 0 46px; background: #080b3c; }
.map svg { display: block; width: 100%; height: auto; overflow: hidden; }
.map .land { fill: #2440d8; }
.map .pin { fill: var(--green); stroke: var(--navy); stroke-width: 1; cursor: pointer; }
.map .tip { position: absolute; transform: translate(-50%, -100%); margin-top: -34px; background: #fff; color: var(--navy); font-size: 13px; line-height: 1.35; padding: 8px 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.map .tip.on { opacity: 1; }
.office h3 { font-size: 20px; line-height: 1.5; font-weight: 700; }
.office h3 span { display: block; color: var(--green); }
.office p { margin-top: 22px; font-size: 13px; line-height: 1.6; }
.office p strong { display: block; }

/* Lists */
.cols2 { columns: 2; column-gap: 60px; max-width: 620px; list-style: disc; padding-left: 34px; margin-top: 30px; font-size: 15px; }
.cols2 li { margin-bottom: 14px; break-inside: avoid; }
.quote { max-width: 760px; margin-top: 40px; }
.quote h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--green); }
.quote p { font-size: 16px; line-height: 1.75; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 14px; }
.portfolio h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }

/* Contact form */
.contact h2 + p { max-width: 620px; font-size: 16px; line-height: 1.75; }
.contact .note { margin-top: 44px; max-width: 540px; font-size: 16px; line-height: 1.75; }
form.enquiry { margin-top: 20px; max-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
form.enquiry label { display: block; font-size: 14px; line-height: 1.4; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry input, form.enquiry textarea { display: block; width: 100%; margin-top: 7px; padding: 9px 12px; border: 1px solid #fff; border-radius: 0; background: #fff; color: #111; font: 400 15px/1.4 var(--font); }
form.enquiry input { height: 40px; }
form.enquiry textarea { height: 92px; resize: vertical; }
form.enquiry input:focus, form.enquiry textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
form.enquiry button { justify-self: start; width: 164px; height: 42px; border: 0; background: var(--green); color: var(--navy); font: 400 14px var(--font); cursor: pointer; transition: background .2s; }
form.enquiry button:hover, form.enquiry button:focus-visible { background: #fff; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy-foot); padding: 26px 0 30px; font-size: 13px; line-height: 1.75; }
.site-footer strong { font-weight: 700; }
.site-footer .sep { padding: 0 7px; }

/* Legal pages */
.legal-head { position: static; background: var(--navy); }
.legal { background: #fff; color: #0b0e4a; padding: 70px 0 90px; }
.legal .wrap { max-width: 848px; }
.legal h1 { font-size: 34px; line-height: 1.3; margin-bottom: 30px; }
.legal h2 { font-size: 19px; line-height: 1.4; margin: 34px 0 12px; letter-spacing: 0; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 26px; margin-bottom: 14px; }
.legal a { color: #1b21b3; word-break: break-word; }

/* Responsive */
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .cards { gap: 50px 26px; }
  .feat p { max-width: none; }
}
@media (max-width: 760px) {
  .site-header .wrap { height: 84px; }
  .logo img { width: 167px; height: 32px; }
  .nav-toggle { display: block; position: relative; z-index: 31; }
  .nav { position: fixed; inset: 0; background: var(--navy); padding: 110px 24px 40px; transform: translateX(100%); transition: transform .25s; z-index: 30; overflow-y: auto; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav a { font-size: 22px; letter-spacing: .02em; color: #fff; padding: 10px 0; }
  .nav .sub { display: block; position: static; background: none; box-shadow: none; padding: 0 0 0 18px; }
  .nav .sub a { color: var(--w75); font-size: 18px; padding: 8px 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero, .hero.sub, .hero.tall, .hero.val { padding: 150px 0 64px; }
  .hero h1, h2 { font-size: 30px; }
  .hero h1 + .h1b { font-size: 24px; }
  h2.md { font-size: 27px; }
  .hero h1 + p, .hero .lead { font-size: 17px; }
  .sec { padding: 64px 0; }
  .sec.flush-top { padding-top: 0; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .mission.lg { font-size: 19px; }
  .feat.big h3 { font-size: 24px; }
  .cols2 { columns: 1; }
  .map .tip { font-size: 11px; padding: 5px 8px; margin-top: -18px; }
}
@media (max-width: 480px) {
  .g4 { grid-template-columns: 1fr; }
  .stats.g4, .offices.g4 { grid-template-columns: repeat(2, 1fr); }
  form.enquiry { grid-template-columns: 1fr; }
  form.enquiry label { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* v2 additions */
.btn.solid { background: var(--green); border-color: var(--green); color: var(--navy); font-weight: 700; }
.btn.solid:hover, .btn.solid:focus-visible { background: #fff; border-color: #fff; }
.btn + .btn { margin-left: 14px; }
.sec.statsband { background: var(--blue-bright); padding: 34px 0 38px; }
.sec.statsband .stats { margin-top: 0; }
.sec.statsband .stats strong { color: #fff; font-size: 34px; }
.band { background: linear-gradient(rgba(11, 14, 74, .5), rgba(11, 14, 74, .5)), var(--blue) url(bg.jpg) center / cover no-repeat; padding: 96px 0; }
.band p { font-size: 28px; line-height: 1.5; font-weight: 300; max-width: 860px; }
.band p .g { font-weight: 700; }
.tcards { margin-top: 34px; align-items: stretch; }
.tcard { margin: 0; background: rgba(255, 255, 255, .06); border-top: 3px solid var(--green); padding: 26px 24px 28px; display: flex; flex-direction: column; }
.tcard h3 { font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.tcard p { font-size: 15px; line-height: 1.7; flex: 1; }
.tcard cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; font-size: 13px; }
.panels { margin-top: 34px; gap: 26px; }
.panel { background: rgba(11, 14, 74, .35); padding: 32px 30px 36px; }
.panel h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.panel p { font-size: 17px; line-height: 1.6; }
.panel .btn { margin-top: 24px; }
.feat.wide p { max-width: none; font-size: 15px; }
.contact a, .prose a { color: inherit; }
@media (max-width: 760px) {
  .band { padding: 64px 0; }
  .band p { font-size: 21px; }
  .btn + .btn { margin-left: 10px; }
  .nav ul { gap: 6px; }
}
@media (max-width: 420px) {
  .hero .btn { display: block; text-align: center; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
}
