@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --stone: #6b6b6b;
  --line: #e4e4e4;
  --emma: #ffcc1a;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  padding: 28px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .wrap-end {
  justify-content: flex-end;
}

.site-header .home img {
  width: 132px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  font-weight: 500;
  font-size: 16px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .lang a {
  color: var(--stone);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Hero: the wordmark is the page */

.hero {
  padding: clamp(56px, 12vw, 160px) 0 clamp(56px, 9vw, 120px);
}

.hero .wordmark {
  width: min(100%, 520px);
}

.hero .lead {
  margin: clamp(32px, 5vw, 56px) 0 0;
  max-width: 21em;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.25;
  font-weight: 500;
}

/* Rows: name on the left, content on the right */

.row {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0;
}

.row .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px clamp(24px, 5vw, 64px);
}

.row h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--stone);
}

.entries {
  display: grid;
  gap: clamp(40px, 5vw, 56px);
}

.entry h3 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* The dot echoes the i-dot of the wordmark. Yellow marks EMMA. */
.entry h3::before {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--ink);
}

.entry.emma h3::before {
  background: var(--emma);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.entry.soon h3::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.entry p {
  margin: 0 0 16px;
  max-width: 34em;
}

.entry .status {
  color: var(--stone);
  font-weight: 500;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 700;
}

.contact p {
  margin: 0 0 16px;
  max-width: 34em;
}

.contact .mail {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 15px;
  color: var(--stone);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

/* Legal pages */

.legal {
  padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
}

.legal .wrap {
  max-width: calc(720px + 2 * var(--gutter));
}

.legal h1 {
  margin: 0 0 40px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
}

.legal h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 1.2em;
}

.legal address {
  font-style: normal;
}

.legal .updated {
  margin-top: 48px;
  color: var(--stone);
  font-size: 15px;
}

/* Small screens */

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .site-nav ul {
    gap: 16px;
    font-size: 15px;
  }

  .site-header .home img {
    width: 104px;
  }

  .hero .wordmark {
    width: 72%;
  }

  .row .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* Language switch: the only thing in the top bar */

.lang-switch {
  margin: 0;
  display: flex;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
}

.lang-switch a {
  color: var(--stone);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.lang-switch [aria-current] {
  font-weight: 700;
}

.lang-switch [aria-hidden] {
  color: var(--line);
}
