/* New York Times Editorial Style - Enhanced */

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

:root {
    --black: #000000;
    --dark-gray: #333;
    --gray: #666;
    --light-gray: #999;
    --border: #d4d4d4;
    --white: #ffffff;
    --bg-gray: #f7f7f7;
}

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.75;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

/* Masthead - NYT Style */
.masthead {
    border-top: 3px solid var(--black);
    border-bottom: 1px solid var(--black);
    padding: 1.5rem 2rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    position: relative;
}

.masthead-border-top {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--black);
}

.masthead-border-bottom {
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--black);
}

.publication-name {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
    color: var(--black);
    text-transform: uppercase;
}

.tagline {
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.publication-date {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    font-style: normal;
    color: var(--dark-gray);
    display: block;
    font-weight: 500;
}

/* Main Content */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Hero Section */
.hero {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--black);
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.subheadline {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.byline {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Lead Paragraph */
.lead {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.drop-cap::first-letter {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    line-height: 0.8;
    margin: 0.05rem 0.15rem 0 0;
    font-weight: 700;
    color: var(--black);
}

.lead p {
    font-size: 1.3rem;
    line-height: 1.85;
    color: var(--black);
    text-align: justify;
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 1rem;
    border-top: 3px double var(--black);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-align: center;
}

/* Education Section */
.education {
    margin-bottom: 4rem;
}

.education-item {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 3px solid var(--border);
}

.education-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.institution {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
    font-style: italic;
}

/* Ventures Section */
.ventures {
    margin-bottom: 4rem;
}

.venture {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.venture:last-child {
    border-bottom: none;
}

.venture h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.venture p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--black);
    text-align: justify;
}

/* Patents Section */
.patents {
    margin-bottom: 4rem;
}

.patent-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

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

.patent-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.patent-item p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--black);
    text-align: justify;
}

/* Social Activities Section */
.social {
    margin-bottom: 4rem;
}

.social-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

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

.social-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.social-item p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--black);
    text-align: justify;
}

/* Connect Section */
.connect {
    margin-bottom: 4rem;
}

.connect-text {
    font-size: 1.125rem;
    line-height: 1.85;
    text-align: justify;
}

.link {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 1px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.link:hover {
    color: var(--gray);
    border-bottom-color: var(--gray);
}

/* Footer */
.site-footer {
    border-top: 3px double var(--black);
    background-color: var(--bg-gray);
    padding: 3rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publication-name {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }

    main {
        padding: 3rem 1.5rem 4rem;
    }

    .headline {
        font-size: 3rem;
    }

    .subheadline {
        font-size: 1.2rem;
    }

    .drop-cap::first-letter {
        font-size: 4.5rem;
    }

    .lead p {
        font-size: 1.15rem;
        text-align: left;
    }

    .section-title {
        font-size: 1.3rem;
        padding-top: 2rem;
    }

    .education-item {
        padding-left: 1.5rem;
    }

    .education-item h3 {
        font-size: 1.4rem;
    }

    .venture h3,
    .patent-item h3,
    .social-item h3 {
        font-size: 1.6rem;
    }

    .venture p,
    .patent-item p,
    .social-item p,
    .connect-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 17px;
    }

    .publication-name {
        font-size: 2.5rem;
        letter-spacing: 0.08em;
    }

    .tagline {
        font-size: 0.65rem;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.1rem;
    }

    .drop-cap::first-letter {
        font-size: 4rem;
        margin-right: 0.1rem;
    }

    .lead p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.2rem;
        padding-top: 2rem;
    }

    .education-item {
        padding-left: 1rem;
        border-left-width: 2px;
    }

    .education-item h3 {
        font-size: 1.3rem;
    }

    .institution {
        font-size: 1rem;
    }

    .venture h3,
    .patent-item h3,
    .social-item h3 {
        font-size: 1.5rem;
    }

    .venture p,
    .patent-item p,
    .social-item p,
    .connect-text {
        font-size: 1.05rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        font-size: 12pt;
    }

    .masthead {
        border-bottom: 2px solid black;
    }

    .masthead-border-bottom {
        height: 2px;
    }

    .link {
        text-decoration: none;
        color: black;
        border: none;
    }

    .link::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
        color: #666;
    }

    .section-title {
        page-break-after: avoid;
    }

    .venture,
    .patent-item,
    .social-item,
    .education-item {
        page-break-inside: avoid;
    }
}
