/* Mac Martine - Minimal Editorial Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Charter, 'Bitstream Charter', Georgia, serif;
    font-size: 19px;
    line-height: 1.65;
    color: #1a1a1a;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 28px 0;
    border-bottom: 1px solid #eaeaea;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.01em;
}

header nav a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    margin-left: 28px;
    transition: color 0.15s;
}

header nav a:hover {
    color: #1a1a1a;
}

/* Main content */
main {
    padding: 72px 0;
}

/* Page title */
.page-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 48px;
    margin-bottom: 32px;
}

/* Intro/lead text */
.intro {
    margin-top: 48px;
    margin-bottom: 72px;
}

.intro h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.intro-body p,
.lead {
    margin-bottom: 16px;
    color: #444;
}

/* Section headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeaea;
}

.section-header h2,
.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin: 0;
}

.see-all {
    font-size: 14px;
    color: #888;
    text-decoration: none;
}

.see-all:hover {
    color: #1a1a1a;
}

/* Content sections */
section {
    margin-bottom: 64px;
}

section h2 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 20px;
}

section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

section p {
    color: #444;
}

/* Article lists */
.articles {
    list-style: none;
}

.articles li {
    border-bottom: 1px solid #f0f0f0;
}

.articles li:last-child {
    border-bottom: none;
}

.articles a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    transition: background 0.15s;
}

.articles a:hover {
    background: #f5f5f5;
    margin: 0 -12px;
    padding: 16px 12px;
}

.article-title {
    display: block;
    color: #1a1a1a;
    font-size: 18px;
    margin-bottom: 4px;
}

.article-excerpt {
    display: block;
    color: #888;
    font-size: 15px;
}

/* Simple lists */
.simple-list {
    list-style: none;
}

.simple-list li {
    margin-bottom: 10px;
}

.simple-list a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

.simple-list a:hover {
    border-bottom-color: #1a1a1a;
}

/* Grid layouts */
.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.grid-two p {
    font-size: 16px;
    line-height: 1.6;
}

/* Highlight box */
.highlight-box {
    padding: 32px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 64px;
}

.highlight-box h3 {
    margin-bottom: 12px;
}

.highlight-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Article/page content */
.content {
    font-size: 19px;
    line-height: 1.7;
}

.content p {
    margin-bottom: 24px;
    color: #333;
}

.content h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 48px 0 24px;
    text-transform: none;
    color: #1a1a1a;
}

.content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 16px;
}

.content ul,
.content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content li {
    margin-bottom: 8px;
}

.content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 20px;
    margin: 32px 0;
    color: #555;
    font-style: italic;
}

.content strong {
    font-weight: 600;
}

.content em {
    font-style: italic;
}

/* Resource sections */
.resource-section {
    margin-bottom: 48px;
}

.resource-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: normal;
    color: #1a1a1a;
}

.resource-section p {
    margin-bottom: 16px;
}

/* Interview items */
.interview-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.interview-item:last-child {
    border-bottom: none;
}

.interview-item h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.interview-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.interview-links a {
    font-size: 14px;
    margin-right: 16px;
}

/* Project items */
.project-item {
    margin-bottom: 32px;
}

.project-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.project-item p {
    margin-bottom: 8px;
}

.project-item a {
    font-size: 15px;
}

/* Service cards */
.service-card {
    padding: 24px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card .price {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 16px;
    margin-bottom: 16px;
}

/* Contact section */
.contact-section {
    padding-top: 48px;
    border-top: 1px solid #eaeaea;
    text-align: center;
}

.contact-section p {
    color: #666;
}

/* Links */
a {
    color: #1a1a1a;
    text-decoration-color: #ccc;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}

a:hover {
    text-decoration-color: #1a1a1a;
}

/* Footer */
footer {
    border-top: 1px solid #eaeaea;
    padding: 24px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 14px;
    color: #888;
}

footer nav a {
    font-size: 14px;
    color: #888;
    text-decoration: none;
    margin-left: 24px;
}

footer nav a:hover {
    color: #1a1a1a;
}

/* Back link */
.back-link {
    display: inline-block;
    font-size: 14px;
    color: #888;
    text-decoration: none;
    margin-top: 48px;
    margin-bottom: 32px;
}

.back-link:hover {
    color: #1a1a1a;
}

/* Category label */
.category-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 16px;
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    header nav a:first-child {
        margin-left: 0;
    }

    .intro h1,
    .page-title {
        font-size: 26px;
    }

    .grid-two {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer nav a:first-child {
        margin-left: 0;
    }
}
