:root {
    font-family: "Poppins", "Inter", "Nunito", system-ui, sans-serif;
    --peach: #ffe1d6;
    --cream: #fff8f1;
    --lavender: #ede7ff;
    --text: #2b2437;
    --muted: #5d5168;
    --cta: #ff8ba7;
}

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

body {
    background: linear-gradient(135deg, #f1edff, #ffecef 45%, #fff8f1);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    padding-bottom: 3rem;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(31, 28, 45, 0.18);
    border: 1px solid rgba(255, 139, 167, 0.2);
    position: relative;
    overflow: hidden;
}

.tag {
    width: fit-content;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 139, 167, 0.12);
    border: 1px solid rgba(255, 139, 167, 0.4);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    font-size: 0.8rem;
}

header::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: 28px;
    border: 1px dashed rgba(255, 139, 167, 0.25);
    pointer-events: none;
}

.tag {
    font-size: 0.9rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
}

p {
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.grid img {
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(31, 28, 45, 0.12);
}

.card {
    padding: 2rem;
    border-radius: 28px;
    background: white;
    box-shadow: 0 30px 70px rgba(31, 28, 45, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(45, 40, 60, 0.05);
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.top-link {
    align-self: flex-start;
    margin-bottom: -0.5rem;
    font-size: 0.95rem;
}

.card ul li {
    padding: 0.35rem 0.5rem;
    border-radius: 12px;
    background: rgba(237, 231, 255, 0.55);
}

.card h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: var(--text);
}

.focus-list,
.values-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-block {
    background: white;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 45px rgba(31, 28, 45, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.section-block h2 {
    font-size: 1.4rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.timeline-item {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border: 1px solid rgba(93, 81, 104, 0.15);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f9f6ff);
    box-shadow: 0 20px 40px rgba(43, 36, 55, 0.08);
}

.timeline-item:first-child {
    margin-top: 0;
}

.timeline-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-title {
    font-weight: 600;
}

.timeline-meta {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 500;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cta);
    border: 3px solid white;
    left: 1rem;
    top: 1.7rem;
    box-shadow: 0 0 0 6px rgba(255, 139, 167, 0.18);
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 2px;
    background: rgba(255, 139, 167, 0.25);
    left: 1.55rem;
    top: 2.6rem;
    bottom: -1.5rem;
}

.timeline-item:last-child::after {
    display: none;
}

.detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.2rem;
}

.detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cta);
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--muted);
}

.btn {
    width: fit-content;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(120deg, #ff8ba7, #ffb9c6);
    color: white;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 15px 30px rgba(255, 139, 167, 0.4);
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.back-link {
    font-weight: 600;
    display: inline-flex;
    gap: 0.4rem;
    color: var(--cta);
}

@media (max-width: 640px) {
    header {
        padding: 2rem;
    }

    .timeline-head {
        flex-direction: column;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: 0.8rem;
    }

    .timeline-item::after {
        left: 1.3rem;
    }
}
