/* GENERATED: edit modules/home/; run python3 tools/build-home.py. */

/* modules/home/hero/styles.css#surfaces-001 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .quick-panel {
    --quick-surface-u: calc(100vw / 772);
    background: linear-gradient(100deg,#dfded62e,#79acaa28 45%,#65a6b12b);
    border-color: #f6e9c372;
    border-radius: calc(18 * var(--quick-surface-u));
    box-shadow: 0 calc(2 * var(--quick-surface-u)) calc(2 * var(--quick-surface-u)) #cdbd9270,
    0 0 calc(16 * var(--quick-surface-u)) #e7eacb28 inset,
    0 calc(-3 * var(--quick-surface-u)) calc(2 * var(--quick-surface-u)) #e4efd333 inset;
    backdrop-filter: blur(calc(7 * var(--quick-surface-u)));
    -webkit-backdrop-filter: blur(calc(7 * var(--quick-surface-u)));
    isolation: isolate;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .quick-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 1% 70%,#efd3a441,transparent 25%),
    linear-gradient(145deg,#f4e9c721,transparent 32%,transparent 75%,#8aafaa0c);
    box-shadow: 0 calc(1 * var(--quick-surface-u)) 0 #fff9dd35 inset;
    border-radius: inherit;
}

/* modules/home/hero/styles.css#surfaces-002 */
@media (max-width: 1023px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .quick-panel {
        --quick-surface-u: 1px;
        border-color: #f6e9c383;
        border-radius: 20px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 18px #d8c79920,0 0 18px #e7eacb18 inset;
    }
}

/* modules/home/works/styles.css#surfaces-003 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works.works-reference {
    --works-reference-gold: #c6b078;
    --works-reference-ink: #17202b;
    background-color: #003c45;
    background-image: url('../patterns/home-works-reference-background.webp');
    background-repeat: repeat;
    background-size: 1022px 596px;
    color: #fffdf4;
    border-bottom-color: #28555b;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-layout {
    display: grid;
    direction: ltr;
    grid-template-areas: none;
    grid-template-columns: minmax(0,1fr) 76px 260px;
    gap: 0 18px;
    align-items: center;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-heading {
    grid-area: auto;
    grid-column: 3;
    grid-row: 1;
    direction: rtl;
    align-self: center;
    text-align: center;
    min-width: 0;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #fffdf4;line-height:1.7;}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference-title .sec-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-book-cap {
    width: 38px;
    height: 46px;
    color: var(--works-reference-gold);
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    flex: none;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-heading p {
    margin: 26px auto 0;
    max-width: 26ch;
    color: #dbcba2;
    font-size: clamp(17px,1.45vw,21px);
    line-height: 2.1;
    font-weight: 700;
    text-wrap: balance;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-brace {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    min-width: 0;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-brace svg {
    position: absolute;
    left: 0;
    top: 7%;
    width: 100%;
    height: 86%;
    overflow: visible;
    fill: none;
    stroke: var(--works-reference-gold);
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-panels {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
    min-width: 0;
    direction: rtl;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-panel {
    display: block;
    grid-area: auto;
    position: relative;
    isolation: isolate;
    padding: 18px 24px 13px;
    min-width: 0;
    border: 1px solid #d1c18f;
    border-radius: 20px;
    background: #fffefd;
    color: var(--works-reference-ink);
    box-shadow: 0 3px 9px #001f2940;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border: 43px solid transparent;
    border-image-source: url('../reference-crops/home-works-panel-frame.webp');
    border-image-slice: 58;
    border-image-repeat: stretch;
    border-radius: inherit;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .project-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding-bottom: 9px;
    border-bottom: 1px solid #efefeb;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .panel-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    border: 0;
    min-height: 44px;
    color: #17202b;
    line-height: 1.7;
    font-size: clamp(17px,1.45vw,22px);
    font-weight: 700;
}

/* modules/home/shared/styles.css#surfaces-004 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .panel-status-ring {
    display: block;
    width: 30px;
    height: 30px;
    flex: none;
    border: 3px solid #bcac72;
    border-radius: 50%;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .panel-see-all {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #256560;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .panel-see-all:is(:hover,:focus-visible) {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* modules/home/works/styles.css#surfaces-005 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .panel-rows {
    padding-top: 3px;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-row {
    display: grid;
    direction: rtl;
    grid-template-columns: 68px minmax(0,1fr) minmax(190px,28%);
    grid-template-areas: 'thumb title state';
    gap: 18px;
    align-items: center;
    min-height: 92px;
    padding: 9px 0;
    border: 0;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-title {
    grid-area: title;
    font-size: clamp(15px,1.4vw,20px);
    font-weight: 700;
    line-height: 1.95;
    color: #17202b;
    overflow-wrap: anywhere;
    min-width: 0;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-thumb {
    grid-area: thumb;
    width: 68px;
    height: 68px;
    display: block;
    border-radius: 11px;
    overflow: hidden;
    background: #e8e2d8;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* modules/home/shared/styles.css#surfaces-006 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-state {
    grid-area: state;
    direction: ltr;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    width: min(100%,150px);
    padding: 4px 12px;
    color: #23615e;
    background: #deece7;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
    direction: rtl;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-progress-line {
    display: grid;
    grid-template-columns: minmax(0,1fr) 38px;
    direction: ltr;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* modules/home/works/styles.css#surfaces-007 */
:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-progress {
    grid-area: auto;
    display: block;
    width: 100%;
    height: 9px;
    min-width: 0;
    direction: ltr;
    background: #edf3ef;
    border-radius: 20px;
    overflow: hidden;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .progress-fill {
    display: block;
    height: 100%;
    width: var(--p,0%);
    margin: 0;
    border-radius: 20px;
    background: #8abdaf;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-percent {
    grid-area: auto;
    color: #286963;
    font-size: 14px;
    font-weight: 700;
    direction: rtl;
    text-align: right;
    white-space: nowrap;
}

:where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference > .see-all-wrap .see-all-link {
    color: #fff7e8;
}

/* modules/home/works/styles.css#surfaces-008 */
@media (max-width:1179px) and (min-width:900px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-layout {
        grid-template-columns: minmax(0,1fr) 52px 210px;
        gap: 0 14px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference-title {
        gap: 8px;}

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-book-cap {
        width: 30px;
        height: 38px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-panel {
        padding-inline: 18px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-row {
        grid-template-columns: 56px minmax(0,1fr) minmax(145px,29%);
        gap: 12px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-thumb {
        width: 56px;
        height: 56px;
    }
}

/* modules/home/works/styles.css#surfaces-009 */
@media (max-width:899px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-heading {
        grid-column: 1;
        grid-row: 1;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .works-heading p {
        max-width: 40ch;
        font-size: 17px;
        margin-top: 12px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-brace {
        display: none;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-panels {
        grid-column: 1;
        grid-row: 2;
        gap: 20px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-row {
        grid-template-columns: 62px minmax(0,1fr) minmax(160px,30%);
        gap: 14px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-thumb {
        width: 62px;
        height: 62px;
    }
}

/* modules/home/works/styles.css#surfaces-010 */
@media (max-width:599px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-panel {
        padding: 14px 16px 10px;
        border-radius: 17px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .project-panel-head {
        gap: 10px;
        padding-bottom: 8px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .panel-label {
        font-size: 15px;
        gap: 8px;
    }
}

/* modules/home/shared/styles.css#surfaces-011 */
@media (max-width:599px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .panel-status-ring {
        width: 23px;
        height: 23px;
        border-width: 2px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .panel-see-all {
        font-size: 11px;
    }
}

/* modules/home/works/styles.css#surfaces-012 */
@media (max-width:599px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .project-row {
        grid-template-columns: 54px minmax(0,1fr);
        grid-template-areas: 'thumb title' 'state state';
        min-height: 130px;
        gap: 9px 12px;
        padding-block: 13px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-thumb {
        width: 54px;
        height: 54px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-title {
        font-size: 14px;
    }
}

/* modules/home/shared/styles.css#surfaces-013 */
@media (max-width:599px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-state {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-status {
        width: 104px;
        flex: none;
        font-size: 11px;
        padding-inline: 7px;
        min-height: 29px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-progress-line {
        grid-template-columns: minmax(0,1fr) 32px;
        gap: 7px;
    }
}

/* modules/home/works/styles.css#surfaces-014 */
@media (max-width:599px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .works-reference .row-percent {
        font-size: 12px;
    }
}

/* modules/home/shared/styles.css#surfaces-015 */
@media (max-width:359px) {
    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-state {
        gap: 8px;
    }

    :where(body.uirh-home-layout-314) .irhp-widget-scope[data-uirh-native] .row-status {
        width: 90px;
    }
}
