@font-face {
    font-family: Inter;
    src: url("fonts/inter.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

.ms-collection-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 17px;
}

.ms-products-panel a.ms-menu-collection {
    padding: 5px 8px;
    color: #334e65;
    font-weight: 600;
    border: 1px solid #dce3e9;
    border-radius: 5px;
}

.ms-products-panel a.ms-menu-collection:hover {
    color: #a33415;
    border-color: #a33415;
}

.ms-drawer.ms-inquiry {
    --inquiry-ink: #152438;
    --inquiry-muted: #4c6074;
    --inquiry-border: #c7d3df;
    --inquiry-accent: #b63810;
    --inquiry-pad: clamp(20px, 5vw, 32px);
    width: min(100%, 500px);
    padding: 0;
    color: var(--inquiry-ink);
    box-shadow: -16px 0 50px #08152535;
    overscroll-behavior: contain;
    font-size: 15px;
    line-height: 1.45;
}

.ms-inquiry-header {
    position: relative;
    padding: max(27px, env(safe-area-inset-top)) calc(var(--inquiry-pad) + 45px) 24px var(--inquiry-pad);
    background: linear-gradient(115deg, #142437, #233d54);
    color: #fff;
}

.ms-inquiry .ms-inquiry-header h2 {
    margin: 0 0 8px;
    color: inherit;
    font: 800 clamp(24px, 4vw, 29px) / 1.2 "Plus Jakarta Sans", Inter, Arial, sans-serif;
    letter-spacing: -.02em;
}

.ms-inquiry-header p {
    margin: 0;
    font-size: 14px;
    color: #e0e9f2;
}

.ms-inquiry .ms-close {
    top: max(14px, env(safe-area-inset-top));
    right: var(--inquiry-pad);
    display: grid;
    place-items: center;
    padding: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff60;
    border-radius: 50%;
    background: #ffffff12;
    color: #fff;
    line-height: 1;
}

.ms-inquiry .ms-close:hover {
    background: #ffffff29;
}

.ms-inquiry-body {
    padding: 22px var(--inquiry-pad) max(20px, env(safe-area-inset-bottom));
}

.ms-inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
    margin: 0;
}

.ms-drawer-full, [data-intent="sample"] .ms-drawer-market {
    grid-column: 1 / -1;
}

.ms-inquiry label.ms-drawer-field:not([hidden]) {
    display: grid;
    gap: 5px;
    margin: 0;
    min-width: 0;
    color: var(--inquiry-ink);
    font-size: 14px;
    font-weight: 650;
}

.ms-drawer-field i {
    color: var(--inquiry-accent);
    font-style: normal;
}

.ms-drawer-field small {
    color: var(--inquiry-muted);
    font-size: 12px;
    font-weight: 400;
}

.ms-inquiry .ms-drawer-field input:not([type="file"]),
.ms-inquiry .ms-drawer-field select,
.ms-inquiry .ms-drawer-field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--inquiry-border);
    border-radius: 8px;
    color: var(--inquiry-ink);
    background: #f8fafb;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
}

.ms-inquiry .ms-drawer-field textarea {
    min-height: 88px;
    resize: vertical;
}

.ms-inquiry .ms-drawer-field textarea::placeholder {
    color: var(--inquiry-muted);
    opacity: 1;
}

.ms-inquiry .ms-drawer-field :is(input:not([type="file"]), select, textarea):focus {
    border-color: #54748c;
    background: #fff;
    outline: 2px solid #54748c;
    outline-offset: 1px;
}

.ms-artwork-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px dashed #849bab;
    border-radius: 9px;
    background: #f1f5f8;
}

.ms-artwork-picker:hover {
    border-color: #365670;
    background: #eaf1f6;
}

.ms-inquiry .ms-artwork-picker input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.ms-artwork-picker:focus-within {
    outline: 2px solid #54748c;
    outline-offset: 2px;
}

.ms-artwork-icon {
    flex: 0 0 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #dfe9f1;
    color: #234459;
    font-size: 20px;
    line-height: 1;
}

.ms-artwork-copy {
    display: grid;
    min-width: 0;
}

.ms-artwork-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-inquiry .ms-drawer-submit {
    min-height: 46px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
}

.ms-inquiry .ms-drawer-submit:hover:not(:disabled) {
    background: #982e0d;
    border-color: #982e0d;
}

.ms-drawer-submit:disabled {
    opacity: .75;
    cursor: wait;
}

.ms-inquiry :is(button, a):focus-visible {
    outline: 2px solid #447291;
    outline-offset: 3px;
}

.ms-inquiry .ms-close:focus-visible {
    outline-color: #fff;
}

.ms-drawer-status {
    margin: 0;
    padding: 9px 12px;
    border-radius: 7px;
    color: #234459;
    background: #eef4f8;
    font-size: 13px;
}

.ms-drawer-status:empty {
    padding: 0;
}

.ms-drawer-status[data-state="success"] {
    color: #245044;
    background: #eaf6ef;
}

.ms-drawer-status[data-state="error"] {
    color: #8a2f19;
    background: #fbefe9;
}

.ms-inquiry-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px solid #e0e7ee;
    color: var(--inquiry-muted);
    font-size: 13px;
}

.ms-inquiry .ms-chat-link {
    color: #234956;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 350px) {
    .ms-inquiry-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

#matspec-home .ms-proof-factory .ms-proof-photo {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.fp-collection {
    color: #152438;
}

.fp-collection-hero {
    background: #edf2f2;
}

.fp-collection-intro {
    display: grid;
    grid-template-columns: 1.05fr minmax(0, .95fr);
    align-items: center;
    gap: clamp(24px, 5vw, 76px);
    padding-block: clamp(32px, 6vw, 80px);
}

.fp-collection-intro h1 {
    font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    font-size: clamp(34px, 4.4vw, 63px);
    font-weight: 800;
    letter-spacing: -.045em;
    margin: 14px 0 18px;
    line-height: 1.1;
}

.fp-collection-breadcrumb, .fp-collection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fp-collection-breadcrumb {
    font-size: 14px;
    color: #42576a;
}

.fp-collection-copy p {
    line-height: 1.65;
    margin-block: 0 12px;
}

.fp-collection-actions {
    margin-block-start: 22px;
}

.fp-collection-intro figure {
    margin: 0;
}

.fp-collection-intro figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.fp-collection-sizes, .fp-project-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 18px;
    margin-top: 22px;
}

.fp-collection-sizes a, .fp-project-example {
    display: flex;
    flex-direction: column;
    border: 1px solid #dce3e9;
    border-radius: 12px;
    overflow: hidden;
    color: #152438;
    background: #fff;
    text-decoration: none;
    transition: box-shadow .22s, transform .22s;
}

.fp-collection-sizes a:is(:hover, :focus-visible), .fp-project-example:is(:hover, :focus-visible) {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px #1524381c;
}

.fp-collection-sizes img, .fp-project-example img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
}

.fp-collection-sizes strong, .fp-project-example div {
    padding: 16px;
}

.fp-project-examples-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.fp-project-examples-head p, .fp-project-examples-head h2,
.fp-project-example h3, .fp-project-example p {
    margin: 0;
}

.fp-project-example p {
    margin-block-start: 6px;
    color: #42576a;
    line-height: 1.55;
}

.fp-project-examples-head a {
    text-underline-offset: 3px;
    color: #234956;
    font-weight: 700;
}

@media (max-width: 760px) {
    .fp-collection-intro {
        grid-template-columns: 1fr;
    }

    #matspec-home .ms-proof-factory .ms-proof-photo {
        left: auto;
        width: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-collection-sizes a, .fp-project-example {
        transition: none;
    }
}

.fp-collection-copy p, .fp-project-examples-head p {
    font-size: clamp(15px, 1.15vw, 17px);
}

.fp-project-example h3 {
    font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    font-size: clamp(18px, 1.5vw, 23px);
    font-weight: 800;
    line-height: 1.28;
}

.fp-project-example p, .fp-project-examples-head a {
    font-size: 15px;
}
