:root {
  --brand: #173f35;
  --brand-dark: #0f2c25;
  --text: #1c1c1c;
  --muted: #5e5e5e;
  --line: #dcdcd7;
  --bg: #ffffff;
  --bg-alt: #f4f3ef;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.label { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--brand-dark); }
.btn { display: inline-block; padding: 14px 28px; background: var(--brand); color: #fff; text-decoration: none; font: 600 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--brand); cursor: pointer; }
.btn:hover { background: var(--brand-dark); }
.btn.light { background: #fff; color: var(--brand); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.outline { background: transparent; color: #fff; border-color: #fff; }
.btn.outline:hover { background: #fff; color: var(--brand); }
.btn.light:focus-visible, .btn.outline:focus-visible { outline-color: #fff; }

/* Utility bar + header */
.utility { background: var(--brand); color: #fff; font-size: 14px; }
.utility .wrap { display: flex; justify-content: flex-end; gap: 28px; height: 38px; align-items: center; }
.utility a { text-decoration: none; opacity: .9; }
.utility a:hover { opacity: 1; text-decoration: underline; }
header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { font: 400 27px/1 "Raleway", var(--sans); text-decoration: none; color: var(--text); letter-spacing: -.01em; }
.logo span { color: var(--brand); }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 16px; font-weight: 600; }
.nav ul a:hover { color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; font: 600 15px var(--sans); color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; background: #222 url("images/city-of-london-2000.jpg") center 40% / cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,17,.8) 0%, rgba(10,20,17,.5) 55%, rgba(10,20,17,.2) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); max-width: 720px; }
.hero p { font-size: 21px; max-width: 580px; margin: 24px 0 36px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Intro */
.intro { padding: 96px 0 88px; text-align: center; }
.intro h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 24px; }
.intro p { max-width: 780px; margin: 0 auto 1em; color: var(--muted); font-size: 19px; }

/* How can we help */
.help { background: var(--bg-alt); padding: 80px 0; }
.help-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; }
.help h2 { font-size: 36px; }
.help ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.help li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid #cfcfc8; text-decoration: none; font: 400 22px/1.3 var(--serif); }
.help li a::after { content: "→"; font-family: var(--sans); color: var(--brand); transition: transform .2s; }
.help li a:hover { color: var(--brand); }
.help li a:hover::after { transform: translateX(4px); }

/* Section heads */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 48px; align-items: end; }
.split-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.split-head p { color: var(--muted); margin: 0; }

/* Expertise */
.expertise { padding: 96px 0; }
.sectors { display: flex; flex-wrap: wrap; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); margin: 0 0 56px; padding: 0; list-style: none; }
.sectors li { flex: 1 1 0; min-width: 200px; padding: 20px 24px 20px 0; font: 400 22px/1.3 var(--serif); }
.sectors-title { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.practice { border-top: 1px solid var(--line); padding-top: 24px; }
.practice h3 { font-size: 24px; margin-bottom: 10px; }
.practice p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.practice ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.practice li { padding: 6px 0; border-top: 1px dashed var(--line); }

/* Services */
.services { background: var(--bg-alt); padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.services-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; position: sticky; top: 112px; }
.services-body h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 32px; }
details { border-top: 1px solid #cfcfc8; }
details:last-of-type { border-bottom: 1px solid #cfcfc8; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font: 400 22px/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-right: 40px; margin: -4px 0 22px; }

/* Approach + process */
.approach { padding: 96px 0; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.approach-grid div { border-top: 2px solid var(--text); padding-top: 24px; }
.approach-grid h3 { font-size: 24px; margin-bottom: 12px; }
.approach-grid p { color: var(--muted); margin: 0; }
.process { margin-top: 80px; }
.process h3 { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.process ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process li { counter-increment: step; padding: 24px 24px 0 0; }
.process li::before { content: counter(step); display: block; font: 600 13px/1 var(--sans); color: var(--brand); margin-bottom: 12px; }
.process b { display: block; font: 400 20px/1.3 var(--serif); margin-bottom: 8px; }
.process span { display: block; color: var(--muted); font-size: 16px; }

/* Founder */
.founder { background: var(--bg-alt); padding: 96px 0; }
.founder-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.founder-grid > div { max-width: 780px; }
.headshot { width: 220px; height: 220px; object-fit: cover; background: #d9d8d2; }
.founder h2 { font-size: clamp(32px, 3.6vw, 44px); }
.founder .role { font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 28px; }
.founder p { color: #3c3c3c; }
.founder-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }

/* Candidates */
.candidates { padding: 96px 0; }
.cand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.candidates h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.candidates p { color: var(--muted); }
.cand-points { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.cand-points li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cand-points b { display: block; font: 400 21px/1.3 var(--serif); margin-bottom: 6px; }
.cand-points span { color: var(--muted); font-size: 17px; }

/* CTA band */
.cta { background: var(--brand); color: #fff; padding: 72px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 640px; }
.cta p { margin: 12px 0 0; color: rgba(255,255,255,.85); }

/* Contact */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contact h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.contact-info p { color: var(--muted); }
.contact-info dl { margin: 32px 0 0; }
.contact-info dt { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.contact-info dd { margin: 8px 0 0; font-size: 19px; }
.contact-info dd a { text-decoration: none; color: var(--brand); font-weight: 600; overflow-wrap: anywhere; }
form { display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
input, select, textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid #b9b9b2; border-radius: 0; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
textarea { min-height: 150px; resize: vertical; }
.consent { font-size: 14px; color: var(--muted); margin: 0; }
form .btn { justify-self: start; }

/* Footer */
footer { background: #111; color: #c9c9c4; font-size: 15px; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid #2c2c2c; }
footer .logo { color: #fff; }
footer .logo span { color: #8fb8a8; }
footer h2 { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer :focus-visible { outline-color: #fff; }
.legal { display: grid; gap: 8px; padding-top: 24px; font-size: 13px; color: #9a9a95; }
.legal-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Text pages (privacy etc.) */
.page-head { background: var(--bg-alt); padding: 72px 0 56px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); }
.page-head p { color: var(--muted); margin: 16px 0 0; }
.prose { max-width: 780px; padding: 64px 32px 96px; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3c3c3c; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand); font-weight: 600; }

@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .nav ul { display: none; }
  .menu-btn { display: block; }
  header.open .nav ul { display: flex; flex-direction: column; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0 24px 12px; }
  header.open .nav ul a { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .utility { display: none; }
  .hero { min-height: 520px; }
  .help-grid, .split-head, .founder-grid, .contact-grid, .cand-grid { grid-template-columns: 1fr; gap: 32px; }
  .help ul { grid-template-columns: 1fr; }
  .practices { grid-template-columns: 1fr 1fr; }
  .sectors li { flex-basis: 50%; }
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-img { position: static; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .process ol { grid-template-columns: 1fr; }
  .process li { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .headshot { width: 160px; height: 160px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { background-image: url("images/city-of-london-1000.jpg"); }
  .wrap { padding: 0 16px; }
  .prose { padding: 48px 16px 72px; }
  .logo { font-size: 24px; }
  .hero p { font-size: 18px; }
  .intro, .expertise, .founder, .approach, .contact, .candidates { padding: 64px 0; }
  .help { padding: 56px 0; }
  .help li a, summary { font-size: 19px; }
  .practices { grid-template-columns: 1fr; gap: 32px; }
  .sectors li { flex-basis: 100%; padding-right: 0; border-bottom: 1px solid var(--line); }
  .sectors li:last-child { border-bottom: 0; }
  .row { grid-template-columns: 1fr; }
}
