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

html {
    scroll-behavior: smooth;
}

body {
    background: #0d1114;
    color: #f2f0eb;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

header {
    height: 90px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #242a2e;
}

header > div {
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 38px;
}

nav a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
}

nav a:hover {
    color: white;
}

/* INTRO */

main > section:first-child {
    min-height: 380px;
    padding: 70px 6% 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #242a2e;
}

main > section:first-child > p:first-child {
    color: #9aa4aa;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(52px, 6vw, 82px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -3px;
    max-width: 850px;
    margin-bottom: 28px;
}

main > section:first-child > p {
    max-width: 570px;
    color: #b9bec1;
    font-size: 17px;
    margin-bottom: 35px;
}
main > section:first-child > a {
    width: fit-content;
    color: #f2f0eb;
    text-decoration: none;
    border: 1px solid #626a6f;
    padding: 13px 22px;
    font-size: 11px;
    letter-spacing: 2px;
    transition: 0.2s ease;
}

main > section:first-child > a:hover {
    background: #f2f0eb;
    color: #0d1114;
}

/* PROJECTS */

#work {
    padding: 50px 6% 80px;
}

#work h2 {
    color: #aab1b5;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

#work {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

#work h2 {
    grid-column: 1 / -1;
}

#work article {
    min-height: 0;
    border-top: 1px solid #495056;
    padding-top: 25px;
    transition: transform 0.2s ease;
}

#work h3 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 5px;
}

#work article p:first-of-type {
    color: #a6adb1;
    font-size: 13px;
    margin-bottom: 30px;
}

#work article p:last-of-type {
    color: #78838a;
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* MOBILE */

@media (max-width: 800px) {
    header {
        padding: 0 25px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 9px;
    }

    main > section:first-child {
        padding: 80px 25px 60px;
    }

    h1 {
        font-size: 48px;
    }

    #work {
        padding: 50px 25px;
        grid-template-columns: 1fr;
    }

    #work article {
        min-height: 180px;
    }
.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
    border: 1px solid #242a2e;
}/* PROJECT GRID FIX */

#work {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    overflow: hidden;
}

#work article {
    min-width: 0;
    width: 100%;
    min-height: 0;
}

.project-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 18px;
    }
}/* SMALL PROJECT CARDS */

#work {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

#work h2 {
    width: 100%;
}

.project-card {
    width: 240px;
    flex: 0 0 240px;
}

.project-card img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
}/* =========================
   PROJECT PAGE
========================= */

.site-name {
    color: #f2f0eb;
    text-decoration: none;
}

.project-page {
    background: #0d1114;
}

.project-hero {
    padding: 45px 6% 50px;
    border-bottom: 1px solid #242a2e;
}

.back-link {
    display: inline-block;
    margin-bottom: 35px;
    color: #9aa4aa;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
}

.back-link:hover {
    color: #ffffff;
}

.project-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.project-type {
    color: #8f9aa0;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.project-title {
    font-size: clamp(58px, 6vw, 90px);
    margin-bottom: 12px;
}

.project-subtitle {
    font-size: 20px;
    color: #e0e0dc;
    max-width: 600px;
    margin-bottom: 25px;
}

.project-summary {
    color: #aeb5b9;
    font-size: 15px;
    max-width: 600px;
    line-height: 1.8;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #30363a;
}

.project-meta span {
    display: block;
    color: #7f898f;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.project-meta p {
    color: #e7e7e2;
    font-size: 13px;
}

.project-cover img {
    width: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid #242a2e;
}

.project-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 35px;
    padding: 18px 6%;
    background: rgba(13, 17, 20, 0.96);
    border-bottom: 1px solid #242a2e;
}

.project-nav a {
    color: #8e989e;
    text-decoration: none;
    font-size: 9px;
    letter-spacing: 2px;
}

.project-nav a:hover {
    color: white;
}

.project-section {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 70px;
    padding: 75px 6%;
    border-bottom: 1px solid #242a2e;
}

.section-heading p {
    color: #667178;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 500;
}

.section-content {
    max-width: 760px;
}

.section-content p {
    color: #b5bcc0;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* PROJECT PAGE MOBILE */

@media (max-width: 850px) {

    .project-hero-grid {
        grid-template-columns: 1fr;
    }

    .project-cover {
        order: -1;
    }

    .project-title {
        font-size: 52px;
    }

    .project-meta {
        grid-template-columns: 1fr 1fr;
    }

    .project-nav {
        overflow-x: auto;
        white-space: nowrap;
    }

    .project-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 55px 25px;
    }
}/* CHARACTER PROFILE */

.character-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.character-detail {
    border-top: 1px solid #394045;
    padding-top: 18px;
    min-height: 125px;
}

.character-detail span,
.design-use-box span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.character-detail p {
    color: #b5bcc0;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

.design-use-box {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid #394045;
}

.design-use-box p {
    color: #d1d4d3;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 700px) {
    .character-details {
        grid-template-columns: 1fr;
    }
}/* NARRATIVE DESIGN */

.narrative-design-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.narrative-design-card {
    border-top: 1px solid #394045;
    padding-top: 18px;
    min-height: 240px;
}

.narrative-design-card span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.narrative-design-card p {
    color: #b5bcc0;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 850px) {
    .narrative-design-grid {
        grid-template-columns: 1fr;
    }

    .narrative-design-card {
        min-height: 0;
    }
}/* QUEST FLOW */

.quest-flow-section {
    grid-template-columns: 260px 1fr;
}

.quest-flow-intro {
    max-width: 650px;
}

.quest-flow-image {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background: #f4f4f2;
    border: 1px solid #394045;
}

.quest-flow-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 850px) {
    .quest-flow-section {
        grid-template-columns: 1fr;
    }

    .quest-flow-image {
        grid-column: 1;
        overflow-x: auto;
    }

    .quest-flow-image img {
        min-width: 900px;
    }
}/* BARK & NPC BEHAVIOUR */

.bark-context {
    border-top: 1px solid #394045;
    padding-top: 20px;
}

.bark-context span,
.bark-label span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.bark-context-main p {
    max-width: 760px;
    color: #b5bcc0;
    font-size: 14px;
    line-height: 1.8;
}

.bark-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 28px;
}

.bark-meta div {
    border-top: 1px solid #394045;
    padding-top: 16px;
}

.bark-meta p {
    color: #d1d4d3;
    font-size: 14px;
    margin: 0;
}

.bark-label {
    margin-top: 55px;
    margin-bottom: 20px;
}

.bark-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 38px;
    align-items: start;
}

.bark-step {
    border-top: 1px solid #596268;
    padding-top: 16px;
}

.bark-number {
    display: block;
    color: #667178;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bark-step h3 {
    color: #e8e8e4;
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin: 0 0 12px;
}

.bark-step p {
    color: #aeb5b9;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}


/* BARK MOBILE */

@media (max-width: 950px) {

    .bark-flow {
        display: block;
    }

    .bark-step {
        margin-bottom: 28px;
    }

    .bark-arrow {
        display: none;
    }
}

@media (max-width: 700px) {

    .bark-meta {
        grid-template-columns: 1fr;
    }
}/* IT REMAINS */

.dialogue-note {
    color: #7f8a90 !important;
    font-size: 12px !important;
    margin-bottom: 24px !important;
}

.dialogue-box {
    border: 1px solid #394045;
    padding: 30px;
    max-width: 760px;
}

.dialogue-box p {
    margin-bottom: 22px;
}

.dialogue-box p:last-child {
    margin-bottom: 0;
}

.dialogue-box strong {
    color: #e8e8e4;
    font-weight: 500;
}

.stage-direction {
    color: #7f8a90 !important;
    font-style: italic;
    padding-left: 22px;
    border-left: 1px solid #394045;
}

.bark-lines {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 35px;
}

.bark-lines div {
    border-top: 1px solid #394045;
    padding-top: 18px;
}

.bark-lines span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bark-lines p {
    color: #e8e8e4;
    font-size: 22px;
    margin: 0;
}

.play-button {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 22px;
    border: 1px solid #626a6f;
    color: #f2f0eb;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
}

.play-button:hover {
    background: #f2f0eb;
    color: #0d1114;
}

@media (max-width: 700px) {
    .bark-lines {
        grid-template-columns: 1fr;
    }
}/* MY CONTRIBUTION */

.contribution-block {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid #394045;
    width: 100%;
}

.contribution-label {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.contribution-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contribution-list span {
    border: 1px solid #394045;
    padding: 8px 12px;
    color: #b5bcc0;
    font-size: 11px;
    letter-spacing: 0.4px;
}

@media (max-width: 700px) {
    .contribution-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}/* =========================
   MALL ESCAPE
========================= */

.mall-character + .mall-character {
    margin-top: 45px;
}

.mall-character-type {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.mall-character h3 {
    color: #e8e8e4;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.mall-character-note {
    color: #7f8a90 !important;
    font-size: 12px !important;
    margin-bottom: 28px !important;
}

.mall-antagonist {
    padding-top: 35px;
    border-top: 1px solid #394045;
}


/* MALL BARK FLOW */

.mall-bark-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px;
}

.mall-bark-flow .bark-step {
    min-width: 0;
}


/* MALL DIALOGUE */

.mall-dialogue-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mall-dialogue-item {
    border-top: 1px solid #394045;
    padding-top: 18px;
    min-height: 150px;
}

.mall-dialogue-item > span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.mall-dialogue-item p {
    color: #d1d4d3;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}


@media (max-width: 950px) {

    .mall-bark-flow {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .mall-dialogue-list {
        grid-template-columns: 1fr;
    }

}/* =========================
   COMMANDER'S TENT
========================= */

.commander-character-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.commander-character {
    border-top: 1px solid #394045;
    padding-top: 18px;
}

.commander-character > span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.commander-character h3 {
    color: #e8e8e4;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
}

.commander-character p {
    color: #b5bcc0;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}


/* SCRIPT */

.script-box {
    max-width: 820px;
    border-left: 1px solid #394045;
    padding-left: 35px;
}

.script-entry {
    margin-bottom: 30px;
}

.script-character {
    display: block;
    color: #e8e8e4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.script-entry p {
    color: #c2c7c9;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 8px;
}

.script-entry .stage-direction {
    color: #7f8a90 !important;
    font-size: 13px;
    font-style: italic;
    padding-left: 16px;
    border-left: 1px solid #394045;
}

@media (max-width: 850px) {

    .commander-character-grid {
        grid-template-columns: 1fr;
    }

    .script-box {
        padding-left: 22px;
    }

}/* =========================
   ABOUT
========================= */

.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 90px;
    border-top: 1px solid #394045;
}

.about-heading {
    margin-bottom: 38px;
}

.about-heading > p {
    color: #7f8a90;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.about-heading h2 {
    color: #e8e8e4;
    font-size: 42px;
    font-weight: 400;
    margin: 0;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: 100px;
}

.about-text {
    max-width: 700px;
}

.about-text p {
    color: #c2c7c9;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 24px;
}


.about-details {
    display: grid;
    gap: 40px;
}

.about-detail {
    border-top: 1px solid #394045;
    padding-top: 16px;
}

.about-detail span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.about-detail p {
    color: #c2c7c9;
    font-size: 13px;
    margin: 0 0 8px;
}

@media (max-width: 800px) {

    .about-section {
        padding: 80px 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-heading h2 {
        font-size: 34px;
    }

}/* =========================
   CONTACT
========================= */

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 40px 90px;
    border-top: 1px solid #394045;
}

.contact-label {
    margin-bottom: 35px;
}

.contact-label p {
    color: #7f8a90;
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 100px;
    align-items: start;
}

.contact-intro {
    max-width: 650px;
    color: #c2c7c9;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.contact-links {
    display: grid;
    gap: 0;
}

.contact-links a {
    display: block;
    padding: 18px 0;
    border-top: 1px solid #394045;
    text-decoration: none;
}

.contact-links a:last-child {
    border-bottom: 1px solid #394045;
}

.contact-links span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contact-links p {
    color: #e8e8e4;
    font-size: 14px;
    margin: 0;
    transition: opacity 0.2s ease;
}

.contact-links a:hover p {
    opacity: 0.6;
}

@media (max-width: 800px) {

    .contact-section {
        padding: 80px 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-intro {
        font-size: 19px;
    }

}/* =========================
   SECTION SPACING TWEAKS
========================= */

/* SELECTED WORK */
#work {
    padding-top: 50px;
    padding-bottom: 60px;
}

/* ABOUT */
.about-section {
    padding-top: 55px;
    padding-bottom: 65px;
}

.about-heading {
    margin-bottom: 28px;
}

/* CONTACT */
.contact-section {
    padding-top: 55px;
    padding-bottom: 70px;
}

.contact-label {
    margin-bottom: 28px;
}
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.section-heading .section-description {
    margin-top: 20px;
    color: #9ca4a8;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0;
}
.movement-design {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid #394045;
}

.movement-design span {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.movement-design p {
    color: #c2c7c9;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    max-width: 720px;
}
/* PIGEON QUEST FLOW - FULL WIDTH */

.quest-flow-full {
    display: block;
}

.quest-flow-full .section-heading {
    width: 100%;
    margin-bottom: 35px;
}

.quest-flow-full .section-description {
    max-width: 520px;
    margin-top: 20px;
}

.quest-flow-full .section-content {
    width: 100%;
}

.quest-flow-full .quest-flow-image {
    width: 100%;
    max-width: none;
}

.quest-flow-full .quest-flow-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* PIGEON QUEST FLOW SIZE */

.quest-flow-full .quest-flow-image {
    width: 100%;
    max-width: none;
}

.quest-flow-full .quest-flow-image img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}
/* FORCE PIGEON QUEST FLOW TO FULL CONTENT WIDTH */

.quest-flow-full {
    max-width: none !important;
    width: 100% !important;
    padding-left: 85px !important;
    padding-right: 85px !important;
    box-sizing: border-box;
}

.quest-flow-full .section-heading,
.quest-flow-full .section-content,
.quest-flow-full .quest-flow-image {
    max-width: none !important;
    width: 100% !important;
}

.quest-flow-full .quest-flow-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto;
    display: block;
}
#overview .section-content p {
    color: #c2c7c9 !important;
    font-weight: 400 !important;
}
/* IT REMAINS SPACING */

.it-remains-page .project-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.it-remains-page #play {
    padding-top: 55px;
    padding-bottom: 55px;
}

.it-remains-page #barks {
    padding-top: 65px;
    padding-bottom: 65px;
}#branching .section-description {
    max-width: 900px !important;
    width: 100%;
}#overview .section-content,
#play .section-content {
    padding-top: 31px;
}/* PIGEON QUEST FLOW TEXT */

#quest-flow .section-description {
    max-width: 850px !important;
    width: 100%;
}

#quest-flow .section-heading {
    margin-bottom: 24px;
}/* =========================
   CV PAGE
========================= */

.cv-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}


/* HERO */

.cv-hero {
    padding: 110px 0 90px;
}

.cv-label {
    color: #7f8a90;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cv-hero h1 {
    color: #e8e8e4;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 18px;
}

.cv-focus {
    color: #b8bec1;
    font-size: 17px;
    margin: 0 0 40px;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    padding-top: 22px;
    border-top: 1px solid #394045;
}

.cv-contact span,
.cv-contact a {
    color: #9ca4a8;
    font-size: 12px;
    text-decoration: none;
}

.cv-contact a:hover {
    color: #e8e8e4;
}


/* SECTIONS */

.cv-section {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 70px;
    padding: 70px 0;
    border-top: 1px solid #394045;
}

.cv-section-heading > p {
    color: #7f8a90;
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0 0 12px;
}

.cv-section-heading h2 {
    color: #e8e8e4;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.cv-section-content {
    min-width: 0;
}


/* NARRATIVE PROJECTS */

.cv-project-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 22px;
    padding: 17px 0;
    border-top: 1px solid #394045;
}

.cv-project-row:last-of-type {
    border-bottom: 1px solid #394045;
}

.cv-year {
    color: #7f8a90;
    font-size: 11px;
    padding-top: 3px;
}

.cv-project-row h3 {
    color: #e8e8e4;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
}

.cv-project-row p {
    color: #9ca4a8;
    font-size: 12px;
    margin: 0;
}

.cv-project-note {
    color: #7f8a90;
    font-size: 11px;
    margin: 18px 0 0;
}


/* EXPERIENCE */

.cv-experience {
    padding: 0 0 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid #394045;
}

.cv-experience:last-child {
    margin-bottom: 0;
}

.cv-experience-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 18px;
}

.cv-experience-top h3 {
    color: #e8e8e4;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 5px;
}

.cv-experience-top p {
    color: #7f8a90;
    font-size: 11px;
    letter-spacing: 0.5px;
    margin: 0;
}

.cv-experience-top > span {
    color: #7f8a90;
    font-size: 11px;
    white-space: nowrap;
    padding-top: 4px;
}

.cv-description {
    max-width: 720px;
    color: #c2c7c9;
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}


/* CLIENTS */

.cv-client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-client-list span {
    border: 1px solid #394045;
    padding: 9px 13px;
    color: #b8bec1;
    font-size: 11px;
}


/* EDUCATION + AWARDS */

.cv-simple-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 30px;
    padding: 18px 0;
    border-top: 1px solid #394045;
}

.cv-simple-row:last-child {
    border-bottom: 1px solid #394045;
}

.cv-simple-row > span {
    color: #7f8a90;
    font-size: 11px;
}

.cv-simple-row h3 {
    color: #e8e8e4;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px;
}

.cv-simple-row p {
    color: #9ca4a8;
    font-size: 12px;
    margin: 0;
}


/* SKILLS */

.cv-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cv-skills-grid > div:first-child {
    grid-column: 1 / -1;
}

.cv-small-label {
    display: block;
    color: #7f8a90;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.cv-skills-grid p {
    color: #c2c7c9;
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

.cv-last-section {
    padding-bottom: 110px;
}


/* MOBILE */

@media (max-width: 800px) {

    .cv-page {
        padding: 0 24px;
    }

    .cv-hero {
        padding: 80px 0 65px;
    }

    .cv-hero h1 {
        font-size: 44px;
    }

    .cv-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 0;
    }

    .cv-experience-top {
        display: block;
    }

    .cv-experience-top > span {
        display: block;
        margin-top: 10px;
    }

    .cv-skills-grid {
        grid-template-columns: 1fr;
    }

    .cv-skills-grid > div:first-child {
        grid-column: auto;
    }

}.cv-page > .cv-section:first-of-type {
    margin-top: 70px;
}
/* CV SECTION ALIGNMENT */

/* Selected Narrative Projects */
.cv-project-row:first-child {
    margin-top: 10px;
}

/* Professional Experience */
.cv-experience:first-child {
    padding-top: 27px;
}

/* Selected Clients */
.cv-client-list {
    padding-top: 27px;
}

/* Education and Awards */
.cv-simple-row:first-child {
    margin-top: 10px;
}

/* Skills and Tools */
.cv-skills-grid {
    padding-top: 27px;
}
.cv-page > .cv-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 70px;
}
/* MOBILE FLOWCHART FIX */

@media (max-width: 800px) {

    .quest-flow-image {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .quest-flow-image img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
    }

}@media (max-width: 800px) {

    .quest-flow-section {
        display: block !important;
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    .quest-flow-section .section-heading {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .quest-flow-section .section-description {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .quest-flow-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
    }

    .quest-flow-image img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
    }

}
/* HOME ABOUT TEXT */

.hero-about {
    width: 100%;
    max-width: 720px !important;
    padding-top: 28px;
    margin-bottom: 0;

}

.hero-about p,
.hero-about p:first-child {
    color: #b9bec1 !important;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400 !important;
    margin: 0 0 18px;
}

.hero-about p:last-child {
    margin-bottom: 0;
}
/* HOME HERO TEXT FINAL */

.hero-intro,
.hero-about p,
.hero-about p:first-child {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #b9bec1 !important;
    font-weight: 400 !important;
}

.hero-intro {
    margin-bottom: 20px !important;
}

.hero-about {
    max-width: 720px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hero-about p {
    margin-bottom: 16px !important;
}

.hero-about p:last-child {
    margin-bottom: 0 !important;
}