/* 10 Figure Agency — 02-base.css
   Reset, Lenis smooth-scroll base, layout grid and containers. */

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: clip;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}
p {
  text-wrap: pretty;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}
::selection {
  background: var(--signal);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: var(--inset);
  left: var(--inset);
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur-micro) var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  padding-inline: var(--gutter);
  margin-inline: auto;
  max-width: 1920px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.section--sm {
  padding-block: var(--section-sm);
}
.rule {
  height: 1px;
  background: var(--ink-15);
  border: 0;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark .rule {
  background: var(--white-15);
}
main {
  display: block;
  outline: none;
}
.page-top {
  padding-top: calc(var(--header-space) + clamp(2rem, 6vw, 6rem));
}
