* {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  -moz-osx-font-smoothing: grayscale; 
  text-rendering: optimizeLegibility; 
  -webkit-font-smoothing: antialiased; 
  -moz-font-smoothing: antialiased; 
  font-smoothing: antialiased; 
  font-smooth: never;
  -moz-font-smooth: never;
}

@font-face {
  font-family: 'Edition';
  src: url('../fonts/EditionTimeless-70.woff') format('woff'),
      url('../fonts/EditionTimeless-70.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  min-height: 0vw;
  text-size-adjust: 100%;
}

@media screen and (min-width: 700px)  {
  html {
    font-size: calc(4px + .9vw);
  }
}
@media screen and (max-width: 699px)  {
  html {
    font-size: calc(4px + .75vw);
  }
}

:root {
  --grey: #5f5f5f;
  --lightgrey: #e1dfdf;
  --bg-color: #000;
}

html, body {
  margin: 0;
  padding: 0;
  
}

body {
  color: var(--grey);
  font-family: "Edition", serif;
  line-height: 1.2;
  font-size: 16px;
  font-variant-numeric: lining-nums;
  min-height: 100dvh;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

::selection {
  color: #000;
  background: var(--lightgrey);
}

img, video {
  display: block;
}

figure {
  margin: 0;
  width: 100%;
  display: block;
}

button {
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  text-align: left;
}

h1, h2, h3 {
  font-weight: normal;
  font-size: inherit;
}

p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: orchid
}

.small-caps {
  font-variant-caps: small-caps;  
}

.external-link::after {
  content: " (↗)";
}

h1.logo {
  display: inline;
  letter-spacing: .02rem;
}

main span:nth-child(4n+1){
  color: orchid;
}
main span:nth-child(4n+2){
  color: chocolate;
}
main span:nth-child(4n+3){
  color: dodgerblue;
}
main span:nth-child(4n+4){
  color: forestgreen;
}

main {
  flex-grow: 1;
}

main.headline p:not(:first-child){
  margin-top: 0;
  text-indent: 40px;
}

.contact-table {
  display: grid;
  gap: 15px;
}

.contact-cell {
  align-self: flex-end;
}

.legal h1,
.legal h2 {
  padding-left: 30px;
}


@media screen and (max-width: 699px)  {
  .contact-table {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 700px)  {
  .contact-table {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .text-s {
    font-size: 13px;
  }
}