@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-variable.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-variable-italic.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background-color: #FAF8F4;
  position: relative;
  transition: background-color 0.3s ease;
}

::selection {
  background-color: rgba(10, 10, 10, 0.12);
  color: inherit;
}

.brand-wordmark {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-descriptor {
  margin-top: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #687061;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark-frame {
  box-sizing: border-box;
  border: 1px solid rgba(248, 247, 239, 0.16);
  border-radius: 28%;
  background:
    radial-gradient(circle at 72% 18%, rgba(176, 181, 84, 0.55), transparent 38%),
    linear-gradient(145deg, #546025, #2B351B 72%);
  padding: 14%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 22px -14px rgba(43, 53, 27, 0.8);
}

.brand-image {
  box-sizing: border-box;
  border-radius: 28%;
  object-fit: cover;
  box-shadow:
    inset 0 0 0 1px rgba(248, 247, 239, 0.18),
    0 10px 24px -16px rgba(43, 53, 27, 0.78);
}

.brand-lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 28%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 28%, black 0%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

body > * {
  position: relative;
  z-index: 1;
}

html.dark body {
  background-color: #07100B;
  color: #E5E5E5;
}

html.dark .brand-descriptor {
  color: #A3A3A3;
}

html.dark body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #687061;
}

html.dark .eyebrow {
  color: #A3A3A3;
}
