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

html {
  background: var(--theme-color-background);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--theme-color-background);
  color: var(--theme-color-text);
  font-family: var(--bkr-font-sans);
  font-size: var(--theme-font-size-body);
  font-weight: var(--theme-font-weight-regular);
  line-height: var(--theme-line-height-body);
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: inherit;
  font-family: var(--bkr-font-serif);
  font-weight: var(--theme-font-weight-medium);
  line-height: var(--theme-line-height-display);
  letter-spacing: 0;
}

h1 {
  font-size: var(--theme-font-size-page-title);
}

h2 {
  font-size: var(--theme-font-size-section-title);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  border-radius: 0;
  font: inherit;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--theme-color-accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.bkr-container,
.theme-container {
  width: min(calc(100% - (var(--space-page-x) * 2)), var(--container-default));
  margin-inline: auto;
}

.theme-container--wide {
  width: min(calc(100% - (var(--space-page-x) * 2)), var(--container-wide));
  margin-inline: auto;
}

.theme-container--text {
  width: min(calc(100% - (var(--space-page-x) * 2)), var(--container-text));
  margin-inline: auto;
}

.bkr-section {
  padding-block: var(--space-section-md);
}

.section-spacing--compact {
  padding-block: var(--space-section-sm);
}

.section-spacing--default {
  padding-block: var(--space-section-md);
}

.section-spacing--editorial {
  padding-block: var(--space-section-lg);
}

[class*="section-spacing--"] + [class*="section-spacing--"] {
  padding-top: 0;
}

.section-header {
  margin-bottom: var(--space-content-lg);
}

.section-eyebrow {
  margin-bottom: var(--space-content-sm);
}

.section-title {
  margin-bottom: var(--space-content-md);
}

.bkr-eyebrow {
  margin-bottom: var(--theme-space-3);
  font-size: var(--theme-font-size-eyebrow);
  font-weight: var(--theme-font-weight-semibold);
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bkr-skip-link {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-120%);
  background: var(--theme-color-text);
  color: var(--theme-color-ink-inverse);
}

.bkr-skip-link:focus {
  transform: translateY(0);
}

.bkr-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme-color-text);
  padding: 0.75rem 1.4rem;
  background: var(--theme-color-text);
  color: var(--theme-color-ink-inverse);
  font-size: var(--theme-font-size-button);
  font-weight: var(--theme-font-weight-medium);
  transition: background-color var(--theme-transition-fast), color var(--theme-transition-fast);
}

.bkr-button:hover {
  background: transparent;
  color: var(--theme-color-text);
}

.bkr-button--light {
  border-color: var(--theme-color-ink-inverse);
  background: var(--theme-color-ink-inverse);
  color: var(--theme-color-text);
}

.bkr-button--light:hover {
  background: transparent;
  color: var(--theme-color-ink-inverse);
}

.bkr-link {
  display: inline-flex;
  align-items: center;
  gap: var(--theme-space-2);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  font-size: 0.875rem;
  font-weight: var(--theme-font-weight-medium);
}

.bkr-link--light {
  color: var(--theme-color-ink-inverse);
}

.bkr-link:hover {
  opacity: 0.62;
}

.bkr-icon-button {
  position: relative;
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
}

.bkr-icon-button--light {
  color: var(--theme-color-ink-inverse);
}

.bkr-focus--center-center {
  object-position: center center;
}

.bkr-focus--center-top {
  object-position: center 28%;
}

.bkr-focus--right-center {
  object-position: 72% center;
}

.bkr-focus--right-top {
  object-position: 72% 28%;
}

.bkr-focus--left-center {
  object-position: 28% center;
}

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

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