* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  background: #f9f5eb;
  color: #3d2314;
  font: 18px/1.55 Georgia,serif;
}

.ribbon,.mast,footer,.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 5vw;
}

.ribbon,small,figcaption {
  font: 700 11px/1.5 Verdana,sans-serif;
  letter-spacing: .15em;
}

.ribbon {
  background: #3d2314;
  color: #f9f5eb;
  padding-block: 9px;
}

.mast {
  border-bottom: 1px solid #cdbfaa;
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:  bold clamp(22px,2.4vw,38px)/1.1 Baskerville,Georgia,serif;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font: 15px/1.5 Verdana,sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: 44% 56%;
  background: #efe6d5;
}

.copy {
  padding: clamp(36px,5vw,88px);
  align-self: center;
}

small {
  color: #7a2848;
}

h1,h2,h3 {
  font-family: Baskerville,'Palatino Linotype',Georgia,serif;
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  font-size: clamp(54px,6vw,100px);
  letter-spacing: -.055em;
  margin: 22px 0;
}

h1 em {
  color: #7a2848;
}

.copy p {
  font-size: clamp(18px,1.45vw,24px);
  max-width: 36ch;
}

.cta,button {
  display: inline-block;
  background: #3d2314;
  color: #fff9ed;
  padding: 12px 19px;
  font: 600 14px/1.4 Verdana,sans-serif;
  border: 1px solid #3d2314;
  cursor: pointer;
}

.cta {
  margin-top: 8px;
}

figure {
  margin: 0;
}

.hero figure {
  position: relative;
  min-height: 410px;
}

.hero figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero figcaption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  background: #f9f5eb;
  color: #3d2314;
  padding: 6px 10px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 2;
  justify-content: flex-start;
  background: #3d2314;
  color: #fff9ed;
  gap: 4vw;
  font-size: 14px;
}

section {
  padding: 54px 5vw;
  border-bottom: 1px solid #cdbfaa;
}

h2 {
  font-size: clamp(33px,3.8vw,60px);
  margin: 10px 0 22px;
  letter-spacing: -.035em;
}

button {
  background: transparent;
  color: #3d2314;
  border-color: #bbae98;
  margin: 3px 4px 3px 0;
}

button[aria-pressed=true],button:hover {
  background: #7a2848;
  color: white;
}

.grid,.ledger {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 26px;
  margin-top: 28px;
}

.grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  object-fit: cover;
}

figcaption {
  color: #715b49;
  font-size: 10px;
  margin-top: 10px;
}

h3 {
  font-size: 29px;
  margin: 14px 0 8px;
}

article p {
  margin: 0;
  font-size: 17px;
}

#selection {
  background: #ede5d5;
}

.ledger {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.reading {
  margin: auto;
  max-width: 820px;
  padding: 40px 5vw 65px;
}

.reading nav {
  margin-bottom: 44px;
}

.reading section {
  padding: 22px 0;
}

.reading h2 {
  font-size: 32px;
}

footer {
  background: #3d2314;
  color: #f9f5eb;
  padding-block: 35px;
}

aside {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 10px;
  font: 14px/1.5 Verdana,sans-serif;
}

:focus-visible {
  outline: 3px solid #d48c29;
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .mast, footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero figure {
    min-height: 300px;
  }
  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 560px) {
  .ribbon span {
    display: none;
  }
  .bar {
    position: static;
  }
  .grid, .ledger {
    grid-template-columns: 1fr;
  }
  nav {
    gap: 12px;
  }
}
