/* ------------------------------------------------------------ */
/*  The Kitchen - responsive.css                                 */
/*  min-width overrides only - mobile-first                      */
/* ------------------------------------------------------------ */

@media (min-width: 768px) {
    .section-p {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .single-p {
        padding-bottom: 96px;
    }

    .section-title h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .section-title p {
        font-size: 20px;
        line-height: 32px;
    }

    .tk-hero {
        padding-top: 136px;
        padding-bottom: 96px;
    }

    .tk-hero__heading {
        font-size: 56px;
        line-height: 60px;
    }

    .tk-hero__lead {
        font-size: 22px;
        line-height: 34px;
    }

    .tk-screen--bleed {
        width: calc(100% + 72px);
    }

    .tk-screen--bleed .tk-screen__img {
        aspect-ratio: 16 / 10;
    }

    .tk-panel {
        padding: 40px;
    }

    .tk-feature {
        flex-direction: column;
    }

    .tk-feature__icon {
        width: auto;
        padding-top: 0;
        font-size: 32px;
    }

    .tk-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* the burst buttons have their own width now, with room beside them for the doodles */
    .tk-burst {
        display: block;
    }
}

@media (min-width: 992px) {
    /* nav inline: brand, the three menu items, then the returning visitor's door and the button */
    .tk-nav .navbar {
        --bs-navbar-nav-link-padding-x: 8px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .tk-nav--scrolled .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .tk-brand__mark {
        height: 40px;
    }

    .tk-nav .navbar-nav {
        gap: 4px;
    }

    .tk-nav .nav-link,
    .tk-nav__menu .nav-link {
        font-family: var(--body-font);
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .tk-nav__menu .nav-link,
    .tk-nav__door .nav-link {
        margin-left: 0;
        margin-right: 0;
    }

    .tk-nav .tk-nav__panel .offcanvas-body {
        flex-direction: row;
        align-items: center;
        flex-grow: 1;
        gap: 4px;
    }

    .tk-nav__menu {
        margin-left: 32px;
    }

    /* the French menu labels run about 100px longer: the row needs the room up to 1200px */
    .tk-nav__menu:lang(fr) {
        margin-left: 8px;
    }

    .tk-nav__door {
        margin-left: auto;
    }

    .tk-nav__cta {
        margin-left: 12px;
    }

    .tk-nav__cta .btn.btn-tk-primary {
        padding: 10px 20px;
    }

    .tk-hero {
        padding-top: 152px;
    }

    .tk-hero__heading {
        font-size: 64px;
        line-height: 68px;
    }

    /* a display phrase that runs longer (the French "entre vos mains."), one step down beside the screen */
    .tk-hero__heading.tk-hero__heading--long {
        font-size: 56px;
        line-height: 60px;
    }

    .tk-screen {
        padding: 12px;
        border-radius: 20px;
    }

    /* the bleeding screen runs off the container's right edge and 48px past the viewport's (container 960px).
       Its picture's 992px source is drawn at its own declared size (sizes), never stretched to the column:
       the mat crops it and the viewport cuts its right side */
    .tk-screen--bleed {
        width: calc(100% + 50vw - 420px);
        overflow: hidden;
    }

    .tk-screen--bleed .tk-screen__img {
        width: auto;
        max-width: none;
        aspect-ratio: auto;
    }

    .tk-notice {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 48px;
    }

    /* the page tree: the line sits on the content's left edge (container 960px) */
    .tk-tree::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(50% - 468px);
        width: 1px;
        background-color: var(--light-blue);
    }

    .tk-tree--first::before {
        top: 24px;
    }

    .tk-tree--last::before {
        bottom: auto;
        height: 120px;
    }

    .tk-tree__node {
        padding-top: 14px;
    }

    .tk-tree__node::before {
        top: 24px;
    }

    .tk-panel {
        padding: 48px;
    }
}

@media (min-width: 1200px) {
    .tk-nav .navbar {
        --bs-navbar-nav-link-padding-x: 12px;
    }

    .tk-nav .nav-link,
    .tk-nav__menu .nav-link {
        font-size: 18px;
        line-height: 28px;
    }

    .tk-nav__menu,
    .tk-nav__menu:lang(fr) {
        margin-left: 48px;
    }

    .section-title h2 {
        font-size: 44px;
        line-height: 52px;
    }

    .tk-hero__heading {
        font-size: 72px;
        line-height: 76px;
    }

    .tk-hero__heading.tk-hero__heading--long {
        font-size: 64px;
        line-height: 68px;
    }

    .tk-screen--bleed {
        width: calc(100% + 50vw - 510px);
    }

    .tk-tree::before {
        left: calc(50% - 558px);
    }

    .tk-tree--first::before {
        top: 26px;
    }

    .tk-tree--last::before {
        height: 122px;
    }

    .tk-tree__node {
        padding-top: 14px;
        font-size: 16px;
        line-height: 24px;
    }

    .tk-tree__node::before {
        top: 26px;
    }
}

@media (min-width: 1400px) {
    /* 48px past the viewport at any width (container 1320px): the screen is drawn at its own size, so a wide window shows more of it, never a bigger one */
    .tk-screen--bleed {
        width: calc(100% + 50vw - 600px);
    }

    .tk-tree::before {
        left: calc(50% - 648px);
    }
}
