:root {
  --paper: #f5f0e9;
  --ink: #221e1a;
  --muted: #6d645c;
  --sage: #87967e;
  --terra: #e7a584;
  --moss: #616c5a;
  --moss-deep: #4a5245;
  --line: #e4d9cc;
  --cream: #fbf7f2;
  --site: 72rem;
  --reading: 40rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #f0d9cc;
  color: var(--ink);
}

a {
  color: var(--moss);
}

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

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

.wrap {
  width: min(var(--site), calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 3px solid var(--sage);
  box-shadow: 0 2px 0 var(--terra);
  background: var(--paper);
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.15rem 0 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.mark img {
  display: block;
  height: 4.15rem;
  width: auto;
}

nav {
  display: flex;
  gap: 1.35rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav a {
  color: var(--moss);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  border-bottom-color: var(--moss);
}

.banner {
  background: var(--sage);
  color: var(--ink);
}

.banner-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.9rem 0;
  text-align: left;
}

.banner p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.banner h2 {
  margin: 0;
  width: min(36rem, 100%);
  max-width: 36rem;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.banner-end {
  width: min(var(--reading), 100%);
  margin: 1.75rem auto 3.2rem;
  border-radius: 8px;
}

.banner-end:has(+ .more) {
  margin-bottom: 1.5rem;
}

.banner-end .banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: calc(1.15rem + 10px) calc(1.25rem + 10px) calc(1.25rem + 10px);
  text-align: center;
}

.banner-end .signup {
  margin-top: 0;
  justify-content: center;
}

.banner-end .signup input {
  border-radius: 8px;
}

.banner:not(.banner-end) .signup input {
  border-radius: 4px;
}

.signup {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  flex: none;
  width: fit-content;
  max-width: 100%;
}

.signup input {
  width: 15.5rem;
  max-width: 100%;
  border: 0;
  border-radius: 1px;
  background: var(--cream);
  color: var(--ink);
  padding: 0.62rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}

.signup input::placeholder {
  color: #8a8178;
}

button,
input[type="submit"],
input[type="button"] {
  background: var(--terra);
  color: var(--ink);
  border-radius: 4px;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #d09577;
}

.signup button {
  border: 0;
  border-radius: 4px;
  background: var(--terra);
  color: var(--ink);
  padding: 0.62rem 1rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.signup button:hover {
  background: #d09577;
}

.signup input:focus-visible,
.signup button:focus-visible {
  outline-color: var(--cream);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.opener {
  display: grid;
  grid-template-columns: 1.28fr 0.82fr;
  gap: 2.75rem;
  align-items: end;
  padding: 2.1rem 0 0.4rem;
}

.opener figure {
  margin: 0;
}

.opener img,
.story-photo img,
.about-layout img,
.index img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.opener figure,
.story-photo,
.about-layout figure,
.thumb {
  position: relative;
}

.opener figure::after,
.story-photo::after,
.about-layout figure::after,
.thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 6.5rem;
  aspect-ratio: 779 / 608;
  background: url("/images/logo.png") center / contain no-repeat;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(34, 30, 26, 0.4));
}

.thumb::after {
  width: 4.6rem;
  right: 0.45rem;
  bottom: 0.45rem;
}

.opener img {
  aspect-ratio: 16 / 9;
}

.kicker {
  margin: 0 0 0.65rem;
  color: var(--moss);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.opener h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(3.15rem, 6.2vw, 5.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.lead {
  max-width: 28rem;
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.42;
}

.quiet-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--moss);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--moss);
  padding-bottom: 0.12rem;
}

.quiet-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.writing {
  padding: 2.6rem 0 0.5rem;
}

.section-label {
  margin: 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.35rem 1.5rem;
  margin: 1.45rem 0 3.4rem;
  padding: 0;
}

.index li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.28rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.index li > div {
  display: contents;
}

.thumb {
  display: block;
  grid-row: 1;
  margin: 0 0 0.45rem;
  line-height: 0;
  overflow: hidden;
}

.index .thumb img {
  transition: transform 0.45s ease;
}

.index li:hover .thumb img {
  transform: scale(1.04);
}

.index img {
  aspect-ratio: 4 / 3;
}

.index h2 {
  grid-row: 2;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.index time {
  display: block;
  grid-row: 3;
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.index h2 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.index li:hover h2 a,
.index h2 a:hover {
  color: var(--moss);
}

@media (prefers-reduced-motion: reduce) {
  .index .thumb img,
  .index li:hover .thumb img {
    transition: none;
    transform: none;
  }

  .index h2 a {
    transition: none;
  }
}

.index p {
  grid-row: 4;
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.writing .index:has(+ .see-more) {
  margin-bottom: 0;
}

.see-more {
  display: flex;
  justify-content: flex-end;
  margin: 1.25rem 0 3.4rem;
}

.see-more a {
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
}

.see-more a:hover {
  color: var(--ink);
}

.story-photo {
  width: min(48rem, calc(100% - 3rem));
  margin: 1.7rem auto 0;
}

.story-photo img {
  aspect-ratio: 4 / 3;
}

.reading {
  width: min(var(--reading), 100%);
  margin: 0 auto;
  padding: 1.7rem 0 0.25rem;
}

.reading h1 {
  margin: 0.15rem 0 1.3rem;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.reading p {
  margin: 0 0 1.15rem;
  font-size: 1.16rem;
}

.reading a {
  text-underline-offset: 0.16em;
}

.reading img {
  max-width: 100%;
  height: auto;
}

.reading img.post-hero {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0.15rem 0 1.25rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
  padding: 2.2rem 0 3.2rem;
}

.about-layout figure {
  margin: 0;
}

.about-layout img {
  aspect-ratio: 4 / 3;
}

.about-layout .reading {
  width: auto;
  padding: 0;
}

.about-layout .reading h1 {
  margin-top: 0;
}

.more {
  width: min(var(--reading), 100%);
  margin: 0.7rem auto 2.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.more h2 {
  margin: 0 0 0.35rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.more ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.more li {
  border-bottom: 1px solid var(--line);
}

.more a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.3;
  text-decoration: none;
}

.more a:hover {
  color: var(--moss);
}

.more img {
  width: 4.4rem;
  height: 3.3rem;
  object-fit: cover;
  flex: none;
}

.site-footer {
  width: 100%;
  max-width: 100%;
  background: #87967e;
  color: #221e1a;
  padding: 2rem 0 2.35rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: break-word;
  font-weight: 400;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  max-width: 100%;
  text-align: center;
}

.footer-copy,
.footer-note,
.footer-affiliate,
.footer-policies,
.footer-signup {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.footer-note {
  max-width: 36rem;
  color: #221e1a;
  font-weight: 400;
}

.footer-affiliate {
  max-width: 40rem;
}

.footer-policies {
  display: block;
  font: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.site-footer,
.site-footer * {
  font-weight: 400;
}

.footer-policies ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 1.15rem;
  row-gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-policies li {
  max-width: 100%;
}

.footer-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  width: min(34rem, 100%);
}

.footer-signup p {
  margin: 0;
  max-width: 34rem;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.35;
  text-align: center;
}

.footer-signup form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.footer-signup input {
  width: 14.5rem;
  max-width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: #f5f0e9;
  color: #221e1a;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 1rem;
}

.footer-signup input::placeholder {
  color: #8a8178;
}

.footer-signup button {
  border: 0;
  border-radius: 4px;
  background: #e7a584;
  color: #221e1a;
  padding: 0.55rem 0.95rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.footer-signup button:hover {
  background: #d09577;
}

.site-footer a:focus-visible,
.footer-signup input:focus-visible,
.footer-signup button:focus-visible {
  outline: 2px solid #221e1a;
  outline-offset: 3px;
}

.site-footer a {
  color: #221e1a;
  text-underline-offset: 0.16em;
}

.site-footer a:hover {
  color: #221e1a;
}

.policy-page {
  padding-top: 2.2rem;
  padding-bottom: 3.4rem;
}

.favorites-page {
  padding: 4rem 0 2.8rem;
  text-align: center;
}

.favorites-page h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  text-align: center;
}

.favorites-page ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.favorites-page li + li {
  margin-top: 1.15rem;
}

.favorites-page .lead {
  margin-bottom: 0.15rem;
}

.favorites-page .index {
  margin-top: 1.55rem;
  margin-bottom: 1.45rem;
}

.favorites-page .index p {
  grid-row: 3;
}

.favorites-page .note {
  max-width: 40rem;
  margin: 0;
  font-size: 1.16rem;
}

@media (max-width: 860px) {
  .wrap,
  .story-photo {
    width: min(var(--site), calc(100% - 1.5rem));
  }

  .mark img {
    height: 3.35rem;
  }

  .opener figure::after,
  .story-photo::after,
  .about-layout figure::after {
    width: 5.2rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .opener,
  .about-layout {
    display: block;
  }

  .site-header nav {
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: 0.55rem;
  }

  .banner:not(.banner-end) .banner-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .banner:not(.banner-end) p {
    text-align: center;
    width: 100%;
  }

  .banner:not(.banner-end) .signup {
    justify-content: center;
    align-self: center;
    margin-inline: auto;
  }

  .opener {
    padding-top: 1.15rem;
  }

  .opener-copy {
    padding-top: 1.15rem;
  }

  .about-layout {
    padding-top: 1.15rem;
  }

  .favorites-page {
    padding-top: 2.75rem;
  }

  .about-layout figure {
    margin-bottom: 1.35rem;
  }

  .banner p,
  .banner h2 {
    font-size: 1.05rem;
  }

  .signup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    margin-inline: auto;
  }

  .banner-end .banner-inner,
  .banner-end .signup {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .signup input,
  .signup button {
    width: auto;
  }

  .signup input {
    width: 15.5rem;
    max-width: 100%;
    min-width: 0;
  }

  .signup button {
    margin-top: 0;
  }

  .opener h1 {
    font-size: 3.15rem;
  }
}

@media (max-width: 760px) {
  .index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.85rem 1.15rem;
  }

  .thumb::after {
    width: 3.4rem;
    right: 0.35rem;
    bottom: 0.35rem;
  }
}

@media (max-width: 390px) {
  .index {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.contact-page {
  width: min(32rem, 100%);
  margin: 0 auto;
  padding: 3.4rem 0 3.6rem;
}

.contact-page .kicker,
.contact-page h1,
.contact-lead,
.contact-thanks {
  text-align: center;
}

.contact-page h1 {
  margin: 0.15rem 0 0.7rem;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.contact-lead {
  margin: 0;
  font-size: 1.16rem;
}

.contact-thanks {
  display: none;
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

html.contact-sent #contact-write {
  display: none;
}

html.contact-sent .contact-thanks {
  display: block;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  text-align: left;
}

.contact-form .field {
  display: grid;
  gap: 0.35rem;
}

.contact-form label {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-form input.contact-honey {
  display: none;
}

.contact-form button {
  justify-self: start;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 4px;
  background: #e7a584;
  color: #221e1a;
  padding: 0.62rem 1.05rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.contact-form button:hover {
  background: #d09577;
}

@media (max-width: 860px) {
  .contact-page {
    padding-top: 2.2rem;
  }
}


