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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", sans-serif;
    background: #ece8e6;
    color: #222;
    padding: 34px;
}

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

.site-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    background: #f7f4f2;
    border: 1px solid #ddd7d3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.top-header {
    text-align: center;
    background: #f8f6f5;
    padding: 34px 20px 18px;
}

.top-header h1 {
    font-size: 4rem;
    line-height: 1;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.top-header p {
    font-size: 1rem;
    color: #3c3c3c;
}

.navbar {
    background: #3e3e3e;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    font-size: 0.98rem;
    position: relative;
    transition: background 0.2s ease;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.navbar a.active::after,
.navbar a:hover::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 4px;
    background: #2a8be8;
}

.main-content {
    padding: 0 46px 56px;
}

.headline {
    text-align: center;
    padding: 30px 0 22px;
}

.headline h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #2c2c2c;
}

.section {
    margin-top: 4px;
}

.section-line {
    height: 1px;
    background: #d9d3cf;
    margin-bottom: 16px;
}

.section h3 {
    font-size: 1.95rem;
    margin-bottom: 18px;
    color: #232323;
}

/* ABOUT */
.about-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
}

.about-text p {
    font-size: 0.99rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.about-image img {
    width: 100%;
    border: 1px solid #d2ccc8;
    border-radius: 2px;
}

/* WORK */
.work-panel {
    background: #efefef;
    border: 1px solid #dcdcdc;
    padding: 16px 18px 22px;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 20px;
}

.project-card {
    background: #f6f6f6;
    border: 1px solid #d6d6d6;
}

.project-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.project-body {
    padding: 14px 15px 16px;
}

.project-body h5 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.project-body p {
    color: #444;
    font-size: 0.97rem;
    line-height: 1.6;
}

.schedule-table {
    margin-top: 16px;
    border: 1px solid #d0d0d0;
}

.row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.row>div {
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.row>div:last-child {
    border-right: none;
}

.table-head>div {
    background: #0f4f8b;
    color: #fff;
    min-height: 40px;
}

.white {
    background: #f7f7f7;
    color: #333;
}

.yellow {
    background: #ead667;
    color: #2d2d2d;
}

.red {
    background: #d85d5d;
    color: #fff;
}

.blue {
    background: #2f6ea6;
    color: #fff;
}

.empty {
    background: #fafafa;
}

/* EXPERIENCE */
.experience-block {
    margin-bottom: 24px;
}

.experience-item+.experience-item {
    margin-top: 24px;
}

.experience-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #212121;
}

.experience-item h4 span {
    font-style: italic;
    font-weight: 400;
    color: #474747;
}

.experience-item ul,
.small-panel ul,
.volunteer-body ul,
.content-block ul,
.soft-panel ul,
.white-panel ul {
    list-style: none;
}

.experience-item li,
.small-panel li,
.content-block li,
.soft-panel li,
.white-panel li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #2f2f2f;
}

.experience-item li::before,
.small-panel li::before,
.content-block li::before,
.soft-panel li::before,
.white-panel li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #222;
    font-weight: 700;
}

.skills-languages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.small-panel {
    background: #f4f4f4;
    border: 1px solid #d8d8d8;
    padding: 18px 22px;
}

.small-panel h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* VOLUNTEERING */
.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.volunteer-card {
    background: #f5f5f5;
    border: 1px solid #d8d8d8;
    overflow: hidden;
}

.volunteer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.volunteer-body {
    padding: 16px 16px 18px;
}

.volunteer-body h4 {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.role {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.volunteer-body p {
    color: #333;
    line-height: 1.6;
}

/* PROJECTS / CASE STUDIES */
#projects h3 {
    margin-bottom: 24px;
}

.case-study {
    margin-bottom: 48px;
    background: transparent;
}

.case-study:last-child {
    margin-bottom: 12px;
}

.case-study-hero {
    display: grid;
    grid-template-columns: 1fr 0.96fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.case-study-title h2 {
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: #1f1f1f;
    max-width: 500px;
    margin-bottom: 18px;
}

.brand-logo {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    margin-bottom: 26px;
}

.guinness-brand {
    color: #161616;
    text-transform: uppercase;
}

.ryanair-brand {
    color: #17458c;
    text-transform: uppercase;
}

.back-link {
    display: inline-block;
    color: #262626;
    font-size: 0.95rem;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.case-study-image img {
    width: 100%;
    height: 355px;
    object-fit: cover;
    border-radius: 24px;
}

.case-study-body {
    background: transparent;
}

.full-width-block {
    margin-bottom: 26px;
}

.full-width-block h4,
.content-block h4,
.soft-panel h4,
.white-panel h4,
.insight-panel h4 {
    color: #b38324;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: .95rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.full-width-block p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2d2d2d;
    max-width: 940px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.content-block {
    margin-bottom: 24px;
}

.content-block li,
.soft-panel li,
.white-panel li {
    font-size: 1rem;
    line-height: 1.7;
}

.insight-panel {
    background: #f2edeb;
    border-radius: 14px;
    padding: 14px 14px 14px;
    margin-bottom: 26px;
    border: 1px solid #ece5e1;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.insight-card {
    background: #fbf8f5;
    border: 1px solid #e7ddd7;
    border-radius: 10px;
    overflow: hidden;
    min-height: 222px;
}

.insight-head {
    background: linear-gradient(180deg, #e3a209 0%, #d79607 100%);
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 12px 10px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-text {
    padding: 16px 14px;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #2d2d2d;
}

.soft-panel,
.white-panel {
    border-radius: 12px;
    padding: 18px 18px 16px;
    margin-bottom: 22px;
}

.soft-panel {
    background: #f3ede4;
    border: 1px solid #eee2d1;
}

.white-panel {
    background: #f4f1ef;
    border: 1px solid #ece6e2;
}

.white-panel h4 {
    color: #1f1f1f;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.email-panel {
    padding-bottom: 18px;
}

.email-box {
    background: #fffdfb;
    border: 1px solid #e5ddd6;
    border-radius: 10px;
    overflow: hidden;
}

.email-top {
    background: #f1e5cf;
    color: #252525;
    font-size: 0.95rem;
    padding: 13px 16px;
    border-bottom: 1px solid #e5ddd6;
}

.email-content {
    padding: 16px 18px 18px;
}

.email-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}

.email-content p:last-child {
    margin-bottom: 0;
}


.lints-panel {
    margin-top: 8px;
    background: #f3ede4;
    border: 1px solid #eee2d1;
    border-radius: 12px;
    padding: 14px;
}

.lints-title {
    color: #b38324;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.lints-title span {
    color: #777;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 8px;
    letter-spacing: 2px;
}

.lints-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e0d4c3;
}

.lints-grid div {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-right: 1px solid #e0d4c3;
    border-bottom: 1px solid #e0d4c3;
}

.lints-grid div:nth-child(2n) {
    border-right: none;
}

.lints-grid div:nth-last-child(-n + 2) {
    border-bottom: none;
}

.lints-yellow {
    background: #e3a209;
    color: #fff;
    font-weight: 700;
}

.lints-white {
    background: #fffdfb;
    color: #2d2d2d;
}

/* CONTACT */
.contact-box {
    background: #f4f4f4;
    border: 1px solid #d8d8d8;
    padding: 26px;
    text-align: center;
}

.contact-box a {
    color: #0a66c2;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .case-study-title h2 {
        font-size: 3.25rem;
    }

    .case-study-image img {
        height: 320px;
    }
}

@media (max-width: 980px) {
    .main-content {
        padding: 0 24px 36px;
    }

    .top-header h1 {
        font-size: 2.9rem;
    }

    .about-layout,
    .work-grid,
    .skills-languages,
    .volunteer-grid,
    .case-study-hero,
    .two-col-grid {
        grid-template-columns: 1fr;
    }

    .case-study-title h2 {
        max-width: 100%;
    }

    .case-study-image img {
        height: 300px;
    }

    .insight-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .top-header h1 {
        font-size: 2.2rem;
    }

    .headline h2 {
        font-size: 1.35rem;
    }

    .section h3 {
        font-size: 1.5rem;
    }

    .project-card img,
    .volunteer-card img {
        height: 210px;
    }

    .row>div {
        font-size: 0.75rem;
        padding: 6px 4px;
    }

    .case-study-title h2 {
        font-size: 2.35rem;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .case-study-image img {
        height: 220px;
        border-radius: 18px;
    }

    .full-width-block p,
    .content-block li,
    .soft-panel li,
    .white-panel li,
    .insight-text {
        font-size: 0.95rem;
    }

    .lints-grid {
        grid-template-columns: 1fr;
    }

    .lints-grid div {
        border-right: none;
    }

    .lints-grid div:not(:last-child) {
        border-bottom: 1px solid #e0d4c3;
    }
}