/*
Theme Name: ActionLähetit Teema
Description: ActionLähetit Teema 2025
Author: Web-kehitys Miikka Asukas
Theme URI: https://miikka-asukas.fi
Author URI: https://miikka-asukas.fi/
Version: 1.0
-----------------------------------------------------------------------------*/

@font-face {

  font-family: "magneto";
  src: url(fonts/magneto.woff2);
  font-weight: normal;
  font-style: normal;
}


*, *::before, *::after {

	box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, header, section, figcaption, footer, blockquote {

	margin: 0;
	padding: 0;
}

ul, ol {

	list-style: none;
}

b, strong {

	font-weight: 500;
}

html {

  --black: #000;
  --dark: #141414;
  --white: #fff;
  --blue: #0693e6;
  --green: #233D1A;
  --blue-gradient: linear-gradient(rgb(0, 161, 230) 0%, rgb(0, 126, 230) 100%);
  --white-gradient: linear-gradient(rgb(255, 255, 255) 0%, rgb(255, 255, 230) 100%);
	--font: "azo-sans-web", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: "ethnocentric", "azo-sans-web", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-magneto: "magneto", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 6rem;
  --content-width: 80rem;
  --content-padding: clamp(1rem, 4vw, 2rem);
}

html, body {

	scroll-behavior: smooth;
	height: 100%;
	width: 100%;
}

body {

	-ms-touch-action: manipulation;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	text-rendering: optimizeSpeed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1;
	font-size: 16px;
	background: var(--black);
	color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  font-style: normal;
}

::selection {

  background: var(--blue);
  color: var(--white);
}

img::selection {

  background: rgba(255, 255, 255, 0.5);
}

::-moz-selection {

	background: rgba(36, 48, 58, 0.95);
	color: #fff;
}

img {

	display: block;
	max-width: 100%;
}

a {

	color: inherit;
	text-decoration: none;
}

p {

  font-size: 1rem;
}

svg {

  display: block;
}

.sr_only {

  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Button */

button {

	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	background: transparent;
	border: none;
	cursor: pointer;
  margin: 0;
	color: var(--dark);
}

button.button, a.button {

  --size: clamp(1rem, 4vw, 1.125rem);
	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	display: inline-block;
  width: auto;
	min-width: 11.875rem;
	overflow: visible;
	font-family: inherit;
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 90);
	font-weight: 700;
  line-height: 1.222;
  text-transform: uppercase;
	padding: 1rem 1.25rem;
  border: 2px solid var(--blue);
	border-radius: 0;
	background: var(--blue);
	color: var(--white);
  text-align: center;
  transition: none;
	user-select: none;
}

button.selected, a.button.selected {

  background: var(--gold);
}

button::-moz-focus-inner {

  border: 0;
  padding: 0;
}

button.loading {

	pointer-events: none;
	color: transparent !important;
}

/* Loader */

.loader, .loading:after {

  border: 0.3rem solid var(--white);
  border-top: 0.3rem solid var(--blue);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: spin 1s linear infinite;
	transition: none;
}

.loading:after {

	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -1rem 0 0 -1rem;
}

@keyframes spin {

  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (pointer: fine) {

  button.button:hover, a.button:hover {

    background: var(--white);
    color: var(--blue);
  }

	a[href^="tel:"]:hover, a[href^="mailto:"]:not(.button):hover {

		text-decoration: underline;
	}
}

/* Menu */

.menu {

	--color: var(--white);
	--color-open: var(--blue);
	--width: 3rem;
	--height: calc(var(--width) * 0.7);
	--border: calc(var(--height) * 0.2);
  position: relative;
  display: none;
	min-width: var(--width);
  width: var(--width);
  height: var(--height);
  background: linear-gradient(var(--color) 0, var(--color) 100%);
  background-size: 100% var(--border);
  background-position: center center;
  background-repeat: no-repeat;
  transition: background .1s .1s;
	margin-left: auto;
  border: none;
  padding: 0;
}

.menu:before,
.menu:after {

  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  height: var(--border);
  background: var(--color);
  transition: .2s all ease;
  transform-origin: center center;
  will-change: transform, color, top;
}

.menu:before {

  top: 0;
}

.menu:after {

	bottom: 0;
}

.menu[aria-expanded="true"] {

	background-size: 100% 0;
	transition: none;
}

.menu[aria-expanded="true"]:before,
.menu[aria-expanded="true"]:after {

	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%) rotate(45deg);
	background: var(--color-open);
	transition: .2s all ease-out;
}

.menu[aria-expanded="true"]:before {

	transform: translate(-50%, -50%) rotate(-45deg);
}

/* Header */

.header {

  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  position: relative;
  z-index: 3;
}

.header.small {

  z-index: 5;
}

.header .top {

  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--content-padding) 1.185rem 0;
  color: var(--white);
  /*background: var(--black);*/
  border-bottom: 6px solid var(--blue);
  height: var(--header-height);
}

.header .top hgroup {

  display: grid;
  gap: 0.25rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 33.333%;
  text-align: center;
}

.header hgroup h1 {

  --size: clamp(1.35rem, 6vw, 2.25rem);
  --stroke: clamp(4px, 0.4vw, 5px);
  font-family: var(--font-magneto);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: #231f20;
  background: linear-gradient(-90deg,
    #d7d4d1 0%,
    #939096 25%,
    #e8e9e9 50%,
    #939096 75%,
    #d7d4d1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-stroke: var(--stroke) transparent;
  padding-left: 8px;
  text-transform: lowercase;
}

.header hgroup h2 {

  --size: clamp(0.55rem, 2.5vw, 1rem);
  font-family: var(--font-title);
  font-size: var(--size);
  font-style: italic;
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.header .nav {

  --size: clamp(0.875rem, 1vw, 1rem);
  display: flex;
  text-transform: uppercase;
  font-size: var(--size);
  font-weight: 700;
  letter-spacing: calc(var(--size) * 0.001 * 90);
  gap: 3rem;
  color: var(--light);
}

.header .nav a[aria-current="page"] {

  color: var(--blue);
}

/* Header inner */

.header .inner {

  flex: 1;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  min-height: calc(50vh - (var(--header-height) / 2));
}

.header .hero {

  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--content-padding);
  color: var(--white);
  text-align: center;
  width: 33.333%;
  gap: 1.5rem;
}

.header.right .hero {

  width: 66.666%;
  max-width: none;
}

.header:not(.right) .hero {

  order: 1;
}

.header .hero .hero_inner {

  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .hero h1 {

  --size: clamp(1.25rem, 3vw, 5rem);
  --stroke: clamp(5px, 0.4vw, 10px);
  font-family: var(--font-magneto);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: #231f20;
  background: linear-gradient(-90deg,
    #d7d4d1 0%,
    #939096 25%,
    #e8e9e9 50%,
    #939096 75%,
    #d7d4d1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-stroke: var(--stroke) transparent;
  padding-left: 8px;
  text-transform: lowercase;
}

.header .hero h2:not(.regular) {

  --size: clamp(1rem, 1.25vw, 1.5rem);
  font-family: var(--font-title);
  font-size: var(--size);
  font-style: italic;
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.header .hero h2.regular {

  --size: clamp(1.875rem, 2.5vw, 2.75rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 60);
  line-height: 1.333;
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.header .hero h1 + h2 {

  --size: clamp(1rem, 1.33vw, 2rem);
  margin: 1rem 0 3rem 0;
}

.header p {

  --size: clamp(0.875rem, 1.22vw, 1.5rem);
  font-size: var(--size);
  line-height: 1.33;
  letter-spacing: calc(var(--size) * 0.001 * 50);
  max-width: 32.25rem;
  margin: 0 auto;
}

.header.right p {

  max-width: 50vw;
}

.header p.small {

  --size: clamp(0.875rem, 1.22vw, 1.25rem);
}

.header p + p {

  margin-top: 2rem;
}

.header .arrow {

  --color-stop: #d7d4d1;
  --color-stop-2: #e8e9e9;
  --color-stop-3: #666666;
  --color-stop-4: #bbbbbb;
  display: block;
}

.header .arrow.mobile_only {

  display: none;
}

.header .arrow svg {

  width: 100%;
  max-width: 4rem;
  margin: 0 auto;
}

.header .arrow svg path:first-child {

  fill: url(#arrow-shape-gradient) #fff;
}

.header .arrow svg path:last-child {

  fill: url(#header-shape-gradient) #fff;
}

.header .sub .arrow {

  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.header .sub .arrow svg path {

  fill: var(--white);
}

.header action-lahetit-slider,
.header action-lahetit-video {

  flex: 1;
  display: flex;
  align-items: stretch;
}

.header.small action-lahetit-slider,
.header.small action-lahetit-video {

  aspect-ratio: 16 / 9;
}

.header:not(.right) action-lahetit-slider,
.header:not(.right) action-lahetit-video {

  order: 2;
}

.header action-lahetit-slider[loading],
.header action-lahetit-video[loading] {

  opacity: 0;
}

.header action-lahetit-slider:not([loading]),
.header action-lahetit-video:not([loading]) {

  z-index: 3;
}

@media screen and (pointer: fine) {

  .header .nav a:hover {

    color: var(--blue);
  }

  .header .arrow:hover {

    --color-stop: #0693e3;
    --color-stop-2: #046aa3;
    --color-stop-3: #03507b;
    --color-stop-4: #0468a0;
  }

  .header .sub .arrow:hover svg path:first-child {

    fill: url(#arrow-shape-gradient) #fff;
  }

  .header .sub .arrow:hover svg path:last-child {

    fill: url(#header-shape-gradient) #fff;
  }
}

/* Header animation */

@media screen and (prefers-reduced-motion: no-preference) {

  body:has(.header .inner action-lahetit-slider[loading]),
  body:has(.header .inner action-lahetit-video[loading]) {

    overflow: hidden;
  }

  .header .inner:has(action-lahetit-slider[loading]):after,
  .header .inner:has(action-lahetit-video[loading]):after {

    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2rem 0 0 -2rem;
    border: 0.5rem solid var(--white);
    border-top: 0.5rem solid var(--blue);
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    animation: spin 1s linear infinite;
    opacity: 1;
    z-index: 3;
  }

  .header .hero h1,
  .header .hero h2,
  .header .hero .hero_text p,
  .header .hero .arrow,
  .header .hero .icons a,
  .header .highlight .row {

    opacity: 0;
  }

  .header action-lahetit-slider:not([loading]) + .hero h1,
  .header action-lahetit-video:not([loading]) + .hero h1 {

    animation: header_in 0.5s ease 0.2s 1 forwards;
  }

  .header action-lahetit-slider:not([loading]) + .hero h2,
  .header action-lahetit-video:not([loading]) + .hero h2 {

    animation: header_2_in 0.5s ease 0.3s 1 forwards;
  }

  .header action-lahetit-slider:not([loading]) + .hero .hero_text p,
  .header action-lahetit-video:not([loading]) + .hero .hero_text p {

    animation: header_text_in 0.5s ease 0.4s 1 forwards;
  }

  .header action-lahetit-slider:not([loading]) + .hero .arrow,
  .header action-lahetit-video:not([loading]) + .hero .arrow {

    animation: header_arrow_in 0.8s ease 0.4s 1 forwards;
  }

  /* Highlights */

  .header action-lahetit-slider:not([loading]) + .hero .highlight .row.show,
  .header action-lahetit-video:not([loading]) + .hero .highlight .row.show  {

    animation: text_in 0.5s ease 0.8s 1 forwards; /* cubic-bezier(0.47, 1.64, 0.41, 0.8) */
  	animation-delay: calc(var(--i) * 100ms);
  }

  .header action-lahetit-slider:not([loading]) + .hero .icons a,
  .header action-lahetit-video:not([loading]) + .hero .icons a {

    animation: text_in 0.5s ease 0.4s 1 forwards; /* cubic-bezier(0.47, 1.64, 0.41, 0.8) */
		animation-delay: calc(var(--i) * 100ms);
  }
}

@keyframes header_in {

  0% {

    opacity: 0;
    transform: translateX(-20%);
  }

  100% {

    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes header_2_in {

  0% {

    opacity: 0;
    transform: translateY(-100%);
  }

  100% {

    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header_text_in {

  0% {

    opacity: 0;
    transform: translateY(20%);
  }

  100% {

    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header_arrow_in {

  0% {

    opacity: 0;
    transform: translateY(-20%);
  }

  100% {

    opacity: 1;
    transform: translateY(0);
  }
}

/* Header queries */

@media screen and (min-width: 85rem) and (max-width: 128rem) {

  body:has(.header:not(.small) + main .content:first-of-type .lifts.padding:first-child) .header:not(.small) .inner,
  body:has(.header:not(.small) + main .content:first-of-type .contact) .header:not(.small) .inner {

    padding-bottom: calc(var(--content-padding) / 2);
  }

  .header:not(.small) + main .content:first-of-type .lifts.padding:first-of-type,
  .header:not(.small) + main .content:first-of-type .contact:first-of-type {

    padding-top: calc(var(--content-padding) / 2);
  }
}

@media screen and (min-width: 128rem) {

  .header .hero {

    gap: 4rem;
  }

  .header action-lahetit-slider,
  .header action-lahetit-video {

    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 140rem) {

  .header .top {

    justify-content: flex-end;
  }
}
@media screen and (max-width: 85rem) {

  .header:not(.small) {

    min-height: 100vh;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
  }

  @-moz-document url-prefix() {

  	.header:not(.small) {

  		height: 100%;
  	}
  }

  .header .top {

    align-items: center;
    justify-content: space-between;
    padding: 0 var(--content-padding);
  }

  .header .top hgroup {

    width: auto;
    left: var(--content-padding);
  }

  .header .nav {

    --size: clamp(1rem, 3vw, 1.25rem);
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 4;
    padding: 2rem var(--content-padding);
    border-bottom: 4px solid var(--blue);
    transform: scaleY(0);
    transform-origin: top center;
    pointer-events: none;
    transition: 0.2s ease all;
  }

  .header .nav li {

    opacity: 0;
  }

  .header .top .menu[aria-expanded="true"] + .nav {

    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .header .top .menu[aria-expanded="true"] + .nav li {

    opacity: 1;
    transition: 0.2s 0.2s ease all;
  }

  .header .menu {

    display: block;
  }

  .header .inner {

    flex-flow: column nowrap;
  }

  .header action-lahetit-slider,
  .header action-lahetit-video,
  .header:not(.right) action-lahetit-slider,
  .header:not(.right) action-lahetit-video    {

    flex: initial;
    order: 1;
    aspect-ratio: 16 / 9;
    max-height: 50vh;
  }

  .header .hero,
  .header.right .hero {

    flex: initial;
    max-width: none;
    width: auto;
  }

  .header .hero {

    flex: 1;
    order: 2;
  }

  .header .hero h1,
  .header .hero h2.regular {

    --size: clamp(1.25rem, 8vw, 5rem);
    --stroke: clamp(3px, 1vw, 8px);
  }

  .header .hero h1 + h2,
  .header .hero h2:not(.regular) {

    --size: clamp(0.5rem, 3vw, 1.85rem);
    margin-bottom: 1.875rem;
  }

  .header p {

    --size: clamp(0.75rem, 4vw, 1.25rem);
    max-width: none;
  }

  .header.right p {

    max-width: none;
  }

  .header .arrow {

    position: static;
  }

  .header .arrow svg {

    max-width: clamp(2rem, 12vw, 4rem);
  }

  .header .arrow.mobile_only {

    display: block;
  }
}

@media screen and (max-width: 30rem) {

  .header .top hgroup {

    gap: 0.5rem;
  }

  .header .hero {

    grid-gap: 1.5rem;
  }
}

@media screen and (max-height: 56.25rem) {

  .header .arrow {

    position: static;
  }
}

/* Hightlight */

.highlight {

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 33.75rem;
}

.highlight .row {

  display: flex;
  flex-flow: column;
  align-items: center;
  grid-gap: 0.75rem;
}

.highlight .row figure {

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  background-image: var(--blue-gradient);
  border-radius: 50%;
  width: 100%;
  max-width: clamp(2rem, 16vw, 5rem);
  aspect-ratio: 1 / 1;
  user-select: none;
}

.highlight .row figure img {

  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 50%;
  transform: translate(-50%, -50%);
}

.highlight .row .caption {

  flex: 1;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.75rem;
}

.highlight .row h4 {

  --size: clamp(1rem, 3vw, 1rem);
  font-size: var(--size);
  line-height: 1.5;
}

.highlight .row h4 span {

  display: block;
}

.highlight .row p {

  --size: clamp(1rem, 4vw, 1.25rem);
  font-size: var(--size);
  line-height: 1.333;
  letter-spacing: calc(var(--size) * 0.001 * 10);
}

.highlight .row p span + span {

  padding-left: 0.5rem;
}

.highlight .row .count {

  counter-reset: n var(--n);
}


.highlight .row .count {

  opacity: 0;
  transition: 0.8s ease all;
}

.highlight .row .count.visible {

  opacity: 1;
}

.highlight .row .count:before {

	opacity: 0;
}

.highlight .row .count.visible:not(.done):before {

  content: counter(n);
	opacity: 1;
}

.highlight .row .count:not(.done) + span {

  opacity: 0;
}

@media screen and (max-width: 85rem) {

  .highlight .row h4 {

    --size: clamp(0.75rem, 3vw, 1.25rem);
    font-size: var(--size);
    line-height: 1.5;
  }

  .highlight .row p {

    --size: clamp(1rem, 4vw, 1.25rem);
    font-size: var(--size);
    line-height: 1.333;
    letter-spacing: calc(var(--size) * 0.001 * 10);
  }
}

/* Main */

main {

  position: relative;
  z-index: 4;
  overflow: hidden;
}

.content.padding {

  padding: var(--content-padding);
}

.content.margin {

  margin-top: var(--content-padding);
}

.content > *.padding {

  padding-top: var(--content-padding);
}

.content.light {

  background: var(--white);
  color: var(--dark);
}

.content.blue {

  background: var(--blue);
}

.content.blue button.button {

  background: var(--dark);
	color: var(--white);
}

.content .inner {

  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.content:not(.padding) .inner {

  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.content .inner > .elem + .elem {

  margin-top: calc(var(--content-padding) * 1.333);
}

/* Text */

.content h2 {

  --size: clamp(1.875rem, 4vw, 3rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 60);
  line-height: 1.333;
}

.content h2 + p {

  padding-top: 2rem;
}

.content h3 {

  --size: clamp(1rem, 4vw, 1.875rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 40);
  line-height: 1.333;
  color: var(--green);
  margin: 0.5rem 0 2rem 0;
  font-weight: 500;
  font-style: italic;
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.content .blue_text {

  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.content p,
.content time {

  --size: clamp(1rem, 2vw, 1.25rem);
  font-size: var(--size);
  line-height: 1.75;
  letter-spacing: calc(var(--size) * 0.001 * 10);
  max-width: 72rem;
  margin: 0 auto;
}

.content ul {

  list-style-type: circle;
  text-align: left;
  line-height: 2;
  --size: clamp(1rem, 2vw, 1.25rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 10);
  margin: 0;
}

.content .text time {

  display: block;
  margin: 1rem 0 2rem 0;
  text-align: center;
  max-width: none;
  color: var(--blue);
}

.content .text.article {

  padding-top: 4rem;
  padding-bottom: 4rem;
  min-height: 50vh;
}

.content .text.article .main_img {

  display: block;
  width: 50%;
  margin: 0 auto 2rem auto;
}

.content .article_nav {

  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 0;
  gap: 2rem;
}

.content .article_nav .next {

  text-align: right;
}

.content .article_nav .prev {

  text-align: left;
}

.content .article_nav:has(.prev + .next) {

  justify-content: space-between;
}

.content .article_nav:has(.prev:only-child) {

  justify-content: flex-start;
}

.content .article_nav a:not(.button) {

  color: var(--blue);
  text-decoration: none;
}

.content p + p {

  margin-top: 2rem;
}

.content p + .button {

  margin-top: 2rem;
}

.content a:not(.button) {

  text-decoration: underline;
}

@media screen and (pointer: fine) {

  .content.blue button.button:hover {

    background: var(--white);
    color: var(--blue);
    border-color: var(--dark);
  }
}

@media screen and (min-width: 128rem) {

  .content,
  .content.padding {

    padding: calc(var(--content-padding) * 2);
  }

  .content .inner > .elem + .elem {

    margin-top: calc(var(--content-padding) * 1.5);
  }

  .content + .content:not(.blue),
  .content + .content.padding:not(.blue),
  .content + .content > *.padding:not(.blue):first-of-type {

    padding-top: 0;
  }

}

@media screen and (max-width: 64rem) {

  .content > *.padding {

    padding-top: calc(var(--content-padding) * 2);
  }

  .content.padding {

    padding: calc(var(--content-padding) * 2);
  }

  .content .inner > .elem + .elem {

    margin-top: calc(var(--content-padding) * 2);
  }

  .content .text.article .main_img {

    width: 100%;
  }
}

/* Cookies page */

.content .inner .text.cookies {

  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.content .contact .cmplz-placeholder-parent {

  height: 100%;
}

/* Lifts */

.lifts {

  display: grid;
  grid-template-columns: 1fr;
  max-width: 120rem;
  margin: 0 auto;
  min-height: 50vh;
}

.lifts:has(.row .video + figure) {

  min-height: 0;
}

.lifts .row {

	display: grid;
	grid-template-columns: 1fr 1fr;
  text-align: center;
}

.content .lifts .row:not(:has(.column)) {

  grid-gap: var(--content-padding);
}

.lifts.third .row {

  grid-template-columns: 1fr 1fr 1fr;
}

.lifts.third.no_space .row {

  grid-gap: 0;
}

.lifts.fourth .row {

  grid-template-columns: repeat(4, 1fr);
}

.lifts .row figure {

  position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 75%;
}

.lifts .row figure figcaption {

  --size: clamp(0.65rem, 3vw, 1.25rem);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--light);
  padding: 1rem;
  font-size: var(--size);
  line-height: 2;
  letter-spacing: calc(var(--size) * 0.001 * 10);
}

.lifts .row .video {

  position: relative;
}

.lifts .row .video_inner {

  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
  z-index: 1;
}

.lifts .row .video video {

  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.lifts .row .video .video_inner video {

	position: absolute;
	left: 50%; /* % of surrounding element */
	top: 50%;
	transform: translate(-50%, -50%); /* % of current element */
	height: 100%;
  width: auto;
  aspect-ratio: auto;
}

.lifts .row .video + figure {

  padding-bottom: 56.25%;
}

.lifts .row figure.full {

  padding-bottom: 40%;
}

.lifts.third .row figure.ratio:not(.full) {

  aspect-ratio: 4 / 3;
  padding: 0;
}

.lifts.third .row figure.ratio.full {

  aspect-ratio: 16 / 9;
  padding: 0;
}

.lifts .row .column {

	display: flex;
	align-items: center;
	justify-content: center;
  padding: 2rem var(--content-padding);
}

.lifts .row .column .list {

  display: flex;
  gap: 4rem;
  margin: 2rem 0;
  align-items: flex-start;
  justify-content: center;
}

.lifts .row .column .list ul {

  list-style: initial;
}

.lifts .row .full {

  grid-column: span 2;
}

.lifts .row .column:not(.main) h2 {

  --size: clamp(1.875rem, 2.5vw, 2.75rem);
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
}

.lifts .row .column:not(.main) h3 {

  --size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white);
  background-image: none;
  -webkit-text-fill-color: inherit;
  margin: 0 0 0.5rem 0;
  line-height: 1;
}

.lifts .row.reverse figure,
.lifts .row.reverse .img,
.lifts .row.reverse .video {

	order: 2;
}

.lifts .row.reverse .video + figure,
.lifts .row.reverse .column {

	order: 1;
}

@media screen and (min-width: 128rem) {

  .lifts,
  .header:not(.small) + main .content.minimal_padding:first-of-type .lifts:first-of-type {

    min-height: 0;
  }

  .lifts + .lifts {

    padding-top: var(--content-padding);
  }
}

@media screen and (max-width: 85rem) {

	.lifts .row,
  .lifts.third .row,
  .lifts.fourth .row,
  .lifts.third .row:has(.full) {

		grid-template-columns: 1fr;
    grid-gap: 0;
	}

	.lifts .row .column {

		padding: 4rem var(--content-padding);
	}

  .lifts .row .full {

    grid-column: auto;
  }

	.lifts .row.reverse figure {

		order: 1;
	}

	.lifts .row.reverse .column {

		order: 2;
	}

  .lifts .row figure.full {

    padding-bottom: 75%;
  }

  .lifts .row .img.full figure {

    aspect-ratio: 4 / 3;
  }

  .lifts.fourth .row figure + figure {

    margin-top: var(--content-padding);
  }

  .lifts .row .video,
  .lifts .row .video + figure {

    padding: 0;
    aspect-ratio: 16 / 9;
  }

  .lifts .row .video + figure {

    margin-bottom: var(--content-padding);
  }

  .lifts + .lifts {

    padding-top: 0;
  }

  .content .lifts:not(.no_space) .row:has(:not(.column)) {

    grid-gap: 0;
  }

  .content.no_padding .row .column,
  .content.minimal_padding .row .column {

  	padding: 3rem var(--content-padding);
  }

  .lifts .row video +  figure {

    margin-top: var(--content-padding);
  }

  .header:not(.small) + main .content:first-of-type .lifts.padding:first-of-type {

    padding-top: 0;
  }

  .lifts .row figure figcaption {

    bottom: auto;
    top: 0;
    left: 50%;
  }
}

@media screen and (max-width: 30rem) {

  .lifts .row .column .list {

    display: grid;
  }
}

/* Etusivun tyylit */

@media screen and (min-width: 85rem) and (max-width: 128rem) {

  .header:not(.small) {

    min-height: calc(55vh + var(--header-height) / 2);
  }

  .header:not(.small) + main .content:first-of-type .lifts {

    min-height: calc(45vh - (var(--header-height) / 2));
  }

  .header:not(.small) + main .content:first-of-type .lifts .row figure {

    padding-bottom: 56.25%;
  }

  .header:not(.small) + main .content:first-of-type h2 {

    line-height: 1.1;
  }

  body:has(.header:not(.small) + main .content:first-of-type .lifts.padding:first-child) .header:not(.small) .inner,
  body:has(.header:not(.small) + main .content:first-of-type .contact) .header:not(.small) .inner {

    padding-bottom: calc(var(--content-padding) / 2);
  }

  .header:not(.small) + main .content:first-of-type .lifts.padding:first-of-type,
  .header:not(.small) + main .content:first-of-type .contact:first-of-type {

    padding-top: calc(var(--content-padding) / 2);
  }
}

/* References */

.references {

  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  text-align: center;
}

.references .references_inner {

  position: relative;
  margin-top: 2rem;
}

.references h2 {

  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.references svg {

  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  padding: clamp(0.5rem, 4vw, 2rem);
  cursor: pointer;
  transition: 0.2s ease opacity;
  width: 1rem;
  max-width: clamp(1rem, 3vw, 2.25rem);
  box-sizing: content-box;
}

.references svg:last-of-type {

  left: auto;
  right: 0;
}

.references svg.hide {

  opacity: 0;
  pointer-events: none;
}

.references .wrapper {

  margin: 0 auto;
  max-width: 100vw;
}

.references .container {

	--n: 1;
	display: flex;
	align-items: stretch;
	width: 100%;
	width: calc(var(--n) * 100%);
  height: 100%;
	overflow: hidden;
  margin: 0;
  padding: 0;
	transform: translate(calc(var(--i, 0) / var(--n) * -100%));
	transform-style: preserve-3d;
}

.references .container .slot {

  display: flex;
  align-items: center;
  justify-content: center;
	width: 100%;
	width: calc(100% / var(--n));
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  text-align: center;
  padding: 0 clamp(3rem, 10vw, 6rem);
}

.references .container .slot .grid {

  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 120rem;
}

.references .container .slot .reference figure {

  display: flex;
  align-items: center;
  justify-content: center;
}

.references .container .slot .reference figure img {

  max-width: clamp(10rem, 10vw, 15rem);
  margin: 0 auto;
}

.references .container.anim {

	pointer-events: none;
	transition: transform 0.8s ease;
}

.references .references_inner:has(.wrapper .container.anim) {

  pointer-events: none;
}


@media screen and (max-width: 73.75rem) {

  .references .container .slot .grid {

    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .references .container .slot .reference figure {

    aspect-ratio: auto;
  }
}

/* Widebtn */


.widebtn {

  display: flex;
  padding: 0;
}

.widebtn a.button {

  flex: 1;
  --size: clamp(1.25rem, 3vw, 1.875rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 60);
  line-height: 1.333;
  padding: 1rem var(--content-padding);
  text-transform: none;
}

/* Icons */

.icons {

  display: inline-grid;
  grid-template-columns: 1fr;
  grid-gap: clamp(1rem, 4vw, 2rem);
}

.icons .row {

  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  grid-gap: clamp(1rem, 4vw, 2rem) !important;
  text-align: left;
}

.icons .row span {

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  background-image: var(--blue-gradient);
  border-radius: 50%;
  width: 100%;
  width: 4rem;
  aspect-ratio: 1 / 1;
  user-select: none;
}

.icons .row img {

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icons .row p {

  --size: clamp(0.5rem, 4vw, 1.25rem);
  font-size: var(--size);
  line-height: 2;
  font-weight: bold;
  letter-spacing: calc(var(--size) * 0.001 * 10);
  margin: 0;
}

.icons .row {

  text-decoration: none;
}

@media screen and (pointer: fine) {

  .icons .row:hover {

    text-decoration: underline;
  }
}

@media screen and (max-width: 85rem) {

  .icons {

    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    padding-bottom: 2rem;
  }

  .icons .row {

    flex-flow: column nowrap;
    text-align: center;
  }

  .icons .row span {

    width: clamp(3rem, 6vw, 6rem);
  }
}

@media screen and (max-width: 33rem) {

  .icons {

    grid-template-columns: 1fr;
    margin-top: clamp(0rem, 4vw, 2rem);
  }
}


/* IMG Gallery */

.img_gallery {

	margin-left: auto;
	margin-right: auto;
	max-width: 80rem;
}

.img_gallery h2 {

	margin-bottom: 2rem;
}

.img_gallery_inner {

  display: grid;
  grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
}

.img_gallery_inner a {

  display: block;
  text-align: center;
}

.img_gallery_inner img {

	display: none;
}

.img_gallery_inner figure {

  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 1 / 1;
  margin: 0 0 1rem 0;
  transform-origin: center center;
  transform: scale(1);
  transition: 0.2s ease all;
	margin: 0;
}

.img_gallery_inner p {

  --size: clamp(0.875rem, 5vw, 1rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 100);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.25;
}

.lg-sub-html h2 {

	font-family: var(--font);
	line-height: 1.5;
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}

.lg-sub-html p {

	font-family: var(--font);
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

@media screen and (pointer: fine) {

  .img_gallery_inner a figure:hover {

    transform: scale(1.02);
  }

  .img_gallery_inner a p:hover {

    text-decoration: underline;
  }
}

@media screen and (max-width: 64rem) {

 	.img_gallery_inner {

    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 40rem) {

 	.img_gallery_inner {

    grid-template-columns: 1fr;
  }
}

/* Posts */

.post_lift {

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0;
  margin: calc(var(--content-padding) * 2) 0 !important;
}

.post_lift .caption {

  grid-column: span 2;
}

.post_lift .caption .caption_inner {

  padding: var(--content-padding);
  padding-top: 0;
}

.posts {

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 4rem 2rem;
  margin-bottom: 2rem;
}

.content .posts .post {

  display: flex;
  flex-flow: column nowrap;
  text-align: center;
  text-decoration: none;
}

.post_lift figure,
.posts .post figure {

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 4 / 3;
  transform-origin: center center;
  transition: 0.2s ease all;
}

.post_lift h3,
.posts .post h3 {

  --size: clamp(1rem, 8vw, 1.875rem);
  font-style: normal;
  margin: 2rem 0 1rem 0;
}

.post_lift time,
.posts .post time {

  display: block;
  color: var(--blue);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1rem;
}

.posts .post p {

  margin: 0 0 1rem 0;
}

.posts .post .btn {

  margin-top: auto;
}

@media screen and (pointer: fine) {

  .posts .post h3:hover {

    background-image: var(--white-gradient);
  }

  .posts .post figure:hover {

    transform: scale(1.05);
  }
}

@media screen and (max-width: 64rem) {

  .post_lift {

    grid-template-columns: 1fr;
  }

  .post_lift .caption {

    grid-column: auto;
  }

  .posts {

    grid-template-columns: repeat(2, 1fr);
  }

  .posts.latest .post:nth-of-type(3) {

    display: none;
  }
}

@media screen and (max-width: 40rem) {

  .posts {

    grid-template-columns: 1fr;
  }
}

/* Lomake */

input[type="text"], input[type="tel"], input[type="email"], textarea {

	appearance: none;
	-webkit-appearance: none;
	font-family: var(--font);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: normal;
	color: var(--dark);
	background: var(--white);
	padding: 1rem 2rem;
  margin: 0;
	width: 100%;
	border: none;
	border-radius: 0;
	font-weight: 400;
	outline: none;
	resize: none;
	text-align: left;
}

textarea {

  resize: vertical;
  min-height: 12.5rem;
}

::placeholder {

	color: var(--dark);
	text-align: center;
}

.form {

  /*padding-top: 2rem;*/
}

.form .form_inner {

  position: relative;
}

.form .thanks {

  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--blue);
  z-index: 1;
  opacity: 0;
	padding: 2rem var(--content-padding);
  pointer-events: none;
  visibility: hidden;
  transition: 0.3s ease all;
}

.form.success .thanks {

  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.form.wait form {

  pointer-events: none;
}

.form .thanks p {

  margin: 2rem 0;
}

.content .form h3 {

  --size: clamp(1.25rem, 6vw, 2.25rem);
  color: var(--white);
  background-image: none;
  -webkit-text-fill-color: inherit;
}

.form form {

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.5rem;
  max-width: 51.25rem;
  margin: 0 auto;
}

.form form.double {

  grid-template-columns: repeat(2, 1fr);
}

.form form div {

  grid-column: span 3;
}

.form form.double div {

  grid-column: span 2;
}

.form form a {

  text-decoration: underline;
}

.form .file {

  margin-bottom: 0.5rem;
}

.form .file input {

  display: none;
}

.file button {

  --size: clamp(1rem, 4vw, 1.125rem);
  display: block;
  color: var(--white);
  border: 1px dashed var(--white);
  width: 100%;
	overflow: visible;
	font-family: inherit;
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 90);
	font-weight: 400;
  line-height: 1;
	padding: 2rem;
  text-align: center;
  transition: none;
	user-select: none;
  background-color: rgba(255, 255, 255, 0.05);
}

.file label {

  display: block;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1;
  margin: 0.5rem 0;
  text-align: left;
}

.checkbox {

  --size: 1.375rem;
  display: inline-block;
	position: relative;
	cursor: pointer;
	user-select: none;
	padding-left: calc(var(--size) + 0.5rem);
	line-height: var(--size);
	text-align: left;
	margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.form form div .checkbox {

	margin-top: 0.5rem;
}

.checkbox input {

  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox input + .checkmark,
.checkbox input + .checkmark {

  position: absolute;
  top: 0;
  left: 0;
  height: var(--size);
  width: var(--size);
  background-color: var(--white);
  border-radius: 50%;
	transition: 0.3s ease all;
}

.checkbox input + .checkmark:after {

	content: "";
	position: absolute;
  left: 50%;
  top: 50%;
	transform: translate(-50%, -50%) scale(0);
  width: calc(var(--size) * 0.45);
  height: calc(var(--size) * 0.45);
	background: var(--green);
	border-radius: 50%;
	transition: 0.3s ease all;
}

.checkbox input:checked + .checkmark:after {

	transform: translate(-50%, -50%) scale(1);
}

.form .submit {

  margin-top: 2rem;
}

@media screen and (pointer: fine) {

  .file button:hover {

    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    border-color: var(--dark);
  }
}

@media screen and (max-width: 40rem) {

  .form form {

    grid-template-columns: 1fr;
  }

  .form form div {

    grid-column: auto;
  }
}

/* Contact */

.header:not(.small) + main .content:first-of-type .contact:first-of-type {

  min-height: calc(50vh - (var(--header-height) / 2));
}

.content .contact {

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 120rem;
  margin: 0 auto;
}

.contact .wrapper {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content .contact ul {

  display: grid;
  list-style-type: none;
  gap: 1rem;
}

.contact li {

  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 1rem;
  text-align: center;
}

.contact li figure {

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  background-image: var(--blue-gradient);
  border-radius: 50%;
  width: clamp(4rem, 5vw, 5rem);
  aspect-ratio: 1 / 1;
  user-select: none;
}

.contact li figure img {

  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 50%;
  transform: translate(-50%, -50%);
}

.contact li div {

  flex: 1;
}

.content .contact li h3 {

  --size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0 0 1rem 0;
  font-style: normal;
  font-weight: bold;
}

.content .contact li p {

  --size: clamp(1rem, 1vw, 1.25rem);
  line-height: 1.5;
}

.contact .map {

  grid-column: span 2;
}

.contact iframe {

  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 80rem) {

  .content .contact {

    display: block;
    text-align: center;
  }

  .content .contact ul {

    display: inline-grid;
    padding: 0;
    gap: 3rem;
    padding: 2rem var(--content-padding) 4rem var(--content-padding);
  }

  .contact li figure {

    max-width: clamp(2rem, 13vw, 5rem);
    width: 5rem;
  }

  .content .contact li h3 {

    --size: clamp(1.25rem, 4vw, 1.875rem);
  }

  .content .contact li p {

    --size: clamp(1rem, 2vw, 1.25rem);
  }

  .contact iframe {

    aspect-ratio: 1 / 1;
  }
}

/*@media screen and (max-width: 47rem) {

  .content .contact ul {

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 3rem;
    padding: 0 var(--content-padding);
    padding-bottom: var(--content-top);
  }

  .contact ul li:nth-child(1),
  .contact ul li:nth-child(2),
  .contact ul li:nth-child(3) {

    grid-column-start: auto;
    grid-row-start: auto;
    grid-row: auto;
    grid-column: auto;
    flex-flow: row nowrap;
    align-items: flex-start;
    text-align: left;
  }

  .content .contact li h3 {

    margin-top: 0;
    text-align: left;
    padding-top: 0.35rem;
  }

  .contact li figure {

    max-width: clamp(3rem, 4vw, 6rem);
  }
}*/

/* Footer */

.footer {

  position: relative;
  --content-top: clamp(6rem, 10vw, 9.875rem);
  padding: 6rem var(--content-padding) 2rem var(--content-padding);
  border-top: 6px solid var(--blue);
}

.footer:before {

  content: "";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url(images/tausta.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.footer:after {

  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.footer .inner {

  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
  z-index: 3;
}

.footer .row {

  display: inline-flex;
  flex-flow: row nowrap;
  gap: clamp(3rem, 6vw, 6rem);
  text-align: left;
}

.footer .inner .column:last-of-type {

  text-align: right;
}

.footer .column.flex {

  position: relative;
  display: flex;
  gap: 2rem;
}

.footer .column.flex .right {

  position: absolute;
  left: calc(100% + 2rem);
  bottom: 0;
  align-self: flex-end;
}

.footer .column.flex .right img {

  max-width: 8rem;
  padding-bottom: 2rem;
}

.footer h2 {

  --size: clamp(2rem, 6vw, 4rem);
  --stroke: clamp(5px, 1vw, 7px);
  font-family: var(--font-magneto);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 50);
  color: #231f20;
  background: linear-gradient(-90deg,
    #d7d4d1 0%,
    #939096 25%,
    #e8e9e9 50%,
    #939096 75%,
    #d7d4d1 100%
  );
  line-height: 1.33;
  -webkit-background-clip: text;
  -webkit-text-stroke: var(--stroke) transparent;
  padding-left: 8px;
  margin-bottom: 4rem;
}

.footer h2 span {

  white-space: nowrap;
}

.footer h3 {

  --size: clamp(1rem, 4vw, 1.25rem);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 10);
  line-height: 2;
  margin-bottom: 1.25rem;
}

.footer p {

  --size: clamp(1rem, 4vw, 1.25rem);
  font-size: var(--size);
  line-height: 2;
  letter-spacing: calc(var(--size) * 0.001 * 10);
}

.footer .some {

  display: inline-flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.footer .some svg {

  width: clamp(1.5rem, 6vw, 2rem);
  height: auto;
}

.footer .some svg path {

  fill: var(--white);
}

.footer .copy {

  margin-top: 6rem;
  font-size: 1rem;
}

@media screen and (pointer: fine) {

  .footer a:hover {

    text-decoration: underline;
  }

  .footer .some a:hover svg path {

    fill: var(--blue);
  }
}

@media screen and (max-width: 73rem) {

  .footer .row {

    display: inline-grid;
    text-align: center;
  }

  .footer .inner .column:last-of-type {

    text-align: center;
  }

  .footer .some {

    margin-top: 2rem;
  }

  .footer .column.flex {

    display: grid;
    align-items: center;
    justify-content: center;
  }

  .footer .column.flex .right {

    position: static;
    display: flex;
    justify-content: center;
  }

  .footer .column.flex .right img {

    padding-bottom: 0rem;
  }
}

/* Animations */

@media screen and (prefers-reduced-motion: no-preference) {

  .content .inner > .text h2,
  .content .inner > .text h3,
  .content .inner > .text p,
  .content .inner > .text time,
  .content .inner > .text .button,
  .content .lifts .row figure,
  .content .lifts .row .video,
  .content .lifts .row h2,
  .content .lifts .row h3,
  .content .lifts .row p,
  .content .lifts .row ul,
  .content .lifts .row .button,
  .content .post_lift,
  .content .posts .post,
  .content .references .references_inner,
  .img_gallery_inner a,
  .content .contact li,
  .contact .map {

    opacity: 0;
  }

  /* Text */

	.content .inner > .text.show h2 {

		animation: title_in 0.5s ease 0s 1 forwards;
	}

  .content .inner > .text.show h3 {

		animation: title_2_in 0.5s ease 0.2s 1 forwards;
	}

  .content .inner > .text.show p,
  .content .inner > .text.show time {

		animation: text_in 0.5s ease 0.2s 1 forwards;
	}

  .content .inner > .text.show .button {

		animation: text_in 0.5s ease 0.4s 1 forwards;
	}

  /* Lifts */

  .content .lifts .row:not(.reverse).show figure,
  .content .lifts .row:not(.reverse).show .video {

    animation: lift_figure_in 0.5s ease 0s 1 forwards
  }

  .content .lifts .row.reverse.show figure,
  .content .lifts .row.reverse.show .video {


    animation: lift_figure_2_in 0.5s ease 0s 1 forwards
  }

  .content .lifts .row:not(.reverse).show h2 {

    animation: title_2_in 0.5s ease 0.2s 1 forwards
  }

  .content .lifts .row.reverse.show h2 {

    animation: title_in 0.5s ease 0.2s 1 forwards
  }

  .content .lifts .row.show h3 {

    animation: fade_in 0.5s ease 0.4s 1 forwards
  }

  .content .lifts .row.show p {

		animation: text_in 0.5s ease 0.4s 1 forwards;
	}

  .content .lifts .row.show ul {

		animation: text_in 0.5s ease 0.6s 1 forwards;
	}

  .content .lifts .row.show .button {

		animation: text_in 0.5s ease 0.5s 1 forwards;
	}

  /* Posts */

  .content .post_lift.show {

    animation: lift_in 0.5s ease 0.4s 1 forwards; /* cubic-bezier(0.47, 1.64, 0.41, 0.8) */
  }

  .content .posts.show .post {

    animation: lift_in 0.5s ease 0s 1 forwards; /* cubic-bezier(0.47, 1.64, 0.41, 0.8) */
		animation-delay: calc(var(--i) * 100ms);
  }

  /* References */

  .content .references.show .references_inner {

    animation: text_in 0.5s ease 0s 1 forwards;
  }

  /* Gallery */

  .img_gallery_inner.show a,
  .content .contact li.show {

    animation: lift_in 0.5s cubic-bezier(0.47, 1.64, 0.41, 0.8) 0s 1 forwards;
		animation-delay: calc(var(--i) * 100ms);
  }

  .contact .map.show {

    animation: fade_in 0.5s ease 0.5s 1 forwards;
  }
}

@media screen and (max-width: 90rem) {

  .content .inner .highlight .row.show {

    animation-delay: 0s;
  }
}

@keyframes title_in {

  0% {

    opacity: 0;
    transform: translateX(-40%);
  }

  50% {

    opacity: 1;
  }

  100% {

    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes title_2_in {

  0% {

    opacity: 0;
    transform: translateX(40%);
  }

  50% {

    opacity: 1;
  }

  100% {

    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes text_in {

  0% {

    opacity: 0;
    transform: translateY(20%);
  }
  100% {

    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade_in {

  0% {

    opacity: 0;
  }
  100% {

    opacity: 1;
  }
}


@keyframes lift_figure_in {

  0% {

    opacity: 0;
    transform: translateX(-100%);
  }

  50% {

    opacity: 1;
  }

  100% {

    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lift_figure_2_in {

  0% {

    opacity: 0;
    transform: translateX(100%);
  }

  50% {

    opacity: 1;
  }

  100% {

    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lift_in {

	from {

		transform: translateY(25%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Maintenance */

.maintenance {

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: -moz-available;
  min-height: -webkit-fill-available;
}

@-moz-document url-prefix() {

  .maintenance {

    height: 100%;
  }
}

.maintenance .inner {

  padding: 2rem;
  text-align: center;
}

.maintenance h1 {

  --size: clamp(1.25rem, 8vw, 5rem);
  --stroke: clamp(5px, 0.8vw, 10px);
  font-family: var(--font-magneto);
  font-size: var(--size);
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: #231f20;
  background: linear-gradient(-90deg,
    #d7d4d1 0%,
    #939096 25%,
    #e8e9e9 50%,
    #939096 75%,
    #d7d4d1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-stroke: var(--stroke) transparent;
  padding-left: 8px;
  text-transform: lowercase;
}

.maintenance h2 {

  --size: clamp(1rem, 3vw, 2rem);
  font-family: var(--font-title);
  font-size: var(--size);
  font-style: italic;
  letter-spacing: calc(var(--size) * 0.001 * 100);
  color: var(--blue);
  background-image: var(--blue-gradient);
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0px rgb(0, 161, 255);
  margin: 1rem 0 3rem 0;
}

.maintenance p {

  --size: clamp(0.875rem, 6vw, 1.5rem);
  font-size: var(--size);
  line-height: 1.33;
  letter-spacing: calc(var(--size) * 0.001 * 50);
  max-width: 32.25rem;
  margin: 0 auto;
}
