:root {
  --color-paper: #fbfaf7;
  --color-ink: #20201d;
  --color-muted: #6f6b63;
  --color-line: #dfdbd2;
  --color-accent: #4f6f64;
  --color-accent-soft: #dce7df;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --content-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 247, 0)),
    var(--color-paper);
  color: var(--color-ink);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration-color: rgba(79, 111, 100, 0.45);
  text-underline-offset: 0.22em;
}

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

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link,
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  left: 1rem;
  padding: 0.6rem 0.9rem;
  top: 1rem;
  width: auto;
  z-index: 1000;
  background: var(--color-ink);
  color: var(--color-paper);
}

.site-header {
  border-bottom: 1px solid rgba(32, 32, 29, 0.08);
}

.site-header__inner,
.site-footer__inner,
.content-section__inner,
.front-hero__inner {
  margin: 0 auto;
  max-width: var(--content-width);
  padding-left: clamp(1.1rem, 4vw, 2.5rem);
  padding-right: clamp(1.1rem, 4vw, 2.5rem);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 78px;
}

.site-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.25;
  text-decoration: none;
}

.site-nav__list,
.site-footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.site-footer a {
  color: var(--color-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--color-ink);
}

.front-hero {
  min-height: 48vh;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(3rem, 8vw, 5rem);
}

.front-hero__eyebrow {
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.front-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  max-width: 11ch;
}

.content-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.entry-content {
  font-size: 1.03rem;
}

.entry-content > * {
  max-width: 720px;
}

.entry-content > h1,
.entry-content > h2,
.entry-content > h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.35;
}

.entry-content > h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 2rem;
}

.entry-content > h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 3rem;
}

.entry-content p {
  color: color-mix(in srgb, var(--color-ink) 86%, var(--color-muted));
}

.entry-content .alignwide {
  max-width: var(--content-width);
}

.entry-content .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.entry-meta,
.archive-description,
.post-card__excerpt {
  color: var(--color-muted);
}

.entry-image {
  margin: 2rem 0;
}

.post-list {
  display: grid;
  gap: 1px;
  background: var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-top: 1px solid var(--color-line);
}

.post-card {
  background: var(--color-paper);
}

.post-card__link {
  display: block;
  padding: clamp(1.25rem, 4vw, 2rem) 0;
  text-decoration: none;
}

.post-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.post-card__excerpt {
  margin: 0;
  max-width: 680px;
}

.pagination {
  margin-top: 2rem;
}

.text-link,
.nav-links a,
.search-form button {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  line-height: 1.2;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 560px;
}

.search-form input {
  border: 1px solid var(--color-line);
  border-radius: 4px;
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(32, 32, 29, 0.08);
  padding: 2rem 0;
}

.site-footer__inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.site-footer__copy {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 720px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 1.2rem;
    padding-top: 1.2rem;
  }

  .front-hero {
    min-height: 38vh;
  }

  .search-form {
    flex-direction: column;
  }
}

