/*!
  Autor: Štefan Miščik
  Dotsystems s.r.o.
  Mirakulum Sabinov
  © Dotsystems s.r.o.
*/
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --dash: 2px dashed var(--gold);
  --dash-soft: 2px dashed var(--accent-soft);
  --cloud: 0 18px 40px color-mix(in srgb, var(--gold) 22%, transparent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  min-height: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5.4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p + p,
h1 + p,
h2 + p,
h3 + p,
.eyebrow + h1,
.eyebrow + h2 {
  margin-top: 0.75rem;
}

h2 + .grid-3,
h2 + .grid-2,
h2 + .gallery-grid {
  margin-top: 2rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow,
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.82rem;
}

.lead,
.hero__lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -120%;
  z-index: 1400;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.65rem;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, var(--gold));
  outline-offset: 3px;
}

::selection {
  background: color-mix(in srgb, var(--gold) 55%, var(--accent-soft));
  color: var(--text);
}

section {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem;
}

.band {
  background:
    linear-gradient(
      180deg,
      var(--page),
      color-mix(in srgb, var(--surface-soft) 26%, var(--page))
    );
}

.band--soft {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent-soft) 20%, var(--page)),
      color-mix(in srgb, var(--surface-soft) 18%, var(--page)) 55%,
      var(--page)
    );
}

.wave-break {
  position: relative;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.wave,
.wave-break .wave,
.wave-break svg,
svg.wave,
.wave svg {
  display: block;
  width: 100%;
  height: 72px;
  margin: 0;
}

.wave path {
  opacity: 1;
}

.wave path:nth-of-type(1) {
  fill: color-mix(in srgb, var(--gold) 72%, var(--page));
}

.wave path:nth-of-type(2) {
  fill: color-mix(in srgb, var(--accent) 42%, var(--gold));
}

.wave path:nth-of-type(3) {
  fill: color-mix(in srgb, var(--accent-soft) 78%, var(--page));
}

@media (min-width: 992px) {
  section {
    padding-block: 5rem;
  }

  .wave,
  .wave-break .wave,
  .wave-break svg,
  svg.wave,
  .wave svg {
    height: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
