@media (min-width: 1000px) {
    @keyframes helloSite {
        0% {
            -webkit-clip-path: inset(50% 50% 50% 50%);
            clip-path: inset(50% 50% 50% 50%);
        }
        30% {
            -webkit-clip-path: inset(33% 43% 33% 43%);
            clip-path: inset(33% 43% 33% 43%);
        }
        60% {
            -webkit-clip-path: inset(33% 43% 33% 43%);
            clip-path: inset(33% 43% 33% 43%);
        }
        to {
            -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
        }
    }
}

@media (min-width: 901px) {
    .grid-michelin-mobile {
        display: none;
    }
}

@media (max-width: 900px) {
    .brand-mark {
        top: 10px;
    }

    .site-grid-top-right {
        display: flex;
        margin-top: 0;
    }

    .hide_on_mobile {
        display: none;
    }

    .site-grid-bottom-left {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 3;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 6px;
        text-align: center;
        pointer-events: none;
        z-index: 0;
    }

    .site-grid-bottom-left .grid-social-row,
    .site-grid-bottom-left .grid-extra-links {
        display: none;
    }

    .site-grid-top-center {
        grid-column: 1 / -1;
        grid-row: 1;
        align-items: flex-start;
        justify-content: stretch;
        padding: 0 48px 0 55px;
    }

    .site-grid-top-center .grid-cta {
        flex: 1;
        justify-content: center;
        height: 40px;
        box-sizing: border-box;
        padding-top: .2em;
        padding-bottom: 0;
    }

    .grid-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        box-sizing: border-box;
        border: 1px solid var(--fg-20);
        border-radius: 50%;
        background: var(--bg);
        color: var(--fg);
        transition: border-color 0.3s ease, background-color var(--theme-fade), color var(--theme-fade);
    }

    .grid-phone:hover,
    .grid-phone:focus-visible {
        border-color: var(--fg-70);
    }

    .grid-phone-icon {
        display: block;
        width: 17px;
        height: 17px;
    }

    .grid-phone-number {
        display: none;
    }

    .site-grid-bottom-right {
        padding-bottom: 60px;
    }

    .site-grid-bottom-left img.Michelin {
        display: none;
    }

    .grid-michelin-mobile {
        display: flex;
        justify-content: flex-start;
        margin-top: 6px;
    }

    .grid-michelin-mobile img.Michelin {
        width: 100%;
        height: auto;
    }

    .site-grid-center:not(".past_presnt") {
        display: none;
    }

    .site-grid-center.past_presnt {
        grid-column: 1;
        grid-column-end: 4;
    }

    .bottom-bar {
        right: 0;
        left: 0;
        clip-path: none;
        -webkit-clip-path: none;
    }

    .menu-toggle-btn {
        position: fixed;
        bottom: 0;
        left: 0;
        right: auto;
        width: 50%;
        height: var(--bar-h-mobile);
        font-size: 14px;
        clip-path: none;
        -webkit-clip-path: none;
        border-radius: 0;
        align-items: center;
        padding-bottom: 0px;
        background: var(--fg);
    }

    .mobile-reserve-btn {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 50%;
        height: var(--bar-h-mobile);
        background: var(--fg);
        color: var(--bg);
        border: none;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        padding: 10px 24px;
        cursor: pointer;
        z-index: 200;
        opacity: 0;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-hero {
        height: calc(100vh - var(--bar-h-mobile));
    }

    .hero-definition-overlay {
        padding-bottom: var(--bar-h-mobile);
    }

    .canvas-menu-more {
        display: block;
    }

    .canvas-menu-panel-inner {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .canvas-menu-panel-inner::-webkit-scrollbar {
        display: none;
    }

    .letter-note {
        width: min(90vw, 560px);
        max-width: none;
        text-align: center;
        font-size: clamp(15px, 3.4vw, 20px);
    }

    .hint-pointer {
        display: none;
    }

    .hint-touch {
        display: inline;
    }

    .menu-overlay-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px 24px;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        padding-top: 50px;
    }

    .menu-cell-bottom-nav {
        order: -1;
        padding-top: 0;
        padding-bottom: 12px;
        justify-content: center;
        width: 100vw;
        margin-left: -24px;
        padding-left: 5px;
        padding-right: 5px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-tab-btn {
        flex: 0 1 auto;
        min-width: 0;
        font-size: 30px;
    }

    .menu-tab-sep {
        flex-shrink: 0;
    }

    .menu-cell-content {
        order: 1;
        padding-right: 0;
        flex-grow: 1;
        min-width: 0;
        overflow-x: hidden;
    }

    .menu-cell-reserve {
        order: 2;
        grid-template-rows: auto;
        padding-left: 0;
        flex-grow: 1;
    }

    .menu-cell-top-left {
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
        padding-bottom: 55px;
        flex-shrink: 0;
    }

    .menu-tab-panel.is-active {
        width: 100%;
    }

    .panel-subtab-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }

    .panel-subtab-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--fg-20);
        padding-right: 0;
        padding-bottom: 12px;
        gap: 12px 16px;
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .panel-subtab-btn {
        font-size: 14px;
        padding: 5px 8px;
        white-space: normal;
    }

    .panel-subtab-content {
        width: 100%;
        flex: 1;
        display: block;
        align-items: flex-start;
    }

    .panel-subtab-pane.is-active {
        width: 100%;
    }

    .menu-reserve-links {
        display: none;
    }

    .menu-overlay-nav {
        min-width: unset;
    }

    .menu-overlay-content {
        overflow-y: visible;
    }

    .bg-switcher,
    .view-switcher {
        font-size: 9px;
        gap: 7px;
    }

    .logo-concepts .hero-definition-overlay {
        z-index: 1001;
    }

    .past_present .logo-slider-controls {
        width: 100%;
    }

    .gallery-img {
        height: calc(100vh - var(--bar-h-mobile));
    }

    .gallery-img img {
        min-width: 220px;
    }

    .filter-panel,
    .filter-panel[data-side="left"],
    .filter-panel[data-side="right"],
    .filter-panel[data-side="top"],
    .filter-panel[data-side="bottom"],
    .filter-panel[data-side="corner"],
    .filter-panel[data-side="split"] {
        display: block;
        left: 6vw;
        right: 6vw;
        top: 11vh;
        bottom: auto;
        width: auto;
        margin: 0;
    }

    .filter-panel[data-side="corner"] {
        inset: auto;
        top: 10vh;
        left: 6vw;
        right: 6vw;
        width: auto;
    }

    .filter-panel-wide[data-side="top"],
    .filter-panel-wide[data-side="bottom"] {
        width: auto;
        left: 6vw;
        right: 6vw;
    }

    .filter-panel-title {
        margin-bottom: 12px;
    }

    .filter-panel-body {
        font-size: 12px;
        line-height: 1.7;
    }

    .filter-panel-body + .filter-panel-body {
        margin-top: 0.9em;
    }

    .filter-panel-tabs {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .filter-panel-tablist {
        display: none;
    }

    .filter-panel-tabselect {
        display: block;
    }

    .filter-panel-tabpanel .filter-panel-body {
        font-size: 13px;
        line-height: 1.6;
    }

    .filter-panel-corner {
        position: static;
        width: auto;
    }

    .filter-panel-corner-br {
        text-align: left;
        margin-top: 18px;
    }

    .site-switcher .switcher-note {
        top: calc(var(--grid-pad, 10px) - 3px);
        bottom: auto;
        left: 96px;
        right: 96px;
        width: auto;
        height: 40px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-switcher .switcher-nav {
        top: calc(var(--grid-pad, 10px) + 52px);
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .filter-panel-body {
        display: none;
    }
}

@media (max-width: 760px) {
    .definition-phonetic {
        width: calc(100% + 48px);
    }

    .loading-counter {
        font-size: clamp(9px, 2.6vw, 12px);
        letter-spacing: 0.04em;
    }

    .loading-counter::after {
        margin-left: 0.1em;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        width: min(86vw, 460px);
    }

    .pillars-tab {
        --pillars-icon: 38px;
        top: auto;
        left: auto;
        right: calc(50% - var(--pillars-icon) / 2);
        transform: none;
    }

    .pillars-tab-icon {
        order: 0;
    }

    .pillars-tab-label {
        justify-content: flex-end;
    }

    .pillars-tab-label > span {
        padding-left: 18px;
        padding-right: 4px;
    }

    body.pillars-open .pillars-tab {
        visibility: hidden;
        pointer-events: none;
    }

    .pillars-panel.is-open .pillars-close {
        display: block;
        pointer-events: auto;
    }

    .filter-panel[data-side="split"] {
        display: block;
        padding: 0;
    }

    .filter-panel[data-side="split"] .filter-panel-band {
        width: auto;
    }

    .filter-panel[data-side="split"] .filter-panel-band + .filter-panel-band {
        margin-top: 14px;
    }

    .filter-panel[data-side="split"] .filter-panel-body {
        font-size: 12px;
        line-height: 1.55;
    }
}

@media (max-width: 700px) {
    .partners-panel {
        width: min(88vw, 420px);
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .partners-item img {
        max-height: 58px;
    }

    .partners-title {
        margin-bottom: 22px;
    }

    .legal-doc {
        padding: 12vh 0 18vh;
    }

    .legal-head {
        margin-bottom: 8vh;
    }

    .legal-close {
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 600px) {
    .bottom-bar {
        justify-content: flex-start;
        padding-left: 12px;
        box-sizing: border-box;
    }

    .canvas-menu {
        width: calc(100vw - 80px);
    }

    .site-grid-cell.site-grid-bottom-left {
        display: none;
    }

    .theme-switch {
        position: fixed;
        right: 24px;
        bottom: 24px;
        width: 24px;
        height: 24px;
        margin: 0;
        z-index: 210;
    }

    .gallery-img img {
        min-width: 180px;
    }

    .menu-link {
        font-size: clamp(14px, 4vw, 18px);
    }
}

@media (max-width: 600px) and (orientation: portrait) {
    .rotate-prompt {
        display: block;
        position: absolute;
        bottom: calc(100% + 28px);
        left: 50%;
        transform: translateX(-50%);
        width: min(70%, 240px);
        pointer-events: none;
    }
}
