/* Country selector page (/). Ported from the designprodukt.com Laravel stylesheet (resources/css/app.css). */
@font-face {font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/gateway/manrope-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/gateway/manrope-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/gateway/manrope-latin-500-normal.woff2') format('woff2');}
@font-face {font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/gateway/manrope-latin-600-normal.woff2') format('woff2');}
@font-face {font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/gateway/manrope-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/gateway/manrope-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Newsreader';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/gateway/newsreader-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Newsreader';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/gateway/newsreader-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Newsreader';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/gateway/newsreader-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Newsreader';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/gateway/newsreader-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root {
    --bone: #f5f2ea;
    --bone-deep: #ece7dc;
    --surface: #fff;
    --ink: #17201c;
    --ink-soft: #52605a;
    --moss: #2f5d50;
    --moss-dark: #24483e;
    --moss-pale: #dfe9e4;
    --clay: #a94f35;
    --clay-dark: #873d2a;
    --clay-pale: #f2dfd7;
    --line: rgba(23, 32, 28, 0.14);
    --line-strong: rgba(23, 32, 28, 0.24);
    --shadow-soft: 0 18px 50px rgba(29, 39, 34, 0.08);
    --shadow-card: 0 10px 28px rgba(29, 39, 34, 0.07);
    --radius: 16px;
}

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

html {
    background: var(--surface);
    color: var(--ink);
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}
a {
    color: inherit;
    text-decoration: none;
}
body {
    background: var(--surface);
    color: var(--ink);
    font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
}

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

h1, p {
    margin: 0;
}

.wordmark {
    align-items: baseline;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.wordmark span {
    color: var(--clay);
    font-family: 'Newsreader', serif;
    font-size: 1.35em;
    line-height: 0;
}

.eyebrow {
    color: var(--moss);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

/* Gateway */
.gateway-page main {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
    min-height: 100svh;
}

.gateway-copy {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 4vw, 70px);
}

.gateway-copy__content {
    margin: auto 0;
    max-width: 530px;
    padding-block: 50px;
}

.gateway-copy__content h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(46px, 5vw, 74px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0 0 25px;
}

.gateway-copy__content > p:not(.eyebrow, .remembered-market) {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 34px;
    max-width: 470px;
}

.remembered-market {
    background: var(--moss-pale);
    border-radius: 8px;
    color: var(--moss-dark);
    font-size: 12px;
    margin: -15px 0 20px;
    padding: 10px 13px;
}

.country-cards {
    display: grid;
    gap: 10px;
}

.country-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 16px;
    grid-template-columns: 48px 1fr auto;
    padding: 16px 18px;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.country-card:hover,
.country-card.is-remembered {
    background: white;
    border-color: var(--moss);
    transform: translateX(3px);
}

.country-card__flag {
    align-items: center;
    display: grid;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.country-card__flag .country-flag {
    border-radius: 3px;
    height: 24px;
    width: 32px;
}

.country-card__flag .country-flag[data-country-flag='ch'] {
    width: 24px;
}

.country-card strong,
.country-card small {
    display: block;
}

.country-card strong {
    font-family: 'Newsreader', serif;
    font-size: 21px;
    font-weight: 500;
}

.country-card small {
    color: var(--ink-soft);
    font-size: 10px;
    margin-top: 2px;
}

.gateway-foot {
    color: var(--ink-soft);
    font-size: 10px;
    margin: 0;
}

.gateway-image {
    min-height: 640px;
    overflow: hidden;
    position: relative;
}

.gateway-image > picture {
    inset: 0;
    position: absolute;
}

.gateway-image > picture img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.gateway-image::after {
    background: linear-gradient(180deg, transparent 65%, rgba(23, 32, 28, 0.48));
    content: '';
    inset: 0;
    position: absolute;
}

.gateway-caption {
    align-items: end;
    bottom: 36px;
    color: white;
    display: flex;
    gap: 20px;
    left: 40px;
    position: absolute;
    z-index: 1;
}

.gateway-caption span {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: grid;
    font-size: 10px;
    height: 34px;
    place-items: center;
    width: 34px;
}

.gateway-caption p {
    font-family: 'Newsreader', serif;
    font-size: 25px;
    line-height: 1.1;
    margin: 0;
}


@media (max-width: 1023px) {
    .gateway-page main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .gateway-page {
        padding-bottom: 0;
    }

    .gateway-page main {
        display: block;
    }

    .gateway-copy {
        min-height: 100svh;
        padding: 26px 20px;
    }

    .gateway-copy__content {
        max-width: none;
        padding-block: 45px 20px;
    }

    .gateway-copy__content h1 {
        font-size: clamp(44px, 14vw, 64px);
    }

    .gateway-image {
        min-height: 520px;
    }

    .gateway-foot {
        margin-top: 25px;
    }
}
