
/* ============================================================
   COOKFITFOOD / AIRM.PC
   MAIN STYLESHEET
   Version 2.0
============================================================ */


/* ============================================================
   01. GOOGLE FONTS
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');


/* ============================================================
   02. GLOBAL SETTINGS
============================================================ */

:root {
    color-scheme: dark;

    --font-main: 'DM Sans', Arial, sans-serif;
    --font-heading: 'Manrope', Arial, sans-serif;

    --background: #ffffff;
    --text: #000;
    --text-muted: #999;

    --brand-green: #49ac03;
    --brand-blue: #00a9df;

    --container-width: 1200px;
    --header-width: 1320px;

    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100svh;
	font-family: var(--font-main);
    background: var(--background);
    color: var(--text);
	
    display: flex;
    flex-direction: column;

    -webkit-font-smoothing: antialiased;

}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   03. HEADER
============================================================ */

.header,
footer {
    width: min(
        var(--header-width),
        calc(100% - 112px)
    );

    margin-inline: auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header {
    padding-block: 36px;
}


/* Wordmark */

.wordmark {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.wordmark > span:not(.domain) {
    color: #929292;
	text-align: center;
}

.domain {
    font-weight: 400;
    color: #aaa;
}


/* Origin indicator */

.origin {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #aaa;
}

.origin i {
    width: 7px;
    height: 7px;

    background: #fff;
    border-radius: 50%;
}


/* ============================================================
   04. MAIN CONTENT
============================================================ */

main {
    width: min(
        var(--container-width),
        calc(100% - 112px)
    );

    margin: auto;
    padding: 44px 0 70px;
}


/* ============================================================
   05. INTRO SECTION
============================================================ */

.intro {
    text-align: center;
    margin-bottom: 49px;
}

.eyebrow {
    margin: 0 0 21px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;

    color: #999;
}


/* Main heading */

h1 {
    margin: 0;

    font-family: var(--font-heading);
    font-size: clamp(40px, 4.2vw, 62px);
    font-weight: 500;

    letter-spacing: -2.8px;
    line-height: 1.14;
}

h1 span {
    color: #8c8c8c;
	text-align: center;
	
}


/* Welcome text */

.welcome {
    margin: 22px 0 0;

    font-size: 14px;
    line-height: 1.6;

    color: #999;
}


/* ============================================================
   06. TILE GRID
============================================================ */

.tiles {
    display: grid;

    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );

    gap: 24px;

    perspective: 1200px;
}


/* ============================================================
   07. TILE DESIGN
============================================================ */

.tile {
    /* Default brand */

    --brand: #005273;
    --glow: rgba(0, 142, 197, .25);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 370px;
    padding: 26px 27px 25px;

    color: #15191d;

    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f8fafb 100%
    );

    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;

    /* Initial shadow */

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .25),
        0 2px 5px rgba(255, 255, 255, .08);

    /* Smooth transitions */

    transition:
        transform .45s cubic-bezier(.2, .75, .25, 1),
        box-shadow .45s ease,
        border-color .4s ease;
}


/* ============================================================
   08. INDIVIDUAL BRAND COLORS
============================================================ */

/* CookFitFood */

.cookfitfood {
    --brand: #49ac03;
    --glow: rgba(73, 172, 3, .30);
}


/* AIRM.PC */

.airm {
    --brand: #00a9df;
    --glow: rgba(0, 169, 223, .30);
}


/* ============================================================
   09. TILE LIGHT EFFECT
============================================================ */

.tile::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;
    pointer-events: none;

    background: radial-gradient(
        circle at 50% 0%,
        var(--glow),
        transparent 65%
    );

    opacity: .12;

    transition: opacity .45s ease;
}


/* ============================================================
   10. TILE HEADER
============================================================ */

.tile-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;

    color: #73797d;
}

.number {
    color: #adb1b3;
    letter-spacing: 0;
}


/* ============================================================
   11. LOGO / IMAGE
============================================================ */

.logo {
    height: 237px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 23px 0 19px;
}

.logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .55s cubic-bezier(.2, .75, .25, 1);
}


/* Raphael logo */

.raphael .logo img {
    max-width: 205px;
}


/* ============================================================
   12. TILE BOTTOM / TEXT
============================================================ */

.tile-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    padding-top: 20px;

    border-top: 1px solid #eceeef;
}

h2 {
    margin: 0 0 7px;

    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;

    letter-spacing: -.6px;
}

.tile-bottom p {
    margin: 0;

    font-size: 12px;
    color: #7b8084;
}


/* ============================================================
   13. ARROW
============================================================ */

.arrow {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid #e7e9eb;
    border-radius: 50%;

    font-size: 23px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .4s ease,
        border-color .3s ease;
}


/* ============================================================
   14. ACCENT LINE
============================================================ */

.accent {
    position: absolute;
    inset: auto 0 0;

    height: 5px;

    background: var(--brand);

    transform: scaleX(.35);
    transform-origin: center;

    transition:
        transform .45s ease,
        height .3s ease;
}


/* ============================================================
   15. HOVER EFFECTS
============================================================ */

@media (hover: hover) {

    /* Main tile animation */

    .tile:hover {
        transform: translateY(-14px) scale(1.015);

        border-color: var(--brand);

        box-shadow:
            0 25px 55px rgba(0, 0, 0, .4),
            0 0 25px var(--glow),
            0 0 55px var(--glow);
    }


    /* Light effect */

    .tile:hover::before {
        opacity: .4;
    }


    /* Logo animation */

    .tile:hover .logo img {
        transform: scale(1.07);
    }


    /* Arrow animation */

    .tile:hover .arrow {
        background: var(--brand);
        border-color: var(--brand);
        color: white;

        transform: rotate(45deg) scale(1.08);
    }


    /* Accent animation */

    .tile:hover .accent {
        transform: scaleX(1);
        height: 6px;
    }

}


/* ============================================================
   16. KEYBOARD ACCESSIBILITY
============================================================ */

.tile:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 7px;

    transform: translateY(-8px);
}

.tile:focus-visible .arrow {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}


/* ============================================================
   17. FOOTER
============================================================ */

footer {
    padding-block: 25px;

    font-size: 10px;
    letter-spacing: .3px;

    color: #737373;

    border-top: 1px solid #202020;
	
}


/* ============================================================
   18. LARGE SCREENS (1500px+)
============================================================ */

@media (min-width: 1500px) {

    main {
        padding-block: 60px 100px;
    }

    .intro {
        margin-bottom: 58px;
    }

    .tile {
        min-height: 400px;
    }

    .logo {
        height: 267px;
    }

}


/* ============================================================
   19. TABLETS (MAX 1000px)
============================================================ */

@media (max-width: 1000px) {

    .header,
    footer,
    main {
        width: calc(100% - 56px);
    }

    .tiles {
        gap: 16px;
    }

    .tile {
        padding: 22px 19px;
        min-height: 330px;
    }

    .logo {
        height: 210px;
    }

    .tile-top {
        font-size: 8px;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 16px;
    }

    .arrow {
        width: 32px;
        height: 32px;
    }

    .tile-bottom p {
        font-size: 11px;
    }

}


/* ============================================================
   20. MOBILE (MAX 720px)
============================================================ */

@media (max-width: 720px) {

    /* Header */

    .header,
    footer,
    main {
        width: calc(100% - 40px);
    }

    .header {
        padding-block: 25px;
    }

    .wordmark {
        font-size: 21px;
    }

    .origin {
        font-size: 8px;
        letter-spacing: 1px;
        gap: 7px;
    }

    .origin i {
        width: 5px;
        height: 5px;
    }


    /* Main */

    main {
        padding: 43px 0 48px;
    }

    .intro {
        margin-bottom: 33px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 2px;
    }

    h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .welcome {
        font-size: 12px;
        max-width: 250px;
        margin: 20px auto 0;
    }


    /* Tiles */

    .tiles {
        grid-template-columns: 1fr;

        max-width: 410px;
        margin: auto;

        gap: 22px;
    }

    .tile {
        padding: 24px;
        min-height: 350px;
    }

    .logo {
        height: 230px;
    }

    .tile-top {
        font-size: 9px;
    }

    h2 {
        font-size: 19px;
    }

    .tile-bottom p {
        font-size: 12px;
    }

    .arrow {
        width: 36px;
        height: 36px;
    }


    /* Footer */

    footer {
        font-size: 9px;
        gap: 12px;
    }

}


/* ============================================================
   21. REDUCED MOTION / ACCESSIBILITY
============================================================ */

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

}
```