/*
Theme Name: Anna Portfolio
Theme URI: http://anna.ihtl.eu/
Author: GitHub Copilot
Description: Custom portfolio theme migrated from Canva for Anna Zury.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: anna-portfolio
*/

:root {
    --bg: #d8ddd8;
    --bg-soft: #ece7dc;
    --panel: rgba(255, 252, 247, 0.78);
    --panel-strong: #f8f3ea;
    --ink: #17222a;
    --muted: #4d5d64;
    --accent: #556b77;
    --accent-soft: #c7b9a3;
    --line: rgba(23, 34, 42, 0.14);
    --shadow: 0 24px 60px rgba(23, 34, 42, 0.12);
    --display: "Baskerville Old Face", "Palatino Linotype", "Book Antiqua", serif;
    --sans: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 28%),
        linear-gradient(180deg, #d8ddd8 0%, #c8d0cb 38%, #e7e1d5 100%);
    font-family: var(--sans);
    line-height: 1.6;
}

a {
    color: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-shell {
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(232, 236, 231, 0.72);
    border-bottom: 1px solid rgba(23, 34, 42, 0.08);
}

.site-header__inner,
.section,
.site-footer__inner {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.site-brand {
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
    color: var(--ink);
}

.hero {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 2rem auto 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.hero__copy,
.hero__media,
.panel,
.project-card,
.contact-card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}

.hero__copy {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 32px;
}

.hero__copy::after {
    content: "";
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(85, 107, 119, 0.18), rgba(199, 185, 163, 0.18));
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
}

.hero h1,
.section-title,
.contact-title {
    margin: 0;
    font-family: var(--display);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero h1 {
    font-size: clamp(3.3rem, 10vw, 7.3rem);
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero__role {
    max-width: 30rem;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button,
.button--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.button {
    background: var(--ink);
    color: #fff;
}

.button--ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.hero__media {
    border-radius: 32px;
    overflow: hidden;
    min-height: 100%;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    padding: 2rem 0 0;
}

.section-grid {
    display: grid;
    gap: 1.5rem;
}

.section-grid--about {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
}

.section-grid--experience {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-grid--skills {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 44rem;
    margin: 0 0 2rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.panel {
    border-radius: 28px;
    padding: 1.6rem;
}

.panel--image {
    padding: 0;
    overflow: hidden;
}

.panel--image img,
.panel--image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack {
    display: grid;
    gap: 1.5rem;
}

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

.timeline-item + .timeline-item,
.education-item + .education-item {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.timeline-item h3,
.education-item h3,
.skill-card h3,
.project-card h3 {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: 1.45rem;
    letter-spacing: 0.03em;
}

.timeline-item p,
.education-item p,
.project-card p,
.skill-card li,
.contact-copy,
.about-copy p {
    margin: 0;
    color: var(--muted);
}

.timeline-item ul,
.skill-card ul {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
}

.skills-grid,
.projects-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-card {
    background: var(--panel-strong);
    border-radius: 24px;
    padding: 1.35rem;
    border: 1px solid rgba(23, 34, 42, 0.08);
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
    border-radius: 28px;
    overflow: hidden;
}

.project-card img,
.project-card video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card__body {
    padding: 1.35rem;
}

.project-card__meta {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

.inline-link,
.contact-link {
    text-underline-offset: 0.18em;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
}

.contact-card {
    border-radius: 32px;
    padding: clamp(1.6rem, 4vw, 2.8rem);
}

.contact-title {
    font-size: clamp(2.4rem, 6vw, 4.9rem);
    margin-bottom: 1rem;
}

.contact-meta {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.contact-meta strong {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.badge {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(85, 107, 119, 0.09);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    padding: 2rem 0 3rem;
}

.site-footer__inner {
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .hero,
    .section-grid--about,
    .section-grid--experience,
    .section-grid--skills,
    .contact-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero__media {
        max-height: 620px;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        padding: 0.75rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        gap: 0.75rem 1rem;
    }

    .hero {
        margin-top: 1rem;
    }

    .hero__copy,
    .contact-card,
    .panel,
    .project-card__body {
        padding: 1.25rem;
    }
}