* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2a2e;
  background: #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(47, 111, 108, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease, background-color .18s ease;
}

a:hover {
  color: #214f4d;
  text-decoration-color: #214f4d;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  padding: .12rem .3rem;
  border-radius: 4px;
  background: rgba(47, 111, 108, 0.08);
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid #e2ded5;
  border-radius: 8px;
  background: #f8f7f3;
}

::selection {
  background: rgba(47, 111, 108, 0.18);
}

.site-header {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e2ded5;
}
@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

.brand {
  text-decoration: none;
}

.brand span {
  display: block;
  font-weight: 750;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: #667174;
  font-size: .82rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #667174;
  font-size: .95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: #214f4d;
  font-weight: 650;
}

.site-main {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(42px, 8vw, 96px) 0;
}
@media (max-width: 760px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
}

.hero__media {
  animation: rise .5s ease both;
}

.hero__media img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2ded5;
}

.hero__content {
  max-width: 680px;
  animation: rise .5s ease .08s both;
}

.hero h1,
.page__header h1,
.post__header h1 {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  color: #214f4d;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: #2f6f6c;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #e2ded5;
  border-radius: 6px;
  color: #1f2a2e;
  text-decoration: none;
}

.button:hover {
  border-color: rgba(47, 111, 108, 0.45);
  background: rgba(47, 111, 108, 0.06);
}

.button--primary {
  color: #fff;
  border-color: #2f6f6c;
  background: #2f6f6c;
}

.button--primary:hover {
  color: #fff;
  border-color: #214f4d;
  background: #214f4d;
}

.section {
  padding: 54px 0;
  border-top: 1px solid #e2ded5;
}

.section--split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 6vw, 72px);
}
@media (max-width: 760px) {
  .section--split {
    grid-template-columns: 1fr;
  }
}

.section__header h2,
.page__header h1,
.post__header h1 {
  margin: 0;
}

.plain-list,
.post-list,
.prose,
.archive-list,
.post-nav,
.timeline-list,
.award-list {
  max-width: 760px;
}

.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
}

.fact-strip div {
  min-width: 120px;
  padding-top: 12px;
  border-top: 1px solid #e2ded5;
}

.fact-strip dt {
  color: #667174;
  font-size: .78rem;
  text-transform: uppercase;
}

.fact-strip dd {
  margin: 2px 0 0;
  color: #214f4d;
  font-weight: 680;
}

.timeline-list,
.award-list {
  display: grid;
  gap: 24px;
}

.timeline-list article,
.award-list article {
  padding-bottom: 24px;
  border-bottom: 1px solid #e2ded5;
}

.timeline-list article:last-child,
.award-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline-list time,
.award-list time {
  margin: 0 0 6px;
  color: #2f6f6c;
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.timeline-list h3,
.award-list h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.timeline-list p,
.award-list p {
  margin: 0;
  color: #667174;
}

.award-list ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.award-list li {
  margin: 8px 0;
}

.award-list li span,
.award-list li small {
  display: block;
}

.award-list li small {
  margin-top: 2px;
  color: #667174;
  font-size: .9rem;
}

.award-list--inline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.award-list--inline li {
  margin: 0;
  color: #1f2a2e;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.award-list--inline time {
  display: inline;
  margin: 0 .35rem 0 0;
  color: #1f2a2e;
  font-size: inherit;
  font-style: italic;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.award-title {
  display: inline;
  color: #214f4d;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: rgba(33, 79, 77, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page,
.post {
  padding: clamp(46px, 8vw, 92px) 0;
}

.page__header,
.post__header {
  max-width: 760px;
  margin-bottom: 34px;
}

.post-list {
  display: grid;
  gap: 28px;
}

.post-item {
  padding-bottom: 26px;
  border-bottom: 1px solid #e2ded5;
  transition: transform .18s ease;
}

.post-item:hover {
  transform: translateY(-2px);
}

.post-item time,
.archive-list time {
  color: #667174;
  font-size: .9rem;
}

.post-item h3 {
  margin: 4px 0 8px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.post-item p,
.muted {
  color: #667174;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 2px 8px;
  border-radius: 999px;
  color: #214f4d;
  background: rgba(47, 111, 108, 0.08);
  font-size: .82rem;
}

.prose {
  font-size: 1.05rem;
}

.prose h2,
.prose h3 {
  margin-top: 2.2rem;
  line-height: 1.25;
}

.prose img {
  margin: 1.5rem 0;
  border-radius: 8px;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid #2f6f6c;
  color: #667174;
}

.archive-list {
  padding: 0;
  list-style: none;
}

.archive-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e2ded5;
}
@media (max-width: 760px) {
  .archive-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 70px;
  border-top: 1px solid #e2ded5;
}

.site-footer {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e2ded5;
  color: #667174;
  font-size: .92rem;
}
@media (max-width: 760px) {
  .site-footer {
    flex-direction: column;
  }
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.highlight {
  margin: 1.25rem 0;
}

.highlight pre {
  margin: 0;
}

.highlight .c,
.highlight .c1,
.highlight .cm {
  color: #7b8587;
}

.highlight .k,
.highlight .kd,
.highlight .kn {
  color: #7a4f9e;
}

.highlight .s,
.highlight .s1,
.highlight .s2 {
  color: #8a5a20;
}

.highlight .nf,
.highlight .na {
  color: #1c6f6d;
}

.highlight .mi,
.highlight .mf {
  color: #9b3f36;
}
