:root {
    --plum: #820855;
    --plum-dark: #5c0540;
    --plum-tint: #f3e8ef;
    --bg: #faf8f5;
    --surface: #fffdfb;
    --ink: #1f1a1d;
    --ink-soft: #4d4249;
    --line: #e6dfd9;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(40, 20, 32, 0.06), 0 8px 24px rgba(40, 20, 32, 0.07);
    --shadow-hover: 0 2px 4px rgba(40, 20, 32, 0.08), 0 16px 36px rgba(40, 20, 32, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

a { color: var(--plum); }

:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--plum);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    z-index: 10;
    text-decoration: none;
}
.skip:focus { top: 1rem; }

/* HERO */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 120% at 50% -20%, rgba(130, 8, 85, 0.09), transparent 70%),
        var(--bg);
}

.name {
    margin: 0 0 0.75rem;
    font-size: clamp(2.25rem, 8vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 750;
}

.role {
    max-width: 38rem;
    margin: 0 auto 1.75rem;
    font-size: clamp(1rem, 2.6vw, 1.25rem);
    color: var(--ink-soft);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--plum);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dark); border-color: var(--plum-dark); }
.btn-secondary { background: transparent; color: var(--plum); }
.btn-secondary:hover { background: var(--plum); color: #fff; }

.links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: center;
    font-size: 0.95rem;
}
.links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(130, 8, 85, 0.35);
    text-underline-offset: 4px;
}
.links a:hover { text-decoration-color: var(--plum); }

/* SECTIONS */
section { padding: 3rem 0; }

h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* CARDS */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card:focus-visible { outline-offset: 4px; border-radius: var(--radius); }

.card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background: var(--plum-tint);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.4rem;
}

.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.tags {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.tags li {
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: var(--plum-tint);
    color: var(--plum-dark);
    font-size: 0.8rem;
    font-weight: 600;
}

.more {
    margin-top: auto;
    color: var(--plum);
    font-weight: 600;
}
.card:hover .more { text-decoration: underline; text-underline-offset: 4px; }

.note {
    margin: 1.75rem 0 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* INFO BLOCKS */
.info { border-top: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr; gap: 0.25rem 3rem; }
.info h2 { margin-bottom: 1rem; }
.prose p { margin: 0 0 1rem; max-width: 40rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* CTA */
.cta {
    text-align: center;
    background: var(--plum-tint);
    border-top: 1px solid var(--line);
}
.cta p { max-width: 36rem; margin: 0 auto 1.5rem; color: var(--ink-soft); }
.cta .actions { margin-bottom: 0; }

/* FOOTER */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.footer p { margin: 0; }

/* DESKTOP */
@media (min-width: 700px) {
    .wrap { padding: 0 2rem; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 6rem 0 4rem; }
    section { padding: 4.5rem 0; }
    .two-col { grid-template-columns: 1fr 2fr; }
    .info h2 { margin-bottom: 0; }
}

@media (min-width: 1000px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card, .btn { transition: none; }
    .card:hover { transform: none; }
}
