@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

:root {
  /* Colours */
  --ghost-white: #F7F7FF;
  --onyx: #0A0A0A;
  --scarlet: #E40426;
  --deep-space: #002C41;
  --champagne: #EED9BE;

  /* Type scale (desktop) */
  --fs-hero-h1: 150px;
  --fs-section-h2: 55px;
  --fs-text-h2: 42px;
  --fs-text-h3: 35px;
  --fs-body: 18px;
  --fs-label: 14px;

  /* Spacing */
  --section-vh: 100vh;
  --gutter: 60px;

  /* Fonts */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--onyx);
  background-color: var(--ghost-white);
  overflow-x: hidden; /* Prevent horizontal scroll from bleeding numbers */
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.button-primary {
  display: inline-block;
  background-color: var(--scarlet);
  color: var(--ghost-white);
  padding: 18px 40px;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0; /* Sharp corners */
  transition: background-color 0.3s ease;
}

.button-primary:hover {
  background-color: #c70321;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
