@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ma-bg: #242220;
  --ma-bg2: #2d2a27;
  --ma-paper: #f3f1eb;
  --ma-paper-dim: #b8b6b0;
  --ma-muted: #8e8c87;
  --ma-accent: #cabfa6;
  --ma-line: rgba(240,232,214,.12);
}

* { box-sizing: border-box; }
html { background: var(--ma-bg); }
body {
  margin: 0;
  background: var(--ma-bg);
  color: var(--ma-paper);
  font: 400 16px/1.65 'IBM Plex Mono', monospace;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
}
.page { width: 100%; max-width: 1180px; margin: 0 auto; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.hero { padding: clamp(150px, 22vh, 230px) 0 clamp(60px, 8vw, 96px); text-align: center; }
.eyebrow, .kicker {
  display: inline-flex;
  color: var(--ma-accent);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.55;
  text-transform: uppercase;
}
.hero h1, h2, h3 { font-family: 'IBM Plex Mono', monospace; font-weight: 400; color: var(--ma-paper); }
.hero h1 { max-width: 25ch; margin: 0 auto 1.8rem; font-size: clamp(1.65rem, 3.8vw, 3rem); line-height: 1.02; letter-spacing: -.02em; }
.hero em { display: block; color: var(--ma-accent); font-style: normal; }
.hero a { color: var(--ma-accent); text-decoration: underline; text-decoration-color: rgba(202,191,166,.45); text-underline-offset: 3px; }
.hero p, .intro { max-width: 58ch; margin: 1rem auto 0; color: var(--ma-paper-dim); font-size: .7rem; line-height: 1.65; }
.hero p strong { color: var(--ma-paper); font-weight: 600; }
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section > .wrap > .kicker { display: flex; justify-content: center; }
.section > .wrap > h2 { max-width: 22ch; margin: 1.5rem auto 2rem; text-align: center; font-size: clamp(1.8rem, 4.1vw, 3.25rem); line-height: 1.15; letter-spacing: -.02em; }
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 2rem; }
.list div { padding: 17px 0; border-top: 1px solid var(--ma-line); color: var(--ma-paper-dim); font-size: .8rem; }
.list div::before { content: '→'; margin-right: 14px; color: var(--ma-accent); }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 2rem; }
.part { min-height: 126px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ma-line); border-radius: 5px; background: var(--ma-bg2); color: var(--ma-paper); text-decoration: none; }
.part h3 { margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: var(--ma-accent); }
.part p, .model p { margin: 0; color: var(--ma-muted); font-size: .72rem; }
.model { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 28px 0; border-top: 1px solid var(--ma-line); }
.model:first-of-type { margin-top: 34px; }
.model h3 { margin: 0; font-size: 1rem; }
.model p { margin-top: 7px; }
.impact { background: #1e1c1a; }
.stats { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 36px auto 0; border-top: 1px solid var(--ma-line); }
.stat { padding: 26px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--ma-line); }
.num { display: block; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; }
.label { display: block; margin-top: 22px; color: var(--ma-muted); font-size: .7rem; }
.building { display: grid; grid-template-columns: 150px 1fr; gap: 28px; max-width: 760px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--ma-line); align-items: center; }
.donut { width: 125px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#d8b35f 0 85%, #5c8f8a 85%); position: relative; }
.donut::after { content: ''; position: absolute; inset: 20px; border-radius: 50%; background: #1e1c1a; }
.regions, .countries { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; color: var(--ma-muted); font-size: .7rem; }
.regions span:first-child { color: #d8b35f; }
.regions span:last-child { color: #78b8b2; }
.countries { font-size: .67rem; }
.desk { text-align: center; }
.bios { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: 897px; max-width: 100%; margin: 42px auto 0; }
.bio { position: relative; flex: 1 1 calc(25% - 18px); min-width: 0; min-height: 350px; overflow: hidden; border: 0; border-radius: 20px; background: #322b27; box-shadow: 0 16px 32px rgba(0,0,0,.24); cursor: pointer; }
.bio img, .bio::after { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; }
.bio img { object-fit: cover; opacity: .96; transition: transform .45s ease, filter .45s ease; }
.bio::after { content: ''; z-index: 1; background: linear-gradient(180deg, transparent 32%, rgba(18,16,15,.16) 49%, rgba(18,16,15,.82) 100%); pointer-events: none; }
.bio-label { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; padding: 0; color: #f2ede5; text-align: left; text-shadow: 0 2px 18px rgba(0,0,0,.68); }
.bio-label strong { display: block; font-size: clamp(1.45rem,2.2vw,1.9rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.bio-label small { display: block; margin-top: 9px; color: #d0c5ba; font-size: 10px; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.bio-pop { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 26px; border-radius: 20px; background: #11100f; color: #e8e3db; text-align: left; opacity: 0; pointer-events: none; transform: none; transition: opacity .28s ease; }
.bio-pop strong { display: block; max-width: 100%; font-size: clamp(2rem,4vw,3.15rem); font-weight: 400; line-height: .9; letter-spacing: -.055em; overflow-wrap: anywhere; }
.bio-pop em { display: block; max-width: 100%; margin-top: 7px; color: var(--ma-accent); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-style: normal; overflow-wrap: anywhere; }
.bio-rule { display: block; width: 34px; height: 1px; margin: 23px 0 17px; background: rgba(232,227,219,.3); }
.bio-pop p { margin: 0; color: #c8beb5; font-size: .78rem; line-height: 1.65; overflow-wrap: anywhere; }
.bio:hover img, .bio.open img { transform: scale(1.06); filter: brightness(.55); }
.bio:hover .bio-pop, .bio.open .bio-pop { opacity: 1; pointer-events: auto; transform: none; }
.cta { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.cta a { padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--ma-muted); font-size: 10px; }
.cta a:first-child { color: var(--ma-accent); }
footer { padding: 42px 0; border-top: 1px solid var(--ma-line); color: var(--ma-muted); font-size: 10px; }
@media (max-width: 760px) {
  .hero { padding: 152px 0 49px; }
  .section { padding: 72px 0; }
  .list, .stats { grid-template-columns: 1fr; }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .model, .building { grid-template-columns: 1fr; gap: 9px; }
  .bio { flex: 0 0 calc((100% - 12px) / 2); min-height: 290px; border-radius: 16px; }
  .bio img, .bio::after, .bio-pop { border-radius: 16px; }
  .bio-label { right: 14px; bottom: 15px; left: 14px; }
  .bio-label strong { font-size: 1.35rem; }
  .bio-label small { font-size: 8.5px; letter-spacing: .1em; }
  .bio-pop { padding: 17px; }
  .bio-pop strong { font-size: 1.75rem; }
}
