/* src/css/tokens.css */
@font-face {
  font-family: "Bounded";
  src: url(../fonts/bounded-500.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url(../fonts/geist-400.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url(../fonts/geist-500.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url(../fonts/geist-700.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "B2 Soehne";
  src: url(../fonts/b2-soehne-buch.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-heading:
    "Bounded",
    "Avenir Next",
    "Segoe UI",
    Arial,
    sans-serif;
  --font-body:
    "Geist",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  --font-accent:
    "B2 Soehne",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  --lighten-brown: #e7e2d7;
  --brown: #776458;
  --dark-brown: #342923;
  --light-brown: #dacfc7;
  --darken-brown: #b69f8d;
  --red: #733a33;
  --lighten-dark-brown: #3d2e1f;
  --color-bg: #ffffff;
  --color-bg-alt: var(--lighten-brown);
  --color-beige: var(--light-brown);
  --color-beige-deep: var(--darken-brown);
  --color-brown: var(--dark-brown);
  --color-brick: var(--red);
  --color-tag: #3f3f3f;
  --color-text: #1d1c1a;
  --color-text-muted: #57534c;
  --color-text-inverse: #ffffff;
  --color-accent: var(--color-brick);
  --color-accent-contrast: #ffffff;
  --color-focus: #114ecb;
  --color-focus-inverse: #9ec5ff;
  --color-border: #d8d4cc;
  --header-strip: 20px;
  --wave-ratio: calc(84 / 59);
}

/* src/css/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
}
a {
  color: var(--color-accent);
  text-underline-offset: 0.15em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.site-main:focus-visible {
  outline: none;
}
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.skip-link {
  position: absolute;
  inset-inline-start: 0.5rem;
  inset-block-start: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  transform: none;
}
.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section--alt {
  background: var(--color-bg-alt);
}
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* src/css/buttons.css */
.button {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
}
.button:hover {
  background: var(--color-text);
}
.button--light {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.button--light:hover {
  background: var(--color-beige);
  color: var(--color-text);
}

/* src/css/header.css */
.site-header {
  position: fixed;
  inset-inline: 0;
  inset-block-start: 0;
  z-index: 50;
  transition: translate 0.3s ease;
}
.site-header--hidden {
  translate: 0 -150%;
}
.site-header-strip {
  width: 100%;
  height: var(--header-strip);
  background: var(--lighten-brown);
}
.site-header__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  transform: translateY(-1px);
}
.site-logo-wrapper {
  display: grid;
  place-items: center;
  background: var(--lighten-brown);
  padding: 8px 8px 16px 24px;
}
.site-logo {
  display: block;
  padding: 0.25rem;
}
.site-logo img {
  display: block;
}
.site-nav {
  background: var(--brown);
  padding: 0px 32px 4px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem 0.75rem;
  color: var(--lighten-brown, rgb(255 255 255 / 0.87));
  text-decoration: none;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 0.25rem;
  translate: -50% 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: transparent;
}
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after {
  background: var(--lighten-brown, rgb(255 255 255 / 0.87));
}
.site-nav__list .current-menu-item a {
  color: var(--color-text-inverse);
}
.site-nav__list .current-menu-item a::after {
  background: var(--color-text-inverse);
}
.site-nav :focus-visible {
  outline-color: var(--color-focus-inverse);
}
.site-header__cta {
  position: absolute;
  right: 48px;
  top: 50%;
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  letter-spacing: 0.5px;
  padding: 0.9em 1.3em;
  color: var(--brown);
  background-color: var(--color-bg);
  border: 1px solid var(--brown);
  border-radius: 999px;
  transition:
    padding 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.3s ease,
    color 0.3s ease;
}
.site-header__cta::before,
.site-header__cta::after {
  content: "";
  position: absolute;
  opacity: 0;
  background-color: currentColor;
  transition: opacity 0.3s ease, left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-header__cta::before {
  left: 0.9em;
  top: calc(50% - 0.2em);
  width: 0.7em;
  height: 0.9em;
  transform: translateY(-50%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7757 8.49215C12.5443 8.26096 12.2305 8.1311 11.9033 8.1311C11.5762 8.1311 11.2624 8.26096 11.0309 8.49215L7.78811 11.7349V1.23456C7.78811 0.907137 7.65804 0.593121 7.42651 0.361595C7.19499 0.13007 6.88097 0 6.55355 0C6.22612 0 5.9121 0.13007 5.68058 0.361595C5.44905 0.593121 5.31898 0.907137 5.31898 1.23456V11.7349L2.07619 8.49215C1.84216 8.27408 1.53262 8.15536 1.21278 8.161C0.892949 8.16665 0.587789 8.29621 0.361595 8.52241C0.135402 8.7486 0.00583548 9.05376 0.000192341 9.3736C-0.0054508 9.69343 0.11327 10.003 0.331343 10.237L5.68112 15.5868L6.55355 16.4609L7.42597 15.5884L12.7757 10.2387C12.8905 10.124 12.9815 9.98787 13.0436 9.83803C13.1057 9.6882 13.1376 9.52759 13.1376 9.3654C13.1376 9.20321 13.1057 9.04261 13.0436 8.89277C12.9815 8.74294 12.8905 8.6068 12.7757 8.49215Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 17'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7757 8.49215C12.5443 8.26096 12.2305 8.1311 11.9033 8.1311C11.5762 8.1311 11.2624 8.26096 11.0309 8.49215L7.78811 11.7349V1.23456C7.78811 0.907137 7.65804 0.593121 7.42651 0.361595C7.19499 0.13007 6.88097 0 6.55355 0C6.22612 0 5.9121 0.13007 5.68058 0.361595C5.44905 0.593121 5.31898 0.907137 5.31898 1.23456V11.7349L2.07619 8.49215C1.84216 8.27408 1.53262 8.15536 1.21278 8.161C0.892949 8.16665 0.587789 8.29621 0.361595 8.52241C0.135402 8.7486 0.00583548 9.05376 0.000192341 9.3736C-0.0054508 9.69343 0.11327 10.003 0.331343 10.237L5.68112 15.5868L6.55355 16.4609L7.42597 15.5884L12.7757 10.2387C12.8905 10.124 12.9815 9.98787 13.0436 9.83803C13.1057 9.6882 13.1376 9.52759 13.1376 9.3654C13.1376 9.20321 13.1057 9.04261 13.0436 8.89277C12.9815 8.74294 12.8905 8.6068 12.7757 8.49215Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  will-change: transform;
}
.site-header__cta::after {
  left: 1.1em;
  top: calc(50% + 0.4em);
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
}
.site-header__cta:hover,
.site-header__cta:focus-visible {
  padding-left: 3.2em;
  background-color: var(--lighten-brown);
  color: var(--brown);
}
.site-header__cta:hover::before,
.site-header__cta:hover::after,
.site-header__cta:focus-visible::before,
.site-header__cta:focus-visible::after {
  opacity: 1;
}
.site-header__cta:hover::before,
.site-header__cta:focus-visible::before {
  left: 1.5em;
  animation: medze-cta-arrow-float 1.6s ease-in-out infinite;
}
.site-header__cta:hover::after,
.site-header__cta:focus-visible::after {
  left: 1.7em;
}
@keyframes medze-cta-arrow-float {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 0.25em));
  }
  100% {
    transform: translateY(-50%);
  }
}
body {
  padding-block-start: 6.5rem;
}
body.home {
  padding-block-start: 0;
}

/* src/css/footer.css */
.site-footer {
  background: var(--red);
  color: var(--light-brown);
  position: relative;
  font-size: clamp(12px, 6px + 1dvw, 18px);
}
.site-footer a {
  color: var(--light-brown);
  text-decoration: none;
}
.site-footer :focus-visible {
  outline-color: var(--color-focus-inverse);
}
.site-footer__totop {
  width: clamp(3.5rem, 7vw, 4.5rem);
  height: clamp(2.5rem, 4dvh, 4.5rem);
  background: transparent;
  border: 0px;
  color: var(--color-text-inverse);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateX(-10px) translateY(5px);
}
.site-footer__totop svg {
  width: calc(clamp(1.7rem, 2.3dvh, 3.4rem) * 27 / 41);
  height: clamp(1.7rem, 2.3dvh, 3.4rem);
}
.site-footer__main {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.site-footer__heading {
  font-weight: 700;
  font-size: clamp(14px, 8px + 1dvw, 20px);
  margin-block-end: 0.75rem;
}
.site-footer__address {
  font-style: normal;
}
.footer-nav__list {
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav__list a {
  display: inline-block;
  text-decoration: none;
}
.site-footer__bar {
  background: #121212;
}
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem 1.5rem;
  padding-block: 1rem;
}
.site-footer__copy {
  margin: 0;
  min-width: 400px;
  font-size: 12px;
  font-family: var(--font-body);
}
.site-footer__copy a {
  margin-inline-start: 1rem;
  text-decoration: none;
}
.site-footer__brand {
  display: block;
}
.site-footer__socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  min-width: 400px;
}
.site-footer__social {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-text-inverse);
}
.site-footer__social:hover {
  color: var(--light-brown);
}

/* src/css/parts.css */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero__inner {
  max-width: 52rem;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.hero__lead {
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* src/css/home.css */
.home-hero {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  transform-origin: center;
}
.home-content {
  position: relative;
  background: var(--color-bg);
}
.home-hero__media {
  position: relative;
  flex: 1;
  min-height: 18rem;
}
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero__band {
  position: relative;
  background: var(--color-beige);
  --band-pad: clamp(16px, calc(12px + 4dvh), 72px);
  padding: clamp(12px, calc(9px + 3dvh), 64px) var(--band-pad);
}
.home-hero-icon-wrapper {
  position: absolute;
  bottom: calc(100% - 1px);
  right: 0;
}
.home-hero-icon {
  padding: 16px 4px 8px;
  background: var(--color-beige);
  color: var(--brown);
}
.home-hero-icon svg {
  display: block;
  transform: translateX(-28px);
}
.home-hero__band h1 {
  margin: 0;
  color: var(--brown);
  --line-em: 12;
  font-size: min(calc((80dvw - 2 * var(--band-pad)) / var(--line-em)), 10dvh);
  line-height: 1.05;
  white-space: nowrap;
}
.home-intro {
  --intro-pad: clamp(20px, calc(16px + 8dvh), 96px);
  padding-top: var(--intro-pad);
  padding-inline: var(--intro-pad);
  position: relative;
}
.home-intro h2 {
  max-width: 70%;
  --line-em: 12;
  font-size: min(calc((100vw - 2 * var(--intro-pad)) * 0.7 / var(--line-em)), 7.5dvh);
  line-height: 1.1;
  color: var(--dark-brown);
  text-wrap: balance;
}
.home-intro__text {
  max-width: 90%;
  width: max(34rem, 70%);
  font-size: clamp(1.125rem, 1.05rem + 1dvh + 0.5dvw, 3rem);
  color: var(--brown);
  margin-top: 8dvh;
}
.h-scroll {
  margin-bottom: clamp(1rem, 3dvh, 3rem);
  padding-inline: clamp(20px, calc(16px + 8dvh), 96px);
}
.h-scroll__sticky {
  display: flex;
  flex-direction: column;
}
.h-scroll__track {
  display: flex;
  padding-top: 80px;
  align-items: stretch;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.h-scroll__track::-webkit-scrollbar {
  display: none;
}
.h-scroll__track img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.h-scroll__panel {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
  width: min(80vw, 26rem);
}
.h-scroll__panel--card {
  aspect-ratio: 3 / 4;
}
.h-scroll__panel--photo {
  aspect-ratio: 3 / 4;
}
.h-scroll__bar {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: clamp(5px, 0.8vw, 10px);
  margin-block-start: clamp(1.5rem, 5vh, 6rem);
  margin-inline: clamp(20px, 4vw, 60px);
  pointer-events: none;
}
.h-scroll__bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: var(--light-brown);
  border-radius: 999px;
}
.h-scroll__thumb {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 100%;
  background: var(--red);
  border-radius: 999px;
  will-change: transform;
}
.h-scroll.is-jacked .h-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-block: clamp(20px, 5dvh, 60px);
  justify-content: center;
  overflow: hidden;
}
.h-scroll.is-jacked .h-scroll__track {
  flex: 1 1 auto;
  min-height: 0;
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.h-scroll.is-jacked .h-scroll__panel {
  height: 100%;
  min-height: 0;
  width: auto;
}
.gallery-card {
  background: var(--lighten-brown);
  padding-bottom: clamp(16px, 5dvh, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  row-gap: clamp(8px, 2dvh, 16px);
  aspect-ratio: 3 / 4;
  container-type: inline-size;
}
.gallery-card__media {
  position: relative;
  max-height: 70%;
  width: 70%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  --corner-bg: var(--lighten-brown);
}
.gallery-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card h2 {
  margin: 0;
  color: var(--brown);
  --line-em: 16;
  font-size: min(calc(50dvw / var(--line-em)), 3dvh);
  line-height: 1.1;
  margin-top: 12px;
}
.gallery-card p {
  margin: 0;
  color: var(--dark-brown);
  --line-em: 15;
  font-size: min(calc(50cqw / var(--line-em)), 2dvh);
  text-wrap: balance;
  max-width: 50%;
}
.gallery-photo {
  margin: 0;
  position: relative;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-balance {
  --balance-extra: 70dvh;
  position: sticky;
  top: calc(-1 * var(--balance-extra));
  background: var(--lighten-dark-brown);
  color: var(--color-text-inverse);
  min-height: calc(100dvh + var(--balance-extra));
}
.home-balance__content {
  position: sticky;
  top: 10dvh;
}
.home-content-lower {
  position: relative;
  display: flow-root;
  background: var(--color-bg);
}
.home-balance :focus-visible {
  outline-color: var(--color-focus-inverse);
}
.home-balance__title,
.home-balance__lead {
  text-align: center;
}
.home-balance__title {
  max-width: 80%;
  margin-inline: auto;
  --line-em: 12;
  font-size: min(calc(80vw / var(--line-em)), 7.5dvh);
  line-height: 1.1;
  color: var(--lighten-brown);
}
.home-balance__lead {
  max-width: max(30%, 20rem);
  margin-inline: auto;
  opacity: 0;
  translate: 0 1rem;
  transition: opacity 0.35s ease-out, translate 0.35s ease-out;
  min-height: 2lh;
  --line-em: 12;
  font-size: min(calc(max(30dvw, 20rem) / var(--line-em) * 2), 2dvh);
  text-wrap: balance;
}
.home-balance__lead.is-visible {
  opacity: 0.9;
  translate: 0 0;
}
.balance-pairs {
  list-style: none;
  margin: clamp(2rem, 6vw, 4rem) auto 0;
  padding: 0;
  width: min(70%, 54rem);
  display: grid;
  gap: clamp(2.5rem, 8dvh, 5rem);
}
.balance-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 0.25rem;
  color: #cbb9ac;
}
.balance-pair__item {
  position: relative;
  z-index: 1;
  border: 0;
  padding: 0.25rem 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  font-weight: 500;
  transition: color 0.2s ease;
  translate: 0 calc(var(--stagger, 0rem) + var(--wave-dy, 0px));
}
.balance-pair__item::after {
  content: "";
  position: absolute;
  inset: -1em -2em -4em;
}
.balance-pair__item:first-of-type {
  grid-column: 1;
  justify-self: start;
  transform: translateX(-40%);
}
.balance-pair__item:last-of-type {
  grid-column: 2;
  justify-self: end;
  transform: translateX(40%);
}
.balance-pair__item:hover,
.balance-pair__item:focus-visible {
  color: var(--color-text-inverse);
}
.balance-pair:has(.balance-pair__item:first-of-type:hover, .balance-pair__item:first-of-type:focus-visible) .balance-pair__dot--start,
.balance-pair:has(.balance-pair__item:last-of-type:hover, .balance-pair__item:last-of-type:focus-visible) .balance-pair__dot--end {
  background: var(--color-text-inverse);
  scale: 1.5;
}
.balance-pair__line {
  position: relative;
  grid-column: 1 / -1;
  height: 2.5rem;
}
.balance-pair__line svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.balance-pair__dot {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #8c7b66;
  translate: -50% calc(-50% + var(--wave-dy, 0px));
  transition: scale 0.2s ease, background-color 0.2s ease;
}
.balance-pair__dot--start {
  left: 2%;
  top: 50%;
}
.balance-pair__dot--end {
  left: 98%;
  top: 50%;
}
.home-map {
  position: relative;
  margin-top: clamp(3rem, 10dvh, 6rem);
  margin-bottom: clamp(2rem, 4dvh, 4rem);
  margin-inline: clamp(12px, 1dvw, 32px);
}
.home-map__media {
  display: block;
  width: 100%;
  object-fit: cover;
}
.home-map__points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-map__point {
  position: relative;
  background: var(--point-bg, var(--color-tag));
  color: var(--point-fg, var(--color-text-inverse));
  padding: clamp(8px, 1dvh + 0.5dvw, 24px) clamp(12px, 1dvh + 1dvw, 24px);
  max-width: clamp(5rem, 3rem + 20dvw, 30rem);
  font-size: clamp(0.5rem, 1dvh + 0.5dvw, 5rem);
  line-height: 1.5;
  --icon-size: clamp(24px, 3dvh + 2dvw, 64px);
  margin-block-end: calc(var(--icon-size) + 0.75rem);
  animation: bouncing 1.6s ease-in-out infinite;
}
@keyframes bouncing {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
.home-map__point::before,
.home-map__point::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.home-map__point::before {
  top: 85%;
  left: 95%;
  width: var(--icon-size);
  height: var(--icon-size);
  background: var(--point-bg, var(--color-tag));
  animation: bouncing-oposite 1.6s ease-in-out infinite;
}
@keyframes bouncing-oposite {
  0% {
    transform: translateY(-15px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(-15px);
  }
}
.home-map__point::after {
  top: calc(85% + var(--icon-size) * 0.5);
  left: calc(95% + var(--icon-size) * 0.5);
  width: calc(var(--icon-size) * var(--width-koeficient, 0.7));
  height: calc(var(--icon-size) * var(--width-koeficient, 0.7) * var(--aspect-ratio));
  max-height: calc(var(--icon-size) * 0.8);
  transform: translateX(-50%) translateY(-50%);
  background: var(--point-icon) center / contain no-repeat;
  animation: bouncing-oposite-translate-right 1.6s ease-in-out infinite;
}
@keyframes bouncing-oposite-translate-right {
  0% {
    transform: translateY(calc(-50% - 15px)) translateX(-50%);
  }
  50% {
    transform: translateY(calc(-50% + 5px)) translateX(-50%);
  }
  100% {
    transform: translateY(calc(-50% - 15px)) translateX(-50%);
  }
}
.home-map__point--left::before {
  right: 95%;
  left: auto;
}
.home-map__point--left::after {
  left: auto;
  right: calc(95% + var(--icon-size) * 0.5);
  transform: translateX(50%) translateY(-50%);
  animation: bouncing-oposite-translate-left 1.6s ease-in-out infinite;
}
@keyframes bouncing-oposite-translate-left {
  0% {
    transform: translateY(calc(-50% - 15px)) translateX(50%);
  }
  50% {
    transform: translateY(calc(-50% + 5px)) translateX(50%);
  }
  100% {
    transform: translateY(calc(-50% - 15px)) translateX(50%);
  }
}
@media (min-width: 767px) {
  .home-map {
    height: 85dvh;
  }
  .home-map__media {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .home-map__points {
    position: relative;
    height: 85dvh;
  }
  .home-map__point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    margin: 0;
  }
}
.home-slider {
  --slider-pad: clamp(20px, calc(16px + 4dvh), 96px);
  --slider-pad-h: clamp(12px, 2dvw, 64px);
  padding-block: var(--slider-pad);
  padding-inline: var(--slider-pad-h);
}
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  justify-items: center;
  align-items: center;
}
.slider__track::-webkit-scrollbar {
  display: none;
}
.slider__slide {
  scroll-snap-align: start;
  max-height: calc(100dvh - 2 * var(--slider-pad) - 4.5rem);
  display: grid;
  grid-template-columns: 39.2fr 60.8fr;
  column-gap: clamp(12px, 1dvw, 24px);
  justify-content: stretch;
  padding-inline: 0.1rem;
  width: 100%;
  aspect-ratio: 2;
  height: auto;
}
.slider__left {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 300px;
}
.slider__heading {
  margin-left: clamp(1.25rem, 3dvh, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 400;
  --line-em: 12;
  font-size: min(calc((100vw - 2 * var(--slider-pad)) * 0.38 / var(--line-em)), 5dvh);
  line-height: 1.1;
  color: var(--brown);
  height: 25%;
}
.slider__card {
  height: 75%;
  padding: clamp(1.25rem, 1dvh + 1dvw, 2.5rem);
  padding-left: clamp(12px, 1dvh + 2dvw, 38px);
}
.slider__media {
  min-height: 0;
}
.slider__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 47.9375rem) {
  .slider__slide {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }
  .slider__heading {
    margin: 0 0 1rem;
  }
  .slider__media {
    order: -1;
    min-height: 40dvh;
  }
  .slider__card {
    height: auto;
  }
}
.slider__card--brown {
  background: var(--brown);
  color: var(--lighten-brown);
}
.slider__card--light {
  background: var(--light-brown);
  color: var(--brown);
}
.slider__card--dark {
  background: var(--darken-brown);
  color: var(--color-text-inverse);
}
.slider__card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  --line-em: 22;
  font-size: min(calc((100vw - 2 * var(--slider-pad)) * 0.38 / var(--line-em)), 3.5dvh);
  line-height: 1.15;
  margin-block-end: min(max(2dvh, 0.5rem), max(2dvw, 0.5rem));
}
.slider__card p {
  margin-block-end: 0.5rem;
  --line-em: 25;
  font-size: min(calc((100vw - 2 * var(--slider-pad)) * 0.38 / var(--line-em)), 2.7dvh);
  line-height: 1.4;
}
.slider__card p {
  opacity: 0.9;
  margin: 0;
}
.slider__dots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: max(0.5dvw, 0.5rem);
  margin-block-start: 1rem;
}
.slider__dot {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--darken-brown);
  font: inherit;
  font-size: 0.875rem;
  transition: transform 0.5s ease;
}
.slider__dot-pill {
  width: max(4dvw, 4rem);
  height: max(0.5dvw, 0.5rem);
  border-radius: 999px;
  border: 1px solid var(--brown);
  background: var(--brown);
}
.slider__dot[aria-current=true] {
  color: var(--dark-brown);
  transform: translateY(-10px);
}
.slider__dot[aria-current=true] .slider__dot-pill {
  background: var(--lighten-brown);
}
.home-newsletter {
  background: var(--lighten-brown);
  position: relative;
}
.home-newsletter__inner {
  max-width: max(90dvw, 60rem);
  text-align: center;
}
.home-newsletter__inner h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  --line-em: 16;
  font-size: min(calc(max(40dvw, 60rem) / var(--line-em)), 6dvh);
  line-height: 1.1;
  color: var(--brown);
}
.home-newsletter__lead {
  color: #443e37;
  max-width: min(90dvw, 40rem);
  margin-inline: auto;
  --line-em: 24;
  font-size: min(calc(min(40dvw, 40rem) / var(--line-em)), 2dvh);
  line-height: 1.1;
}
.home-newsletter__form {
  margin-block-start: 1.5rem;
}
.newsletter__deco {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  aspect-ratio: 748 / 631;
  width: auto;
  background: var(--lighten-brown);
  overflow: hidden;
  max-width: max(100dvw, 1000px);
}

/* src/css/effects.css */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim .reveal {
    opacity: 0;
    translate: 0 1.25rem;
    transition: opacity 0.6s ease-out, translate 0.6s ease-out;
  }
  html.js-anim .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body {
      timeline-scope: --cover-hero, --cover-balance;
    }
    .home-content {
      view-timeline: --cover-hero block;
    }
    .home-content-lower {
      view-timeline: --cover-balance block;
    }
    .home-hero {
      animation: medze-scale-out linear both;
      animation-timeline: --cover-hero;
      animation-range: entry-crossing 0% entry-crossing 100%;
    }
    .home-balance {
      animation: medze-scale-out linear both;
      animation-timeline: --cover-balance;
      animation-range: entry-crossing 0% entry-crossing 100%;
    }
  }
}
@keyframes medze-scale-out {
  to {
    scale: 0.8;
  }
}
.cursor {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
}
html.cursor-on .cursor {
  display: block;
}
html.cursor-on,
html.cursor-on * {
  cursor: none;
}
.cursor__ring {
  position: absolute;
  width: 44px;
  height: 44px;
  translate: -50% -50%;
  border: 1px solid var(--dark-brown);
  border-radius: 50%;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    opacity 0.2s ease;
}
.cursor__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--brown);
}
.cursor__arrow {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  translate: -50% -50%;
  display: none;
  color: var(--dark-brown);
}
.cursor__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.cursor--light .cursor__ring {
  border-color: var(--lighten-brown);
}
.cursor--light .cursor__dot {
  background: var(--lighten-brown);
}
.cursor--light .cursor__arrow {
  color: var(--lighten-brown);
}
.cursor--arrows .cursor__dot {
  display: none;
}
.cursor--arrows .cursor__arrow {
  display: block;
}
.cursor--arrows.cursor--flip .cursor__arrow svg {
  rotate: 180deg;
}
.corner-tl,
.corner-br {
  position: relative;
}
.corner-tl::before,
.corner-br::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: clamp(12px, calc(1dvh + 2dvw), 38px);
  background-color: var(--corner-bg, var(--color-bg));
  pointer-events: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.corner-tl::before {
  top: -1px;
  left: -1px;
  aspect-ratio: 38 / 57;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 57'%3E%3Cpath d='M37.7393 5.96973C37.7392 36.0344 4.3843 36.1393 0 56.0479L-4 60L-4 -4L42 -4L42 5.96973Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 57'%3E%3Cpath d='M37.7393 5.96973C37.7392 36.0344 4.3843 36.1393 0 56.0479L-4 60L-4 -4L42 -4L42 5.96973Z'/%3E%3C/svg%3E");
}
.corner-br::after {
  bottom: -1px;
  right: -1px;
  aspect-ratio: 38 / 62;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 62'%3E%3Cpath d='M0 49.8691C6.55238e-05 19.91 33.1215 19.7007 37.6924 0L42 -2L42 66L-4 66L-4 49.8691Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 62'%3E%3Cpath d='M0 49.8691C6.55238e-05 19.91 33.1215 19.7007 37.6924 0L42 -2L42 66L-4 66L-4 49.8691Z'/%3E%3C/svg%3E");
}
.wave-after,
.wave-before {
  position: relative;
}
.wave-after {
  margin-right: calc(var(--wave-w, 5.5rem) / 2);
}
.wave-before {
  margin-left: calc(var(--wave-w, 5.5rem) / 2);
}
.wave-after::after,
.wave-before::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  aspect-ratio: var(--wave-ratio, calc(84 / 59));
  background-color: inherit;
  pointer-events: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.cursor-light.wave-after::after,
.cursor-light.wave-before::before {
  pointer-events: auto;
}
.wave-after::after {
  inset-inline-start: calc(100% - 1px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 59' preserveAspectRatio='none'%3E%3Cpath d='M84 0 C 46.2029 0 49.4981 59 0 59 L -4 59 L -4 -4 L 84 -4 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 59' preserveAspectRatio='none'%3E%3Cpath d='M84 0 C 46.2029 0 49.4981 59 0 59 L -4 59 L -4 -4 L 84 -4 Z'/%3E%3C/svg%3E");
}
.wave-before::before {
  inset-inline-end: calc(100% - 1px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 59' preserveAspectRatio='none'%3E%3Cpath d='M0 59 C 37.7971 59 34.5019 0 84 0 L 88 0 L 88 63 L 0 63 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 59' preserveAspectRatio='none'%3E%3Cpath d='M0 59 C 37.7971 59 34.5019 0 84 0 L 88 0 L 88 63 L 0 63 Z'/%3E%3C/svg%3E");
}
.strip-above-right,
.strip-top-left {
  position: absolute;
  pointer-events: none;
}
.strip-above-right :is(a, button),
.strip-top-left :is(a, button) {
  pointer-events: auto;
}
.strip-above-right {
  bottom: calc(100% - 1px);
  right: -1px;
}
.strip-top-left {
  top: -1px;
  left: -1px;
}
.strip-above-right .wave-before,
.strip-above-right .wave-after,
.strip-top-left .wave-before,
.strip-top-left .wave-after {
  margin: 0;
}

/* src/css/main.css */
