/* ============================================
   ANICCA LIU - Typography Styles
   ============================================ */

/* --- Base Typography --- */
:root {
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body-cn: 'Noto Serif SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', serif;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[data-lang="cn"] {
    font-family: var(--font-body-cn);
}

/* --- Headings --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

body[data-lang="cn"] h1,
body[data-lang="cn"] h2,
body[data-lang="cn"] h3,
body[data-lang="cn"] h4 {
    font-family: var(--font-body-cn);
    font-weight: 500;
}

/* --- Hero Title --- */
.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1.1;
}

body[data-lang="cn"] .hero-title {
    font-size: 3.5rem;
    letter-spacing: 0.1em;
}

/* --- Section Titles --- */
.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

body[data-lang="cn"] .section-title {
    font-size: 2.5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
}

/* --- Work Titles --- */
.work-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.work-title-large {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* --- Body Text --- */
p {
    margin: 0 0 1rem 0;
}

.work-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

body[data-lang="cn"] .work-description {
    font-size: 0.9375rem;
    line-height: 1.9;
}

/* --- Small Text --- */
.work-meta,
.resume-date,
.resume-org,
.timeline-degree,
.timeline-location,
.timeline-honors {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
}

body[data-lang="cn"] .work-meta,
body[data-lang="cn"] .resume-date,
body[data-lang="cn"] .resume-org,
body[data-lang="cn"] .timeline-degree,
body[data-lang="cn"] .timeline-location,
body[data-lang="cn"] .timeline-honors {
    font-size: 0.8125rem;
}

/* --- Navigation --- */
.nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lang-toggle {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* --- Hero Subtitle --- */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

body[data-lang="cn"] .hero-subtitle {
    letter-spacing: 0.2em;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-secondary);
}

body[data-lang="cn"] .hero-tagline {
    font-size: 1.25rem;
    font-style: normal;
}

/* --- Resume Column Titles --- */
.resume-column-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.resume-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
}

.skills-category {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

/* --- Contact --- */
.contact-greeting {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
}

.contact-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
}

body[data-lang="cn"] .contact-subtitle {
    font-style: normal;
}

/* --- Footer --- */
.footer-text {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* --- Placeholder Text --- */
.placeholder-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Subsection Title --- */
.subsection-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}
