:root {
  --color--primary: #1C2528;
  --color--secondary: #E2BF99;
  --color--white: #F0E8E3;
}

@font-face {
  font-family: "Work Sans";
  src: url("/fonts/WorkSans-VariableFont_wght.ttf") format("truetype"),
       url("/fonts/WorkSans-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  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;
  letter-spacing: 5%;
  font-family: 'Work Sans', sans-serif
}
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;
}

main {
  height:100dvh;
  display: flex;
  flex-direction: column;
}
h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

h1+p {
  text-transform: lowercase;
  font-weight: 100;
  font-size: clamp(2.5rem, 1.214rem + 3.214vw, 3.625rem);
  text-align: center;
}
a {
  display: block;
  text-decoration: none;
  color: inherit;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo {
  aspect-ratio: 1;
  max-height: 100%;
  flex: 0 1 0px;
  /*width: clamp(400px, 50vmin, 600px);*/
  max-width: 100%;
  width: 0;                /* contributes nothing to the container's width */
  min-width: 100%; 
}

#splash {
  background-color: var(--color--primary);
  color: var(--color--white);
  flex: 1 1 0px;
  padding-block: clamp(3.125rem, -1.161rem + 10.714vw, 6.875rem);
  text-align: center;
}

#splash > .container {
  padding-inline: 1.25rem;
  margin-inline: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

#contact {
  background-color: var(--color--secondary);
  color: var(--color--primary);
  font-weight: 400;
  font-size: clamp(1.125rem, 0.696rem + 1.071vw, 1.5rem);
  text-align: center;
}

#contact > .container {
  padding-inline: 1.25rem;
  max-width: 90rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding-block: 1.25rem;
  justify-content: center;
  align-items: center;
  padding-block: 2.0625rem;
  row-gap: 1em;
}

#contact a {
  display: block;
  padding-inline: 1.75rem;
}

@media (min-width:40em) {
  #contact > .container {
    flex-direction: row;
  }

  #contact li {
    flex: 1 1 0px;
  }

  #contact li:first-child {
    text-align: right;
    border-right: 1px solid currentColor;
  }
  
  #contact li:last-child {
    border-left: 1px solid currentColor;
    text-align: left;
  }        
}

#copyright {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 5rem;
  background-color: var(--color--primary);
  color: var(--color--secondary);
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  font-size: 0.875rem;
  row-gap: 1em;
}

@media (min-width:40em) {
  #copyright {
    flex-direction: row;
  }      
}