@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..800&family=Space+Grotesk:wght@300..700&display=swap");

:root {
  --clr-100: #f5f1e8;
  --clr-200: #d8d1c2;
  --clr-300: #a9b4aa;
  /* --clr-400: #E56020; */
  --clr-400: #c55a1c;
  --clr-500: #f9a01b;
  --clr-700: #1c2a2a;
  --clr-800: #142020;
  --clr-900: #0b1414;
  --clr-950: #070c0c;
  --clr-black: #05111d;
  --clr-secondary-yellow: #f9a01b;
  --clr-secondary-red: #a50c1b;
  --clr-secondary-orange: var(--clr-400);
  --clr-border: rgba(249, 160, 27, 0.35);
  --shadow-soft: 0 24px 60px rgba(7, 12, 12, 0.45);
  --shadow-sharp: 0 12px 24px rgba(7, 12, 12, 0.4);

  --fw-400: 400;
  --fw-800: 800;

  --ff-space-grotesk: "Space Grotesk", sans-serif;
  --ff-fraunces: "Fraunces", serif;

  --step--2: clamp(0.6944rem, 0.6538rem + 0.1624vi, 0.8rem);
  --step--1: clamp(0.8333rem, 0.7692rem + 0.2564vi, 1rem);
  --step-0: clamp(1rem, 0.9038rem + 0.3846vi, 1.25rem);
  --step-1: clamp(1.2rem, 1.0606rem + 0.5577vi, 1.5625rem);
  --step-2: clamp(1.44rem, 1.2426rem + 0.7894vi, 1.9531rem);
  --step-3: clamp(1.728rem, 1.4536rem + 1.0975vi, 2.4414rem);
  --step-4: clamp(2.0736rem, 1.6974rem + 1.5049vi, 3.0518rem);
  --step-5: clamp(2.4883rem, 1.9782rem + 2.0406vi, 3.8147rem);

  --margin-inline: 5rem;
  --margin-section: 3rem;
  --content-width: 1200px;
  --radius-lg: 0px;
  --radius-sm: 0px;

  --rock-clippath: polygon(7% 30%, 13% 15%, 28% 10%, 41% 14%, 56% 8%, 70% 14%, 88% 10%, 94% 26%, 92% 52%, 96% 70%, 86% 92%, 66% 86%, 48% 94%, 30% 86%, 12% 94%, 6% 74%);
}

@media (max-width: 768px) {
  :root {
    --margin-inline: 0.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  font-weight: 400;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: var(--ff-space-grotesk);
  font-weight: var(--fw-400);
  background: var(--clr-black);
  color: var(--clr-100);
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

ul li {
  list-style: none;
  cursor: pointer;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

hr {
  background-color: var(--clr-400);
  border: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

body.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
