@font-face {
  font-family: Roboto;
  src: url("roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --muted: #d0d0d0;
  --accent: #f4b842;
}
* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: #fff;
  background: #000;
  text-align: center;
  font: 1rem/1.45 Roboto, Arial, sans-serif;
}
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.masthead { padding-top: clamp(1.85rem, 4vw, 3rem); }
.masthead h1 { margin: 0; }
.masthead img { display: block; width: clamp(10rem, 19vw, 12.75rem); height: auto; margin-inline: auto; }
.page {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
  padding-top: clamp(3.5rem, 12vh, 8rem);
}
.sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: .4rem .75rem .95rem;
  text-decoration: none;
}
.mark {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: clamp(6.8rem, 10.7vw, 8.6rem);
  margin-bottom: clamp(1.5rem, 2.4vw, 2rem);
}
.mark img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.mark-tv img { width: min(100%, 11rem); height: auto; }
.domain { text-decoration: underline; overflow-wrap: anywhere; }
.project:hover .domain, .project:focus-visible .domain, .email a:hover { color: var(--accent); }
.project h2 { margin: 1.1rem 0 .55rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .037em; }
.project p { max-width: 32ch; margin: 0; color: var(--muted); }
.email { margin: auto 0; padding-block: 1.3rem 2.25rem; overflow-wrap: anywhere; font-size: .9375rem; }

.footer { margin-top: auto; background: #252525; border-top: 1px solid #787878; }
.footer-inner { width: min(80rem, 100% - 2.5rem); margin-inline: auto; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; min-height: 3.25rem; padding: .3rem 0; }
.footer-social a { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; color: #f4f4f4; text-decoration: none; }
.footer-social a:hover { color: var(--accent); }
.footer-social svg { display: block; width: 1.05rem; height: 1.05rem; fill: currentColor; }
.copyright { margin: 0; padding: .3rem .75rem; background: #2e2e2e; color: #acacac; font-size: .875rem; }

@media (max-width: 680px) {
  .page { padding-top: clamp(1.4rem, 4vw, 2.65rem); }
  .sites { grid-template-columns: 1fr; width: min(100%, 25rem); margin-inline: auto; gap: 0; }
  .sites li + li { border-top: 1px solid #383838; }
  .project { padding-block: 1rem 1.45rem; }
  .mark { height: 8rem; }
}

