:root {
  color-scheme: light;
  --ink: #29251f;
  --muted: #62584d;
  --paper: #f8f3e9;
  --rust: #914b36;
  --line: #d9cdbc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 Georgia,serif;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

a:hover {
  color: var(--rust);
}

:focus-visible {
  outline: 3px solid #914b36;
  outline-offset: 4px;
}

header,main,footer {
  width: min(1160px,calc(100% - 40px));
  margin: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5vw;
  padding: 65px 0;
}

.eyebrow {
  font: 700 .75rem/1.4 Arial,sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
}

h1,h2,h3 {
  line-height: 1.1;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.7rem,6vw,5.8rem);
  margin: .2em 0;
}

.hero p {
  max-width: 30em;
}

.hero img,.card img,.frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero img {
  border-radius: 48% 48% 5px 5px;
}

.button,button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 3px;
  font: 700 .9rem Arial,sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,button:hover {
  background: var(--rust);
  color: white;
}

.section {
  padding: 45px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2rem,4vw,3.5rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.card {
  text-decoration: none;
}

.card img {
  aspect-ratio: 1/1;
}

.card h3 {
  font-size: 1.7rem;
  margin: .5em 0;
}

.article {
  max-width: 780px;
  margin: auto;
}

.article header {
  width: 100%;
}

.article-top {
  padding: 55px 0 25px;
}

.article-top h1 {
  font-size: clamp(2.5rem,6vw,4.8rem);
}

.frame {
  margin: 42px 0;
}

.frame img {
  max-height: 670px;
}

.frame figcaption {
  font: 700 .75rem Arial,sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.article p {
  font-size: 1.12rem;
  line-height: 1.85;
}

.comments {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.comment p {
  margin: .25em 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comments label {
  display: block;
  font: 700 .9rem Arial,sans-serif;
  margin: 20px 0 6px;
}

.comments input,.comments textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #8b7e70;
  background: #fff;
  font: 1rem/1.5 Arial,sans-serif;
  border-radius: 2px;
}

.comments input {
  min-height: 48px;
}

.comments textarea {
  min-height: 120px;
  resize: vertical;
}

.comments button {
  margin-top: 16px;
}

.hint {
  font: .9rem/1.5 Arial,sans-serif;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 35px 0 60px;
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  z-index: 3;
  padding: 10px;
}

@media(max-width:650px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 38px 0;
    gap: 24px;
  }
  .hero img {
    max-height: 390px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
  }
  .card h3 {
    font-size: 1.35rem;
  }
  .frame {
    margin: 30px 0;
  }
  .article p {
    font-size: 1.04rem;
  }
  .article-top {
    padding-top: 35px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

.frame.strip img {
  aspect-ratio: 2/1;
  object-fit: cover;
}

.strip-0 img {
  object-position: center top;
}

.strip-1 img {
  object-position: center center;
}

.strip-2 img {
  object-position: center bottom;
}
