* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

::-webkit-scrollbar {
  display: none;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1 {
  font-size: 3.75em;
  margin: 0;
  padding: 0;
  line-height: 100%;
}

p,
a,
li {
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: var(--color-text);
  font-size: 12px;
  font-weight: lighter;
  line-height: 125%;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  border: none;
  outline: none;
  padding: 0.75em 1.25em;
  font-size: 12px;
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 2em;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

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

li {
  font-size: 22px;
}

.container {
  width: 100%;
  height: 100%;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #fff;
  margin: 0.5em 0;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2em;
  }
}

/* --- headings --------------------------------------------------------
 * The template used <h1> for four different things on the same page — the
 * information lead paragraph, the case-study title, the "Next Project" link
 * and every one of the archive's 1440 rows. Each page has one real <h1> now
 * (visually hidden, naming the page), so the display sizing is attached to
 * what it actually styles.
 */
h2,
.info-lead,
#archive-name {
  font-size: 3.75em;
  font-weight: 500;
  line-height: 100%;
  margin: 0;
  padding: 0;
}

/* Section labels inside Information were <p> at 22px. */
.info-content h2,
.info-content-2 h2,
.awards h2,
.experience h2,
.selected-clients h2 {
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 900px) {
  h2,
  .info-lead,
  #archive-name {
    font-size: 2em;
  }
}

/* --- additions -------------------------------------------------------- */

/* The template hid the scrollbar with ::-webkit-scrollbar { display: none },
   which leaves keyboard and trackpad users with no position indicator at all.
   Kept, since the design depends on it, but never for someone who asked the
   OS to reduce motion. */

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100001;
  padding: 0.75em 1.25em;
  background: var(--color-accent);
  color: #000;
  transform: translateY(-120%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

site-nav,
site-footer {
  display: contents;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  ::-webkit-scrollbar {
    display: initial;
  }
}
