:root {
    --navy: #082b40;
    --deep: #061f30;
    --orange: #f58220;
    --slate: #687f88;
    --paper: #f5f7f7;
    --ink: #173747
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper)
}

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

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    max-width: 100%
}

.container {
    width: min(1260px, calc(100% - 96px));
    margin: auto
}

.skip {
    position: absolute;
    top: -60px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 10px
}

.skip:focus {
    top: 10px
}

.header {
    height: 86px;
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(48px, calc((100vw - 1260px)/2));
    background: linear-gradient(180deg, rgba(4, 30, 46, .82), rgba(4, 30, 46, 0))
}

.header img {
    display: block;
    width: 182px;
    height: auto;
    filter: brightness(1.6)
}

.header nav {
    display: flex;
    gap: 36px;
    align-items: center;
    color: #f5f7f7;
    font-size: 12px;
    font-weight: 700
}

.header nav a:not(.nav-cta):hover {
    color: var(--orange)
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, .4);
    padding: 13px 18px;
    border-radius: 2px
}

.nav-cta:hover {
    background: var(--orange);
    border-color: var(--orange)
}

.menu-toggle {
    display: none
}

.section-pad {
    padding: 116px 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--orange);
    font-size: 11px;
    letter-spacing: .17em;
    font-weight: 800
}

.eyebrow:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: currentColor
}

.eyebrow.light {
    color: #FFFFFF
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2 {
    letter-spacing: -.055em
}

h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.06;
    margin: 20px 0 0;
    font-weight: 800
}

.period {
    color: var(--orange)
}

.section-head {
    display: grid;
    grid-template-columns: 1.15fr .72fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 54px
}

.section-head p {
    font-size: 16px;
    line-height: 1.85;
    color: #66808d;
    max-width: 460px;
    margin: 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 23px;
    min-height: 56px;
    border: 0;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .25s, background .25s
}

.button:hover {
    transform: translateY(-3px)
}

.orange {
    background: var(--orange);
    color: #fff
}

.orange:hover {
    background: #e66e10
}

.white {
    background: #fff;
    color: var(--navy)
}

.white:hover {
    background: #ffead9
}

.hero {
    position: relative;
    min-height: 790px;
    height: min(900px, 100svh);
    color: white;
    background: var(--deep) url('assets/headline.jpg') center/cover fixed
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 29, 45, .94) 0%, rgba(4, 32, 50, .78) 46%, rgba(4, 28, 43, .57) 100%)
}

.hero-inner {
    position: relative;
    min-height: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 15px;
    padding-top: 65px
}

.hero-copy {
    z-index: 2
}

.hero h1 {
    font-size: clamp(45px, 5.5vw, 73px);
    line-height: 1.06;
    margin: 27px 0 27px;
    max-width: 850px;
    font-weight: 800
}

.hero h1 em,
.manifesto h2 em,
.contact h2 em {
    font-style: normal;
    color: var(--orange)
}

.hero-copy p {
    font-size: 16px;
    line-height: 1.95;
    max-width: 575px;
    color: #d0dce1
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 35px
}

.text-link {
    font-size: 12px;
    font-weight: 700;
    color: #fff
}

.text-link:hover {
    color: var(--orange)
}

.hero-foot {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    color: #a6bac4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em
}

.orbit-scene {
    position: relative;
    width: min(590px, 46vw);
    aspect-ratio: 1;
    margin: auto;
    isolation: isolate
}

.orbit {
    position: absolute;
    border: 1px solid rgba(242, 244, 245, .22);
    border-radius: 50%;
    inset: 8%;
    animation: spin 38s linear infinite
}

.ring-one {
    inset: 31%;
    animation-duration: 19s
}

.ring-two {
    inset: 17%;
    animation-duration: 29s;
    animation-direction: reverse
}

.ring-three {
    inset: 2%;
    animation-duration: 41s
}

.orbit:after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(245, 130, 32, .5);
    transform: rotate(35deg)
}

.orbit i {
    position: absolute;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: var(--orange);
    box-shadow: 0 0 20px var(--orange)
}

.orbit i:nth-child(1) {
    top: -4px;
    left: 50%
}

.orbit i:nth-child(2) {
    bottom: 15%;
    left: 10%;
    width: 13px;
    height: 13px
}

.orbit i:nth-child(3) {
    right: -3px;
    top: 52%;
    width: 5px;
    height: 5px;
    background: white;
    box-shadow: 0 0 15px white
}

.ring-three i:nth-child(2) {
    width: 5px;
    height: 5px;
    background: #fff
}

.orbit-core {
    position: absolute;
    inset: 39%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, #f9fcfc 0%, #dce8e9 71%, #abbfc6 100%);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .05), 0 0 70px rgba(245, 130, 32, .23);
    z-index: 2
}

.orbit-core img {
    width: 46%;
    height: auto
}

.orbit-core span {
    font-size: clamp(7px, .7vw, 11px);
    font-weight: 800;
    letter-spacing: .22em;
    color: var(--navy)
}

.orbit-label {
    position: absolute;
    z-index: 3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    color: white;
    padding: 8px 11px;
    background: rgba(7, 39, 58, .8);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15)
}

.label-one {
    top: 16%;
    left: 17%;
    animation: float 6s ease-in-out infinite
}

.label-two {
    top: 27%;
    right: 0;
    animation: float 7s ease-in-out infinite reverse
}

.label-three {
    bottom: 19%;
    right: 17%;
    animation: float 5s ease-in-out infinite
}

.label-four {
    bottom: 25%;
    left: 1%;
    animation: float 8s ease-in-out infinite reverse
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes float {
    50% {
        transform: translateY(-12px)
    }
}

.services {
    background: var(--paper)
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #dce5e7;
    border: 1px solid #dce5e7
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 37px;
    background: #fff;
    transition: background .3s, transform .3s
}

.service-card:hover {
    background: #f9faf9;
    transform: translateY(-4px);
    z-index: 1;
    box-shadow: 0 15px 35px rgba(8, 43, 64, .08)
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--orange)
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 14px
}

.service-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #718690;
    max-width: 310px
}

.service-card>span {
    position: absolute;
    bottom: 30px;
    right: 35px;
    font-size: 22px;
    color: var(--orange)
}

.manifesto {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #cf611a url('assets/manifesto.webp') center/cover fixed
}

.manifesto:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(183, 67, 11, .93), rgba(234, 103, 20, .86) 58%, rgba(245, 130, 32, .55))
}

.manifesto-content {
    position: relative;
    padding: 95px 0
}

.manifesto h2 {
    font-size: clamp(40px, 5vw, 68px);
    max-width: 910px;
    margin: 25px 0
}

.manifesto h2 em {
    color: #fff1df
}

.manifesto p {
    max-width: 720px;
    line-height: 1.9;
    font-size: 16px;
    color: #fff6ee;
    margin-bottom: 30px
}

.projects {
    background: #fff;
    overflow: hidden
}

.carousel-controls {
    display: flex;
    gap: 9px;
    margin-top: 25px
}

.carousel-controls button {
    width: 48px;
    height: 48px;
    border: 1px solid #cbd8dc;
    background: white;
    color: var(--navy);
    font-size: 20px;
    transition: .2s
}

.carousel-controls button:hover {
    background: var(--navy);
    color: white
}

.project-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 max(48px, calc((100vw - 1260px)/2)) 30px;
    outline-offset: -3px
}

.project-track::-webkit-scrollbar {
    display: none
}

.project-card {
    flex: 0 0 min(440px, 80vw);
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid #e0e8ea;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(8, 43, 64, .1)
}

.project-visual {
    height: 263px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #09354b, #31596a 52%, #e08030);
    display: flex;
    align-items: center;
    justify-content: center
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .7s
}

.project-card:hover .project-visual img {
    transform: scale(1.05)
}

.project-fallback {
    position: absolute;
    color: rgba(255, 255, 255, .75);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    padding: 30px
}

.project-visual img {
    position: relative;
    z-index: 1
}

.project-visual img.image-error {
    display: none
}

.project-status {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    background: rgba(8, 43, 64, .86);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 9px 12px;
    text-transform: uppercase
}

.project-copy {
    padding: 29px 29px 25px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.project-copy .category {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 800;
    text-transform: uppercase
}

.project-copy h3 {
    font-size: 22px;
    letter-spacing: -.04em;
    margin: 12px 0
}

.project-copy p {
    font-size: 12px;
    line-height: 1.75;
    color: #718690;
    flex: 1
}

.project-copy a {
    font-weight: 800;
    font-size: 11px;
    color: var(--navy);
    align-self: flex-start;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 6px
}

.project-copy a:hover {
    color: var(--orange)
}

.project-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #8aa0aa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em
}

.project-progress {
    height: 2px;
    background: #dce5e8;
    flex: 1
}

.project-progress span {
    display: block;
    background: var(--orange);
    height: 100%;
    width: 7%;
    transition: width .3s
}

.process {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff
}

.process-rings {
    position: absolute;
    right: -260px;
    top: -380px;
    width: 1050px;
    height: 1050px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 110px rgba(255, 255, 255, .025), 0 0 0 220px rgba(255, 255, 255, .018), 0 0 0 330px rgba(255, 255, 255, .012)
}

.process .container {
    position: relative
}

.process .section-head p {
    color: #a9bec8
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 80px
}

.step {
    border-top: 1px solid rgba(255, 255, 255, .27);
    padding-top: 24px
}

.step>span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800
}

.step h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 37px 0 14px
}

.step p {
    font-size: 12px;
    line-height: 1.8;
    color: #a8bfca
}

.contact {
    position: relative;
    color: #fff;
    background: var(--deep) url('assets/contact.webp') center/cover
}

.contact:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 31, 48, .97), rgba(5, 31, 48, .9) 55%, rgba(5, 31, 48, .67))
}

.contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 100px;
    align-items: center
}

.contact h2 {
    font-size: clamp(50px, 6vw, 94px);
    line-height: 1;
    letter-spacing: -.075em;
    margin: 26px 0
}

.contact-copy p {
    max-width: 450px;
    color: #bdcfd8;
    line-height: 1.9;
    font-size: 16px
}

.contact-aside {
    margin-top: 60px;
    color: #cfdee4;
    font-size: 12px;
    font-weight: 700
}

.contact-aside span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 7px rgba(245, 130, 32, .15)
}

.contact-form {
    background: rgba(8, 43, 64, .92);
    border: 1px solid rgba(255, 255, 255, .17);
    padding: 42px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .15)
}

.contact-form h3 {
    font-size: 25px;
    margin-bottom: 8px
}

.contact-form>p {
    font-size: 12px;
    color: #aec3cc;
    margin-bottom: 30px
}

.contact-form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 19px;
    color: #dce7ea
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 9px;
    border: 1px solid #557384;
    border-radius: 0;
    background: #0c354b;
    color: white;
    padding: 14px 13px;
    outline: none;
    font-size: 12px;
    resize: vertical
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #87a4b2
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--orange)
}

.form-submit {
    width: 100%;
    margin-top: 6px
}

.footer {
    background: #061e2d;
    color: #fff;
    padding: 60px 0 25px
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start
}

.footer-main img {
    filter: brightness(1.6)
}

.footer-main p {
    color: #8ba6b2;
    font-size: 12px;
    line-height: 1.8
}

.footer-links {
    display: flex;
    gap: 26px;
    color: #bfced4;
    font-size: 12px;
    font-weight: 700
}

.footer-links a:hover {
    color: var(--orange)
}

.footer-up {
    border: 1px solid #55717e;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center
}

.footer-bottom {
    border-top: 1px solid #244657;
    margin-top: 55px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    color: #7898a6;
    font-size: 10px
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s, transform .7s
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1050px) {
    .hero-inner {
        grid-template-columns: 1fr .8fr
    }

    .hero h1 {
        font-size: 57px
    }

    .orbit-scene {
        width: 42vw
    }

    .orbit-label {
        font-size: 7px
    }

    .steps {
        gap: 14px
    }

    .contact-layout {
        gap: 45px
    }

    .header nav {
        gap: 18px
    }
}

@media(max-width:760px) {
    .container {
        width: min(100% - 40px, 600px)
    }

    .header {
        height: 70px;
        padding: 0 20px;
        background: rgba(5, 32, 49, .92)
    }

    .header img {
        width: 150px
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        background: none;
        border: 0;
        padding: 10px
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: white
    }

    .header nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .header nav.open {
        display: flex
    }

    .header nav a {
        padding: 14px
    }

    .section-pad {
        padding: 75px 0
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 35px
    }

    .section-head p {
        font-size: 14px
    }

    .hero {
        height: auto;
        min-height: 780px;
        background-attachment: scroll
    }

    .hero-inner {
        padding: 125px 0 70px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 35px
    }

    .hero h1 {
        font-size: clamp(43px, 9vw, 62px)
    }

    .hero-copy p {
        font-size: 14px
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 19px
    }

    .orbit-scene {
        width: min(400px, 93vw);
        margin: auto;
        order: 2
    }

    .hero-foot {
        bottom: 17px
    }

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

    .service-card {
        min-height: 285px;
        padding: 25px
    }

    .manifesto {
        background-attachment: scroll
    }

    .manifesto-content {
        padding: 80px 0
    }

    .manifesto p {
        font-size: 14px
    }

    .project-track {
        padding-left: 20px;
        padding-right: 20px
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .contact h2 {
        font-size: 67px
    }

    .contact-aside {
        margin-top: 25px
    }

    .footer-main {
        flex-wrap: wrap
    }

    .footer-links {
        flex-wrap: wrap
    }
}

@media(max-width:510px) {
    h2 {
        font-size: 43px
    }

    .hero {
        min-height: 830px
    }

    .hero h1 {
        font-size: 43px
    }

    .orbit-scene {
        width: 340px;
        max-width: 100%
    }

    .orbit-label {
        font-size: 6px;
        padding: 6px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 245px
    }

    .project-card {
        flex-basis: 85vw
    }

    .project-visual {
        height: 210px
    }

    .project-bottom>span:last-child {
        display: none
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .step h3 {
        margin-top: 23px;
        font-size: 16px
    }

    .contact-form {
        padding: 25px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-bottom {
        gap: 15px;
        flex-direction: column
    }
}

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

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* V3 refinements */
.service-card {
    padding-bottom: 76px
}

.service-more {
    position: absolute;
    left: 37px;
    right: 37px;
    bottom: 29px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    transition: color .2s
}

.service-more span {
    color: var(--orange);
    font-size: 22px;
    line-height: 1
}

.service-more:hover,
.service-more:focus-visible {
    color: var(--orange)
}

.manifesto blockquote {
    max-width: 800px;
    margin: 0 0 30px;
    padding: 8px 0 8px 24px;
    border-left: 3px solid #fff;
    font-size: clamp(17px, 2.1vw, 25px);
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: -.03em
}

.project-viewport {
    width: min(1260px, calc(100% - 96px));
    margin: auto;
    overflow: hidden;
    touch-action: pan-y;
    overscroll-behavior-inline: contain
}

.project-track {
    width: max-content;
    max-width: none;
    overflow: visible;
    display: flex;
    gap: 18px;
    padding: 0 0 30px;
    transition: transform .45s cubic-bezier(.22, .74, .21, 1);
    will-change: transform
}

.project-card {
    flex: 0 0 340px;
    min-width: 0
}

.project-visual {
    height: 205px
}

.project-copy {
    padding: 22px 23px 23px
}

.project-copy h3 {
    font-size: 19px
}

.project-copy p {
    font-size: 11px;
    line-height: 1.65
}

.projects {
    overflow: hidden
}

.footer {
    background: #101419;
    padding: 36px 0
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid #303943;
    padding-top: 26px;
    color: #8b969d;
    font-size: 11px
}

.footer-row img {
    display: block;
    width: 164px;
    height: auto;
    filter: brightness(1.55)
}

.footer-row span:last-child {
    white-space: nowrap
}

@media(max-width:760px) {
    .hero-copy {
        display: contents
    }

    .hero-copy>* {
        position: relative;
        z-index: 2
    }

    .hero-actions {
        order: 5;
        margin-top: 0;
        justify-content: center
    }

    .orbit-scene {
        order: 4
    }

    .hero-inner {
        gap: 22px;
        padding-bottom: 85px
    }

    .hero-copy p {
        margin-bottom: 0
    }

    .project-viewport {
        width: calc(100% - 40px)
    }

    .project-card {
        flex-basis: min(310px, 78vw)
    }

    .project-visual {
        height: 175px
    }

    .project-copy {
        padding: 20px
    }

    .service-more {
        left: 25px;
        right: 25px
    }

    .footer-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-top: 30px;
        font-size: 13px
    }

    .footer-row img {
        width: 160px
    }

    .footer {
        padding: 30px 0 42px
    }
}

@media(max-width:510px) {
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        text-align: center
    }

    .hero-actions .button {
        justify-content: center
    }

    .hero {
        min-height: 0
    }

    .project-card {
        flex-basis: min(295px, 78vw)
    }

    .project-visual {
        height: 160px
    }

    .project-copy h3 {
        font-size: 18px
    }

    .project-copy p {
        font-size: 11px
    }

    .manifesto blockquote {
        font-size: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    .project-track {
        transition: none
    }
}

/* Keep the translated carousel inside the page viewport. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip
}

.projects,
.project-viewport {
    overflow: hidden;
    overflow: clip
}

.project-track {
    contain: layout paint
}

.footer {
    background: var(--deep)
}

/* V5: original logo colors and return control */
.header img {
    width: 146px;
    filter: none
}

.footer-row img {
    width: 131px;
    filter: none
}

.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 40;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(6, 31, 48, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s
}

.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.to-top:hover {
    background: #e66e10
}

.to-top:focus-visible {
    opacity: 1;
    visibility: visible;
    outline: 3px solid #fff;
    outline-offset: 3px
}

@media(max-width:760px) {
    .header img {
        width: 120px
    }

    .footer-row img {
        width: 128px
    }

    .to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px
    }
}
