/* =========================================================
   ELMAHDI DEV
   Personal Freelance Portfolio
   Arabic-first / RTL
========================================================= */


/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {

    /* Core */
    --bg: #f7f6f2;
    --surface: #fcfbf8;
    --surface-strong: #ffffff;

    /* Typography */
    --text: #202124;
    --text-soft: #3f4240;
    --muted: #686b68;

    /* Brand */
    --accent: #315c52;
    --accent-dark: #274a42;
    --accent-soft: #e7eeeb;

    /* Borders */
    --border: #e3dfd6;
    --border-strong: #d4cfc4;

    /* Misc */
    --white: #ffffff;

    /* Layout */
    --container: 1120px;
    --header-height: 72px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Typography */
    --font-arabic-body:
        "Noto Sans Arabic",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    --font-arabic-display:
        "Noto Kufi Arabic",
        "Noto Sans Arabic",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    --font-latin:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}


body {
    margin: 0;

    min-width: 320px;

    background: var(--bg);
    color: var(--text);

    font-family: var(--font-arabic-body);

    font-size: 16px;
    font-weight: 400;

    line-height: 1.9;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body,
button,
input,
textarea,
select {
    font-family: var(--font-arabic-body);
}


img {
    display: block;
    max-width: 100%;
}


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


button {
    margin: 0;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


::selection {
    background: var(--accent);
    color: var(--white);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid rgba(49, 92, 82, .28);
    outline-offset: 4px;
}


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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: var(--header-height);

    background: rgba(247, 246, 242, .96);

    border-bottom: 1px solid var(--border);

    /*
     * Very subtle blur.
     * Not used as a visual effect, only to preserve
     * readability while scrolling.
     */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.header-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    direction: ltr;
    unicode-bidi: isolate;

    flex-shrink: 0;

    font-family: var(--font-latin);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: .075em;

    color: var(--text);
}


.brand:hover {
    color: var(--accent);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
    display: flex;
    align-items: center;

    gap: 28px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 500;
}


.nav a {
    position: relative;

    padding: 5px 0;

    transition:
        color .18s ease;
}


.nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition:
        width .18s ease;
}


.nav a:hover {
    color: var(--accent);
}


.nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER CONTACT
========================================================= */

.header-contact {
    flex-shrink: 0;

    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 15px;

    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);

    background: transparent;

    font-size: 12px;
    font-weight: 600;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}


.header-contact:hover {
    background: var(--accent);
    border-color: var(--accent);

    color: var(--white);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 92px 0 105px;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        390px;

    align-items: center;

    gap: 86px;
}


.hero-content {
    width: 100%;
    max-width: 680px;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.eyebrow {
    margin: 0 0 18px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.7;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {
    max-width: 700px;

    margin: 0;

    font-family: var(--font-arabic-display);

    font-size:
        clamp(40px, 5.3vw, 64px);

    font-weight: 700;

    line-height: 1.42;

    letter-spacing: -.045em;
}


.hero h1 span {
    display: block;

    margin-top: 2px;

    color: var(--accent);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 630px;

    margin: 25px 0 0;

    color: var(--muted);

    font-size: 16px;
    font-weight: 400;

    line-height: 2.05;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 31px;
}


/* =========================================================
   BUTTON
========================================================= */

.button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 19px;

    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);

    background: transparent;

    color: var(--text);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}


.button:hover {
    transform: translateY(-1px);
}


.button-primary {
    background: var(--accent);
    border-color: var(--accent);

    color: var(--white);
}


.button-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}


.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* =========================================================
   PROFILE PHOTO
========================================================= */

.hero-photo {
    position: relative;

    width: min(100%, 390px);

    margin-inline-start: auto;
}


/*
 * The original image is 1254 × 1254.
 *
 * We intentionally display it at 4:5.
 * This gives the portrait a more editorial/professional
 * presence while keeping the original image untouched.
 */

.photo-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #d9d4ca;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}


.photo-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /*
     * Tuned for the supplied square portrait:
     * keep the face centered and preserve the shoulders.
     */
    object-position: 53% 44%;

    /*
     * No artificial filters.
     */
    filter: none;

    transform: none;
}


/* =========================================================
   PHOTO CAPTION
========================================================= */

.photo-caption {
    position: relative;
    z-index: 2;

    width: calc(100% - 30px);

    margin: -27px auto 0;

    padding: 15px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    background: rgba(252, 251, 248, .98);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}


.photo-caption > div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 1px;
}


.photo-caption strong {
    color: var(--text);

    font-family: var(--font-arabic-body);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.6;
}


.photo-caption span {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


.photo-location {
    flex-shrink: 0;

    white-space: nowrap;

    text-align: left;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 82px 0;

    border-top: 1px solid var(--border);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 36px;
}


.section-title {
    margin: 0;

    font-family: var(--font-arabic-display);

    color: var(--text);

    font-size: 29px;
    font-weight: 700;

    line-height: 1.55;

    letter-spacing: -.035em;
}


.section-description {
    max-width: 480px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    font-weight: 400;

    line-height: 2;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0;
}


/*
 * Instead of six identical floating cards,
 * the services behave more like a clean list.
 */

.service {
    min-height: 215px;

    padding: 28px 28px 30px;

    background: transparent;

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);

    transition:
        background .18s ease;
}


.service:nth-child(3n + 1) {
    border-right: 1px solid var(--border);
}


.service:nth-child(-n + 3) {
    border-top-color: var(--border);
}


.service:nth-child(n + 4) {
    border-top: 1px solid var(--border);
}


.service:hover {
    background: var(--surface);
}


/* =========================================================
   SERVICE NUMBER
========================================================= */

.service-number {
    display: block;

    margin-bottom: 27px;

    direction: ltr;
    unicode-bidi: isolate;

    text-align: right;

    font-family: var(--font-latin);

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .03em;
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.service h3 {
    margin: 0 0 9px;

    color: var(--text);

    font-family: var(--font-arabic-body);

    font-size: 17px;
    font-weight: 700;

    line-height: 1.7;
}


/* =========================================================
   SERVICE TEXT
========================================================= */

.service p {
    max-width: 310px;

    margin: 0;

    color: var(--muted);

    font-size: 12.5px;

    line-height: 2;
}


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

.about-grid {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 70px;
}


.about-label {
    margin: 0;

    color: var(--accent);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.8;
}


.about-text {
    max-width: 780px;

    margin: 0;

    color: var(--text);

    font-family: var(--font-arabic-display);

    font-size: 22px;
    font-weight: 500;

    line-height: 1.95;

    letter-spacing: -.025em;
}


.about-small {
    max-width: 720px;

    margin: 20px 0 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 2.1;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.product {
    min-height: 235px;

    display: flex;
    flex-direction: column;

    padding: 29px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        border-color .18s ease,
        background .18s ease;
}


.product:hover {
    border-color: var(--border-strong);

    background: var(--surface-strong);
}


.product-name {
    margin: 0;

    font-family: var(--font-arabic-display);

    font-size: 26px;
    font-weight: 700;

    line-height: 1.5;

    letter-spacing: -.025em;
}


.product-name-en {
    margin: 1px 0 0;

    direction: ltr;
    unicode-bidi: isolate;

    text-align: right;

    font-family: var(--font-latin);

    color: var(--muted);

    font-size: 10px;

    letter-spacing: .04em;

    line-height: 1.6;
}


.product p {
    max-width: 600px;

    margin: auto 0 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   GITHUB
========================================================= */

.github-link {
    flex-shrink: 0;

    direction: ltr;
    unicode-bidi: isolate;

    font-family: var(--font-latin);

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
}


.github-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   GITHUB STATUS
========================================================= */

.github-status {
    padding: 28px;

    border: 1px dashed var(--border-strong);

    border-radius: var(--radius-md);

    color: var(--muted);

    text-align: center;

    font-size: 12px;

    line-height: 2;
}


/* =========================================================
   REPOSITORY GRID
========================================================= */

.repo-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   REPOSITORY
========================================================= */

.repo {
    min-height: 225px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        border-color .18s ease,
        background .18s ease;
}


.repo:hover {
    border-color: var(--border-strong);

    background: var(--surface-strong);
}


/* =========================================================
   REPOSITORY NAME
========================================================= */

.repo-name {
    margin: 0;

    direction: ltr;
    unicode-bidi: isolate;

    text-align: left;

    font-family: var(--font-latin);

    color: var(--text);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.6;

    word-break: break-word;
}


/* =========================================================
   REPOSITORY DESCRIPTION
========================================================= */

.repo-description {
    flex: 1;

    margin: 14px 0 18px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   REPOSITORY META
========================================================= */

.repo-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    padding-top: 12px;

    border-top: 1px solid var(--border);

    direction: ltr;
    unicode-bidi: isolate;

    font-family: var(--font-latin);

    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   REPOSITORY LINK
========================================================= */

.repo-link {
    align-self: flex-start;

    margin-top: 12px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.7;
}


.repo-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   SHOW MORE
========================================================= */

.show-more {
    display: none;

    min-height: 40px;

    margin: 25px auto 0;

    padding: 7px 17px;

    background: transparent;

    border: 1px solid var(--border-strong);

    border-radius: var(--radius-sm);

    color: var(--text);

    font-family: var(--font-arabic-body);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        border-color .18s ease,
        color .18s ease,
        background .18s ease;
}


.show-more:hover {
    background: var(--surface);

    border-color: var(--accent);

    color: var(--accent);
}


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

.contact {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, .9fr);

    gap: 14px;
}


/* =========================================================
   CONTACT MAIN
========================================================= */

.contact-main {
    padding: 42px;

    background: var(--accent);

    border-radius: var(--radius-md);

    color: var(--white);
}


.contact-main h2 {
    max-width: 620px;

    margin: 0;

    font-family: var(--font-arabic-display);

    font-size: 30px;
    font-weight: 700;

    line-height: 1.65;

    letter-spacing: -.025em;
}


.contact-main p {
    max-width: 570px;

    margin: 14px 0 27px;

    color: rgba(255, 255, 255, .82);

    font-size: 13px;

    line-height: 2.1;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.contact-main .button {
    background: var(--white);

    border-color: var(--white);

    color: var(--accent);
}


.contact-main .button:hover {
    background: var(--bg);

    border-color: var(--bg);

    color: var(--accent-dark);
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}


.contact-item {
    padding: 15px 0;

    border-bottom: 1px solid var(--border);
}


.contact-item:first-child {
    padding-top: 5px;
}


.contact-item:last-child {
    padding-bottom: 5px;

    border-bottom: 0;
}


.contact-label {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 500;

    line-height: 1.7;
}


.contact-value {
    display: inline-block;

    direction: ltr;
    unicode-bidi: isolate;

    text-align: right;

    font-family: var(--font-latin);

    color: var(--text);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.7;
}


.contact-value:hover {
    color: var(--accent);

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 28px 0;

    border-top: 1px solid var(--border);
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.8;
}


.footer-brand {
    direction: ltr;
    unicode-bidi: isolate;

    font-family: var(--font-latin);

    color: var(--text);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .07em;
}


.footer a:hover {
    color: var(--accent);
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            350px;

        gap: 55px;
    }


    .hero h1 {
        font-size: clamp(39px, 5.5vw, 57px);
    }


    .about-grid {
        gap: 50px;
    }

}


/* =========================================================
   RESPONSIVE — 950px
========================================================= */

@media (max-width: 950px) {

    .hero {
        padding: 75px 0 85px;
    }


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

        gap: 55px;
    }


    .hero-content {
        max-width: 720px;
    }


    .hero-photo {
        width: min(100%, 390px);

        margin-inline-start: 0;
        margin-inline-end: auto;
    }


    .services {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .service {
        border-right: 0;
    }


    .service:nth-child(odd) {
        border-right: 1px solid var(--border);
    }


    .service:nth-child(3n + 1) {
        border-right: 0;
    }


    .service:nth-child(odd) {
        border-right: 1px solid var(--border);
    }


    .repo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .about-grid {
        grid-template-columns:
            170px
            minmax(0, 1fr);

        gap: 40px;
    }


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

}


/* =========================================================
   RESPONSIVE — 760px
========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }


    .header-inner {
        min-height: 66px;

        gap: 14px;
    }


    .nav {
        display: none;
    }


    .hero {
        padding: 62px 0 72px;
    }


    .hero-grid {
        gap: 45px;
    }


    .hero h1 {
        font-size: clamp(37px, 9vw, 49px);

        line-height: 1.5;
    }


    .hero-description {
        margin-top: 20px;

        font-size: 14px;

        line-height: 2;
    }


    .hero-actions {
        margin-top: 26px;
    }


    .section {
        padding: 68px 0;
    }


    .section-heading {
        display: block;

        margin-bottom: 28px;
    }


    .section-title {
        margin-bottom: 9px;

        font-size: 26px;
    }


    .section-description {
        max-width: 600px;

        font-size: 12.5px;
    }


    .services {
        grid-template-columns: 1fr;
    }


    .service,
    .service:nth-child(odd),
    .service:nth-child(3n + 1) {
        min-height: auto;

        border-right: 0;
        border-left: 0;

        border-top: 1px solid var(--border);
    }


    .service:last-child {
        border-bottom: 1px solid var(--border);
    }


    .service {
        padding: 24px 2px 27px;
    }


    .service-number {
        margin-bottom: 20px;
    }


    .service p {
        max-width: 580px;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .about-text {
        font-size: 20px;

        line-height: 1.95;
    }


    .about-small {
        font-size: 13px;
    }


    .products {
        grid-template-columns: 1fr;
    }


    .product {
        min-height: 215px;

        padding: 26px;
    }


    .repo-grid {
        grid-template-columns: 1fr;
    }


    .contact-main {
        padding: 31px;
    }


    .contact-main h2 {
        font-size: 26px;
    }


    .contact-details {
        padding: 24px;
    }


    .footer-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

}


/* =========================================================
   RESPONSIVE — 480px
========================================================= */

@media (max-width: 480px) {

    .container {
        width: min(
            calc(100% - 26px),
            var(--container)
        );
    }


    .header-contact {
        min-height: 36px;

        padding-inline: 12px;

        font-size: 11px;
    }


    .brand {
        font-size: 13px;
    }


    .hero {
        padding: 50px 0 62px;
    }


    .eyebrow {
        margin-bottom: 13px;

        font-size: 12px;
    }


    .hero h1 {
        font-size: 36px;

        line-height: 1.52;

        letter-spacing: -.04em;
    }


    .hero-description {
        font-size: 13.5px;

        line-height: 2.05;
    }


    .hero-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .hero-actions .button {
        width: 100%;
    }


    .hero-photo {
        width: min(100%, 350px);

        margin-inline: auto;
    }


    .photo-frame {
        border-radius: 14px;
    }


    .photo-caption {
        width: calc(100% - 20px);

        margin-top: -23px;

        padding: 13px 14px;
    }


    .photo-caption strong {
        font-size: 13px;
    }


    .photo-caption span {
        font-size: 10px;
    }


    .photo-location {
        display: none;
    }


    .section {
        padding: 58px 0;
    }


    .section-title {
        font-size: 24px;
    }


    .service {
        padding-block: 22px 25px;
    }


    .service h3 {
        font-size: 16px;
    }


    .service p {
        font-size: 12px;
    }


    .about-text {
        font-size: 18px;
    }


    .about-small {
        font-size: 12.5px;
    }


    .product {
        min-height: 205px;

        padding: 24px;
    }


    .product-name {
        font-size: 24px;
    }


    .product p {
        font-size: 12.5px;
    }


    .repo {
        min-height: 210px;

        padding: 21px;
    }


    .contact-main {
        padding: 27px 24px;
    }


    .contact-main h2 {
        font-size: 24px;
    }


    .contact-main p {
        font-size: 12.5px;
    }


    .contact-main .button {
        width: 100%;
    }


    .contact-details {
        padding: 21px;
    }


    .contact-value {
        font-size: 12px;
    }

}


/* =========================================================
   RESPONSIVE — VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .container {
        width: min(
            calc(100% - 22px),
            var(--container)
        );
    }


    .hero h1 {
        font-size: 33px;
    }


    .hero-description {
        font-size: 13px;
    }


    .header-contact {
        padding-inline: 10px;
    }


    .brand {
        font-size: 12px;
    }


    .photo-caption {
        width: calc(100% - 14px);
    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .header {
        position: static;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }


    .hero-actions,
    .header-contact,
    .github-link,
    .show-more {
        display: none !important;
    }


    .section {
        break-inside: avoid;
    }


    a {
        text-decoration: none;
    }

}