/* Shared styles. Later pages can link this same file. */

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #10110f;
  color: #f3f0e8;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

header,
main {
  width: min(100% - 3rem, 40rem);
}

header {
  padding-top: clamp(4.25rem, 13vh, 7.25rem);
}

img {
  display: block;
  width: min(74vw, 17.5rem);
  height: auto;
  margin-inline: auto;
  filter: invert(1);
}

.name {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

h1 {
  margin: clamp(2.75rem, 8vh, 4.5rem) 0 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.05rem, 5.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem;
}

.pillars li {
  display: flex;
  align-items: center;
}

.pillars li + li::before {
  content: "";
  width: 1px;
  height: 0.8em;
  margin-inline: 1.2rem;
  background: rgba(243, 240, 232, 0.38);
}

address {
  margin: clamp(2.25rem, 6vh, 3rem) 0 0;
  font-style: normal;
  color: #a8a296;
  font-size: 0.8125rem;
  line-height: 1.5;
}

address p {
  margin: 0;
}

address p + p {
  margin-top: 0.45rem;
}

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

address a:focus-visible {
  outline: 2px solid #f3f0e8;
  outline-offset: 4px;
}

footer {
  margin-top: auto;
  padding: 3.75rem 1.5rem 1.75rem;
  color: #a8a296;
  font-size: 0.8125rem;
}

footer p {
  margin: 0;
}

@media (max-width: 380px) {
  header,
  main {
    width: min(100% - 2rem, 40rem);
  }

  .pillars {
    font-size: 1.08rem;
  }

  .pillars li + li::before {
    margin-inline: 0.75rem;
  }
}
