/* ============================================
   yaricata.com - Base / Reset Styles
   ============================================ */

/* --- Modern Reset --- */

@font-face {
  font-family: 'Koruri';
  src: url('/dist/fonts/WebKoruri.eot');
  src: url('/dist/fonts/WebKoruri.eot?#iefix') format('embedded-opentype');
  src: url('/dist/fonts/WebKoruri.woff') format('woff'),
       url('/dist/fonts/WebKoruri.ttf') format('truetype');

  /*  for fuck'n chrome  */
  src: url(https://cdn.plusminus.io/font/webkoruri/20140628/WebKoruri.woff) format('woff');
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.section-desc {
  color: var(--color-text-light);
  text-align: left;
  max-width: 720px;
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.text-accent {
  font-family: var(--font-accent);
}

/* --- Selection --- */
::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}
