﻿/*MIAKKA INQUIRY FORM [miakka_inquiry]*/

    .mk-inquiry {
        --mk-ink: #FFF;
        --mk-muted: rgba(255, 255, 255, 0.72);
        --mk-line: rgba(255, 255, 255, 0.4);
        --mk-error: #FFC9BF;
        --mk-green: #455A53;
        --mk-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
        position: relative;
        max-width: 640px;
        font-family: var(--copy-font-family);
        color: var(--mk-ink);
        text-align: left;
    }

    .mk-inquiry [hidden] {
        display: none !important;
    }

    .mk-inquiry p {
        margin: 0;
    }

    /*LAYOUT*/

        .mk-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 26px 24px;
        }

        .mk-field {
            position: relative;
            flex: 1 1 100%;
            min-width: 0;
        }

        .mk-field--half {
            flex-basis: calc(50% - 12px);
        }

        @media (max-width: 600px) {

            .mk-field--half {
                flex-basis: 100%;
            }

        }

    /*TEXT FIELDS WITH FLOATING LABELS*/

        .mk-control-wrap {
            position: relative;
        }

        .mk-inquiry .mk-control {
            display: block;
            width: 100%;
            margin: 0;
            padding: 22px 0 9px;
            background: transparent;
            border: 0;
            border-bottom: 1px solid var(--mk-line);
            border-radius: 0;
            box-shadow: none;
            font-family: inherit;
            font-size: 16px;
            line-height: 1.4;
            color: var(--mk-ink);
            outline: none;
            -webkit-appearance: none;
            appearance: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .mk-inquiry .mk-control::placeholder {
            color: transparent;
        }

        .mk-inquiry .mk-control:hover {
            border-bottom-color: rgba(255, 255, 255, 0.7);
        }

        .mk-inquiry .mk-control:focus {
            border-bottom-color: var(--mk-ink);
            box-shadow: 0 1px 0 var(--mk-ink);
        }

        /*BROWSER AUTOFILL: KEEP THE TRANSPARENT FIELD AND WHITE TEXT INSTEAD OF THE BROWSER'S PALE BLUE BOX*/

        .mk-inquiry .mk-control:-webkit-autofill,
        .mk-inquiry .mk-control:-webkit-autofill:hover,
        .mk-inquiry .mk-control:-webkit-autofill:focus {
            -webkit-text-fill-color: var(--mk-ink);
            caret-color: var(--mk-ink);
            transition: background-color 600000s 0s, color 600000s 0s, border-color 0.2s, box-shadow 0.2s;
        }

        .mk-inquiry .mk-control:autofill {
            background: transparent;
        }

        .mk-inquiry textarea.mk-control {
            min-height: 92px;
            resize: vertical;
        }

        .mk-inquiry select.mk-control {
            padding-right: 28px;
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFF' stroke-width='1.5'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 4px center;
        }

        .mk-inquiry select.mk-control option {
            color: #1F2A26;
            background: #FFF;
        }

        .mk-label {
            position: absolute;
            top: 22px;
            left: 0;
            max-width: 100%;
            font-size: 16px;
            line-height: 1.4;
            color: var(--mk-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            pointer-events: none;
            transform-origin: left top;
            transition: transform 0.2s var(--mk-ease), color 0.2s;
        }

        .mk-control:focus + .mk-label,
        .mk-control:not(:placeholder-shown) + .mk-label,
        .mk-field--select .mk-label {
            transform: translateY(-21px) scale(0.8);
            color: var(--mk-ink);
        }

        .mk-optional {
            color: var(--mk-muted);
        }

        .mk-inquiry .mk-hint {
            margin-top: 8px !important;
            font-size: 13px;
            line-height: 1.5;
            color: var(--mk-muted);
        }

    /*ERRORS*/

        .mk-inquiry .mk-error {
            margin-top: 8px !important;
            font-size: 13px;
            line-height: 1.5;
            color: var(--mk-error);
        }

        .mk-inquiry .mk-error:empty {
            display: none;
        }

        .mk-invalid .mk-control,
        .mk-invalid .mk-control:hover {
            border-bottom-color: var(--mk-error);
        }

        .mk-invalid .mk-control:focus {
            box-shadow: 0 1px 0 var(--mk-error);
        }

        .mk-alert {
            margin-bottom: 28px;
            padding: 14px 18px;
            border-left: 2px solid var(--mk-error);
            background: rgba(0, 0, 0, 0.14);
            font-size: 14px;
            line-height: 1.5;
        }

        .mk-alert:focus {
            outline: none;
        }

    /*PILL CHOICES (RADIOS) AND QUICK-FILL BUTTONS*/

        .mk-inquiry .mk-legend {
            margin-bottom: 14px !important;
            font-size: 13px;
            letter-spacing: 0.02em;
            color: var(--mk-ink);
        }

        .mk-chips,
        .mk-fills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .mk-fills {
            margin-top: 14px;
        }

        .mk-chip {
            position: relative;
            cursor: pointer;
        }

        .mk-chip input {
            position: absolute;
            opacity: 0;
            width: 1px;
            height: 1px;
            margin: 0;
        }

        .mk-chip span,
        .mk-inquiry .mk-fill {
            display: inline-flex;
            align-items: center;
            min-height: 42px;
            padding: 0 20px;
            border: 1px solid var(--mk-line);
            border-radius: 999px;
            background: transparent;
            font-family: inherit;
            font-size: 15px;
            line-height: 1;
            color: var(--mk-ink);
            cursor: pointer;
            transition: background-color 0.2s, border-color 0.2s, color 0.2s;
        }

        .mk-inquiry .mk-fill {
            min-height: 36px;
            padding: 0 16px;
            font-size: 14px;
        }

        .mk-chip:hover span,
        .mk-inquiry .mk-fill:hover {
            border-color: var(--mk-ink);
        }

        .mk-chip input:checked + span,
        .mk-inquiry .mk-fill[aria-pressed="true"] {
            background: var(--mk-ink);
            border-color: var(--mk-ink);
            color: var(--mk-green);
        }

        .mk-chip input:focus-visible + span,
        .mk-inquiry .mk-fill:focus-visible {
            outline: 2px solid var(--mk-ink);
            outline-offset: 3px;
        }

        .mk-invalid .mk-chip span {
            border-color: var(--mk-error);
        }

    /*CHECKBOX*/

        .mk-check {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 15px;
            cursor: pointer;
        }

        .mk-check input {
            position: absolute;
            opacity: 0;
            width: 1px;
            height: 1px;
        }

        .mk-check span::before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 18px;
            margin-right: 12px;
            vertical-align: -3px;
            border: 1px solid var(--mk-line);
            border-radius: 3px;
            transition: background-color 0.2s, border-color 0.2s;
        }

        .mk-check input:checked + span::before {
            background: var(--mk-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23455A53' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
            border-color: var(--mk-ink);
        }

        .mk-check input:focus-visible + span::before {
            outline: 2px solid var(--mk-ink);
            outline-offset: 3px;
        }

    /*STEPS AND PROGRESS*/

        .mk-js .mk-step:not(.is-active) {
            display: none;
        }

        .mk-step.is-active {
            animation: mk-step-in 0.4s var(--mk-ease);
        }

        @keyframes mk-step-in {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: none; }
        }

        .mk-membership {
            margin-top: 40px;
        }

        .mk-js .mk-membership {
            margin-top: 0;
        }

        .mk-progress {
            margin-bottom: 30px;
        }

        .mk-progress-meta {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            font-size: 13px;
            color: var(--mk-muted);
        }

        .mk-progress-meta [data-mk-progress-title] {
            color: var(--mk-ink);
        }

        .mk-progress-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            margin-top: 12px;
        }

        .mk-progress-bar span {
            height: 2px;
            background: var(--mk-line);
            transition: background-color 0.3s;
        }

        .mk-progress-bar span.is-done {
            background: var(--mk-ink);
        }

        .mk-step-title {
            margin-bottom: 10px !important;
            font-family: var(--heading-font-family);
            font-size: 22px;
            line-height: 1.3;
        }

        .mk-step-title:focus {
            outline: none;
        }

        /*THE PROGRESS BAR SHOWS THE STEP NAME, SO THE TITLE STAYS FOR SCREEN READERS AND FOCUS ONLY*/

        .mk-js .mk-step-title {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }

        .mk-inquiry .mk-note {
            margin-bottom: 8px !important;
            font-size: 14px;
            line-height: 1.6;
            color: var(--mk-muted);
        }

        .mk-inquiry.mk-js .mk-note {
            margin-bottom: 4px !important;
        }

    /*ACTIONS*/

        .mk-actions {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px 24px;
            margin-top: 34px;
        }

        .mk-inquiry .mk-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 48px;
            padding: 0 30px;
            border: 1px solid var(--mk-ink);
            border-radius: 999px;
            background: var(--mk-ink);
            font-family: inherit;
            font-size: 15px;
            letter-spacing: 0.03em;
            color: var(--mk-green);
            cursor: pointer;
            transition: background-color 0.2s, color 0.2s;
        }

        .mk-inquiry .mk-btn::after {
            content: "";
            width: 14px;
            height: 10px;
            background: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
            transition: transform 0.2s var(--mk-ease);
        }

        .mk-inquiry .mk-btn:hover {
            background: transparent;
            color: var(--mk-ink);
        }

        .mk-inquiry .mk-btn:hover::after {
            transform: translateX(3px);
        }

        .mk-inquiry .mk-btn:focus-visible,
        .mk-inquiry .mk-back:focus-visible {
            outline: 2px solid var(--mk-ink);
            outline-offset: 3px;
        }

        .mk-inquiry .mk-btn[aria-busy="true"] {
            opacity: 0.75;
            cursor: progress;
        }

        .mk-inquiry .mk-btn[aria-busy="true"]::after {
            display: none;
        }

        .mk-inquiry .mk-back {
            display: none;
            padding: 6px 0;
            border: 0;
            background: none;
            font-family: inherit;
            font-size: 15px;
            color: var(--mk-muted);
            cursor: pointer;
        }

        .mk-js .mk-back {
            display: inline-block;
        }

        .mk-inquiry .mk-back:hover {
            color: var(--mk-ink);
            text-decoration: underline;
            text-underline-offset: 4px;
        }

    /*THANK YOU*/

        .mk-done {
            padding: 8px 0;
            animation: mk-step-in 0.5s var(--mk-ease);
        }

        .mk-done:focus {
            outline: none;
        }

        .mk-inquiry .mk-eyebrow {
            font-size: 13px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--mk-muted);
        }

        .mk-done-title {
            margin: 12px 0 14px !important;
            font-family: var(--heading-font-family);
            font-size: 30px;
            line-height: 1.2;
        }

        .mk-inquiry .mk-done-copy {
            max-width: 46ch;
            font-size: 16px;
            line-height: 1.6;
            color: var(--mk-muted);
        }

    /*SPAM TRAP + CAPTCHA*/

        .mk-hp {
            position: absolute !important;
            left: -10000px !important;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

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

        .mk-inquiry *,
        .mk-inquiry {
            animation: none !important;
            transition: none !important;
        }

        .mk-inquiry .mk-control:-webkit-autofill {
            transition: background-color 600000s 0s, color 600000s 0s !important;
        }

    }
