/* Maule Group Team. Swiss grid, Helvetica, black on white, one red. */
:root {
  --ink: #111;
  --paper: #fff;
  --red: #C8281E;
  --panel: #EFEFEF;
  --mute: #4a4a4a;
  --hair: #c9c9c9;
  --hair-dark: #b4b4b4;
  --gut: 24px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-kerning: normal;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, address, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 20;
  background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Grid */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.full { grid-column: 1 / -1; }
.a3 { grid-column: 1 / 4; }  .b9 { grid-column: 4 / 13; }
.a4 { grid-column: 1 / 5; }  .b8 { grid-column: 5 / 13; }
.a7 { grid-column: 1 / 8; }  .b5 { grid-column: 8 / 13; } .b4 { grid-column: 9 / 13; }
.a8 { grid-column: 1 / 9; }  .a9 { grid-column: 1 / 10; }
.m7 { grid-column: 4 / 11; } .m6 { grid-column: 4 / 10; } .m8 { grid-column: 4 / 12; }
.r6 { grid-column: 7 / 13; } .r7 { grid-column: 6 / 13; }

/* Type */
h1 { font-size: clamp(40px, 6.4vw, 86px); line-height: 1; letter-spacing: -.038em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.7vw, 50px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
h2.side { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.lede { font-size: 22px; line-height: 1.38; letter-spacing: -.008em; }
.lbl { font-size: 15px; line-height: 1.4; font-weight: 400; }
.small { font-size: 14px; line-height: 1.45; }
.mute { color: var(--mute); }
.sig { color: var(--red); }

.prose { max-width: 40em; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.7em 0 .5em; }
.prose h3 { margin: 1.7em 0 .45em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

/* Header */
.site-head { border-bottom: 1px solid var(--ink); }
.site-head .grid { align-items: center; min-height: 76px; }
.mark {
  grid-column: 1 / 4; justify-self: start;
  color: var(--red); font-weight: 700; font-size: 19px; letter-spacing: -.02em;
  text-decoration: none; padding: 12px 0;
}
.mark:hover { text-decoration: none; }
.nav { grid-column: 4 / 13; }
.nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; column-gap: 24px; }
.nav a { display: inline-block; padding: 12px 0; font-size: 15px; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current] { color: var(--red); }
.menu-btn { display: none; }

/* Page heads */
.phead { padding: 64px 0 72px; row-gap: 28px; }
.phead .lbl { grid-column: 1 / 4; padding-top: .9em; }
.phead h1 { grid-column: 4 / 13; }
.phead .lede { grid-column: 4 / 11; }
.phead.wide h1 { grid-column: 1 / 11; }
.phead.wide .lede { grid-column: 5 / 12; }

.hero { padding: 80px 0 64px; row-gap: 40px; }
.hero h1 { grid-column: 1 / 12; font-size: clamp(46px, 8.4vw, 118px); line-height: .94; letter-spacing: -.048em; }
.hero .lede { grid-column: 6 / 12; }
.hero .cta { grid-column: 6 / 12; margin-top: -16px; }

/* Sections */
.sec { border-top: 1px solid var(--ink); padding: 56px 0 80px; row-gap: 32px; }
.sec.short { padding-bottom: 56px; }
.sec h2.side { grid-column: 1 / 4; }
.sec h2.side.s4 { grid-column: 1 / 5; }
.mt { margin-top: 20px; }
.panel { background: var(--panel); }
.panel .sec, .sec.panel { border-top: 0; }
.panel .tbl td, .panel .tbl tbody th, .panel .rows li { border-bottom-color: var(--hair-dark); }
.stack > * + * { margin-top: 24px; }

/* Row lists */
.rows { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--hair); padding: 20px 0 22px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); column-gap: var(--gut); row-gap: 6px; }
.rows .t { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.rows.one > li { grid-template-columns: minmax(0, 1fr); }
.rows.plain > li { padding: 14px 0; }

.cols { list-style: none; padding: 0; columns: 3; column-gap: var(--gut); }
.cols li { padding: 6px 0; break-inside: avoid; }
.cols.four { columns: 4; }

.inline-list { list-style: none; padding: 0; }
.inline-list li { padding: 10px 0; border-bottom: 1px solid var(--hair); }
.inline-list li:first-child { border-top: 1px solid var(--ink); }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tbl caption { text-align: left; caption-side: top; font-size: 15px; padding-bottom: 14px; }
.tbl th { text-align: left; font-size: 14px; font-weight: 700; padding: 0 20px 10px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.tbl td, .tbl tbody th { padding: 15px 20px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; text-align: left; }
.tbl tbody th { font-size: 16px; font-weight: 700; }
.tbl td.n, .tbl th.n { white-space: nowrap; }
.tbl .w1 { width: 14%; } .tbl .w2 { width: 22%; } .tbl .w3 { width: 28%; } .tbl .w4 { width: 36%; }
.note { font-size: 14px; margin-top: 14px; color: var(--mute); }

/* Photos */
.photo img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; filter: grayscale(1) contrast(1.06); background: #ddd; }
.photo.tall img { aspect-ratio: 16 / 9; }
.photo figcaption { font-size: 14px; color: var(--mute); margin-top: 10px; max-width: 34em; }
.photo-row { padding-bottom: 72px; }

/* Definition lists */
.dl { border-top: 1px solid var(--ink); }
.dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); column-gap: var(--gut); padding: 16px 0 18px; border-bottom: 1px solid var(--hair); }
.dl dt { font-weight: 700; }

/* Big email */
.big-mail { font-size: clamp(30px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; overflow-wrap: anywhere; }
.big-mail a { text-decoration-thickness: 2px; text-underline-offset: .12em; }

.closing { padding: 64px 0 88px; border-top: 1px solid var(--ink); row-gap: 20px; }
.closing h2 { grid-column: 1 / 9; }
.closing p { grid-column: 4 / 11; }
.closing .mailline { font-size: 22px; }

/* Article */
.meta { grid-column: 1 / 4; font-size: 15px; }
.meta p + p { margin-top: 6px; }
.article { padding: 8px 0 88px; }
.article .prose { grid-column: 4 / 11; font-size: 18px; line-height: 1.6; }

/* Insights index */
.idx { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.idx > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding: 26px 0 30px; border-bottom: 1px solid var(--hair); }
.idx .d { grid-column: 1 / 4; font-size: 15px; padding-top: 6px; }
.idx h2 { grid-column: 4 / 10; font-size: clamp(26px, 2.8vw, 38px); }
.idx p { grid-column: 4 / 10; margin-top: 10px; }

/* Footer */
.site-foot { border-top: 1px solid var(--ink); padding: 40px 0 56px; font-size: 15px; }
.site-foot .grid { row-gap: 24px; }
.site-foot .fb { grid-column: 1 / 4; font-weight: 700; }
.site-foot address { grid-column: 4 / 7; }
.site-foot .fm { grid-column: 7 / 10; overflow-wrap: anywhere; }
.site-foot ul { grid-column: 10 / 13; list-style: none; padding: 0; }
.site-foot li + li { margin-top: 4px; }
.site-foot .copy { grid-column: 1 / -1; margin-top: 16px; color: var(--mute); }

/* Tablet: menu button */
@media (max-width: 1020px) {
  .site-head .grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .js .menu-btn {
    display: block; font: inherit; font-size: 16px; color: var(--ink); background: none; border: 0;
    padding: 0 0 0 16px; min-height: 44px; min-width: 64px; text-align: right; cursor: pointer;
    text-decoration: underline; text-underline-offset: .2em;
  }
  .nav { width: 100%; }
  .js .nav { display: none; }
  .js .nav.open { display: block; }
  .nav ul { display: block; border-top: 1px solid var(--ink); }
  .nav li { border-bottom: 1px solid var(--hair); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 11px 0; min-height: 44px; font-size: 17px; }
}

/* Phone: one column */
@media (max-width: 760px) {
  :root { --pad: 16px; }
  body { font-size: 17px; }
  .grid { display: block; }
  .site-head .grid { display: flex; }
  .mark { font-size: 18px; }
  .phead { padding: 40px 0 48px; }
  .phead .lbl { padding-top: 0; margin-bottom: 14px; }
  .phead .lede, .hero .lede { margin-top: 22px; }
  .lede { font-size: 19px; }
  .hero { padding: 48px 0 44px; }
  .hero .cta { margin-top: 18px; }
  .sec { padding: 40px 0 56px; }
  .sec > * + * { margin-top: 24px; }
  .closing { padding: 44px 0 60px; }
  .closing > * + * { margin-top: 18px; }
  .rows > li { grid-template-columns: minmax(0, 1fr); }
  .rows .t { font-size: 20px; }
  .cols, .cols.four { columns: 2; }
  .dl > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .photo img, .photo.tall img { aspect-ratio: 3 / 2; }
  .photo-row { padding-bottom: 48px; }
  .meta { margin-bottom: 28px; }
  .article .prose { font-size: 17px; }
  .idx > li { display: block; }
  .idx .d { padding-top: 0; margin-bottom: 8px; }
  .site-foot .grid > * + * { margin-top: 18px; }
  .site-foot li a { display: inline-block; padding: 10px 0; }
  .site-foot .fm a { display: inline-block; padding: 10px 0; }

  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl tbody th { display: block; width: 100%; }
  .tbl tbody { border-top: 1px solid var(--ink); }
  .tbl tr { padding: 14px 0 16px; border-bottom: 1px solid var(--hair); }
  .panel .tbl tr { border-bottom-color: var(--hair-dark); }
  .tbl td, .tbl tbody th { border: 0; padding: 3px 0; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 400; color: var(--mute); }
  .tbl tbody th { font-size: 18px; padding-bottom: 6px; }
}

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

@media print {
  .site-head nav, .menu-btn, .skip { display: none; }
}
