/* ===================================
   Font Imports
   =================================== */

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

@font-face {
    font-family: 'Soligant';
    src: url('fonts/Soligant.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

/* ===================================
   CSS Variables
   =================================== */

:root {
    /* Colors */
    --color-white: #ffffff;
    --color-bg-light: #FAFAFF;
    --color-bg-overlay: #F2F2FF;
    --color-text-dark: #252258;
    --color-text-muted: rgba(37, 34, 88, 0.50);
    --color-border: rgba(80, 74, 190, 0.05);
    --color-border-dashed: rgba(80, 74, 190, 0.24);
    
    /* Typography */
    --font-display: 'Soligant', serif;
    --font-body: 'Satoshi', sans-serif;
    
    /* Layout */
    --container-width: 720px;
    --section-padding: 80px;
}

/* ===================================
   Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section fade-in on scroll - desktop only */
@media (min-width: 769px) {
    .fade-section {
        opacity: 0;
        transition: opacity 0.6s ease-out;
    }

    .fade-section.visible {
        opacity: 1;
    }
}

/* ===================================
   Shared Components
   =================================== */

.section__label {
    width: fit-content;
    max-width: var(--container-width);
    margin: 0 auto 42px;
    padding: 0 24px 8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-text-dark);
    border-bottom: 1px dashed var(--color-border-dashed);
}

.intext__link {
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.intext__link:hover {
    opacity: 0.7;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-text-dark);
}

.hero__title-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 35px 0 10px 50px;
    width: 100%;
}

.hero__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
}

.hero__title-line {
    display: inline;
}

.hero__title--chris {
    font-family: var(--font-display);
    font-size: 67px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -2.68px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(134, 175, 152, 0.16) 0%, rgba(187, 129, 185, 0.16) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__title--tina {
    font-family: var(--font-display);
    font-size: 67px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -2.68px;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__title--eriksson {
    font-family: 'Birthstone Bounce', cursive;
    font-size: 80px;
    font-weight: 400;
    line-height: normal;
    width: 220px;
    margin-top: -60px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(134, 175, 152, 0.60) 0%, rgba(187, 129, 185, 0.60) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__logo {
    position: absolute;
    right: 50px;
    bottom: 46px;
    transform: translateY(50%);
    width: 154px;
    z-index: 1;
}

.hero__nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 42px;
    width: 100%;
    height: 56px;
    margin-top: auto;
    padding: 16px 50px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(2px);
}

.hero__nav::before,
.hero__nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(134, 175, 152, 0.6) 0%, rgba(160, 152, 168, 0) 50%, rgba(187, 129, 185, 0.6) 100%);
}

.hero__nav::before {
    top: 0;
}

.hero__nav::after {
    bottom: 0;
}

.hero__nav-link {
    color: #CDC9FF;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.hero__nav-link:hover {
    opacity: 0.7;
}

/* ===================================
   About Section
   =================================== */

.about {
    padding: var(--section-padding) 0;
    background-color: var(--color-white);
}

.about__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.about__title {
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-size: 62px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: -0.02em;
    text-align: left;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about__title--serif {
    font-family: 'Instrument Serif', serif;
}

.about__text {
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
}

.about__button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    color: var(--color-text-dark);
    text-align: center;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0.48px;
    text-decoration: none;
    border-radius: 1000px;
    border: none;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 4px 0 rgba(80, 74, 190, 0.05), 0 4px 8px 0 rgba(80, 74, 190, 0.05);
    backdrop-filter: blur(6px);
}

.about__button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1000px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(134, 175, 152, 0.6) 0%, rgba(160, 152, 168, 0) 50%, rgba(187, 129, 185, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===================================
   Current Role Section
   =================================== */

.current-role {
    padding: var(--section-padding) 0;
    background: var(--color-bg-light);
}

.current-role__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 32px 24px;
}

.current-role__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 24px;
}

.current-role__title {
    color: var(--color-text-dark);
    text-align: left;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 400;
    line-height: 56px;
}

.current-role__role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.current-role__date,
.current-role__position {
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.current-role__date::after {
    content: "·";
    margin-left: 8px;
    -webkit-text-fill-color: transparent;
}

.current-role__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
}

.current-role__link {
    display: block;
    margin: 16px 0 0;
    padding-bottom: 4px;
    width: fit-content;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-decoration: none;
    text-align: left;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-text-dark);
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.current-role__link:hover {
    opacity: 0.7;
}

/* ===================================
   Selected Work Section
   =================================== */

.selected-work {
    padding: var(--section-padding) 0;
    background-color: var(--color-white);
}

.selected-work__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 48px;
    width: 100%;
    max-width: 816px;
    margin: 0 auto;
    padding: 0 24px;
}

.work__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.work__item:hover {
    transform: translateY(-4px);
}

.work__item:hover .work__cover {
    box-shadow: 0 16px 48px rgba(37, 34, 88, 0.15);
}

.work__cover {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(37, 34, 88, 0.08);
    transition: box-shadow 0.3s ease;
}

.work__label {
    color: var(--color-text-muted);
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
}

/* ===================================
   Professional Experience Section
   =================================== */

.experience {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-light);
}

.experience__container {
    display: flex;
    flex-direction: column;
    gap: 42px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.experience__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-dashed);
}

.experience__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.experience__company {
    color: var(--color-text-dark);
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    line-height: 52px;
}

.experience__company--serif {
    font-family: 'Instrument Serif', serif;
}

.experience__role {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience__role-title::after {
    content: "|";
    margin: 0 8px;
}

.experience__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
}

.experience__keywords {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 2px;
}

.experience__keyword {
    color: var(--color-text-muted);
    text-align: left;
    font-family: var(--font-body);
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.28px;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
    position: relative;
    padding: var(--section-padding) 0;
    background-color: var(--color-white);
}

.testimonials__scroll {
    display: flex;
    align-items: center;
    gap: 80px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 100px;
    scroll-padding-right: 100px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials__scroll::-webkit-scrollbar {
    display: none;
}

.testimonials__spacer {
    flex-shrink: 0;
    width: 100px;
    min-width: 100px;
}

.testimonials__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 1000px;
    border: 1px solid var(--color-border);
    background: radial-gradient(203.17% 139.49% at 32.6% 0%, rgba(160, 155, 255, 0.16) 0%, rgba(255, 255, 255, 0.16) 100%);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04), 0 4px 8px 0 rgba(0, 0, 0, 0.04), 0 16px 32px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(2px);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.testimonials__arrow:hover {
    opacity: 0.8;
}

.testimonials__arrow--left {
    left: 50px;
}

.testimonials__arrow--left img {
    transform: rotate(180deg);
}

.testimonials__arrow--right {
    right: 50px;
}

.testimonial {
    flex: 0 0 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    scroll-snap-align: start;
}

.testimonial__quote {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.testimonial__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
}

.testimonial__title {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--color-text-dark);
}

.contact .section__label {
    display: flex;
    width: 420px;
    padding-bottom: 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Instrument Serif', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 52px;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px dashed rgba(183, 179, 246, 0.24);
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__logo {
    display: block;
    width: 184px;
    margin: 0 auto 32px;
}

.contact__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.contact__text {
    margin-bottom: 16px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contact__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-decoration: none;
    color: rgba(205, 201, 255, 1);
    border-bottom: 1px solid rgba(205, 201, 255, 1);
    transition: opacity 0.3s ease;
}

.contact__link:hover {
    opacity: 0.7;
}

/* ===================================
   Work Overlay
   =================================== */

.work-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: var(--color-bg-overlay);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.work-overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.work-overlay.active .work-overlay__container {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.work-overlay.active .work-overlay__close,
.work-overlay.active .work-overlay__nav {
    animation: fadeIn 0.4s ease-out 0.2s both;
}

.work-overlay__content {
    display: flex;
    width: 100%;
    padding: 200px 0;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.work-overlay__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    max-width: var(--container-width);
    padding: 0 24px;
}

.work-overlay__container.fade-in {
    animation: fadeInUp 0.5s ease-out both;
}

.work-overlay__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.work-overlay__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.work-overlay__title {
    color: var(--color-text-dark);
    text-align: left;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
}

.work-overlay__title--serif {
    font-family: 'Instrument Serif', serif;
}

.work-overlay__subtitle {
    text-align: left;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #86AF98 0%, #BB81B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.work-overlay__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
}

.work-overlay__links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.work-overlay__link {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-decoration: none;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-text-dark);
    transition: opacity 0.3s ease;
}

.work-overlay__link:hover {
    opacity: 0.7;
}

.work-overlay__images {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.work-overlay__image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

.work-overlay__close {
    position: fixed;
    top: 32px;
    right: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.work-overlay__close:hover {
    opacity: 0.7;
}

.work-overlay__close img {
    width: 32px;
    height: 32px;
}

.work-overlay__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 52px;
    height: 52px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 1000px;
    border: none;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.work-overlay__nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1000px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(134, 175, 152, 0.6) 0%, rgba(160, 152, 168, 0) 50%, rgba(187, 129, 185, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.work-overlay__nav:hover {
    opacity: 0.7;
}

.work-overlay__nav--prev {
    left: 32px;
}

.work-overlay__nav--next {
    right: 32px;
}

.work-overlay__nav img {
    width: 32px;
    height: 32px;
}

/* Password Protection */
.work-overlay__password-prompt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    text-align: left;
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.work-overlay__password-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

.work-overlay__password-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 320px;
}

.work-overlay__password-input {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    background: var(--color-white);
    border: 1px solid var(--color-border-dashed);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.work-overlay__password-input:focus {
    border-color: var(--color-text-muted);
}

.work-overlay__password-input::placeholder {
    color: var(--color-text-muted);
}

.work-overlay__password-submit {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 42px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 1000px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.work-overlay__password-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1000px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(134, 175, 152, 0.6) 0%, rgba(160, 152, 168, 0) 50%, rgba(187, 129, 185, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.work-overlay__password-submit:hover {
    opacity: 0.8;
}

.work-overlay__password-error {
    font-size: 14px;
    font-weight: 500;
    color: #c44;
    min-height: 20px;
}

/* ===================================
   Responsive - Tablet (768px and below)
   =================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Shared Components */
    .section__label {
        width: fit-content;
        max-width: 100%;
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: 30px;
        align-items: center;
    }

    .hero__title-container {
        padding-left: 0;
        justify-content: center;
    }

    .hero__title {
        align-items: center;
        text-align: center;
    }

    .hero__logo {
        position: absolute;
        left: 50%;
        bottom: 46px;
        right: auto;
        transform: translate(-50%, 50%);
        width: 140px;
        z-index: 1;
    }

    .hero__nav {
        position: relative;
        justify-content: center;
        gap: 24px;
    }

    .hero__nav-link {
        font-size: 14px;
        letter-spacing: 0.56px;
    }

    /* About Section */
    .about__title {
        font-size: 42px;
        line-height: 40px;
    }

    .about__text {
        font-size: 15px;
    }

    /* Current Role Section */
    .current-role__container {
        padding: 24px;
    }

    .current-role__title {
        font-size: 38px;
        line-height: 44px;
    }

    .current-role__role {
        flex-direction: column;
        align-items: flex-start;
        font-size: 12px;
    }

    /* Experience Section */
    .experience__company {
        font-size: 32px;
        line-height: 36px;
    }

    .experience__role {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience__role-title::after {
        display: none;
    }

    /* Selected Work Section */
    .selected-work__container {
        gap: 40px;
    }

    .work__cover {
        max-width: 300px;
    }

    .work__label {
        font-size: 13px;
        letter-spacing: 1px;
    }

    /* Work Overlay */
    .work-overlay__content {
        padding: 120px 0;
    }

    .work-overlay__title {
        font-size: 42px;
        line-height: 48px;
    }

    .work-overlay__nav {
        width: 44px;
        height: 44px;
    }

    .work-overlay__nav--prev {
        left: 16px;
    }

    .work-overlay__nav--next {
        right: 16px;
    }

    .work-overlay__nav img {
        width: 24px;
        height: 24px;
    }

    .work-overlay__close {
        top: 16px;
        right: 16px;
    }

    .work-overlay__close img {
        width: 28px;
        height: 28px;
    }

    /* Testimonials Section */
    .testimonials__scroll {
        gap: 40px;
        scroll-padding-left: 24px;
        scroll-padding-right: 24px;
        padding-top: 16px;
    }

    .testimonials__spacer {
        width: 24px;
        min-width: 24px;
    }

    .testimonials__arrow {
        width: 44px;
        height: 44px;
    }

    .testimonials__arrow--left {
        left: 16px;
    }

    .testimonials__arrow--right {
        right: 16px;
    }

    .testimonial {
        flex: 0 0 85vw;
        max-width: 400px;
    }

}

/* ===================================
   Responsive - Mobile (480px and below)
   =================================== */

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    body {
        font-size: 15px;
    }

    /* Shared Components */
    .section__label {
        font-size: 14px;
        margin-bottom: 8px;
        max-width: 100%;
    }

    /* Hero Section */
    .hero {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
    }

    .hero__title-container {
        padding-left: 0;
        justify-content: center;
    }

    .hero__title {
        margin-bottom: 16px;
        align-items: center;
        text-align: center;
    }

    .hero__logo {
        position: absolute;
        left: 50%;
        bottom: 57px;
        right: auto;
        transform: translate(-50%, 50%);
        width: 200px;
        z-index: 1;
    }

    .hero__nav {
        position: relative;
        justify-content: center;
        gap: 24px;
        padding: 48px 16px 24px 16px;
    }

    .hero__nav-link {
        font-size: 14px;
        letter-spacing: 0.48px;
    }

    /* About Section */
    .about {
        padding: 40px 0;
    }

    .about__container {
        padding: 0 24px;
    }

    .about__title {
        font-size: 42px;
        line-height: 42px;
        margin-bottom: 8px;
    }

    .about__text {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 24px;
    }

    .about__button {
        padding: 12px 32px;
        font-size: 16px;
        line-height: 24px;
    }

    /* Current Role Section */
    .current-role {
        padding: 40px 0;
    }

    .current-role__title {
        font-size: 36px;
        line-height: 42px;
    }

    .current-role__header {
        margin-bottom: 16px;
    }

    .current-role__role {
        font-size: 14px;
        gap: 0px;
    }

    .current-role__date::after {
        display: none;
    }

    .current-role__text {
        font-size: 14px;
        line-height: 22px;
    }

    /* Experience Section */
    .experience {
        padding: 40px 0;
    }

    .experience__container {
        padding: 0 24px;
        gap: 16px;
    }

    .experience__item {
        padding: 24px 0 0;
        border-bottom: none;
        gap: 8px;
    }

    .experience__company {
        font-size: 34px;
    }

    .experience__role {
        font-size: 14px;
    }

    .experience__text {
        font-size: 14px;
        line-height: 22px;
    }

    .experience__keyword {
        font-size: 12px;
        line-height: 18px;
    }

        /* Selected Work Section */
    .selected-work {
        padding: 40px 0;
    }

    .selected-work .section__label {
        margin-bottom: 32px;
    }

    .selected-work__container {
        padding: 0 24px;
        gap: 24px;
    }

    .work__item {
        gap: 12px;
        width: 100%;
    }

    .work__cover {
        width: 100%;
        max-width: none;
        border-radius: 6px;
    }

    .work__label {
        font-size: 12px;
        letter-spacing: 0.96px;
    }

    /* Work Overlay */
    .work-overlay__content {
        padding: 100px 0 120px;
    }

    .work-overlay__container {
        gap: 32px;
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .work-overlay__info {
        gap: 16px;
        width: 100%;
    }

    .work-overlay__title {
        font-size: 34px;
        line-height: 36px;
    }

    .work-overlay__subtitle {
        font-size: 12px;
        letter-spacing: 0.96px;
    }

    .work-overlay__text {
        font-size: 14px;
        line-height: 22px;
    }

    .work-overlay__link {
        font-size: 14px;
    }

    .work-overlay__images {
        gap: 16px;
        width: 100%;
    }

    .work-overlay__image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }

    .work-overlay__nav {
        top: auto;
        bottom: 24px;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .work-overlay__nav--prev {
        left: calc(50% - 52px);
    }

    .work-overlay__nav--next {
        right: calc(50% - 52px);
    }

    .work-overlay__nav img {
        width: 20px;
        height: 20px;
    }

    .work-overlay__close {
        position: fixed;
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 1000px;
        border: none;
        background: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(6px);
    }

    .work-overlay__close::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 1000px;
        padding: 1px;
        background: linear-gradient(135deg, rgba(134, 175, 152, 0.6) 0%, rgba(160, 152, 168, 0) 50%, rgba(187, 129, 185, 0.6) 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .work-overlay__close img {
        width: 20px;
        height: 20px;
    }

    .work-overlay__password-prompt {
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    .work-overlay__password-text {
        font-size: 14px;
    }

    .work-overlay__password-form {
        max-width: 280px;
        width: 100%;
    }

    .work-overlay__password-input {
        padding: 12px 16px;
        font-size: 16px; /* Keep at 16px to prevent iOS zoom */
    }

    .work-overlay__password-submit {
        padding: 10px 32px;
        font-size: 16px;
    }

    /* Testimonials Section */
    .testimonials {
        padding: 40px 0;
    }

    .testimonials__scroll {
        gap: 24px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px;
        padding-top: 16px;
    }

    .testimonials__spacer {
        width: 16px;
        min-width: 16px;
    }

    .testimonials__arrow {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 24px;
        transform: none;
    }

    .testimonials__arrow--left {
        left: 16px;
    }

    .testimonials__arrow--right {
        right: 16px;
    }

    .testimonials__arrow img {
        width: 16px;
        height: 16px;
    }

    .testimonial {
        flex: 0 0 calc(100vw - 32px);
        max-width: none;
        padding: 0 12px;
    }

    .testimonial__quote {
        font-size: 14px;
        line-height: 22px;
    }

    .testimonial__name,
    .testimonial__title {
        font-size: 14px;
        line-height: 20px;
    }

    /* Contact Section */
    .contact .section__label {
        font-size: 42px;
        line-height: 38px;
        width: 320px;
        margin-bottom: 32px;
    }

    .contact__container {
        padding: 0 16px;
    }

    .contact__text {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .contact__link {
        font-size: 16px;
    }
}
