:root {
    --sage: #66726B;
    --sage2: #77827c;
    --cream: #F9ECE4;
    --cream2: #fff9f5;
    --brown: #2E1D16;
    --brown2: #43291f;
    --ink: #241914;
    --muted: #756a63;
    --white: #fffdfb;
    --line: rgba(46, 29, 22, .13);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --script: "Allura", cursive
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream2);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55
}

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

button,
input,
textarea {
    font: inherit
}

.site {
    overflow: hidden
}

.navbar {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.2vw;
    background: rgba(249, 236, 228, .82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: .25s
}

.navbar.scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(46, 29, 22, .06)
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font: 700 20px var(--serif)
}

.brand-logo {
    position: relative;
    width: 48px;
    height: 48px;
    border: 2px solid var(--sage);
    border-radius: 50%;
    display: block;
    flex: 0 0 48px;
    color: var(--brown);
    background: var(--cream2)
}

.brand-logo span {
    position: absolute;
    font: 700 29px/.9 var(--serif);
    letter-spacing: -.12em
}

.brand-logo span:first-child {
    left: 8px;
    top: 9px
}

.brand-logo span:last-child {
    left: 18px;
    top: 17px;
    color: var(--sage)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 700
}

.nav-links a {
    transition: .2s
}

.nav-links a:hover {
    color: var(--sage)
}

.nav-connect {
    background: var(--sage);
    color: white;
    padding: 10px 18px;
    border-radius: 9px
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 27px;
    color: var(--brown)
}

.hero {
    min-height: 720px;
    padding: 125px 8vw 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3vw;
    background: radial-gradient(circle at 80% 55%, #f4dfd3 0 18%, transparent 19%), var(--cream2)
}

.hero-copy {
    max-width: 660px
}

.script-line {
    font: 36px var(--script);
    color: var(--sage);
    margin-bottom: 5px
}

.hero h1 {
    font: 600 clamp(55px, 6vw, 84px)/1 var(--serif);
    letter-spacing: -.04em;
    margin: 0;
    color: var(--brown)
}

.hero h2 {
    font: 600 27px var(--serif);
    color: var(--sage);
    margin: 12px 0 3px
}

.designation {
    font-size: 14px;
    color: var(--brown2);
    margin: 0 0 15px
}

.designation b {
    font-weight: 800
}

.hero-text {
    max-width: 500px;
    color: var(--muted);
    font-size: 16px
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 27px 0 22px
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    padding: 12px 23px;
    font-weight: 700;
    font-size: 13px;
    transition: .25s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(46, 29, 22, .12)
}

.btn.sage {
    background: var(--sage);
    color: white;
    border: 1px solid var(--sage)
}

.btn.outline {
    border: 1px solid var(--brown);
    background: transparent
}

.btn.brown {
    background: var(--brown);
    color: white;
    border: 1px solid var(--brown)
}

.socials {
    display: flex;
    gap: 12px
}

.socials a,
.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brown);
    color: white;
    font-size: 13px;
    font-weight: 700
}

.hero-proof {
    display: flex;
    gap: 25px
}

.hero-photo-wrap {
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--sage);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%)
}

.dot-grid {
    position: absolute;
    right: 1%;
    top: 8%;
    width: 75px;
    height: 75px;
    background-image: radial-gradient(var(--sage) 1.5px, transparent 1.5px);
    background-size: 12px 12px
}

.portrait-fallback {
    position: relative;
    width: 330px;
    height: 480px;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.hair {
    position: absolute;
    top: 38px;
    width: 145px;
    height: 85px;
    background: #211b18;
    border-radius: 55% 55% 28% 40%;
    z-index: 3
}

.head {
    position: absolute;
    top: 78px;
    width: 124px;
    height: 148px;
    border-radius: 48% 48% 45% 45%;
    background: linear-gradient(130deg, #f2c9b2, #a66f57)
}

.neck {
    position: absolute;
    top: 205px;
    width: 54px;
    height: 55px;
    background: #bd7e62
}

.suit {
    width: 285px;
    height: 285px;
    background: linear-gradient(125deg, #332019, #160f0c);
    border-radius: 48% 48% 5px 5px;
    position: relative
}

.shirt {
    position: absolute;
    z-index: 2;
    bottom: 70px;
    width: 73px;
    height: 190px;
    background: #fffaf5;
    clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%)
}

.portrait-fallback .portrait-ar {
    position: absolute;
    z-index: 4;
    bottom: 78px;
    color: var(--sage);
    font: italic 31px var(--serif)
}

.leaf {
    position: absolute;
    width: 14px;
    height: 90px;
    border-radius: 100% 0 100% 0;
    border: 2px solid var(--sage);
    right: 2%;
    transform: rotate(25deg)
}

.leaf-1 {
    top: 40%
}

.leaf-2 {
    top: 48%;
    right: -2%;
    transform: rotate(45deg)
}

.leaf-3 {
    top: 56%;
    right: 0;
    transform: rotate(60deg)
}

.about-band {
    background: var(--brown);
    color: white;
    border-radius: 38px 38px 0 0
}

.about-inner {
    max-width: 1200px;
    margin: auto;
    padding: 38px 7vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.about-profile {
    border-right: 1px dashed rgba(255, 255, 255, .35);
    padding-right: 60px
}

.profile-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sage);
    font-size: 30px;
    margin-bottom: 10px
}

.about-profile p {
    max-width: 370px;
    color: #f3e9e3;
    font-size: 14px
}

.mini-facts {
    display: flex;
    gap: 25px;
    margin-top: 28px
}

.mini-facts span {
    display: flex;
    gap: 9px;
    align-items: center
}

.mini-facts b {
    font-size: 23px;
    color: #e9dfd8
}

.mini-facts small {
    font-size: 9px;
    color: #bfb1a9
}

.mini-facts strong {
    display: block;
    color: white;
    font-size: 12px
}

.about-copy {
    position: relative
}

.section-title {
    font: 600 30px var(--serif);
    display: inline-block;
    border-bottom: 2px solid var(--sage);
    padding-bottom: 4px;
    margin-bottom: 14px
}

.about-copy p {
    font-size: 13px;
    color: #dfd3cb;
    max-width: 520px
}

.check-list {
    list-style: none;
    padding: 0;
    color: #eee4de;
    font-size: 12px
}

.check-list li {
    margin: 9px 0
}

.check-list li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--sage);
    margin-right: 9px;
    font-size: 10px
}

.signature {
    position: absolute;
    right: 0;
    bottom: -5px;
    font: 38px var(--script);
    color: #b8c0bb
}

.section {
    padding: 78px 7vw
}

.skills-section {
    background: var(--cream2)
}

.section-heading {
    text-align: center;
    margin-bottom: 42px
}

.section-heading>span,
.contact-heading>span {
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--sage);
    font-weight: 800
}

.section-heading h2,
.contact-heading h2 {
    font: 600 34px var(--serif);
    margin: 5px 0
}

.section-heading i,
.contact-heading i {
    display: block;
    width: 68px;
    height: 2px;
    background: var(--sage);
    margin: 8px auto;
    position: relative
}

.section-heading i:after,
.contact-heading i:after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--sage)
}

.skills-grid {
    max-width: 1160px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.skill-card {
    background: rgba(255, 255, 255, .5);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 35px 25px 25px;
    position: relative;
    transition: .25s
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(46, 29, 22, .1)
}

.skill-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px
}

.skill-card h3 {
    font: 600 17px var(--serif);
    text-align: center;
    margin: 5px 0 16px
}

.skill-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px
}

.skill-card li {
    margin: 5px 0
}

.projects-section {
    background: #fffaf7
}

.project-slider {
    max-width: 1240px;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px
}

.project-viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%)
}

.project-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: projectMarquee 32s linear infinite
}

.project-slider:hover .project-track {
    animation-play-state: paused
}

.project-card {
    width: 205px;
    min-width: 205px;
    height: 170px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--cream2);
    padding: 20px 12px 14px;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(46, 29, 22, .1)
}

.project-icon {
    width: 44px;
    height: 44px;
    margin: 1px auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sage);
    color: white;
    font-size: 18px;
    flex: 0 0 auto
}

.project-card h3 {
    font: 600 13px/1.2 var(--serif);
    margin: 0 0 7px
}

.project-category,
.project-card small {
    display: block;
    color: var(--sage-dark, #56615b);
    font-size: 9px
}

.project-card small {
    color: var(--muted);
    margin-top: 4px
}

.slider-btn {
    display: grid;
    place-items: center;
    border: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--brown);
    color: #fff;
    font-size: 25px;
    z-index: 3;
    cursor: pointer
}

.center-action {
    text-align: center;
    margin-top: 22px
}

.view-all-btn {
    cursor: pointer
}

@keyframes projectMarquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(calc(-50% - 6px))
    }
}

.project-slider.all-projects .project-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible
}

.project-slider.all-projects .project-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    animation: none;
    transform: none;
    gap: 14px
}

.project-slider.all-projects .project-card {
    width: auto;
    min-width: 0
}

.project-slider.all-projects .project-clone {
    display: none
}

.project-slider.all-projects .slider-btn {
    display: none
}

.journey-section {
    background: var(--brown);
    color: white;
    padding-bottom: 68px
}

.section-heading.light h2 {
    color: white
}

.section-heading.light i {
    background: var(--sage)
}

.journey-line {
    max-width: 1120px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative
}

.journey-line:before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 24px;
    border-top: 1px dashed rgba(255, 255, 255, .5)
}

.journey-step {
    text-align: center;
    position: relative
}

.journey-step span {
    position: relative;
    z-index: 2;
    margin: auto auto 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream2);
    color: var(--brown);
    display: grid;
    place-items: center;
    font-weight: 800
}

.journey-step strong {
    display: block;
    font: 600 13px var(--serif);
    padding: 0 5px
}

.journey-step small {
    font-size: 9px;
    color: #cbbdb5
}

.education-section {
    background: var(--cream)
}

.education-card {
    max-width: 1100px;
    margin: auto;
    background: var(--cream2);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--sage);
    font-weight: 800
}

.education-card h2 {
    font: 600 40px/1.1 var(--serif);
    margin: 15px 0
}

.education-card h2 em {
    color: var(--sage);
    font-style: normal
}

.education-card>div:last-child {
    align-self: end
}

.education-card>div:last-child b {
    font-size: 10px;
    letter-spacing: .15em;
    color: var(--sage)
}

.education-card p {
    color: var(--muted);
    font-size: 13px
}

.contact-section {
    background: var(--cream2);
    padding-top: 70px
}

.contact-heading {
    max-width: 1100px;
    margin: 0 auto 25px
}

.contact-heading h2 {
    font-size: 25px
}

.contact-heading i {
    margin-left: 0
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px
}

.contact-form {
    padding: 0
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fffaf7;
    border-radius: 7px;
    padding: 12px 13px;
    margin-bottom: 12px;
    outline: 0;
    color: var(--brown)
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--sage)
}

.contact-form textarea {
    resize: vertical
}

.contact-actions {
    display: flex;
    gap: 12px
}

.contact-actions .btn {
    flex: 1
}

.status {
    font-size: 12px
}

.status.success {
    color: var(--sage)
}

.status.error {
    color: #9d4438
}

.contact-details {
    padding-left: 20px;
    border-left: 1px solid var(--line);
    position: relative
}

.contact-details>div:not(.desk-art) {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 10px;
    margin-bottom: 17px
}

.detail-icon {
    grid-row: span 2;
    color: var(--sage);
    font-size: 22px
}

.contact-details b {
    font-size: 11px
}

.contact-details p {
    font-size: 11px;
    margin: 0;
    color: var(--muted)
}

.desk-art {
    position: absolute;
    right: -20px;
    bottom: -55px;
    width: 390px;
    height: 170px
}

.desk {
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 330px;
    height: 13px;
    background: #8a6a56;
    border-radius: 50%
}

.laptop {
    position: absolute;
    right: 50px;
    bottom: 13px;
    width: 145px;
    height: 90px;
    background: #2b2b28;
    border: 7px solid #777;
    border-radius: 7px;
    color: var(--sage);
    display: grid;
    place-items: center;
    font: italic 28px var(--serif)
}

.cup {
    position: absolute;
    right: 4px;
    bottom: 13px;
    width: 37px;
    height: 43px;
    background: var(--brown);
    border-radius: 5px
}

.plant {
    position: absolute;
    left: 45px;
    bottom: 13px;
    width: 45px;
    height: 65px;
    background: #8c765d;
    border-radius: 5px
}

.plant:before,
.plant:after {
    content: "";
    position: absolute;
    width: 45px;
    height: 70px;
    border-radius: 100% 0 100% 0;
    background: var(--sage);
    top: -45px;
    left: -8px;
    transform: rotate(-35deg)
}

.plant:after {
    left: 20px;
    transform: rotate(35deg)
}

footer {
    background: var(--brown);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 7vw;
    font-size: 11px
}

footer p {
    color: #d0c2ba
}

.footer-brand {
    font: 600 18px var(--serif);
    display: flex;
    align-items: center;
    gap: 8px
}

.footer-logo {
    position: relative;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--sage);
    border-radius: 50%;
    display: block;
    flex: 0 0 36px;
    color: white
}

.footer-logo span {
    position: absolute;
    font: 700 21px/.8 var(--serif);
    letter-spacing: -.12em
}

.footer-logo span:first-child {
    left: 5px;
    top: 7px
}

.footer-logo span:last-child {
    left: 13px;
    top: 12px;
    color: var(--sage)
}

.footer-social {
    display: flex;
    gap: 8px
}

.footer-social a {
    width: 28px;
    height: 28px;
    background: white;
    color: var(--brown)
}

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(31, 20, 15, .72);
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal-backdrop.open {
    display: flex
}

.project-modal {
    width: min(650px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: var(--cream2);
    border-radius: 18px;
    padding: 40px;
    position: relative
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: 0;
    font-size: 30px;
    color: var(--brown)
}

.project-modal h2 {
    font: 600 38px/1.1 var(--serif);
    margin: 12px 0
}

.modal-date {
    color: var(--sage);
    font-weight: 700
}

.modal-outcome {
    padding: 15px;
    background: rgba(102, 114, 107, .1);
    border-radius: 10px;
    display: flex;
    flex-direction: column
}

.modal-outcome small {
    font-size: 9px;
    letter-spacing: .12em
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px
}

.modal-tags span {
    padding: 6px 9px;
    background: rgba(102, 114, 107, .12);
    color: var(--sage);
    border-radius: 99px;
    font-size: 10px
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    background: var(--sage);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: .2s
}

.to-top.show {
    opacity: 1;
    pointer-events: auto
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .65s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:1050px) {
    .nav-links {
        gap: 16px
    }

    .project-card {
        width: 195px;
        min-width: 195px
    }

    .project-slider.all-projects .project-track {
        grid-template-columns: repeat(3, 1fr)
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:780px) {
    .navbar {
        height: 72px;
        padding: 0 5vw
    }

    .menu-btn {
        display: block
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(249, 236, 228, .98);
        padding: 15px 5vw;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        border-bottom: 1px solid var(--line)
    }

    .nav-links.open {
        display: flex
    }

    .nav-links a {
        padding: 8px
    }

    .nav-connect {
        text-align: center
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 120px 7vw 50px
    }

    .hero-photo-wrap {
        height: 430px
    }

    .hero-blob {
        width: 340px;
        height: 340px
    }

    .portrait-fallback {
        transform: scale(.78)
    }

    .about-inner,
    .education-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .about-profile {
        border-right: 0;
        border-bottom: 1px dashed rgba(255, 255, 255, .35);
        padding: 0 0 30px
    }

    .signature {
        position: static;
        margin-top: 25px
    }

    .project-slider:not(.all-projects) .project-track {
        display: flex
    }

    .project-slider.all-projects .project-track {
        grid-template-columns: repeat(2, 1fr)
    }

    .journey-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px
    }

    .journey-line:before {
        display: none
    }

    .contact-details {
        padding: 20px 0 180px;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .desk-art {
        left: 50%;
        right: auto;
        transform: translateX(-50%)
    }

    footer {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center
    }
}

@media(max-width:500px) {
    .hero h1 {
        font-size: 48px
    }

    .hero h2 {
        font-size: 21px
    }

    .hero-buttons,
    .contact-actions {
        flex-direction: column
    }

    .hero-photo-wrap {
        height: 360px
    }

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

    .project-slider.all-projects .project-track {
        grid-template-columns: 1fr
    }

    .mini-facts {
        gap: 13px
    }

    .mini-facts span {
        gap: 5px
    }

    .section {
        padding: 65px 6vw
    }

    .education-card {
        padding: 28px
    }

    .education-card h2 {
        font-size: 32px
    }

    .project-modal {
        padding: 30px
    }

    .desk-art {
        transform: translateX(-50%) scale(.82);
        transform-origin: bottom center
    }
}

/* Editable profile photo */
/* =================================
   PROFILE PHOTO
================================= */

.profile-photo {
    position: relative;
    z-index: 4;

    width: 280px;
    height: 380px;

    object-fit: cover;
    object-position: center top;

    display: none;
    align-self: flex-end;

    opacity: 0;

    /* Starting position */
    transform: translateY(25px) scale(0.96);

    filter: drop-shadow(0 18px 18px rgba(46, 29, 22, 0.16));

    border-radius: 18px 18px 18px 18px;

    transition:
        opacity 0.6s ease,
        transform 0.5s cubic-bezier(.22, 1, .36, 1),
        filter 0.5s ease;
}


/* =================================
   PHOTO LOADED
================================= */

.profile-photo.loaded {
    display: block;

    opacity: 1;

    transform: translateY(0) scale(1);
}


/* =================================
   HOVER EFFECT
================================= */

.profile-photo.loaded:hover {

    transform:
        translateY(-10px) scale(1.035);

    filter:
        drop-shadow(0 28px 32px rgba(46, 29, 22, 0.28));

    cursor: pointer;
}


/* =================================
   FALLBACK
================================= */

.profile-photo.loaded+.portrait-fallback {
    display: none;
}


/* =================================
   SUBTLE HOVER — IMAGE DEPTH
================================= */

.profile-photo.loaded:hover {
    object-position: center 2px;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 780px) {

    .profile-photo {
        width: 260px;
        height: 350px;
    }

    .profile-photo.loaded:hover {
        transform:
            translateY(-6px) scale(1.02);

        filter:
            drop-shadow(0 20px 25px rgba(46, 29, 22, 0.22));
    }
}


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {

    .profile-photo {
        transition: none;
    }

    .profile-photo.loaded {
        opacity: 1;
        transform: none;
    }

    .profile-photo.loaded:hover {
        transform: none;
    }
}

.experience-story {
    max-width: 1120px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.story-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    min-height: 410px;
    transition: .25s
}

.story-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .065)
}

.story-featured {
    background: rgba(102, 114, 107, .2);
    border-color: rgba(185, 195, 189, .2)
}

.story-date {
    font-size: 10px;
    letter-spacing: .14em;
    color: #bfc8c3;
    font-weight: 800
}

.story-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    margin: 20px 0 13px
}

.story-card h3 {
    font: 600 23px/1.2 var(--serif);
    margin: 0 0 13px;
    color: #fff
}

.story-card p,
.story-card li {
    font-size: 12px;
    color: #d7cbc4
}

.story-card p {
    margin: 8px 0
}

.story-card ul {
    padding-left: 17px;
    margin: 15px 0
}

.story-card li {
    margin: 8px 0
}

.story-card strong {
    color: #fff
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px
}

.story-tags span {
    font-size: 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 6px 8px;
    border-radius: 99px;
    color: #e4ddd8
}

.compact-journey {
    margin-top: 65px
}

@media(max-width:1050px) {
    .experience-story {
        grid-template-columns: 1fr
    }

    .story-card {
        min-height: auto
    }

    .profile-photo,
    .portrait-fallback {
        transform: scale(.85)
    }
}

@media(max-width:780px) {

    .profile-photo,
    .portrait-fallback {
        transform: scale(.78)
    }

    .experience-story {
        grid-template-columns: 1fr
    }

    .story-card {
        padding: 24px
    }

    .compact-journey {
        margin-top: 45px
    }
}