@font-face {
  font-family: Campuni;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/Campuni-Regular.ttf") format("truetype");
}

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

@font-face {
  font-family: Campuni;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../../fonts/Campuni-Black.ttf") format("truetype");
}

@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/AlegreyaSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/AlegreyaSans-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/AlegreyaSans-Bold.ttf") format("truetype");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary-dark);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  margin: 0 0 var(--space-2);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.screen-reader-text,
.home-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-2);
  left: var(--space-2);
  width: auto;
  height: auto;
  padding: var(--space-1) var(--space-2);
  clip-path: none;
  background: #fff;
  transform: translateY(-200%);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.15rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.button--orange {
  background: var(--color-orange);
}

.button--orange:hover {
  background: #8f4300;
  color: #fff;
}

[hidden] {
  display: none;
}
