:root {
    --bg: #1c2541;
    --surface: #243055;
    --text: #fdf8d8;
    --muted: #c9c5a8;
    --accent: #d93a63;
    --radius: 12px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Work Sans', system-ui, sans-serif;
    line-height: 1.6
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    margin: 0 0 .5em
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem)
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem)
}

h3 {
    font-size: 1.8rem
}

a {
    color: inherit
}

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

section {
    padding: 5rem 5vw
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 5vw;
    background: linear-gradient(to bottom, rgba(28, 37, 65, .85), rgba(28, 37, 65, 0));
    transition: background .3s ease, box-shadow .3s ease
}

.header.scrolled {
    background: var(--bg);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .4)
}

.logo img {
    display: block;
    width: 80px;
    height: 80px;
    max-width: none;
    flex: none;
    object-fit: contain;
}

.header .logo {
    flex: 0 0 80px;
}

nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap
}

nav a {
    text-decoration: none;
    color: var(--muted)
}

nav a:hover {
    color: var(--text)
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 600;
    margin: 0 0 1rem
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 5vw 5rem
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(28, 37, 65, .92) 0%, rgba(28, 37, 65, .6) 45%, rgba(28, 37, 65, .15) 100%), linear-gradient(0deg, rgba(28, 37, 65, .95) 0%, rgba(28, 37, 65, 0) 50%)
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 640px;
    text-align: left;
    animation: heroRise 1.2s ease-out .3s both
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes kenburns {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.12)
    }
}

.lead {
    font-size: 1.2rem;
    color: var(--muted);
    margin: 0 0 2rem
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    z-index: 0;
    transform-origin: center;
    animation: kenburns 14s ease-out forwards
}

@media(prefers-reduced-motion:reduce) {
    .hero-img {
        animation: none
    }

    .hero-text {
        animation: none
    }
}

.wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(110px, 18vw, 220px);
    grid-auto-flow: dense;
    gap: .5rem
}

.wall .tile {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .4s ease
}

.wall .tile.in {
    opacity: 1;
    transform: none
}

.wall .tile.t-big {
    grid-column: span 2;
    grid-row: span 2
}

.wall .tile.t-wide {
    grid-column: span 2
}

.wall .tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .4s ease
}

.wall .tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(28, 37, 65, .35);
    transition: opacity .4s ease
}

.wall .tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 0 #d93a63;
    transition: box-shadow .4s ease
}

.wall .tile.in:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(217, 58, 99, .35);
    transition-delay: 0ms !important
}

.wall .tile:hover img {
    transform: scale(1.08);
    filter: brightness(1.12)
}

.wall .tile:hover::before {
    opacity: 0
}

.wall .tile:hover::after {
    box-shadow: inset 0 0 0 3px #d93a63, inset 0 0 24px rgba(217, 58, 99, .5)
}

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

    .wall .tile,
    .wall .tile img,
    .wall .tile::before,
    .wall .tile::after {
        transition: none
    }

    .wall .tile {
        opacity: 1;
        transform: none
    }

    .wall .tile:hover img {
        transform: none
    }
}

.social-icons {
    display: inline-flex;
    gap: .6rem
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    transition: background .2s, transform .2s
}

.icon-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08)
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 5vw;
    border-top: 1px solid var(--surface)
}

.footer img {
    width: 88px;
    height: 88px;
    max-width: none;
    flex: none;
    object-fit: contain;
    margin-bottom: .5rem
}

.footer p {
    margin: 0;
    color: var(--muted)
}

.about p {
    max-width: 60ch
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem
}

.svc {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem
}

.svc h3 {
    color: var(--accent)
}

.svc-sub {
    color: var(--muted);
    margin: -.5rem 0 1.5rem
}

.svc-more {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.8rem;
    letter-spacing: .04em;
    color: var(--accent);
    text-align: center;
    margin: 1.5rem 0 0
}

.svc ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted)
}

.svc li {
    margin: .25rem 0
}

@media(max-width:800px) {
    .hero {
        padding-top: 7rem
    }

    .wall {
        grid-template-columns: repeat(2, 1fr)
    }
}