body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #1e1e1e;
    background: #faf7f2;
}

main {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

pre {
    overflow-x: auto;
    padding: 1rem;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

code {
    font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
}

.codehilite {
    margin: 1.5rem 0;
}

.codehilite pre {
    background: #1f2430;
    border-color: #1f2430;
    color: #d6deeb;
}

.codehilite .c {
    color: #637777;
    font-style: italic;
}

.codehilite .k,
.codehilite .kd,
.codehilite .kn {
    color: #c792ea;
}

.codehilite .kt,
.codehilite .nb {
    color: #82aaff;
}

.codehilite .nf,
.codehilite .fm {
    color: #82aaff;
}

.codehilite .s,
.codehilite .sa,
.codehilite .sb,
.codehilite .sc,
.codehilite .s2 {
    color: #ecc48d;
}

.codehilite .mi,
.codehilite .mf {
    color: #f78c6c;
}

.site-shell {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-header {
    border-bottom: 1px solid #e3dacd;
    background: #fffdf8;
}

.site-header .site-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-nav,
.social-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-nav a,
.social-nav a {
    color: #4c4c4c;
    text-decoration: none;
}

.site-nav a:hover,
.social-nav a:hover {
    color: #000;
}

.site-nav .is-active {
    color: #000;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid #e3dacd;
    background: #fffdf8;
}

.site-footer .site-shell {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.social-nav {
    gap: 0.85rem;
    justify-content: center;
}

.social-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid #d8cfc3;
    border-radius: 999px;
    color: #4c4c4c;
    transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.social-nav a:hover {
    color: #000;
    border-color: #b7aea1;
    background: #f5efe6;
}

.social-nav a.is-muted {
    color: #9a9389;
    border-color: #e5ddd3;
}

.social-nav a.is-muted:hover {
    color: #6f6a63;
    border-color: #d1c7bb;
    background: #f5efe6;
}

.social-nav svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.news-item {
    margin-bottom: 0.85rem;
}

.news-date {
    display: inline-block;
    min-width: 7rem;
    margin-right: 0.75rem;
    color: #7a746b;
    font-size: 0.95rem;
    font-weight: 600;
}

.news-title {
    display: inline;
}

.news-title p {
    display: inline;
    margin: 0;
}

.news-title a {
    color: #1e1e1e;
    font-weight: 600;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

.news-body {
    margin-top: 0.35rem;
    padding-left: 7.75rem;
}

.news-body p:first-child {
    margin-top: 0;
}

.blog-index-header {
    margin-bottom: 2rem;
    text-align: center;
}

.blog-index-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.blog-intro {
    max-width: 36rem;
    margin: 0.9rem 0 0;
    color: #5f5952;
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
}

.post-list {
    display: grid;
    gap: 1rem;
}

.post-card {
    padding: 1.25rem 1.35rem;
    border: 1px solid #e3dacd;
    border-radius: 1rem;
    background: #fffdf8;
    transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
    position: relative;
}

.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, #9f7a45, #dcc6a3);
}

.post-card:hover {
    border-color: #cdbda7;
    box-shadow: 0 10px 24px rgba(112, 92, 61, 0.08);
    transform: translateY(-1px);
}

.post-card-date {
    margin: 0 0 0.45rem;
    color: #7a746b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-card-title {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.15;
}

.post-card-title a {
    color: #1e1e1e;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #6a4e2d;
}

.post-card-summary {
    margin: 0.75rem 0 0;
    color: #4f4a44;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.home-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.home-tagline {
    margin: 0.85rem 0 0;
    color: #5f5952;
    font-size: 1.35rem;
    font-style: italic;
}

.home-now-blurb {
    max-width: 34rem;
    margin-top: 1.35rem;
}

.home-now-blurb h2 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.home-now-blurb p {
    margin: 0;
    color: #4f4a44;
}

.home-profile img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 1.35rem;
    border: 1px solid #d8cfc3;
    box-shadow: 0 12px 30px rgba(82, 61, 33, 0.14);
}

.home-profile {
    margin-top: 0.5rem;
}

.home-lanes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.home-lane {
    padding: 1.2rem 1.25rem;
    border: 1px solid #e3dacd;
    border-radius: 1rem;
    background: #fffdf8;
    box-shadow: 0 8px 22px rgba(112, 92, 61, 0.05);
    position: relative;
}

.home-lane::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, #9f7a45, #dcc6a3);
}

.home-lane h2,
.home-news h2,
.home-story h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.home-lane p {
    margin: 0;
    color: #4f4a44;
}

.home-link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-link-list li + li {
    margin-top: 0.55rem;
}

.home-link-list a {
    color: #1e1e1e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    line-height: 1.45;
}

.home-link-list a:hover {
    color: #6a4e2d;
}

.home-news {
    margin-bottom: 2.5rem;
}

.home-story {
    padding: 1.25rem 1.35rem;
    border: 1px solid #e3dacd;
    border-radius: 1rem;
    background: #fffdf8;
}

.home-story-body {
    max-width: 44rem;
    color: #3d3934;
}

.home-story-body > :first-child {
    margin-top: 0;
}

.home-story-link {
    margin: 0.75rem 0 0;
}

.home-story-link a {
    color: #6a4e2d;
    font-weight: 600;
    text-decoration: none;
}

.home-story-link a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-profile {
        max-width: 16rem;
        order: -1;
    }

    .home-lanes {
        grid-template-columns: 1fr;
    }
}

.detail-header {
    margin-bottom: 1.5rem;
}

.detail-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.detail-meta {
    margin: 0.75rem 0 0;
    color: #8b6f47;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-summary {
    max-width: 40rem;
    margin: 0.65rem 0 0;
    color: #5f5952;
    font-size: 1.12rem;
    line-height: 1.5;
}
