@font-face {
  font-family: 'LithosPro-Regular';
  src: url('/fonts/LithosPro-Regular.eot?#iefix') format('embedded-opentype'),  url('/fonts/LithosPro-Regular.otf')  format('opentype'),
	     url('/fonts/LithosPro-Regular.woff') format('woff'), url('/fonts/LithosPro-Regular.ttf')  format('truetype'), url('/fonts/LithosPro-Regular.svg#LithosPro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LithosPro-Black';
  src: url('/fonts/LithosPro-Black.eot?#iefix') format('embedded-opentype'),  url('/fonts/LithosPro-Black.otf')  format('opentype'),
	     url('/fonts/LithosPro-Black.woff') format('woff'), url('LithosPro-Black.ttf')  format('truetype'), url('/fonts/LithosPro-Black.svg#LithosPro-Black') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LithosPro-Bold';
  src: url('/fonts/LithosPro-Bold.eot?#iefix') format('embedded-opentype'),  url('/fonts/LithosPro-Bold.otf')  format('opentype'),
	     url('/fonts/LithosPro-Bold.woff') format('woff'), url('/fonts/LithosPro-Bold.ttf')  format('truetype'), url('/fonts/LithosPro-Bold.svg#LithosPro-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Basics */

*, ::after, ::before {margin: 0; padding: 0;}
html {font-size: clamp(15px, 1.5vw, 18px); overflow: hidden; overflow-y: scroll; scroll-behavior: smooth; height: 100%;}
body {font-family: Helvetica, sans-serif; background: white; color: #222; display: flex; flex-direction: column; min-height: 100%; line-height: 1.6;}
main {flex-grow: 1;}
img {display: block; max-width: 100%; width: 100%; height: auto;}
a {color: #222; text-decoration: underline;}
a:hover {opacity: 0.75;}
p:not(:last-child) {margin-bottom: 1.5em;}
a.logo:hover {opacity: 1;}
a.logo img {height: 3.5rem; width: auto!important; opacity: 0.9;} 
h1, h2, h3, h4 {line-height: 1.1; margin-bottom: 0.75em; font-weight: bold; letter-spacing: -0.015em;}
h1 {font-size: 3rem;}
h2 {font-size: 1.5rem; margin-bottom: 0.6em; letter-spacing: 0;}
h2:not(:first-child) {margin-top: 1.7em; letter-spacing: 0;}
h3 {font-size: 1.5rem;}
.container {max-width: 80rem; margin: 0 auto;}
.container.large {max-width: 100rem;}
.container.small {max-width: 40rem;}
@media only screen and (max-width: 800px) {
  h1 {font-size: 2.25rem;}
}


/* Image(s) */

.image {margin-block: clamp(3.75rem, 5vw, 10rem) 2.5rem;}
.images .follow {
  display: block;
  position: fixed;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  background-color: #111;
  font-size: 0;
  color: white;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 
  width 0.15s ease-in-out, 
  height 0.15s ease-in-out, 
  font-size 0.15s ease-in-out, 
  opacity 0.15s ease-in-out, 
  left 0s linear, 
  top 0s linear;
  pointer-events: none;
}
.images.moved:hover .follow {
  opacity: 1; 
  width: 9rem;
  height: 9rem;
  font-size: 0.9rem;
}
.images a:hover {opacity: 1;}
.images .imageholder > a {display: block;}
.images .imageholder > a:not(:first-child) {display: none;}
.images.fittoheight {margin-top: 0.75rem!important; margin-bottom: -0.75rem!important;}
.images.fittoheight img {max-height: calc(100vh - 5.5rem); width: 100rem; object-fit: contain;}
.images.fittoheight a {position: relative; width: 100%;}
.images.fittoheight a .prev {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  background: transparent;
  display: block;
  height: 100%;
}
@media only screen and (max-width: 800px) {
  .images .follow {display: none;};
}


/* Page */

h1 {text-align: center; margin-top: 3rem;}
h1 + p {max-width: 40em; margin-inline: auto; text-align: center; line-height: 2; padding-bottom: 5rem;}
@media only screen and (max-width: 800px) {
  h1 {text-align: left;}
  h1 + p {margin-inline: 0; text-align: left; line-height: 1.6; padding-bottom: 2.5rem; font-style: italic;}
}


/* Home */

body.home h1 {font-size: clamp(3rem, 5vw, 4.5rem); max-width: 13em; margin-block: clamp(4rem, 5vw, 6rem) clamp(1.5rem, 2vw, 2.5rem); text-align: left;}
body.home h1 + p {max-width: 45em; margin-inline: 0; text-align: left; line-height: 1.5; font-style: normal;}
body.home .images {margin-block: clamp(2.5rem, 3vw, 4rem) 2.5rem;}
@media only screen and (max-width: 800px) {
  body.home .images {margin-top: 3rem;}
}


/* Form */

form {
  box-shadow: 0rem 0rem 1rem rgba(0,0,0,0.1); 
  padding: 2.75rem 2.5rem; 
  background: white; 
  position: relative;
  bottom: 1rem;
}
form h2 {margin-block: 0 2rem;}
form > div:not(:last-child) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
form label {
  position: absolute;
  background: white;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0 0.25rem;
  margin-left: 0.6rem;
  display: inline-block;
  z-index: 2;
}
form label::after {
  background: linear-gradient(var(--light) 50%, white 50%);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
  position: absolute;
  z-index: -1;
}
form label + * {margin-top: 0.35rem;}

input, textarea {
  font-size: 1rem;
  padding: 0.5em 0.5em;
  border: 1px solid silver;
  color: #222;
  border-radius: 0.25rem;
  font-family: Helvetica, sans-serif;
}
form textarea {resize: vertical;}
input[type="submit"] {background: #111; color: white; border: 0; font-weight: bold; padding-inline: 1rem; cursor: pointer;}
input[type="submit"]:hover {opacity: 0.75;}


@media only screen and (max-width: 800px) {
  form {padding: 0; box-shadow: none; bottom: 0; margin-bottom: 1rem;}
}


/* Twocolumns */

.twocoluns {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-gap: clamp(2.75rem, 5vw, 5rem);
  max-width: 70rem;
  margin-inline: auto;
  font-size: 90%;
  margin-bottom: clamp(3.75rem, 7vw, 10rem);
}
.page.contact .twocoluns {max-width: 60rem;}
@media only screen and (max-width: 800px) {
  .twocoluns {font-size: 100%;}
}

.socials {display: flex; margin: 0!important; gap: 1rem;}
.socials li {list-style: none;}
.socials li img {width: 1.25rem;}


/* Portfolio */

body.service header {display: none;}
.panel {margin-block: 2.5rem 0;}
.panel h1 + p {padding: 0; font-style: normal;}
@media only screen and (min-width: 800px) {
  .panel {
    position: fixed;
    bottom: 0.85rem;
    left: clamp(0rem, calc(100vw - 23rem), calc(50vw + 40rem));
    background: white;
    color: #222;
    padding: 2rem;
    width: 18rem;
    font-size: 90%;
    padding: 2rem 2rem 2.5rem;
    background: #111;
    color: white;
    z-index: 2;
    margin-bottom: 0;
  }
  .panel h1 {font-size: 1.5rem; margin-bottom: 0.75em; margin-top: 0; text-align: left;}
  .panel h1 + p {text-align: left; line-height: 1.6;}
  .panel a {color: white;}
  body.service main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  body.service .images {margin-block: 0;}
}
@media only screen and (max-width: 800px) {
  body.service .images {margin-block: 3rem!important;}
}

.controls {position: absolute; z-index: 3; right: 0; top: 0; margin-top: calc(-3rem - 1px); display: flex;}
.controls > a {background: #111; padding: 1rem; display: block; opacity: 1!important; border-bottom: 1px solid rgba(255,255,255,0.25); border-right: 1px solid rgba(255,255,255,0.25);}
.controls > a img {height: 1rem; filter:invert(1); width: 1rem!important;}
.controls > a:last-child {border-right: 0;}
.controls > a:last-child img {transform: scale(1.2);}
@media only screen and (max-width: 800px) {
  .controls {position: relative; margin: 3rem 0 -3rem;}
  .controls > a {border-right: 1px solid #444; margin-bottom: 1px;}
  .controls > a:last-child {display: none;}
  .images.fittoheight a .prev {display: none;}
}

/* Cards */

.cards {display: grid; grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); grid-gap: 3rem; padding: 0; margin-block: 0 clamp(3.75rem, 5vw, 10rem);}
.card {text-align: left; border: 1px solid rgba(0,0,0,0.07); list-style: none; font-size: 90%; transition: box-shadow 0.15s ease-in-out;}
.card:has(a):hover {box-shadow: 0rem 0rem 1rem rgba(0,0,0,0.1);}
.card a {display: block; text-decoration: none; opacity: 1; padding: 2rem; height: calc(100% - 4rem);}


@media only screen and (min-width: 800px) {
  .card {box-shadow: 0rem 0rem 1rem rgba(0,0,0,0.1);}
  .card:has(a):hover {box-shadow: 0rem 0rem 0rem rgba(0,0,0,0.1);}
}
@media only screen and (max-width: 800px) {
  .cards {grid-gap: 0 3rem; display: block; margin-left: 0!important;}
  .card {border-left: 0; border-right: 0; border-bottom: 0; font-size: 100%;}
  .card:first-child {border-top: 0;}
  .card a {padding-inline: 0;}
  .card:has(a):hover {box-shadow: none;}
}


/* Reviews */

.review > a {display: flex; flex-direction: column-reverse; justify-content: space-between;}
.review > a > div:last-child {display: flex; flex-direction: column-reverse;}
.review > a span {text-decoration: underline;}
.review > a:hover span {opacity: 0.75;}
.stars {display: flex; margin-bottom: 1rem;}
.stars img {height: 1rem; width: auto;}
.author {display: flex; gap: 1rem; align-items: center; margin-top: 0.25rem}
.author img {
  border-radius: 50%;
  width: 4rem;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
}
.author h2 {font-size: 1.15rem; margin: 0 0 0.3rem;}
.author h3 {font-size: 0.9rem; margin: 0; font-weight: normal;}
.singlereview {text-align: center;}
.singlereview .stars {justify-content: center; margin: 1.5rem 0 0.75rem;}
.singlereview h1 {margin: 0 0 0.75rem; text-align: center!important;}
.singlereview h2 {margin: 0 0 2rem;}
.singlereview p {text-align: center; margin-bottom: 2.5em;}
.singlereview picture img {aspect-ratio: 1; border-radius: 50%; max-width: 18em; margin-inline: auto; margin-top: 1.5rem;}



/* Header and Footer */

header, footer, main {padding: 1rem clamp(1rem, 3vw, 5rem);}
header {margin-top: 0.65rem;}
main ul {margin-left: 1rem;}
main ul:not(:last-child), main p:not(:last-child), main ol:not(:last-child) {margin-bottom: 1.5em;}
main ol {margin-left: 2rem;}

header .container {display: flex; justify-content: space-between; font-size: 90%;}
header .container .navbar-toggle {
  display: none; 
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent url(/img/menu.svg) center center / contain no-repeat;
  border-radius: 0;
}
header .container > ul {display: flex; gap: clamp(1rem, 2vw, 1.75rem); margin-top: 0.65rem;}
header .container > ul li ul {
  display: block;
  position: absolute; 
  box-shadow: 0rem 0rem 1rem rgba(0,0,0,0.1); 
  padding: 0.75rem 1.35rem; 
  margin-left: -1.35rem;
  margin-top: 1rem;
  line-height: 2;
  background: white;
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: all 0.15s ease-in-out;
}
header .container > ul li:hover ul {opacity: 1; transform: translateY(0rem);}
header .container > ul li {list-style: none;}
header .container > ul li a {text-decoration: none;}
header .container > ul li a:hover {opacity: 0.65;}



@media only screen and (max-width: 600px) {
  header .container > ul {display: none;}
  header .container > ul li {text-align: center;}
  header .container .navbar-toggle {display: block;}
  body.menuopen header .container > ul {
    position: fixed;
    display: flex;
    z-index: 5;
    top: 0;
    left: 0;
    height: 100lvh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111;
    font-size: 150%;
    font-weight: bold;
    margin: 0;
  }
  body.menuopen header .container > ul > li {position: relative; top: 2rem;}
  body.menuopen header .container > ul li a {color: white;}
  body.menuopen header .container > ul li a:hover {opacity: 1;}
  body.menuopen header .container > ul li ul {position: relative; display: block; background: none; padding: 0.5rem 0 1rem; box-shadow: none; text-align: center; line-height: 1.4; margin: 0; opacity: 1!important; transform: none!important;}
  body.menuopen header .container > ul li ul li a {font-weight: normal; font-size: 1.1rem; opacity: 0.65;}
  body.menuopen header .container .navbar-toggle {position: fixed; z-index: 5; right: clamp(1rem, 3vw, 5rem); background: transparent url(/img/x.svg) center center / contain no-repeat; filter: invert(100%);}
  body.menuopen header .container .logo {position: fixed; z-index: 6; left: clamp(1rem, 3vw, 5rem); top: 1.65rem; filter: invert(100%);}
  body.menuopen header .container .logo img {opacity: 1;}
}
@media only screen and (max-width: 1200px) {
  body.service header {display: block;}
}

footer {font-size: 90%;}
footer ul {display: flex; gap: 3rem; align-items: center; justify-content: center;}
footer ul li {list-style: none;}
footer ul li a {text-decoration: none;}
footer ul li a:hover {opacity: 1;}

@media only screen and (min-aspect-ratio: 11/5) {
  body.service footer {position: absolute; left: 0; bottom: 0;}
  body.service footer ul {flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem;}
  body.service .images.fittoheight {margin-top: -0.15rem!important; margin-bottom: 0.15rem!important;}
  body.service .images.fittoheight img {max-height: calc(100vh - 3.5rem);}
  body.service header {display: block; position: absolute; left: 0; z-index: 2;}
  body.service header ul {display: none;}
}

@media only screen and (max-width: 1700px) {
  footer ul {justify-content: flex-start;}
}
@media only screen and (max-width: 1300px) {
  footer ul {flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; align-items: flex-start;}
}