:root {
  --black: #000;
  --ink: #171717;
  --gray: #6b6b6b;
  --line: #d8d8d8;
  --paper: #fff;
  --soft: #f3f3f3;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: #fff;
  background: #000;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #2a2a2a;
  color: #fff;
  background: #000;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #fff;
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: 0;
}

.desktop-nav { display: none; }

.mobile-menu { position: relative; }
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  padding: .55rem .75rem;
  border: 1px solid #777;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + .7rem);
  width: min(82vw, 310px);
  border: 1px solid #333;
  background: #000;
  box-shadow: 0 14px 35px rgba(0,0,0,.3);
}
.mobile-menu nav a {
  display: block;
  padding: .95rem 1.1rem;
  border-bottom: 1px solid #292929;
  color: #fff;
  text-decoration: none;
}
.mobile-menu nav a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "MS";
  position: absolute;
  right: -1.5rem;
  top: -3rem;
  color: #f4f4f4;
  font-family: var(--serif);
  font-size: clamp(12rem, 42vw, 34rem);
  font-weight: 700;
  line-height: 1;
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4.5rem 3rem;
}

.hero-photo {
  background: #ededed;
}

.hero-photo::before { display: none; }

.hero-photo-grid {
  display: grid;
  gap: 2rem;
  padding-top: 3.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 { margin-bottom: .8rem; }

.hero-subtitle {
  max-width: 620px;
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 3rem);
  line-height: 1.1;
}

.hero-mobile-image {
  margin: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: #000;
  line-height: 1.08;
}

h1, h2 { font-family: var(--serif); }

h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 12vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 8vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

h3 {
  margin-bottom: .7rem;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 690px;
  margin: 0 0 2rem;
  color: #333;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border: 1px solid #000;
  color: #fff;
  background: #000;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.button:hover, .button:focus-visible { color: #000; background: #fff; }
.button-outline { color: #000; background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: #fff; background: #000; }
.button-light { border-color: #fff; color: #000; background: #fff; }
.button-light:hover, .button-light:focus-visible { color: #fff; background: #000; }

.portrait-frame {
  position: relative;
  width: min(78vw, 390px);
  margin-inline: auto;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid #000;
  z-index: -1;
}

.portrait-frame img {
  filter: grayscale(1) contrast(1.08);
}

.portrait-caption {
  margin: 1.5rem 0 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.role-strip {
  color: #fff;
  background: #000;
}

.role-list {
  display: grid;
  margin: 0;
  padding: 1.2rem 0;
  list-style: none;
}

.role-list li {
  padding: .65rem 0;
  border-bottom: 1px solid #333;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.role-list li:last-child { border-bottom: 0; }

.section { padding-block: 4.5rem; }
.section-soft { background: var(--soft); }
.section-black { color: #fff; background: #000; }
.section-black h2, .section-black h3 { color: #fff; }

.section-intro {
  max-width: 750px;
  margin: 0 0 2.5rem;
  color: #444;
  font-size: 1.1rem;
}
.section-black .section-intro { color: #d6d6d6; }

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.number-grid, .card-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.number-card, .card {
  padding: 1.7rem;
  background: #fff;
}

.number {
  display: block;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1;
}

.number-card p, .card p { margin-bottom: 0; color: #4c4c4c; }

.quote-panel {
  padding: clamp(2rem, 7vw, 5rem);
  color: #fff;
  background: #000;
}

.quote-panel blockquote {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.quote-panel p {
  margin: 1.5rem 0 0;
  color: #bbb;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 4.5rem 3.5rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero .wrap { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(3rem, 10vw, 6.8rem); }
.page-hero p { max-width: 760px; margin: 0; font-size: 1.15rem; }

.page-image {
  padding-top: clamp(1.25rem, 4vw, 3rem);
}

.page-image figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eee;
}

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

.facts {
  display: grid;
  gap: 1px;
  border: 1px solid #333;
  background: #333;
}

.fact { padding: 1.5rem; background: #090909; }
.fact strong {
  display: block;
  margin-bottom: .4rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}
.fact span { color: #c3c3c3; }

.case-study {
  border-left: 5px solid #000;
  padding: .5rem 0 .5rem 1.5rem;
}

.case-study p:last-child { margin-bottom: 0; }

.campaign-image {
  margin: 0;
  border-block: 1px solid var(--line);
  background: #eee;
}

.campaign-image img {
  width: 100%;
  height: auto;
}

.feature-photo {
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eee;
}

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

.feature-photo-dark {
  border-color: #333;
  background: #111;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}
.link-list a::after { content: "↗"; }
.link-list a:hover { padding-left: .5rem; }

.contact-links { margin: 1.6rem 0 2rem; }
.contact-links a { flex-wrap: wrap; align-items: baseline; }
.contact-links a::after { content: none; }
.contact-links strong { overflow-wrap: anywhere; font-size: .86rem; text-align: right; }

.contact-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.7rem, 6vw, 4rem);
  border: 1px solid #000;
}

.contact-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid #000;
  background: var(--soft);
  color: #444;
}

.cta {
  padding-block: 4rem;
  color: #fff;
  background: #000;
}
.cta h2 { max-width: 850px; color: #fff; }
.cta p { max-width: 700px; color: #ccc; }

.site-footer {
  padding-block: 2.2rem;
  border-top: 1px solid #2a2a2a;
  color: #bbb;
  background: #000;
  font-size: .82rem;
}
.footer-inner { display: grid; gap: .8rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }

:focus-visible { outline: 3px solid #777; outline-offset: 3px; }

@media (min-width: 700px) {
  .role-list { grid-template-columns: repeat(3, 1fr); }
  .role-list li { padding: .35rem 1.25rem; border-right: 1px solid #333; border-bottom: 0; text-align: center; }
  .role-list li:last-child { border-right: 0; }
  .number-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 981px) {
  .page-hero {
    background: linear-gradient(90deg, #fff 0 72%, #f3f3f3 72%);
  }
  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 72%;
    z-index: 0;
    pointer-events: none;
  }
  .page-about .page-hero::after {
    background-image:
      linear-gradient(45deg, rgba(0,0,0,.045) 25%, transparent 25%),
      linear-gradient(-45deg, rgba(0,0,0,.045) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, rgba(0,0,0,.045) 75%),
      linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.045) 75%);
    background-position: 0 0, 0 38px, 38px -38px, -38px 0;
    background-size: 76px 76px;
  }
  .page-merchant-services .page-hero::after {
    background-image:
      linear-gradient(45deg, transparent 48.5%, rgba(0,0,0,.11) 49%, rgba(0,0,0,.11) 51%, transparent 51.5%),
      linear-gradient(-45deg, transparent 48.5%, rgba(0,0,0,.11) 49%, rgba(0,0,0,.11) 51%, transparent 51.5%);
    background-size: 56px 56px;
  }
  .page-leadership-community .page-hero::after {
    background-image:
      linear-gradient(45deg, transparent 42%, rgba(0,0,0,.045) 42% 46%, transparent 46% 54%, rgba(0,0,0,.045) 54% 58%, transparent 58%),
      linear-gradient(-45deg, transparent 42%, rgba(0,0,0,.045) 42% 46%, transparent 46% 54%, rgba(0,0,0,.045) 54% 58%, transparent 58%);
    background-size: 74px 74px;
  }
  .page-contact .page-hero::before,
  .page-contact .page-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    pointer-events: none;
    border: 1px solid rgba(0,0,0,.11);
    background: transparent;
    transform: rotate(45deg);
  }
  .page-contact .page-hero::before {
    top: -54px;
    right: -86px;
  }
  .page-contact .page-hero::after {
    inset: auto 38px -92px auto;
    box-shadow: 0 0 0 26px rgba(0,0,0,.035), 0 0 0 27px rgba(0,0,0,.09);
  }
  .wrap { width: min(calc(100% - 5rem), var(--max)); }
  .mobile-menu { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: 1.2rem; }
  .desktop-nav a {
    position: relative;
    padding: 1.55rem 0;
    color: #d7d7d7;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; }
  .desktop-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    height: 2px;
    background: #fff;
  }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); align-items: center; min-height: 650px; padding-block: 5rem; }
  .hero-photo-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: stretch;
    padding-block: 0;
  }
  .hero-photo { min-height: 650px; }
  .hero-photo .hero-copy {
    grid-column: 1;
    align-self: center;
    max-width: 470px;
    padding: 4rem 2rem 4rem 0;
  }
  .hero-mobile-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: 68% center;
    align-self: stretch;
  }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .number-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .contact-panel { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
