:root {
--ink: #18211d;
--muted: #5f675f;
--paper: #f7f5ef;
--panel: #eeebe3;
--line: #d7d2c7;
--accent: #5f7f65;
--badge: #f0ede6;
--white: #ffffff;
--serif: Georgia, "Times New Roman", serif;
--sans: Arial, Helvetica, sans-serif;
--mono: "Courier New", monospace;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--sans);
}
img {
max-width: 100%;
height: auto;
}
a {
color: inherit;
}
.announcement {
background: var(--ink);
color: #f4f1e8;
text-align: center;
padding: 10px 20px;
font: 12px/1.4 var(--mono);
}
.announcement a {
color: var(--white);
margin-left: 12px;
font-weight: 700;
}
.site-header,
.site-footer {
max-width: 1320px;
margin: auto;
padding-left: 38px;
padding-right: 38px;
}
.site-header {
min-height: 88px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
}
.brand {
display: grid;
text-decoration: none;
font-size: 21px;
line-height: .82;
letter-spacing: 0;
}
.brand strong {
font-weight: 800;
}
.primary-nav {
display: flex;
align-items: center;
gap: 28px;
flex-wrap: wrap;
}
.primary-nav a,
.section-head > a,
.site-footer a {
font-size: 13px;
font-weight: 700;
text-decoration: none;
}
.primary-nav a:hover,
.section-head > a:hover,
.site-footer a:hover {
color: var(--accent);
}
.hero {
min-height: 620px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
gap: 44px;
align-items: center;
padding: 72px max(38px, calc((100vw - 1244px) / 2));
background: #e7ece0;
}
.hero-copy {
max-width: 720px;
}
.eyebrow {
margin: 0 0 18px;
color: var(--accent);
font: 700 11px/1.3 var(--mono);
letter-spacing: .12em;
text-transform: uppercase;
}
.hero h1,
.section-head h1,
.section-head h2 {
margin: 0;
font-family: var(--serif);
font-weight: 700;
line-height: 1;
letter-spacing: 0;
}
.hero h1 {
max-width: 720px;
font-size: clamp(48px, 6vw, 88px);
}
.intro {
max-width: 560px;
margin: 26px 0 32px;
color: #36423a;
font-size: 18px;
line-height: 1.6;
}
.button {
display: inline-flex;
align-items: center;
gap: 14px;
min-height: 48px;
padding: 0 18px;
background: var(--ink);
color: var(--white);
border-radius: 6px;
font-size: 14px;
font-weight: 800;
text-decoration: none;
}
.hero-panel .post-card {
box-shadow: 0 24px 70px rgba(24, 33, 29, .14);
}
.topics,
.latest {
padding-left: max(38px, calc((100vw - 1244px) / 2));
padding-right: max(38px, calc((100vw - 1244px) / 2));
}
.topics {
padding-top: 70px;
padding-bottom: 70px;
border-bottom: 1px solid var(--line);
}
.topic-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1px;
background: var(--line);
border: 1px solid var(--line);
}
.topic-list a {
min-height: 96px;
padding: 22px;
background: var(--paper);
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
font: 700 21px/1.2 var(--serif);
text-decoration: none;
}
.topic-list span {
color: var(--muted);
font: 700 13px var(--sans);
}
.latest {
padding-top: 92px;
padding-bottom: 112px;
}
.archive-view {
min-height: 70vh;
}
.section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 30px;
margin-bottom: 24px;
}
.section-head h1,
.section-head h2 {
font-size: clamp(40px, 5vw, 64px);
}
.search-form {
display: grid;
grid-template-columns: minmax(180px, 260px) auto;
border: 1px solid var(--line);
border-radius: 999px;
overflow: hidden;
background: var(--white);
}
.search-form label {
display: block;
}
.search-field {
width: 100%;
min-height: 42px;
border: 0;
padding: 0 16px;
background: transparent;
}
.search-submit {
border: 0;
padding: 0 16px;
background: var(--ink);
color: var(--white);
font-weight: 800;
cursor: pointer;
}
.category-filter {
position: sticky;
top: 0;
z-index: 2;
display: flex;
gap: 10px;
margin: 0 0 28px;
padding: 10px 0;
overflow-x: auto;
background: var(--paper);
scrollbar-width: thin;
}
.category-filter a,
.category-badge {
display: inline-flex;
align-items: center;
width: max-content;
max-width: 100%;
border-radius: 4px;
background: var(--badge);
color: #222;
padding: 2px 8px;
font-size: 11px;
font-weight: 600;
line-height: 1.6;
letter-spacing: .04em;
text-transform: uppercase;
text-decoration: none;
white-space: nowrap;
}
.category-filter a {
min-height: 32px;
border: 1px solid transparent;
}
.category-filter a:hover {
border-color: var(--ink);
}
.posts {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 28px;
align-items: stretch;
}
.archive-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-card {
min-width: 0;
display: grid;
grid-template-rows: auto 1fr;
background: transparent;
}
.post-card.is-featured {
grid-column: span 1;
}
.post-image {
position: relative;
display: block;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 6px;
background: linear-gradient(135deg, #d9ded2, #ede7dd);
}
.post-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .25s ease;
}
.post-card:hover .post-image img {
transform: scale(1.025);
}
.image-fallback {
position: absolute;
inset: 0;
display: grid;
place-items: center;
padding: 24px;
color: var(--muted);
font: 700 18px/1.3 var(--serif);
text-align: center;
}
.post-body {
min-height: 216px;
padding-top: 16px;
display: grid;
grid-template-rows: auto auto 1fr;
}
.post-meta,
.article-meta {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
color: var(--muted);
font-size: 12px;
}
.post-meta time,
.article-meta time {
font: 700 11px/1.5 var(--mono);
color: var(--muted);
text-transform: uppercase;
}
.post-card h3 {
min-height: 58px;
margin: 12px 0 8px;
font: 700 25px/1.16 var(--serif);
letter-spacing: 0;
}
.post-card h3 a {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-decoration: none;
}
.post-card p {
min-height: 48px;
margin: 0;
color: var(--muted);
font-size: 14px;
line-height: 1.55;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.pagination {
margin-top: 48px;
}
.pagination .nav-links {
display: flex;
align-items: center;
gap: 9px;
flex-wrap: wrap;
}
.pagination .page-numbers,
.pagination a,
.pagination span {
min-width: 38px;
min-height: 38px;
padding: 9px 13px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--white);
color: var(--ink);
font-size: 13px;
font-weight: 800;
text-decoration: none;
}
.pagination .current,
.pagination a:hover {
background: var(--ink);
border-color: var(--ink);
color: var(--white);
}
.article {
max-width: 920px;
margin: auto;
padding: 88px 38px 110px;
}
.article h1 {
margin: 20px 0 22px;
font: 700 clamp(42px, 6vw, 76px)/1 var(--serif);
letter-spacing: 0;
}
.article-intro {
max-width: 720px;
color: var(--muted);
font: 22px/1.55 var(--serif);
}
.article-image {
margin: 42px 0;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 6px;
background: var(--panel);
}
.article-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.article-content {
max-width: 720px;
font-size: 18px;
line-height: 1.78;
}
.article-content > * {
margin-bottom: 1.35em;
}
.site-footer {
padding-top: 50px;
padding-bottom: 46px;
display: grid;
grid-template-columns: 1.3fr 1fr 1fr auto;
gap: 34px;
border-top: 1px solid var(--line);
}
.site-footer h2 {
margin: 0 0 12px;
font-size: 12px;
text-transform: uppercase;
letter-spacing: .08em;
}
.site-footer nav {
display: grid;
gap: 10px;
align-content: start;
}
.site-footer p {
margin: 14px 0 0;
color: var(--muted);
font-size: 13px;
line-height: 1.5;
}
.site-footer .copyright {
margin: 0;
align-self: end;
white-space: nowrap;
}
@media (max-width: 900px) {
.hero,
.posts,
.archive-grid,
.topic-list,
.site-footer {
grid-template-columns: 1fr 1fr;
}
.hero {
align-items: start;
}
}
@media (max-width: 720px) {
.site-header,
.site-footer,
.topics,
.latest {
padding-left: 23px;
padding-right: 23px;
}
.site-header {
align-items: flex-start;
padding-top: 20px;
padding-bottom: 20px;
}
.primary-nav {
justify-content: flex-end;
gap: 14px;
}
.hero,
.posts,
.archive-grid,
.topic-list,
.site-footer {
grid-template-columns: 1fr;
}
.hero {
min-height: auto;
padding: 58px 23px;
}
.hero h1 {
font-size: clamp(42px, 14vw, 60px);
}
.latest {
padding-top: 68px;
padding-bottom: 82px;
}
.section-head {
display: grid;
align-items: start;
}
.search-form {
width: 100%;
grid-template-columns: 1fr auto;
}
.post-body {
min-height: auto;
}
.post-card h3 {
min-height: auto;
font-size: 24px;
}
.post-card p {
min-height: auto;
}
.article {
padding: 64px 23px 82px;
}
.article-intro {
font-size: 19px;
}
.site-footer .copyright {
white-space: normal;
}
}