/* Site-specific organization layer */
:root {
    --primary-color: #d6335b;
    --bg-primary: #fdf6f8;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f9e7ee;
    --bg-light: rgba(253, 246, 248, 0.92);
    --heading-color: #231d19;
    --text-color: #5e554f;
    --subtitle-color: #8f6574;
}

html {
    scroll-behavior: smooth;
}

.site-body {
    background: var(--bg-primary);
    color: var(--text-color);
    font-family: "Roboto", Arial, sans-serif !important;
}

.site-header {
    background: rgba(253, 246, 248, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(214, 51, 91, 0.1);
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo > div {
    width: 4.25rem;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.section-header h1,
.hero-section h2,
.portfolio-item h1,
.project-tile h1,
.contact-title,
.contact h2,
.modal-title {
    color: var(--heading-color);
}

.hero-section p,
.left article,
.experience-panel__content,
.project-description,
.project-tile p,
.contact p,
.vertical-rl,
.modal-message {
    color: var(--text-color);
}

.text-gradient {
    color: var(--primary-color);
    background-image: none;
    -webkit-text-fill-color: currentColor;
}

.bg-gray-700 {
    background-color: rgba(214, 51, 91, 0.16) !important;
}

.border-gray-600 {
    border-color: rgba(214, 51, 91, 0.18) !important;
}

.border-gray-800 {
    border-color: rgba(50, 24, 34, 0.14) !important;
}

.shadow-lg,
.contact-modal__dialog,
.project-tile > div,
.mobile-drawer,
.rounded-lg.bg-bg_secondary {
    box-shadow: 0 18px 45px rgba(96, 44, 60, 0.08), 0 4px 14px rgba(96, 44, 60, 0.06) !important;
}

.mobile-drawer,
.contact-modal__dialog,
.project-tile > div,
.experience-nav__item.is-active,
.rounded-lg.bg-bg_secondary,
.portfolio-item > div:last-child,
.btn:not(.\!bg-primary) {
    border: 1px solid rgba(214, 51, 91, 0.08);
}

.mobile-drawer,
.contact-modal__dialog,
.rounded-lg.bg-bg_secondary,
.project-tile > div {
    background: var(--bg-secondary);
}

.contact-modal {
    visibility: hidden;
    opacity: 0;
    transform: none;
    background: rgba(255, 247, 249, 0.35);
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.contact-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.contact-modal__dialog {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.contact-modal.is-open .contact-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mobile-drawer {
    transition: transform 0.4s ease;
}

.mobile-drawer.is-open {
    transform: translateX(0) !important;
}

.mobile-drawer__nav {
    display: grid;
    gap: 0.65rem;
}

.mobile-drawer__nav-item {
    min-width: 0;
}

.mobile-drawer__nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--heading-color);
    background: rgba(255, 250, 251, 0.72);
    border: 1px solid rgba(214, 51, 91, 0.08);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
    box-sizing: border-box;
}

.mobile-drawer__nav-link:hover {
    transform: translateX(4px);
    background: rgba(255, 248, 250, 0.96);
    border-color: rgba(214, 51, 91, 0.14);
    color: var(--primary-color);
}

.mobile-drawer__nav-number {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mobile-drawer__nav-label {
    min-width: 0;
    display: block;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.05;
    font-weight: 700;
    overflow-wrap: anywhere;
}

body.menu-open {
    overflow: hidden;
}

.experience-nav__item {
    color: var(--text-color);
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.experience-nav__item.is-active {
    color: var(--primary-color);
    background: rgba(214, 51, 91, 0.1);
}

.experience-indicator,
.experience-indicator-mobile {
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
    will-change: transform;
}

.portfolio-item > div:last-child {
    opacity: 1 !important;
}

.bg-\[\#286f90\] {
    background-color: rgba(214, 51, 91, 0.28) !important;
}

.mix-blend-hard-light {
    mix-blend-mode: multiply;
}

.btn {
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn:not(.\!bg-primary) {
    background: rgba(214, 51, 91, 0.08);
    color: var(--primary-color);
    border-color: rgba(214, 51, 91, 0.14);
}

.\!bg-primary {
    color: #fff !important;
}

.social-rail__item a,
.social-icons a,
.email-rail a {
    color: var(--subtitle-color);
}

.social-rail__item a:hover,
.social-icons a:hover,
.email-rail a:hover {
    color: var(--primary-color);
}

.hover-underline,
._underline {
    color: var(--primary-color);
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(214, 51, 91, 0.35);
    border-radius: 9999px;
}

.project-description.is-expanded {
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.site-body {
    line-height: 1.65;
    background-image: none;
}

.page-shell,
.page-content {
    min-height: 100vh;
}

.site-nav,
.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.site-nav {
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.site-nav__links {
    display: block;
}

.site-menu-toggle {
    display: none;
}

main,
.container {
    max-width: 1240px !important;
    margin-left: auto;
    margin-right: auto;
}

main {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section-padding {
    padding-top: clamp(5.5rem, 10vw, 8rem);
    padding-bottom: clamp(5.5rem, 10vw, 8rem);
}

.section-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header h1 {
    letter-spacing: -0.03em;
}

.hero-section {
    padding-top: clamp(9rem, 18vh, 12rem) !important;
    padding-bottom: clamp(5rem, 9vw, 7rem);
    min-height: min(100vh, 920px);
}

.hero-section h4 {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--subtitle-color);
}

.hero-section h1,
.hero-section h2 {
    max-width: 12ch;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-section p {
    max-width: 760px;
    font-size: 1.075rem;
    color: #645c56;
}

.hero-meta {
    max-width: 760px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 248, 250, 0.92);
    border: 1px solid rgba(214, 51, 91, 0.12);
    color: var(--heading-color);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(29, 39, 52, 0.05);
}

.btn {
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(96, 44, 60, 0.08);
}

.btn:hover,
.btn:hover * {
    color: #fff !important;
}

.\!bg-primary {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.\!bg-primary:hover {
    background: #be244a !important;
    color: #fff !important;
}

.about-layout {
    align-items: start;
}

.about-copy {
    font-size: 1.03rem;
}

.about-copy article {
    max-width: 68ch;
}

.about-skills {
    margin-top: 2.25rem;
    padding: 1.6rem;
    border-radius: 1.25rem;
    background: rgba(255, 249, 251, 0.95);
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 14px 34px rgba(29, 39, 52, 0.04);
}

.about-skills .text-primary {
    color: var(--primary-color) !important;
}

.about-photo .group {
    max-width: 360px;
}

.about-photo .group::after {
    border-color: rgba(81, 97, 115, 0.18);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    box-shadow: 0 22px 48px rgba(29, 39, 52, 0.12);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.about-photo img:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(29, 39, 52, 0.16);
}

#experience {
    max-width: 1120px;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.experience-panel__content {
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 250, 251, 0.96);
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 18px 45px rgba(29, 39, 52, 0.07), 0 4px 14px rgba(29, 39, 52, 0.05);
}

.experience-nav__item {
    border-radius: 0 0.85rem 0.85rem 0;
}

.project-showcase {
    gap: 1rem;
}

.project-showcase__media {
    align-self: stretch;
    min-height: clamp(280px, 34vw, 460px);
}

@media (min-width: 768px) {
    .project-showcase__media {
        width: 84%;
        max-width: 100%;
    }

    .project-showcase__media--start {
        justify-self: start;
    }

    .project-showcase__media--end {
        justify-self: end;
    }
}

.project-showcase__content {
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 18px 45px rgba(29, 39, 52, 0.08), 0 4px 14px rgba(29, 39, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-showcase__content:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 51, 91, 0.16);
    box-shadow: 0 24px 56px rgba(29, 39, 52, 0.1), 0 8px 18px rgba(29, 39, 52, 0.06);
}

.project-showcase__heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-showcase__heading-copy {
    display: flex;
    flex-direction: column;
}

.project-showcase__heading-copy h4,
.project-showcase__heading-copy h1 {
    width: fit-content;
}

.project-showcase__heading-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: block;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.project-showcase__heading--start {
    justify-content: flex-start;
}

.project-showcase__heading--end {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.project-showcase .left a,
.project-showcase .left .project-preview-trigger,
.project-showcase .left img {
    min-height: 100%;
}

.project-showcase__body {
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    background: rgba(255, 248, 250, 0.95);
    border: 1px solid rgba(214, 51, 91, 0.1);
}

.project-showcase .left img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: top center;
    filter: none;
}

.project-showcase .left a,
.project-preview-trigger {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(29, 39, 52, 0.12), 0 4px 14px rgba(29, 39, 52, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-showcase .left a:hover,
.project-preview-trigger:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 26px 62px rgba(29, 39, 52, 0.14), 0 8px 18px rgba(29, 39, 52, 0.07);
}

.project-preview-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.project-showcase .left.group::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.04);
    pointer-events: none;
    z-index: 1;
}

.project-showcase h4.text-primary,
.project-tile .text-5xl.text-primary {
    color: var(--primary-color) !important;
}

.project-showcase .after\:bg-primary::after {
    background-color: var(--primary-color) !important;
}

.project-title-trigger {
    color: inherit;
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}

.project-actions__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    line-height: 1;
}

.project-actions__link svg {
    display: block;
    width: 1em;
    height: 1em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-tile > div {
    padding: 1.75rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 18px 45px rgba(29, 39, 52, 0.08), 0 4px 14px rgba(29, 39, 52, 0.05) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-tile > div:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 51, 91, 0.16);
    box-shadow: 0 24px 54px rgba(29, 39, 52, 0.1), 0 8px 18px rgba(29, 39, 52, 0.06) !important;
}

.blog-intro {
    max-width: 760px;
}

.blog-intro p {
    font-size: 1.05rem;
    color: var(--text-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: 1.4rem;
    background: rgba(255, 250, 251, 0.96);
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 18px 45px rgba(29, 39, 52, 0.07), 0 4px 14px rgba(29, 39, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 51, 91, 0.16);
    box-shadow: 0 24px 56px rgba(29, 39, 52, 0.1), 0 8px 18px rgba(29, 39, 52, 0.06);
}

.blog-card__cover {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(214, 51, 91, 0.08);
    background: #f7f4f5;
}

.blog-card__cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__cover img {
    transform: scale(1.035);
}

.blog-card__meta,
.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--subtitle-color);
    font-size: 0.9rem;
}

.blog-card__category {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(214, 51, 91, 0.08);
    color: var(--primary-color);
    font-weight: 700;
}

.blog-card__title {
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--heading-color);
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--primary-color);
}

.blog-card__excerpt {
    color: var(--text-color);
}

.blog-card__link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.blog-card__link:hover {
    text-decoration: underline;
}

.blog-post-page {
    max-width: 920px !important;
}

.blog-post-page__header {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-post-page__header h1 {
    color: var(--heading-color);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.blog-post-page__header p,
.blog-post-page__content {
    color: var(--text-color);
}

.blog-post-page__breadcrumb {
    margin: 0;
    color: var(--subtitle-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-post-page__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.blog-post-page__cover {
    margin: 0 0 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f7f4f5;
    border: 1px solid rgba(214, 51, 91, 0.08);
}

.blog-post-page__cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.blog-post-page__content {
    display: grid;
    gap: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-page__content h2,
.blog-post-page__content h3,
.blog-post-page__content h4 {
    color: var(--heading-color);
    margin-top: 1rem;
}

.blog-post-page__content a {
    color: var(--primary-color);
}

.blog-post-page__content ul,
.blog-post-page__content ol {
    padding-left: 1.25rem;
}

.product-modal {
    display: flex;
    background: rgba(28, 20, 24, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.product-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-modal__backdrop {
    background: rgba(28, 20, 24, 0.36);
    backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.product-modal.is-open .product-modal__backdrop {
    opacity: 1;
}

.product-modal__dialog {
    max-height: min(90vh, 920px);
    border: 1px solid rgba(214, 51, 91, 0.12);
    box-shadow: 0 30px 80px rgba(29, 39, 52, 0.24);
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.product-modal.is-open .product-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-modal {
    display: flex;
    background: rgba(28, 20, 24, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.image-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-modal__backdrop {
    background: rgba(28, 20, 24, 0.42);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.image-modal.is-open .image-modal__backdrop {
    opacity: 1;
}

.image-modal__dialog {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.image-modal.is-open .image-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.85rem;
    height: 2.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 248, 250, 0.96);
    color: var(--heading-color);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.image-modal__figure {
    margin: 0;
    padding: 1rem;
    border-radius: 1.75rem;
    background: rgba(255, 250, 251, 0.98);
    border: 1px solid rgba(214, 51, 91, 0.1);
    box-shadow: 0 30px 80px rgba(29, 39, 52, 0.24);
}

.image-modal__figure img {
    width: 100%;
    max-height: min(78vh, 900px);
    object-fit: contain;
    display: block;
    border-radius: 1.2rem;
    background: #f7f4f5;
}

.image-modal__figure figcaption {
    padding: 0.9rem 0.3rem 0.2rem;
    color: var(--heading-color);
    font-weight: 700;
    text-align: center;
}

.product-modal__close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 20;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 248, 250, 0.96);
    color: var(--heading-color);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.product-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    min-height: 100%;
}

.product-modal__gallery {
    padding: 1.5rem;
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.product-modal__stage {
    position: relative;
    width: 100%;
    max-width: 760px;
    min-height: 560px;
    height: min(70vh, 760px);
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f7f4f5;
    box-shadow: inset 0 0 0 1px rgba(214, 51, 91, 0.08);
}

.product-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px) scale(0.985);
    transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-slide figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    font-size: 0.95rem;
}

.product-modal__gallery-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.product-modal__nav {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 51, 91, 0.12);
    background: rgba(255, 248, 250, 0.95);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.25rem;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.product-modal__nav:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 10px 24px rgba(29, 39, 52, 0.08);
}

.product-modal__content {
    padding: 2rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-modal__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-modal__icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 16px 30px rgba(29, 39, 52, 0.12);
}

.product-modal__brand h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.05;
    color: var(--heading-color);
}

.product-modal__tagline {
    margin-top: 0.35rem;
    color: var(--subtitle-color);
}

.product-modal__logo {
    width: auto;
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
}

.product-modal__meta {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.product-modal__meta div {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 248, 250, 0.92);
    border: 1px solid rgba(214, 51, 91, 0.1);
}

.product-modal__meta dt {
    margin-bottom: 0.35rem;
    color: var(--subtitle-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-modal__meta dd {
    margin: 0;
    color: var(--heading-color);
    font-weight: 700;
}

.product-modal__description {
    display: grid;
    gap: 1rem;
}

.product-modal__description p {
    color: var(--text-color);
}

.product-modal__highlights h3 {
    margin-bottom: 0.85rem;
    color: var(--heading-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-modal__highlights ul {
    display: grid;
    gap: 0.75rem;
}

.product-modal__highlights li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-color);
}

.product-modal__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--primary-color);
}

.product-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.contact {
    padding-top: clamp(5.5rem, 10vw, 8rem) !important;
    padding-bottom: clamp(5rem, 8vw, 6rem) !important;
}

.inner-contact {
    align-items: stretch;
    gap: 2rem;
}

.contact-title {
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.contact-details {
    max-width: 720px;
}

.contact-detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    text-decoration: none;
    background: rgba(255, 249, 251, 0.96);
    border: 1px solid rgba(214, 51, 91, 0.1);
    color: var(--text-color);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-detail-card strong {
    color: var(--heading-color);
}

.contact-detail-card:hover {
    transform: translateY(-2px);
    border-color: rgba(214, 51, 91, 0.22);
    color: var(--primary-color);
}

.contact-form-panel {
    border: 1px solid rgba(214, 51, 91, 0.1);
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.contact-form .btn[disabled] {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}

.form-input {
    padding: 1rem 0;
}

footer {
    border-top: 1px solid rgba(214, 51, 91, 0.08);
    background: rgba(255, 248, 250, 0.72);
    padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
    padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.footer-credit {
    color: var(--subtitle-color);
    letter-spacing: 0.02em;
}

.footer-credit__name {
    color: var(--heading-color);
}

.footer-credit:hover .footer-credit__name {
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .site-nav {
        min-height: 72px;
    }

    .site-nav__links {
        display: none;
    }

    .site-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section h1,
    .hero-section h2 {
        max-width: none;
    }

    .contact-title {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .experience-panel__content {
        padding: 1.5rem;
    }

    .project-showcase__content {
        padding: 1.4rem;
    }

    .project-showcase__media {
        min-height: 320px;
    }

    .project-showcase__heading {
        gap: 0.85rem;
    }

    .project-showcase__heading-icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .product-modal__layout {
        grid-template-columns: 1fr;
    }

    .product-modal__stage {
        max-width: none;
        min-height: 320px;
        height: auto;
    }
}

@media (max-width: 640px) {
    .project-showcase__heading {
        justify-content: flex-start;
        flex-direction: row;
    }

    .project-showcase__heading-copy h1,
    .project-showcase__heading-copy h4 {
        width: auto;
    }

    .site-nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-padding {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-pill {
        width: 100%;
        justify-content: center;
    }

    .project-tile > div,
    .experience-panel__content,
    .about-skills,
    .contact-form-panel,
    .project-showcase__content {
        padding: 1.25rem;
    }

    .project-showcase__body {
        padding: 1rem;
    }

    .product-modal {
        padding: 1rem;
    }

    .product-modal__gallery,
    .product-modal__content {
        padding: 1rem;
    }

    .product-modal__brand {
        align-items: flex-start;
    }

    .product-modal__brand h2 {
        font-size: 1.6rem;
    }
}
