@font-face { font-family: Inter; src: url('/webfonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --ink: #10254a; --muted: #4e627c; --blue: #284cde; --line: #d9e3ef; --pale: #eef4ff; --paper: #f8faff; }
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body > main { flex: 1; }
.split-hero { display: grid; align-items: center; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; }
h1, h2 { letter-spacing: -.055em; font-weight: 650; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2.15rem, 3.7vw, 3.75rem); }
h3 { font-size: 1.35rem; font-weight: 640; letter-spacing: -.035em; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3467e9; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 9vw, 136px))); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { clip-path: none; z-index: 20; width: auto; height: auto; padding: .7rem 1rem; background: white; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner, #main-nav, .footer-inner, .footer-inner nav { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 24px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { object-fit: contain; }
#main-nav { gap: clamp(19px, 3vw, 42px); }
#main-nav a, .footer-inner a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 525; }
#main-nav a { padding: 12px 0; }
#main-nav a[aria-current="page"]:not(.nav-contact), #main-nav a:hover, .footer-inner a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
#main-nav .nav-contact, .button {
  background: var(--blue); border: 1px solid var(--blue); color: #fff; border-radius: 30px; padding: 10px 21px;
  text-decoration: none; font-size: .92rem; font-weight: 580; display: inline-flex; align-items: center; justify-content: center;
}
#main-nav .nav-contact:hover, .button:hover { color: #fff; background: #193aa8; text-decoration: none; }
.menu-toggle { color: var(--ink); align-items: center; gap: 7px; background: transparent; border: 1px solid var(--line); border-radius: 22px; padding: 7px 12px; }
.menu-toggle .icon { width: 18px; height: 18px; }
.section { padding-block: clamp(45px, 5vw, 76px); }
.kicker, .entry-topic { color: #425e99; font-weight: 600; letter-spacing: .1em; font-size: .76rem; text-transform: uppercase; }
.kicker { margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: #4164dd; }
.accent { color: #4569ef; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; background: #eaf0f9; padding: 4px; border-radius: 24px; }
.filters button { border: none; border-radius: 19px; color: #43546e; background: transparent; padding: 6px 14px; font-size: .86rem; font-weight: 520; }
.filters button[aria-pressed="true"] { color: white; background: #1b3464; }
.filters button:hover:not([aria-pressed="true"]) { background: #dbe5f7; }
.directory-grid, .collection-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry, .quote-card, .collection-card, .panel { border: 1px solid var(--line); border-radius: 16px; background: white; }
.entry {
  display: grid; grid-template-columns: auto 1fr; gap: 0 13px; align-content: start;
  color: var(--ink); text-decoration: none; padding: clamp(19px, 2.2vw, 30px); min-width: 0;
}
.entry:hover, .collection-card:has(a:hover) { border-color: #8da9dd; box-shadow: 0 5px 20px #213f7310; }
.entry:hover h3 { color: var(--blue); }
.entry-mark { grid-row: span 2; display: grid; place-items: center; align-self: center; width: 50px; height: 50px; color: #345bd0; background: #e6edff; border: 1px solid #d7e2ff; border-radius: 13px; }
.entry-mark .icon { width: 26px; height: 26px; }
.mark-litode, .mark-explainable { background: #ececff; color: #5157aa; border-color: #dbdcff; }
.mark-advec, .mark-payattention { background: #e2f4fb; color: #226e9e; border-color: #cce8f4; }
.entry-topic { align-self: end; font-size: .75rem; letter-spacing: .075em; }
.entry h3 { margin-top: 2px; font-size: 1.5rem; }
.entry p { grid-column: 1 / -1; color: var(--muted); line-height: 1.6; margin-top: 19px; }
.site-footer { border-top: 1px solid var(--line); background: #eef3fc; }
.footer-inner { padding-block: 30px; }
.footer-inner small { display: block; font-size: .8rem; color: var(--muted); }
.footer-inner nav { flex-wrap: wrap; gap: 12px 25px; }
.page-intro, .split-hero { background: linear-gradient(115deg, #eaf2ff, #f6f9ff 80%); border-bottom: 1px solid var(--line); }
.page-intro .wrap { padding-block: clamp(40px, 5.2vw, 80px); }
.lead { color: #3d5575; font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 62ch; margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); align-items: center; gap: clamp(28px, 7vw, 100px); }
.team-photo { border-radius: 22px; overflow: hidden; max-width: 440px; justify-self: center; background: #dde7f7; }
.team-photo img { width: 100%; height: auto; }
.split .button { margin-top: 28px; }
.case-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card { overflow: hidden; }
.case-brand { min-height: 85px; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--pale); border-bottom: 1px solid var(--line); }
.case-brand span { font-weight: 620; color: #243d6e; }
.company-logo { width: 110px; height: 48px; max-width: 45%; padding: 5px 8px; object-fit: contain; border-radius: 6px; background: white; }
.company-logo.on-dark { background: var(--ink); }
.post-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case-content .post-brand { margin-bottom: 14px; }
.post-brand .kicker { margin: 0; }
.case-content, .quote-card, .panel-pad { padding: clamp(20px, 3vw, 35px); }
.case-content h3 { font-size: 1.55rem; margin-bottom: 12px; }
.case-content p, .collection-card p, .quote-card figcaption { color: var(--muted); }
.case-content small { display: block; margin-top: 20px; color: #425575; font-size: .86rem; }
.client-section { background: #eaf1ff; border-top: 1px solid var(--line); }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.quote-card blockquote { font-size: 1.05rem; line-height: 1.6; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .86rem; }
.quote-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-card strong { display: block; color: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(25px,6vw,85px); align-items: start; }
.contact-layout h2, .panel-pad h2 { font-size: 1.65rem; margin-bottom: 22px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
input, textarea { width: 100%; border-radius: 8px; border: 1px solid #adbed3; background: #fcfdff; color: var(--ink); padding: 10px 12px; }
label { display: block; font-size: .9rem; font-weight: 580; }
label input, label textarea { display: block; margin-top: 5px; }
label small { font-weight: 400; color: var(--muted); }
textarea { resize: vertical; min-height: 110px; }
form .button { margin-top: 20px; }
.offices { padding-block: 18px; }
.office-photo { margin-bottom: 20px; width: min(100%, 320px); height: auto; aspect-ratio: 2.6; object-fit: cover; border-radius: 10px; filter: saturate(.75); }
.office { display: flex; gap: 14px; padding: 21px 0; border-top: 1px solid var(--line); }
.office .icon { color: var(--blue); }
address { font-style: normal; color: var(--muted); margin: 7px 0; }
.office a { font-size: .9rem; }
.collection-card { overflow: hidden; min-width: 0; }
.collection-card img.event-art { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #ecf1fa; }
.collection-copy { padding: 20px; }
.collection-copy h2, .collection-copy h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.03em; }
.collection-copy a { color: var(--ink); text-decoration: none; }
.collection-copy a:hover { color: var(--blue); text-decoration: underline; }
.collection-copy p { margin-top: 6px; }
.team-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-credits a { color: var(--blue); text-decoration: underline; }
.video-credits small { display: block; color: var(--muted); }
.video-frame { width: 100%; min-height: 200px; display: block; aspect-ratio: 16/9; border: 0; background: #102448; }
.podcast-list { max-width: 850px; margin: auto; }
.episode { padding: 22px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.episode h2 { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; }
.episode h2 a { text-decoration: none; }
.episode summary { cursor: pointer; color: var(--muted); margin-block: 8px; }
.search-form { display: flex; max-width: 42rem; gap: 12px; }
.search-form .button { margin: 0; }
.short-list { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; overflow-wrap: anywhere; }
th, td { padding: 11px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .directory-grid, .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 25px; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 100px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  #main-nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 12px; }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + #main-nav { display: none; }
  #main-nav a { font-size: .86rem; }
  #main-nav .nav-contact { padding: 7px 15px; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading { margin-bottom: 21px; }
  .filters button { padding: 7px 12px; }
  .directory-grid, .collection-grid, .case-list, .quotes, .contact-layout, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .team-photo { width: min(100%, 400px); }
  .footer-inner nav { gap: 10px 18px; }
}
@media (min-width: 671px) { .menu-toggle { display: none; } }
@media (max-width: 440px) { .field-grid { grid-template-columns: 1fr; } }
.intro-link { display: inline-block; margin-top: 18px; font-weight: 560; }
.form-error { margin-bottom: 16px; color: #772e36; }
.episode { display: flex; align-items: flex-start; gap: 18px; }
.episode > div { flex: 1; min-width: 0; }
.episode > img { border-radius: 10px; width: 60px; height: 60px; object-fit: cover; }
.episode p { white-space: pre-line; }
.legal-document { max-width: 48rem; margin: auto; padding: 40px 22px 64px; overflow-wrap: anywhere; }
.legal-document h1 { font-size: clamp(2.25rem, 5vw, 3.3rem); margin: 22px 0; }
.legal-document h2 { font-size: 1.55rem; margin: 32px 0 12px; }
.legal-document p { margin: 12px 0; }

.post-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.post-hero h1 { margin-top: 20px; font-size: clamp(2.25rem, 4.3vw, 4.1rem); }
.post figure { margin: 0; }
.post figure img { width: 100%; height: auto; }
.post-hero figure img { border-radius: 15px; }
.post figcaption { padding-top: 10px; line-height: 1.5; }
.post figcaption small { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; }
.post-body { width: min(100% - 36px, 46rem); margin: 0 auto; padding-bottom: 60px; }
.post-body section { padding: 32px 0 0; border-top: 1px solid var(--line); margin-bottom: 32px; }
.post-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.post-body p { margin: 14px 0; line-height: 1.7; }
.post-body .post-figure { margin: 26px 0; }
.post-figure img { background: white; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 760px) { .post-hero { grid-template-columns: 1fr; } }
