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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sed-header-height) + 1rem);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sed-paper);
  color: var(--sed-ink);
  font-family: var(--sed-body);
  font-size: clamp(0.98rem, 0.95rem + 0.1vw, 1.05rem);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sed-body);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:is(h1, h2, h3, h4, h5, h6) a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:where(button, input[type="button"], input[type="submit"], input[type="reset"], .sed-button) {
  border-radius: 999px !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

::selection {
  background: var(--sed-graphite);
  color: var(--sed-paper);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  min-width: 0;
  color: inherit;
  font-family: var(--sed-font);
  font-weight: 750;
  letter-spacing: -0.052em;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 5.8vw, 6.25rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.75vw, 1.8rem);
}

.sed-container {
  width: var(--sed-container);
  margin-inline: auto;
}

.sed-reading-width {
  max-width: var(--sed-reading);
}

.sed-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sed-eyebrow {
  margin-bottom: var(--sed-space-2);
  color: var(--sed-heading);
  font-family: var(--sed-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sed-button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--sed-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--sed-ink);
  font-family: var(--sed-font);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

:where(.sed-main figure, .sed-main form, .sed-main article) {
  border-radius: var(--sed-radius-lg);
}

.sed-button:hover {
  background: var(--sed-paper);
  color: var(--sed-ink);
}

.sed-button--solid {
  border-color: var(--sed-graphite);
  background: var(--sed-graphite);
  color: var(--sed-paper);
}

.sed-text-link {
  color: var(--sed-graphite);
  font-family: var(--sed-functional);
  font-weight: 700;
}

.sed-hero .sed-button--solid,
.sed-home-contact .sed-button--solid,
.sed-service-cta .sed-button--solid {
  border-color: var(--sed-paper);
  background: var(--sed-paper);
  color: var(--sed-ink);
}

.sed-prose > * + * {
  margin-top: 1.25em;
}

.sed-prose :is(ul, ol) {
  padding-inline-start: 1.25em;
}

.sed-prose blockquote {
  padding: var(--sed-space-3);
  border-inline-start: 0.25rem solid var(--sed-graphite);
  background: rgb(19 19 19 / 0.04);
  font-size: 1.15em;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
