@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --rbm-bg: #000;
  --rbm-surface: #0b0b0b;
  --rbm-raised: #161616;
  --rbm-text: #fff;
  --rbm-text-dim: #b4b4b4;
  --rbm-text-muted: #7a7a7a;
  --rbm-accent: #e8e1d2;
  --rbm-accent-ink: #0a0a0a;
  --rbm-line: rgb(255 255 255 / 12%);
  --rbm-gutter: clamp(20px, 5vw, 72px);
  --rbm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--rbm-bg);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 72% 14%, rgb(232 225 210 / 10%), transparent 26rem),
    linear-gradient(135deg, #000 0%, #080808 46%, #14120f 100%);
  color: var(--rbm-text);
  font-family: "Manrope", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.rbm-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: var(--rbm-gutter);
}

.rbm-header,
.rbm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rbm-header {
  min-height: 92px;
  border-bottom: 1px solid var(--rbm-line);
}

.rbm-logo {
  display: inline-flex;
  align-items: center;
  width: min(210px, 46vw);
}

.rbm-logo img {
  display: block;
  width: 100%;
}

.rbm-status,
.rbm-kicker,
.rbm-panel__label {
  margin: 0;
  color: var(--rbm-text-dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rbm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(32px, 3vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 4vw, 132px);
}

.rbm-copy {
  max-width: 900px;
}

.rbm-kicker {
  color: var(--rbm-accent);
}

.rbm-copy h1 {
  max-width: 920px;
  margin: 18px 0 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(4.25rem, 10vw, 9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rbm-lead {
  max-width: 660px;
  margin: clamp(24px, 4vw, 40px) 0 0;
  color: var(--rbm-text-dim);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.rbm-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--rbm-line);
  background: rgb(11 11 11 / 74%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 36%);
  backdrop-filter: blur(16px);
}

.rbm-contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--rbm-accent);
  background: var(--rbm-accent);
  color: var(--rbm-accent-ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms var(--rbm-ease), color 180ms var(--rbm-ease);
}

.rbm-contact:hover {
  background: transparent;
  color: var(--rbm-accent);
}

.rbm-note {
  margin: 6px 0 0;
  color: var(--rbm-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.rbm-footer {
  min-height: 84px;
  border-top: 1px solid var(--rbm-line);
  color: var(--rbm-text-muted);
  font-size: 0.82rem;
}

.rbm-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .rbm-hero {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .rbm-panel {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .rbm-header,
  .rbm-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .rbm-header {
    justify-content: center;
    padding-block: 22px;
  }

  .rbm-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .rbm-footer {
    justify-content: center;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
