@font-face {
  font-family: 'Satoshi';
  src: url('./src/assets/fonts/satoshi/Satoshi-Variable.woff2') format('woff2-variations'),
       url('./src/assets/fonts/satoshi/Satoshi-Variable.woff2') format('woff2'),
       url('./src/assets/fonts/satoshi/Satoshi-Variable.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./src/assets/fonts/satoshi/Satoshi-VariableItalic.woff2') format('woff2-variations'),
       url('./src/assets/fonts/satoshi/Satoshi-VariableItalic.woff2') format('woff2'),
       url('./src/assets/fonts/satoshi/Satoshi-VariableItalic.woff') format('woff');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
    font-family: Satoshi, Arial, sans-serif;
    color: #000;
    background: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #000;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8f8f8;
    --ease: cubic-bezier(.2, .8, .2, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Satoshi, Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased
}

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

button {
    font: inherit;
    color: inherit
}

.site-header {
    max-width: 1360px;
    padding: 28px 44px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent
}

.wordmark {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.3px
}

.site-header nav {
    display: flex;
    gap: 36px
}

.nav-link {
    font-size: 20px;
    line-height: 30px;
    color: var(--muted);
    transition: color .25s var(--ease)
}

.nav-link:hover,
.site-footer a:hover,
.back-home:hover,
.toc-link:hover {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.nav-link.selected {
    color: #000;
    font-weight: 500
}

.view {
    max-width: 1360px;
    margin: auto;
    padding: 0 44px 80px;
    transition: opacity .25s var(--ease), transform .25s var(--ease)
}

body.is-transitioning .view {
    opacity: 0;
    transform: translateY(8px)
}

.work-hero {
    max-width: 1020px;
    padding: 120px 0 100px
}

.eyebrow,
.caption {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0em;
    color: var(--muted)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin: 0 0 20px
}

.work-hero h1,
.contact-page h1 {
    font-size: clamp(56px, 8vw, 90px);
    line-height: 1.07;
    letter-spacing: 0em;
    font-weight: 900;
    margin: 0 0 28px;
    max-width: 1000px
}

.hero-copy {
    font-size: 24px;
    line-height: 34px;
    max-width: 850px;
    margin: 0;
    color: #252525
}

.featured-list {
    display: flex;
    flex-direction: column
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    align-items: center;
    padding: 48px 0 64px;
    border-top: 0px solid var(--line);
    transition: transform .4s var(--ease)
}

.featured-project:hover {
    transform: translateY(-3px)
}

.project-copy .caption {
    margin: 0 0 14px
}

.project-copy h2 {
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.16;
    letter-spacing: .4px;
    margin: 0 0 18px;
    font-weight: 900
}

.project-copy>p:last-child {
    font-size: 18px;
    line-height: 28px;
    margin: 0;
    max-width: 580px
}

.media-frame {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8
}

.media-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    transition: transform .55s var(--ease)
}

.featured-project:hover .media-frame img,
.past-card:hover img {
    transform: scale(1.02)
}

.past-section {
    padding: 110px 0 50px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 32px
}

.section-heading h2,
.content-section h2,
.testimonials h2 {
    font-size: 64px;
    line-height: 1.12;
    letter-spacing: .4px;
    margin: 0;
    font-weight: 900
}

.scroll-controls {
    display: flex;
    gap: 10px
}

.scroll-button {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    transition: background .2s, color .2s
}

.scroll-button:hover {
    background: #000;
    color: #fff
}

.past-scroller,
.quote-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px
}

.past-scroller::-webkit-scrollbar,
.quote-scroller::-webkit-scrollbar {
    display: none
}

.past-card {
    flex: 0 0 31%;
    scroll-snap-align: start
}

.past-card .media-frame img {
    min-height: 245px
}

.past-card h3 {
    font-size: 24px;
    line-height: 30px;
    margin: 18px 0 4px;
    font-weight: 900
}

.site-footer {
    border-top: 1px solid var(--line);
    max-width: 1360px;
    margin: auto;
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px
}

.footer-brand {
    font-weight: 700
}

.site-footer nav {
    display: flex;
    gap: 24px;
    font-size: 18px;
    color: #4b5563
}

.site-footer small {
    justify-self: end;
    color: #6b7280;
    font-size: 12px
}

.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s var(--ease) var(--reveal-delay, 0ms), transform .65s var(--ease) var(--reveal-delay, 0ms)
}

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

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: center;
    padding: 100px 0
}

.about-hero h1 {
    font-size: clamp(46px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin: 0 0 32px;
    font-weight: 900
}

.about-hero p:not(.eyebrow) {
    font-size: 18px;
    line-height: 28px
}

.profile-image {
    width: 100%;
    height: 590px;
    object-fit: cover;
    border-radius: 16px;
    border: 0px solid var(--line)
}

.content-section,
.testimonials {
    padding: 80px 0;
    border-top: 1px solid var(--line)
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: 8%;
    margin-top: 42px
}

.skill-item {
    padding: 24px 0;
    border-top: 1px solid var(--line)
}

.skill-item h3 {
    font-size: 22px;
    margin: 0 0 8px
}

.skill-item p,
.impact-list p {
    font-size: 18px;
    line-height: 28px;
    color: #303030
}

.impact-list {
    max-width: 1000px
}

.impact-list p {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    margin: 0
}

.quote-card {
    flex: 0 0 380px;
    min-height: 440px;
    max-height: 440px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    overflow: hidden;
    transition: max-height .35s var(--ease), min-height .35s var(--ease)
}

.quote-card.expanded {
    max-height: 900px
}

.quote-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-size: 12px
}

.quote-head img {
    width: auto;
    height: 28px;
    max-width: 75px;
    object-fit: contain
}

.quote-text {
    font-size: 16px;
    line-height: 25px;
    margin: 25px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.expanded .quote-text {
    -webkit-line-clamp: unset;
    display: block
}

.text-toggle {
    align-self: flex-start;
    border: 0;
    background: none;
    padding: 4px 0;
    color: #6b7280;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px
}

.quote-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover
}

.quote-author span {
    display: grid;
    gap: 3px
}

.quote-author b {
    font-size: 14px
}

.quote-author small {
    font-size: 13px;
    color: #6b7280
}

.contact-page {
    padding: 130px 0 150px;
    max-width: 1020px
}

.contact-page .hero-copy {
    margin-bottom: 64px
}

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

.contact-card {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    display: grid;
    justify-items: start;
    gap: 14px
}

.contact-card img {
    width: 32px;
    height: 32px;
    object-fit: contain
}

.contact-card strong {
    font-size: 20px;
    font-weight: 500
}

.contact-card:hover strong {
    text-decoration: underline
}

@media(max-width:760px) {
    .site-header {
        padding: 22px 20px
    }

    .site-header nav {
        gap: 16px
    }

    .nav-link {
        font-size: 16px
    }

    .view {
        padding: 0 20px 56px
    }

    .work-hero {
        padding: 78px 0 64px
    }

    .work-hero h1,
    .contact-page h1 {
        font-size: 52px
    }

    .hero-copy {
        font-size: 20px;
        line-height: 30px
    }

    .featured-project {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 0 44px
    }

    .featured-project .media-frame {
        grid-row: 1
    }

    .project-copy h2 {
        font-size: 36px
    }

    .media-frame img {
        min-height: 220px
    }

    .past-section {
        padding-top: 76px
    }

    .section-heading h2,
    .content-section h2,
    .testimonials h2 {
        font-size: 44px
    }

    .past-card {
        flex-basis: 78%
    }

    .site-footer {
        padding: 34px 20px;
        grid-template-columns: 1fr;
        gap: 18px
    }

    .site-footer nav {
        flex-wrap: wrap
    }

    .site-footer small {
        justify-self: start
    }

    .about-hero {
        grid-template-columns: 1fr;
        padding: 70px 0;
        gap: 24px
    }

    .about-hero h1 {
        font-size: 46px
    }

    .profile-image {
        height: 420px;
        grid-row: 1
    }

    .content-section,
    .testimonials {
        padding: 55px 0
    }

    .quote-card {
        flex-basis: 86%;
        min-height: 440px
    }

    .contact-page {
        padding: 85px 0 100px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0
    }

    .back-top {
        right: 16px;
        bottom: 16px
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important
    }
}
/* Portfolio refinements */
img{border:0!important}
.media-frame{border:0;border-radius:16px;overflow:hidden;position:relative;aspect-ratio:1.45}
.media-frame img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;display:block}
.project-copy h3{font-size:clamp(36px,4vw,48px);line-height:1.16;letter-spacing:-1.2px;margin:0 0 18px;font-weight:900}
.project-copy .tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:64px}
.tag-chip{display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:9999px;padding:4px 12px;font-size:12px;line-height:18px;font-weight:500;text-transform:uppercase;letter-spacing:.04em}
.work-section-title{border-top:1px solid var(--line);padding:32px 0 0}
.work-section-title h2,.past-section .section-heading h2{font-size:28px;line-height:36px;letter-spacing:-.4px;font-weight:700;text-transform:none}
.content-section h2{font-size:48px;line-height:56px;letter-spacing:-1.2px;font-weight:900;text-transform:none}
.past-section .eyebrow,.about-hero + .content-section{border-top:0}
.back-top{display:none}.back-top.visible{display:block}
.impact-list strong{font-weight:900}
@media(max-width:760px){.project-copy h3{font-size:36px}.work-section-title h2,.past-section .section-heading h2{font-size:28px;line-height:36px}.content-section h2{font-size:38px;line-height:44px}}

/* Work card thumbnails */
.portfolio-site .work-thumbnail-frame{position:relative;width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#f8f8f8;border:0}
.portfolio-site .featured-project .work-thumbnail-frame{width:80%;margin-inline:auto}
.portfolio-site .work-thumbnail{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;border:0;transition:transform 0.4s cubic-bezier(0.16,1,0.3,1)}
.portfolio-site .featured-project:hover .work-thumbnail,.portfolio-site .past-card:hover .work-thumbnail{transform:scale(1.03)}
.portfolio-site .featured-project .project-copy>p:not(.caption){font-size:18px;line-height:28px;letter-spacing:0;font-weight:400;color:#000;margin:0;max-width:580px}
@media(max-width:760px){.portfolio-site .featured-project .work-thumbnail-frame{grid-row:1}}

/* About section heading and internal spacing adjustments */
.content-section h2.about-section-heading,.testimonials .section-heading h2.about-section-heading{font-size:48px;line-height:56px;letter-spacing:-1.2px;font-weight:900;color:#000;text-transform:none}
.skills-grid{margin-top:24px}
.skills-grid .skill-item{padding:12px 0;border-top:0}
.impact-list{margin-top:24px}
.impact-list p{padding:12px 0;border-bottom:0}
@media(max-width:760px){.content-section h2.about-section-heading,.testimonials .section-heading h2.about-section-heading{font-size:38px;line-height:44px}}

.skill-item ul,
.skill-item li {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0px;
}