:root {
  --page: #e4e7ea;
  --ink: #1c2430;
  --accent: #c23b22;
  --panel: #e1d9da;
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1.1875rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

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

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--accent);
}

.brand {
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.site-nav a {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.column {
  width: min(65ch, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.35rem 0 2.25rem;
}

h1,
h2 {
  font-family: "Literata", serif;
  font-weight: 650;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  margin: 0.15rem 0 0.7rem;
  font-size: 2rem;
}

h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.studio {
  margin: 0.7rem 0 0.1rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

p {
  margin: 0 0 0.75rem;
}

.photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

.privacy-photo {
  max-height: 280px;
}

figure {
  margin: 0.15rem 0 1rem;
}

.panel {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem 0.1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
}

.close {
  margin-top: 0.15rem;
}

.who {
  margin-top: 0.25rem;
  font-style: normal;
}

@media (min-width: 800px) {
  .home h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.25rem;
  }

  .home h1 {
    font-size: 2.25rem;
  }

  .photo,
  .privacy-photo {
    max-height: 240px;
  }
}
