:root {
  --ink: #152235;
  --muted: #667085;
  --paper: #fff;
  --wash: #f5f6f8;
  --accent: #e66a3c;
  --line: #e6e8ec;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; z-index: 10; background: #fff; padding: .6rem; }

.masthead { border-bottom: 1px solid var(--line); background: #fff; }
.brand { max-width: var(--max); margin: auto; padding: 2.1rem 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.brand a { text-decoration: none; }
.brand-art { width: min(100%, 520px); line-height: 0; margin-bottom: 1rem; }
.brand-art img { display: block; width: 100%; height: auto; }
.brand .brand-name { font: 700 clamp(1.7rem, 4vw, 2.65rem)/1.1 Georgia, serif; }
.brand span { color: var(--muted); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .35rem; }
.masthead > nav { border-top: 1px solid var(--line); display: flex; gap: 1.5rem; justify-content: center; padding: .7rem 1rem; flex-wrap: wrap; }
.masthead nav a, .footer-inner nav a { text-decoration: none; font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.masthead nav a:hover, .read-more:hover { color: var(--accent); }
.menu { display: none; }

.layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .78fr); gap: 3.5rem; max-width: var(--max); margin: 3rem auto; padding: 0 1.25rem; }
.page { max-width: 880px; margin: 3rem auto; padding: 0 1.25rem; }
.archive-title, .post h1, .page h1 { font-family: Georgia, serif; line-height: 1.12; }
.archive-title { font-size: 2.2rem; margin: 0 0 2rem; }
.post h1 { font-size: clamp(2.2rem, 5vw, 4.25rem); margin: .45rem 0 1rem; }
.category { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.byline, .card-meta { color: var(--muted); font-size: .86rem; }
.hero { width: 100%; height: auto; max-height: 600px; object-fit: cover; margin: 1.5rem 0; }
.post-content { font-family: Georgia, serif; font-size: 1.08rem; }
.post-content h2 { font: 700 1.8rem/1.25 system-ui, sans-serif; margin: 2.3rem 0 .7rem; }
.post-content h3 { font: 700 1.25rem/1.3 system-ui, sans-serif; margin: 1.7rem 0 .5rem; }
.post-content img { max-width: 100%; height: auto; }
.post-content a { color: #a43f1f; }
.post-content blockquote { border-left: 4px solid var(--accent); margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; color: #485467; }
.tags { display: flex; gap: .45rem; flex-wrap: wrap; margin: 2rem 0; }
.tags span { background: var(--wash); border-radius: 999px; padding: .25rem .65rem; font-size: .8rem; }
.post-list { display: grid; gap: 2.4rem; }
.card { display: grid; grid-template-columns: 210px 1fr; gap: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 2.4rem; }
.card img { width: 210px; height: 155px; object-fit: cover; }
.card h2 { font: 700 1.55rem/1.25 Georgia, serif; margin: .3rem 0; }
.card h2 a { text-decoration: none; }
.card p { margin: .45rem 0; }
.read-more { display: inline-block; color: var(--accent); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-top: .55rem; text-decoration: none; }

.sidebar section { background: var(--wash); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar h2 { font: 700 1.45rem/1.25 Georgia, serif; margin: .9rem 0 .7rem; }
.ashley-photo { display: block; width: 128px; height: 128px; object-fit: cover; border-radius: 50%; }
.search input { width: 100%; border: 1px solid #c9ced6; background: #fff; padding: .75rem; margin: .35rem 0 .75rem; font: inherit; }
.search button { border: 0; background: var(--ink); color: #fff; padding: .75rem 1.2rem; font-weight: 700; cursor: pointer; }
.comments { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
.comments ol { list-style: none; padding: 0; }
.comments li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comments time { display: block; color: var(--muted); font-size: .8rem; }
.comments-closed { color: var(--muted); font-size: .85rem; }
.search { display: flex; align-items: end; gap: .6rem; margin-bottom: 2rem; }
.search label { flex: 1; }

footer { background: var(--ink); color: #fff; margin-top: 4rem; }
.footer-inner { max-width: var(--max); margin: auto; padding: 3rem 1.25rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.footer-inner .social-links { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.footer-inner .social-links a:hover { color: #fff; text-decoration: underline; }
.footer-inner p { color: #b9c1cc; font-size: .85rem; }

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; gap: 2rem; }
  .card { grid-template-columns: 1fr; }
  .card img { width: 100%; height: auto; }
  .menu { display: block; position: absolute; right: 1.25rem; top: 2rem; border: 1px solid var(--line); background: #fff; padding: .45rem .7rem; }
  .masthead > nav { display: none; flex-direction: column; align-items: center; }
  .masthead > nav.open { display: flex; }
  .brand { padding-right: 6rem; }
  .brand-art { width: min(100%, 420px); }
  .post h1 { font-size: 2.35rem; }
}
