:root {
  --padding-side: 20px;
}
@media screen and (max-width: 992px) {
  :root {
    --padding-side: 15px;
  }
}
@media screen and (max-width: 640px) {
  :root {
    --padding-side: 10px;
  }
}

@font-face {
  font-family: "TWK";
  src: url("./fonts/TWKLausanne-250.woff2") format("woff2"), url("./fonts/TWKLausanne-250.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse";
  src: url("./fonts/SuisseBPIntl-Bold.woff2") format("woff2"), url("./fonts/SuisseBPIntl-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: "TWK", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.25;
}

@media (min-width: 641px) {
  .mobile {
    display: none;
  }
}
@media (max-width: 640px) {
  .desktop {
    display: none;
  }
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
footer .content {
  font-family: "Suisse", sans-serif;
  letter-spacing: -0.02em;
  align-items: flex-end;
}
footer .left,
footer .right {
  width: 50%;
}
footer .left {
  font-size: clamp(60px, 6vw, 100px);
  transform: translateY(0.25em);
  letter-spacing: -0.03em;
}
footer .center {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
footer .right {
  text-align: right;
}
footer .center, footer .right {
  font-size: clamp(20px, 2vw, 30px);
}
@media (max-width: 640px) {
  footer .center {
    display: none;
  }
  footer .left {
    width: 100%;
    transform: translateY(0.175em);
  }
}

.content {
  max-width: 1560px;
  margin: 0 auto;
  padding: var(--padding-side);
  display: flex;
  justify-content: space-between;
}

.subline {
  position: absolute;
  top: var(--padding-side);
  left: var(--padding-side);
  text-transform: uppercase;
  font-size: 14px;
}

body.no-touch .subline {
  position: fixed;
}

header {
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  z-index: 200;
}
header a {
  color: inherit;
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}
@media (min-width: 641px) {
  header br,
  header .burger {
    display: none;
  }
}
header .burger {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  z-index: 100;
  margin: 0;
}
header .burger:after, header .burger:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% calc(-50% - 5px);
  width: calc(100% - var(--padding-side) * 2);
  height: 2px;
  background: black;
  transition: 0.15s ease-in-out;
}
header .burger:after {
  translate: -50% calc(-50% + 5px);
}
header .burger:checked:after {
  translate: -50% -50%;
  rotate: -45deg;
}
header .burger:checked:before {
  translate: -50% -50%;
  rotate: 45deg;
}
header .left {
  text-align: right;
}
header .right {
  display: flex;
  align-items: center;
}
header .overlay {
  display: none;
  line-height: 1.25;
}
@media (min-width: 641px) {
  header .overlay {
    line-height: 1.5;
    background: #ccc;
    position: absolute;
    top: 120%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    left: -0.35em;
    padding: 0.15em 1em 0.15em 0.35em;
  }
  header .overlay a, header .overlay span {
    white-space: nowrap;
  }
}
header .mail,
header .phone {
  position: relative;
  cursor: pointer;
}
header .mail span:focus,
header .phone span:focus {
  pointer-events: none;
}
header .mail span:focus + .overlay,
header .phone span:focus + .overlay {
  display: block;
}
header .mail:has(.overlay:hover) .overlay,
header .phone:has(.overlay:hover) .overlay {
  display: block;
}
header .phone {
  margin-left: 2.5em;
}
header .instagram {
  margin-left: 6em;
}
header .spacer {
  flex-grow: 1;
}
header .locations.mobile {
  font-family: "Suisse", sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2vw, 30px);
  translate: 0 -0.25em;
}
@media (max-width: 1200px) {
  header {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header {
    font-size: 0.875rem;
  }
}
@media (max-width: 640px) {
  header {
    bottom: 0;
    left: auto;
  }
  header .left {
    margin-bottom: 2rem;
  }
  header .content {
    padding-top: 80px;
    height: 100%;
    background: #cccccc;
    justify-content: flex-start;
  }
  header .content,
  header .right {
    box-sizing: border-box;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-end;
  }
  header .content a,
  header .content li,
  header .right a,
  header .right li {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  header .content a:not(:last-child),
  header .content li:not(:last-child),
  header .right a:not(:last-child),
  header .right li:not(:last-child) {
    margin-bottom: 2rem;
  }
  header .content a .overlay,
  header .content li .overlay,
  header .right a .overlay,
  header .right li .overlay {
    display: block;
  }
  header .content {
    translate: 100% 0%;
    transition: 0.2s ease-in;
    display: flex;
    flex-direction: column;
  }
  header .right {
    flex-grow: 1;
  }
  header input[type=checkbox]:checked + .content {
    translate: 0 0;
    transition: 0.2s ease-out;
  }
}

main {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
main .cell {
  width: 75vw;
  margin: 0 auto 10vh;
}
main .cell img {
  width: 100%;
  height: auto;
}
main .cell p {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.4em;
}

body.no-touch main .after {
  position: absolute;
  width: 100%;
  top: calc(100% - 100vh);
}
body.no-touch main .cell {
  scale: 0.5;
}
body.no-touch main .cell.last {
  margin-bottom: 110vh;
}

body.has-touch main {
  margin-top: 80px;
}
body.has-touch main .after {
  display: none;
}
body.has-touch main .cell {
  width: calc(100% - var(--padding-side) * 2);
  margin-bottom: 80px;
}
body.has-touch main .cell.last {
  margin-bottom: 120px;
}

html:has(body.no-touch),
body.no-touch {
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
html:has(body.no-touch)::-webkit-scrollbar,
body.no-touch::-webkit-scrollbar {
  display: none;
}
