/* Maule Group Talent. Trade paper layout. */

:root {
  --paper: #F2EFE7;
  --ink: #141414;
  --slate: #3A4048;
  --flag: #F4C20D;
  --hair: rgba(20, 20, 20, 0.28);
  --head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 75rem;
  --gut: 16px;
  --label: 13rem;
}

@media (min-width: 720px) {
  :root { --gut: 32px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

@media (min-width: 1000px) {
  body { font-size: 1.1875rem; }
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

main a:hover {
  background: var(--flag);
  color: var(--ink);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.notice :focus-visible { outline-color: var(--ink); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.skip {
  position: absolute;
  left: var(--gut);
  top: -10rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--head);
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 0.5rem; }

/* Masthead */

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 1.5rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--slate);
  border-bottom: 1px solid var(--hair);
}
.strip p { margin: 0; padding: 0.55rem 0; }
.strip a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.flagrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.1rem 0 1rem;
  border-bottom: 4px solid var(--ink);
}

.flag {
  display: inline-block;
  background: var(--flag);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.1rem + 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.3em 0.42em 0.26em;
}

.ear {
  margin: 0;
  max-width: 19rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--slate);
}
@media (min-width: 720px) {
  .ear { text-align: right; }
}

.sections ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.35rem;
}
.sections a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.sections a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.28em; }
.sections a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.28em; }

/* Page heads */

main { display: block; }

.pagehead { padding: 2.5rem 0 2rem; }
.pagehead h1 {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.6rem);
  max-width: 17ch;
}
.pagehead.wide h1 { max-width: 24ch; }

.standfirst {
  font-size: 1.3rem;
  line-height: 1.45;
  max-width: 38rem;
  margin-top: 1.1rem;
}
@media (min-width: 1000px) {
  .standfirst { font-size: 1.45rem; }
}

.meta {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate);
  margin-top: 1rem;
}

/* Home lead */

.lead {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
}
.lead h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  line-height: 0.98;
}
.lead .cta { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3.5rem; align-items: start; }
  .lead figure { margin-top: 4.5rem; }
}

.cta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* Photos */

.photo { margin: 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.06);
  background: #d9d4c8;
}
.photo figcaption {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--slate);
  padding-top: 0.55rem;
  max-width: 34rem;
}
.photo.bleed { margin: 0 0 2.5rem; }

/* Ledger grid */

.ledger { border-top: 1px solid var(--ink); }
.ledger + .ledger { border-top: 0; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0.6rem;
  padding: 1.5rem 0 1.6rem;
  border-bottom: 1px solid var(--ink);
}
.row:last-child { border-bottom-color: var(--ink); }
@media (min-width: 820px) {
  .row {
    grid-template-columns: var(--label) minmax(0, 1fr);
    column-gap: 3rem;
    padding: 1.9rem 0 2rem;
  }
}
.label {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
}
.text { max-width: 40rem; }
.text.wide { max-width: 52rem; }
.text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.6rem 0 0.4rem;
}
.text h3:first-child { margin-top: 0; }

.more {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: 0.9rem;
}
.more a { display: inline-flex; align-items: center; min-height: 44px; }

/* Ruled lists */

.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ruled > li { padding: 0.7rem 0 0.75rem; border-bottom: 1px solid var(--hair); }
.ruled.tight > li { padding: 0.45rem 0 0.5rem; }

.cols {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 2rem;
}
.cols > li {
  padding: 0.5rem 0 0.55rem;
  border-bottom: 1px solid var(--hair);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}
@media (min-width: 560px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.opinions { list-style: none; margin: 0; padding: 0; }
.opinions > li {
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--hair);
  font-size: 1.2rem;
  line-height: 1.45;
}
.opinions > li:first-child { padding-top: 0; }

ol.plain { margin: 0; padding-left: 1.4rem; }
ol.plain > li { padding: 0.25rem 0 0.6rem 0.25rem; }
ol.plain > li::marker { font-family: var(--head); font-weight: 700; }

ul.plain { margin: 0 0 1em; padding-left: 1.2rem; }
.ruled .t { font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.ruled .t + p { margin-top: 0.3rem; font-size: 1.02rem; color: var(--slate); }
ul.plain > li { padding: 0.15rem 0; }

/* Index lists (services, sectors, insights) */

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0.4rem;
  padding: 1.6rem 0 1.7rem;
  border-bottom: 1px solid var(--ink);
}
@media (min-width: 820px) {
  .index > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; }
}
.index h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.index h2 a { text-decoration-thickness: 2px; }
.index .seats {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate);
  margin-top: 0.6rem;
}

/* Spec sheet (service pages) */

.spec { margin: 0; }
.spec dt {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hair);
}
.spec dt:first-child { border-top: 0; padding-top: 0; }
.spec dd { margin: 0.15rem 0 0.8rem; font-size: 1.05rem; line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--ink);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 4rem; }
  .split .spec { position: sticky; top: 1.5rem; align-self: start; }
}

.prose { max-width: 40rem; }
.prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  margin: 2.4rem 0 0.7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 1.8rem 0 0.4rem; }
.example {
  background: rgba(58, 64, 72, 0.09);
  padding: 1.1rem 1.25rem 1.2rem;
  margin: 1.5rem 0;
}
.example p:first-child {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* Article */

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 3rem;
}
@media (min-width: 1000px) {
  .article-grid { grid-template-columns: minmax(0, 41rem) minmax(0, 17rem); column-gap: 5rem; }
  .article-aside { position: sticky; top: 1.5rem; align-self: start; margin-top: 3rem; }
}
.article-aside h2 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.article-aside .ruled .t { font-size: 1.15rem; }
.article-aside p.small { font-size: 1rem; margin-top: 1.2rem; }
.article { max-width: 41rem; }
.article .pagehead { padding-bottom: 0; }
.article .standfirst { max-width: none; }
.article-body { padding-top: 1.8rem; border-top: 1px solid var(--ink); margin-top: 1.8rem; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--head);
  font-weight: 700;
  float: left;
  font-size: 4.1em;
  line-height: 0.8;
  padding: 0.07em 0.08em 0 0;
}
.article-body h2 { font-size: 1.65rem; margin: 2.2rem 0 0.6rem; }
.backlink { font-family: var(--head); font-weight: 600; font-size: 1.1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.backlink a { display: inline-flex; align-items: center; min-height: 44px; }

/* Roles table */

.table-intro { max-width: 44rem; margin-bottom: 2rem; }
.roles {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}
.roles caption {
  text-align: left;
  font-family: var(--head);
  font-weight: 600;
  color: var(--slate);
  font-size: 1rem;
  padding-bottom: 0.6rem;
}
.roles thead th {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  padding: 0.5rem 1.25rem 0.5rem 0;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.roles .group th {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  text-align: left;
  padding: 2rem 0 0.5rem;
  border-bottom: 1px solid var(--ink);
}
.roles tbody:first-of-type .group th { padding-top: 1.2rem; }
.roles td,
.roles th[scope="row"] {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1.25rem 0.8rem 0;
  border-bottom: 1px solid var(--hair);
}
.roles th[scope="row"] {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  width: 21%;
}
.roles td.who { width: 30%; color: var(--slate); }

@media (max-width: 760px) {
  .roles caption { display: block; width: auto; }
  .roles, .roles tbody, .roles tr, .roles td, .roles th { display: block; width: auto !important; }
  .roles thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .roles tr { padding: 0.8rem 0 0.9rem; border-bottom: 1px solid var(--hair); }
  .roles tr.group { padding: 0; border-bottom: 0; }
  .roles td, .roles th[scope="row"] { border: 0; padding: 0.15rem 0; }
  .roles td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: 0.4rem;
  }
}

/* Notice box (classified style, all four sides) */

.notice {
  border: 6px double var(--ink);
  padding: 1.3rem 1.4rem 1.5rem;
  margin: 3rem 0 0;
  max-width: 42rem;
}
@media (min-width: 820px) {
  .notice { margin-left: calc(var(--label) + 3rem); }
}
.notice h2 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

/* Contact */

.bigmail {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.45rem, 0.9rem + 3.4vw, 3.6rem);
  line-height: 1.1;
  margin: 1.5rem 0 0.5rem;
  overflow-wrap: anywhere;
}
.bigmail a { text-decoration-thickness: 3px; text-underline-offset: 0.14em; }

/* Legal */

.legal .text p,
.legal .text li { font-size: 1.05rem; }
.updated { font-family: var(--head); font-weight: 600; color: var(--slate); font-size: 1rem; }

/* Footer */

.colophon {
  margin-top: 5rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}
.colophon .cgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 3rem;
  padding-top: 1.4rem;
  padding-bottom: 2.5rem;
  border-top: 4px solid var(--ink);
}
@media (min-width: 820px) {
  .colophon .cgrid { grid-template-columns: var(--label) minmax(0, 1fr) auto; }
}
.colophon p { margin: 0; }
.colophon .name { font-weight: 700; font-size: 1.25rem; }
.colophon address { font-style: normal; }
.colophon a { display: inline-flex; align-items: center; min-height: 44px; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.colophon .small { color: var(--slate); font-size: 0.95rem; margin-top: 0.25rem; }

/* Opinions block (home) */

.opinions-block { padding: 2.6rem 0 2.8rem; }
.opinions-block .h2 { margin-bottom: 1.4rem; }
.opinions-block .opinions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 3rem;
}
.opinions-block .opinions > li {
  border-bottom: 0;
  border-top: 1px solid var(--ink);
  padding: 0.9rem 0 1.4rem;
  font-size: 1.3rem;
  line-height: 1.4;
}
@media (min-width: 820px) {
  .opinions-block .opinions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinions-block .opinions > li { font-size: 1.45rem; }
}

/* Utility */

.intro { max-width: 38rem; margin-bottom: 2.5rem; }
.narrow { max-width: 44rem; }
address { font-style: normal; }
.gap-top { margin-top: 0.8rem; }

.section-gap { margin-top: 3.5rem; }
.h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .sections, .strip, .skip { display: none; }
  body { background: #fff; }
}

.article .pagehead h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem); max-width: 20ch; }
