/* Fonts are self-hosted (no requests to Google), latin subset, variable weights */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
}

:root {
  --ink: #111010;          /* sampled from the official logo background */
  --ink-2: #1a1919;
  --line: rgba(255,255,255,.09);
  --white: #f6f6f5;
  --grey: #9a9998;
  --stone: #e9e8e6;
  --stone-ink: #4a4847;
  --sans: "Montserrat", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 34px; }
.brand span {
  font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
}
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 14px; color: var(--grey); text-decoration: none;
  transition: color .2s;
}
.nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.lang {
  font: 500 11px/1 var(--sans); letter-spacing: .18em;
  color: var(--white); background: transparent;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 8px 10px 8px 12px; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 140px var(--gutter) 120px;
  overflow: hidden;
  text-align: center;
}
/* diagonal hairlines, echoing the social covers */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(-60deg, transparent 0 46px, var(--line) 46px 47px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 32%, transparent 68%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 32%, transparent 68%, #000 100%);
}
.ghost {
  position: absolute; z-index: -1;
  right: -14vw; bottom: -18vh;
  width: min(78vw, 980px);
  fill: rgba(255,255,255,.035);
  pointer-events: none;
}
.hero-logo {
  width: min(560px, 82vw);
  margin: 0 auto;
}
.hero-line {
  margin: clamp(40px, 7vh, 72px) auto 0;
  max-width: 30ch;
  font: 300 clamp(20px, 2.2vw, 26px)/1.45 var(--serif);
  color: var(--grey);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 36px;
  width: 1px; height: 56px;
  background: linear-gradient(var(--grey), transparent);
}

/* one orchestrated load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: reveal 1.6s cubic-bezier(.2,.7,.1,1) both; }
  .hero-line { animation: fade 1.2s .9s ease both; }
  .ghost { animation: fade 2.4s .3s ease both; }
  @keyframes reveal {
    from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(14px); }
    to   { opacity: 1; clip-path: inset(0 0 0 0);    transform: none; }
  }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- about (light) ---------- */
.about {
  background: var(--stone); color: var(--ink);
  padding: clamp(96px, 14vw, 180px) 0;
}
.about .wrap {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 7vw, 110px);
  align-items: end;
}
.statement {
  margin: 0;
  font: 300 clamp(34px, 4.6vw, 60px)/1.12 var(--serif);
  letter-spacing: -.01em;
}
.about p { margin: 0 0 1.1em; color: var(--stone-ink); max-width: 46ch; }
.about p:last-child { margin-bottom: 0; }

/* ---------- approach ---------- */
.approach { padding: clamp(96px, 13vw, 170px) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; letter-spacing: .01em;
}
.section-head p { margin: 0; color: var(--grey); max-width: 38ch; font-size: 15px; }
.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.pillars li {
  position: relative;
  padding: 44px 32px 8px 0;
}
.pillars li + li { padding-left: 32px; }
/* angled divider taken from the monogram's stroke */
.pillars li + li::before {
  content: ""; position: absolute; left: 0; top: 44px; bottom: 8px;
  width: 1px; background: var(--line);
  transform: skewX(-12deg); transform-origin: top;
}
.pillars h3 { margin: 0 0 12px; font-size: 17px; font-weight: 500; }
.pillars p { margin: 0; color: var(--grey); font-size: 15px; line-height: 1.7; }

/* ---------- partners ---------- */
.partners {
  background: var(--ink-2);
  padding: clamp(88px, 12vw, 150px) 0;
}
.partners .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px);
}
.partners h2 {
  margin: 0; font: 300 clamp(30px, 3.6vw, 46px)/1.18 var(--serif);
}
.criteria { margin: 0; padding: 0; list-style: none; }
.criteria li {
  padding: 20px 0; border-top: 1px solid var(--line);
  color: var(--white); font-size: 16px;
}
.criteria li:last-child { border-bottom: 1px solid var(--line); }
.criteria span { display: block; color: var(--grey); font-size: 14px; margin-top: 4px; }

/* ---------- contact ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(110px, 15vw, 200px) 0 clamp(80px, 10vw, 120px);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-60deg, transparent 0 46px, var(--line) 46px 47px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
          mask-image: linear-gradient(180deg, transparent, #000);
}
.contact p { margin: 0 0 20px; color: var(--grey); max-width: 60ch; }
.email {
  display: inline-block;
  font: 300 clamp(28px, 5.4vw, 72px)/1.1 var(--serif);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s cubic-bezier(.2,.7,.1,1);
  overflow-wrap: anywhere;
}
.email:hover, .email:focus-visible { background-size: 100% 1px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.footer-main {
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px;
  padding-top: 56px; padding-bottom: 48px;
}
.footer-brand img { width: 120px; opacity: .85; }
.footer-brand p { margin: 20px 0 0; line-height: 1.7; }
.legal {
  margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px 32px;
}
.legal dt { color: var(--grey); margin-bottom: 2px; }
.legal dd { margin: 0; color: var(--white); line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px;
  flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 32px;
  /* hairline aligned to the content edges, not the padded box */
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ---------- privacy page ---------- */
.legal-page { padding: 160px 0 clamp(80px, 10vw, 140px); }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { margin: 0 0 12px; font: 300 clamp(36px, 5vw, 56px)/1.1 var(--serif); }
.legal-page .updated { margin: 0 0 56px; color: var(--grey); font-size: 14px; }
.legal-page h2 { margin: 48px 0 12px; font-size: 18px; font-weight: 500; }
.legal-page p, .legal-page li { color: #c9c8c6; max-width: 68ch; }
.legal-page ul { padding-left: 1.2em; }
.legal-page a { text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about .wrap, .partners .wrap { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { padding-left: 0; }
  .pillars li:nth-child(3)::before { display: none; }
  .section-head { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 32px 0 0; }
  .pillars li + li::before { display: none; }
  .ghost { right: -40vw; width: 120vw; bottom: -6vh; }
}
