/* Lehman Lab, lehman.limited */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #0d0d0d;
  --grey: #5d5d5d;
  --soft: #f5f5f5;
  --soft-2: #f2f2f2;
  --line: #e5e5e5;
  --violet: #5b4dff;

  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius-panel: clamp(20px, 2.4vw, 32px);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav a:hover {
  color: var(--violet);
}

.nav a.pill {
  margin-left: 8px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
}

.nav a.pill:hover {
  background: #2b2b2b;
  color: #fff;
}

@media (max-width: 559px) {
  .nav a:not(.pill) {
    display: none;
  }
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(48px, 7vw, 104px);
  text-align: center;
}

.hero h1 {
  max-width: 1040px;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero .lead {
  max-width: 560px;
  margin-top: 24px;
  color: var(--grey);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #2b2b2b;
}

.btn-secondary {
  background: var(--soft-2);
  color: var(--ink);
}

.btn-secondary:hover {
  background: #e7e7e7;
}

/* Colour field */

.field {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: clamp(300px, 38vw, 520px);
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: #e9e2ff;
}

.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}

.blob-sky {
  left: 20%;
  top: -55%;
  width: 70%;
  height: 110%;
  background: radial-gradient(closest-side, #7cc8ff 0%, rgba(124, 200, 255, 0) 70%);
  --dx: -10%;
  --dy: 12%;
  animation-duration: 21s;
}

.blob-mint {
  left: 62%;
  top: 35%;
  width: 80%;
  height: 130%;
  background: radial-gradient(closest-side, #5fe3be 0%, rgba(95, 227, 190, 0) 70%);
  --dx: -12%;
  --dy: -8%;
  animation-duration: 17s;
}

.blob-orange {
  left: 41%;
  top: -65%;
  width: 90%;
  height: 150%;
  background: radial-gradient(closest-side, #ffb36b 0%, rgba(255, 179, 107, 0) 70%);
  --dx: -9%;
  --dy: 10%;
  animation-duration: 23s;
}

.blob-pink {
  left: -4%;
  top: 25%;
  width: 100%;
  height: 160%;
  background: radial-gradient(closest-side, #ff7ec8 0%, rgba(255, 126, 200, 0) 70%);
  --dx: 12%;
  --dy: -7%;
  animation-duration: 19s;
}

.blob-violet {
  left: -43%;
  top: -65%;
  width: 110%;
  height: 170%;
  background: radial-gradient(closest-side, #6a5cff 0%, rgba(106, 92, 255, 0) 72%);
  --dx: 10%;
  --dy: 9%;
  animation-duration: 20s;
}

@keyframes drift {
  to {
    transform: translate(var(--dx, 0), var(--dy, 0));
  }
}

.field .mark {
  width: clamp(84px, 11vw, 150px);
  height: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}

.field .chip {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
}

/* Sections */

.section {
  padding-top: var(--section);
}

.section-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.eyebrow {
  color: var(--grey);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* What we do */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 0;
  list-style: none;
}

@media (max-width: 999px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
}

@media (max-width: 559px) {
  .tile {
    aspect-ratio: 7 / 6;
  }
}

.tile-violet {
  background:
    radial-gradient(90% 90% at 15% 15%, #5b4dff 0%, rgba(91, 77, 255, 0) 70%),
    radial-gradient(80% 80% at 95% 90%, #6ec1ff 0%, rgba(110, 193, 255, 0) 70%),
    #b9b0ff;
}

.tile-pink {
  background:
    radial-gradient(90% 90% at 20% 90%, #ff5fae 0%, rgba(255, 95, 174, 0) 70%),
    radial-gradient(80% 80% at 90% 10%, #ffb36b 0%, rgba(255, 179, 107, 0) 70%),
    #ffc2dd;
}

.tile-mint {
  background:
    radial-gradient(90% 90% at 15% 20%, #2fd3a2 0%, rgba(47, 211, 162, 0) 70%),
    radial-gradient(80% 80% at 90% 90%, #5fb8ff 0%, rgba(95, 184, 255, 0) 70%),
    #bdf0df;
}

.tile-orange {
  background:
    radial-gradient(90% 90% at 85% 85%, #ff9447 0%, rgba(255, 148, 71, 0) 70%),
    radial-gradient(80% 80% at 10% 15%, #8b6bff 0%, rgba(139, 107, 255, 0) 70%),
    #ffd9b8;
}

.shape {
  position: absolute;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.95);
}

.shape.soft {
  background: rgba(255, 255, 255, 0.45);
}

.shape.mid {
  background: rgba(255, 255, 255, 0.7);
}

.tile-violet .shape {
  width: 38%;
  border-radius: 22%;
}

.tile-violet .shape:nth-child(1) {
  left: 41%;
  top: 21%;
}

.tile-violet .shape:nth-child(2) {
  left: 25%;
  top: 37%;
}

.tile-pink .shape {
  top: 32%;
  width: 36%;
  border-radius: 50%;
}

.tile-pink .shape:nth-child(1) {
  left: 44%;
}

.tile-pink .shape:nth-child(2) {
  left: 20%;
}

.tile-mint .shape:nth-child(1) {
  left: 24%;
  bottom: 26%;
  width: 26%;
  aspect-ratio: 13 / 24;
  border-radius: 999px 999px 0 0;
}

.tile-mint .shape:nth-child(2) {
  left: 53%;
  bottom: 26%;
  width: 24%;
  border-radius: 0 100% 0 0;
}

.tile-orange .shape {
  border-radius: 50%;
}

.tile-orange .shape:nth-child(1) {
  left: 18%;
  bottom: 24%;
  width: 16%;
}

.tile-orange .shape:nth-child(2) {
  left: 38%;
  bottom: 34%;
  width: 21%;
}

.tile-orange .shape:nth-child(3) {
  left: 60%;
  bottom: 46%;
  width: 26%;
}

.card .num {
  display: block;
  margin-top: 16px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.5;
}

.card h3 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 6px;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.5;
}

/* About */

.statement {
  max-width: 1000px;
  margin-top: 20px;
  font-size: clamp(26px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.about .body {
  max-width: 620px;
  margin-top: 28px;
  color: var(--grey);
  text-wrap: pretty;
}

/* Philosophy */

.pastel {
  padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 96px);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(60% 90% at 5% 0%, #dad3ff 0%, rgba(218, 211, 255, 0) 70%),
    radial-gradient(50% 80% at 95% 10%, #ffd6ea 0%, rgba(255, 214, 234, 0) 70%),
    radial-gradient(55% 85% at 85% 105%, #cff3e5 0%, rgba(207, 243, 229, 0) 70%),
    radial-gradient(50% 80% at 15% 110%, #ffe6cc 0%, rgba(255, 230, 204, 0) 70%),
    #f7f5ff;
}

.pastel .eyebrow {
  color: var(--ink);
}

.pastel .quote {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.pastel .body {
  max-width: 560px;
  margin-top: 28px;
  color: #3d3d3d;
  font-size: 19px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  padding-block: var(--section);
}

@media (max-width: 799px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 28px;
  border-radius: 24px;
  background: var(--soft);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.contact-card:hover {
  background: #eeeeee;
}

.contact-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--grey);
  font-size: 15px;
}

.arrow {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.contact-card:hover .arrow {
  transform: translateX(3px);
}

.contact-card .email {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 320px));
  gap: 36px 40px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-grid .name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.footer-grid .label {
  font-size: 14px;
  font-weight: 500;
}

.footer-grid .block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid .muted,
.footer-grid address {
  color: var(--grey);
  font-style: normal;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 14px;
}

/* Not found */

.notfound {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-block: clamp(72px, 14vw, 200px);
}

.notfound h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.notfound p {
  color: var(--grey);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
