:root {
    --ink: #0b1838;
    --blue: #2866ad;
    --blue-dark: #174b8e;
    --body: #52617b;
    --ice: #eaf7ff;
    --line: #d7e5ee;
    --white: #ffffff;
    --font: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font), serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
}

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

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 12px 20px;
    background: var(--white);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Soft background behind the header and hero. */

.hero-shell {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.hero-shell::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0 0 auto;
    height: 860px;
    background:
            radial-gradient(
                    ellipse at 90% 35%,
                    #cfedff 0%,
                    #eaf7ff 40%,
                    #f8fcff 72%
            );
}

.hero-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 1100px;
    height: 600px;
    left: -530px;
    top: -370px;
    border-radius: 50%;
    background: rgb(255 255 255 / 70%);
    transform: rotate(-12deg);
}

/* Header */

.site-header {
    position: relative;
    z-index: 5;
}

.header-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Crops the empty space around the supplied logo without editing it. */

.brand {
    display: block;
    position: relative;
    width: 208px;
    height: 72px;
    overflow: hidden;
    flex: 0 0 208px;
}

.brand img {
    position: absolute;
    width: 330px;
    max-width: none;
    height: auto;
    left: -65px;
    top: -52px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
}

.navigation > a {
    font-size: 0.9375rem;
    font-weight: 700;
}

.navigation > a:not(.button) {
    position: relative;
    padding-block: 12px;
}

.navigation > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
}

.navigation > a:not(.button):hover {
    color: var(--blue);
}

/* Shared buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 30px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(165deg, #347bc6, #194d93);
    box-shadow: 0 8px 18px rgb(37 103 174 / 15%);
    font-weight: 800;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgb(37 103 174 / 23%);
}

.navigation-contact {
    min-height: 48px;
    padding: 11px 28px;
}

.text-link {
    padding-block: 10px;
    color: var(--blue-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-thickness: 1px;
}

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

/* Opening section */

.hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    min-height: 660px;
    padding-block: 35px 60px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

h1,
h2,
p,
figure {
    margin-top: 0;
}

h1 {
    margin-bottom: 26px;
    font-size: clamp(2.8rem, 4.6vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 800;
}

h1 span,
h2 span {
    color: var(--blue);
}

.hero-description {
    max-width: 450px;
    margin-bottom: 0;
    color: var(--body);
    font-size: 1.125rem;
    line-height: 1.8;
}

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

.hero-actions .button {
    min-width: 174px;
}

.location {
    margin: 34px 0 0;
    color: var(--body);
    font-size: 0.875rem;
}

.location span {
    padding-inline: 8px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    width: 118%;
    margin: 0 0 0 -5%;
}

.hero-visual img {
    width: 100%;
}

.hero-visual figcaption {
    padding-right: 12%;
    color: var(--body);
    text-align: right;
    font-size: 0.75rem;
}

/* First section below the hero */

.intro {
    position: relative;
    padding: 50px 0 64px;
    background: var(--white);
}

.intro::before {
    content: "";
    position: absolute;
    top: -35px;
    left: -5%;
    width: 110%;
    height: 70px;
    border-radius: 50% 50% 0 0;
    background: var(--white);
}

.intro > .container {
    position: relative;
}

.intro-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.intro-heading > p {
    margin-bottom: 0;
    padding-left: 34px;
    border-left: 1px solid var(--line);
    color: var(--body);
    font-size: 1.0625rem;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.capabilities li {
    position: relative;
    padding: 0 28px 18px;
    border-left: 1px solid var(--line);
    font-size: 1.0625rem;
    font-weight: 700;
}

.capabilities li:first-child {
    padding-left: 0;
    border-left: 0;
}

.capabilities li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 28px;
    width: 28px;
    height: 2px;
    background: var(--blue);
}

.capabilities li:first-child::after {
    left: 0;
}

/* Mobile navigation */

.menu-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--blue-dark);
    font-weight: 700;
    cursor: pointer;
}

.menu-icon {
    display: grid;
    gap: 6px;
}

.menu-icon span {
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* Tablet and phone layouts */

@media (max-width: 1000px) {
    .container {
        width: calc(100% - 48px);
    }

    .navigation {
        gap: 20px;
    }

    .brand {
        width: 180px;
        flex-basis: 180px;
    }

    .brand img {
        width: 290px;
        left: -57px;
        top: -44px;
    }

    .hero {
        min-height: 590px;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 800px) {
    .header-inner {
        min-height: 96px;
        flex-wrap: wrap;
        gap: 0;
    }

    .menu-toggle:not([hidden]) {
        display: inline-flex;
    }

    .navigation {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 18px 0 28px;
    }

    .navigation > a {
        padding: 12px 16px;
        font-size: 1.125rem;
    }

    .navigation > a[aria-current="page"]::after {
        display: none;
    }

    .navigation > a[aria-current="page"] {
        color: var(--blue);
    }

    .site-header.is-enhanced:not(.menu-open) .navigation {
        display: none;
    }

    .site-header.menu-open {
        background: var(--white);
        box-shadow: 0 14px 24px rgb(20 62 98 / 8%);
    }

    .navigation-contact {
        margin-top: 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 34px;
        padding-bottom: 35px;
    }

    .hero-copy {
        max-width: 600px;
        padding-bottom: 0;
    }

    h1 {
        font-size: clamp(2.65rem, 7.8vw, 4rem);
    }

    .hero-description {
        max-width: 480px;
        font-size: 1.0625rem;
    }

    .hero-visual {
        width: min(110%, 650px);
        justify-self: center;
        margin: 16px 0 0;
    }

    .hero-visual figcaption {
        padding-right: 7%;
    }

    .hero-shell::before {
        height: 1250px;
    }

    .intro-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .intro-heading > p {
        padding-left: 0;
        border-left: 0;
    }

    .capabilities {
        gap: 20px;
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .capabilities li {
        padding-left: 0;
        border-left: 0;
    }

    .capabilities li::after {
        left: 0;
    }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 36px);
    }

    .eyebrow {
        font-size: 0.6875rem;
        letter-spacing: 0.18em;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .text-link {
        text-align: center;
    }

    .location {
        font-size: 0.8125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}

/* Refined heading typography */

h1,
h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

h1 {
    line-height: 1.12;
}

h2 {
    line-height: 1.18;
}

/* Selected work */

.work-section {
    position: relative;
    padding: 48px 0 80px;
    background: var(--white);
}

.work-section::before {
    content: "";
    position: absolute;
    top: -35px;
    left: -5%;
    width: 110%;
    height: 70px;
    border-radius: 50% 50% 0 0;
    background: var(--white);
}

.work-section > .container {
    position: relative;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading .eyebrow {
    margin-bottom: 14px;
}

.section-heading > .text-link {
    flex-shrink: 0;
}

.section-description {
    margin: 14px 0 0;
    color: var(--body);
    font-size: 1.0625rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.project-card {
    min-width: 0;
}

.project-image {
    position: relative;
    aspect-ratio: 1.15;
    overflow: hidden;
    border-radius: 22px;
}

.project-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-image-game {
    background: linear-gradient(145deg, #e8f7ff, #b8ddef);
}

.project-image-game > img {
    transform: scale(1.08) translateY(6%);
}

.project-image-art {
    background: linear-gradient(145deg, #e8e8f0, #d3dfef);
}

.project-image-art > img {
    object-fit: cover;
    transform: scale(1.75);
    transform-origin: 65% 32%;
}

.placeholder-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 94%);
    color: #435371;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-card h3 {
    margin: 18px 0 4px;
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.project-card > p {
    margin: 0;
    color: var(--body);
    font-size: 0.875rem;
}

/* Temporary website preview */

.project-image-web {
    display: grid;
    place-items: center;
    padding: 26px;
    background: linear-gradient(145deg, #dcefff, #e9e5f5);
}

.website-placeholder {
    width: 100%;
    padding: 28px 22px;
    border: 1px solid rgb(255 255 255 / 85%);
    border-radius: 14px;
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 16px 35px rgb(35 76 120 / 10%);
}

.preview-label,
.preview-caption {
    display: block;
    color: var(--body);
    font-size: 0.75rem;
}

.preview-label {
    margin-bottom: 18px;
    color: var(--blue-dark);
    font-weight: 700;
}

.website-placeholder strong {
    display: block;
    margin-bottom: 20px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portfolio-note {
    margin: 24px 0 0;
    color: var(--body);
    font-size: 0.8125rem;
}

/* Selected work on smaller screens */

@media (max-width: 1000px) {
    .project-grid {
        gap: 18px;
    }

    .project-image-web {
        padding: 16px;
    }

    .website-placeholder {
        padding: 20px 16px;
    }
}

@media (max-width: 800px) {
    .work-section {
        padding: 48px 0 64px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 28px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-image {
        aspect-ratio: 1.3;
    }

    .project-image-web {
        padding: 32px;
    }

    .website-placeholder {
        padding: 30px;
    }

    .website-placeholder strong {
        font-size: 1.8rem;
    }
}

/* Services */

.services-section {
    position: relative;
    isolation: isolate;
    padding: 100px 0;
    background: linear-gradient(120deg, #f0faff, #e2f3ff);
}

.services-section::before,
.services-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -5%;
    width: 110%;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::before {
    top: -35px;
}

.services-section::after {
    bottom: -35px;
}

.services-section .eyebrow {
    margin-bottom: 16px;
}

.services-section .section-description {
    max-width: 650px;
}

.services-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    align-items: stretch;
    gap: 48px;
    margin-top: 42px;
}

.game-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px;
    border: 1px solid rgb(255 255 255 / 90%);
    border-radius: 24px;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 16px 40px rgb(42 95 139 / 5%);
}

.service-kicker {
    margin: 0 0 20px;
    color: var(--blue-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.game-service h3,
.service-item h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.game-service h3 {
    margin: 0 0 20px;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.15;
}

.game-service > p:not(.service-kicker) {
    margin: 0;
    color: var(--body);
    line-height: 1.8;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.service-tags span {
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--ice);
    color: var(--blue-dark);
    font-size: 0.8125rem;
    font-weight: 600;
}

.game-service > .text-link {
    margin-top: auto;
}

.supporting-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.service-item {
    padding: 8px 0 24px;
    border-bottom: 1px solid #cbdfea;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgb(255 255 255 / 85%);
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 800;
}

.service-item h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.service-item p {
    margin: 0;
    color: var(--body);
    font-size: 0.9375rem;
    line-height: 1.8;
}

@media (max-width: 1000px) {
    .services-layout {
        gap: 28px;
    }

    .game-service {
        padding: 28px;
    }

    .supporting-services {
        gap: 24px;
    }
}

@media (max-width: 800px) {
    .services-section {
        padding: 72px 0;
    }

    .services-layout {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 32px;
    }

    .game-service h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .supporting-services {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-item {
        padding-bottom: 24px;
    }
}

/* About DARC */

.about-section {
    padding: 88px 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
}

.about-visual {
    position: relative;
    margin: 0;
    aspect-ratio: 1.1;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(145deg, #eaf8ff, #cee9f7);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-visual figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 94%);
    color: var(--body);
    font-size: 0.75rem;
}

.about-copy .eyebrow {
    margin-bottom: 16px;
}

.about-copy h2 {
    margin-bottom: 24px;
}

.about-copy > p:not(.eyebrow) {
    margin-bottom: 18px;
    color: var(--body);
    line-height: 1.85;
}

.about-copy .text-link {
    display: inline-block;
    margin-top: 4px;
}

@media (max-width: 800px) {
    .about-section {
        padding: 56px 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        aspect-ratio: 1.2;
    }
}

/* Contact */

.contact-section {
    position: relative;
    isolation: isolate;
    padding: 90px 0 80px;
    background: linear-gradient(130deg, #eff9ff, #dcefff);
}

.contact-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -35px;
    left: -5%;
    width: 110%;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
}

.contact-copy .section-description {
    max-width: 470px;
    margin-top: 22px;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 22px;
    margin-top: 32px;
    font-style: normal;
}

.contact-details > div {
    display: grid;
    gap: 4px;
}

.contact-details span {
    color: var(--body);
    font-size: 0.8125rem;
    font-weight: 600;
}

.contact-details a {
    width: fit-content;
    color: var(--blue-dark);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-details a:hover,
.footer-navigation a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.contact-location {
    margin: 30px 0 0;
    color: var(--body);
    font-size: 0.875rem;
}

.contact-form {
    display: grid;
    gap: 20px;
    padding: 36px;
    border: 1px solid rgb(255 255 255 / 90%);
    border-radius: 24px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 16px 40px rgb(42 95 139 / 6%);
}

.form-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fcfdff;
    color: var(--ink);
    font-size: 1rem;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.contact-form .button {
    width: 100%;
    cursor: pointer;
}

.contact-form .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note,
.form-status {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.form-note {
    color: var(--body);
}

.form-status {
    color: var(--blue-dark);
}

.form-status:empty {
    display: none;
}

/* Footer */

.site-footer {
    padding: 28px 0;
    background: var(--white);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.footer-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.875rem;
}

.copyright {
    margin: 0;
    color: var(--body);
    font-size: 0.75rem;
}

@media (max-width: 800px) {
    .contact-section {
        padding: 64px 0;
    }

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

    .contact-form {
        padding: 26px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 420px) {
    .contact-form {
        padding: 22px 18px;
    }
}

/* Shared inner-page layout */

.page-shell {
    overflow: clip;
}

.page-shell .site-header {
    background: #f5fbff;
}

.page-banner {
    position: relative;
    isolation: isolate;
    padding: 58px 0 88px;
    background: linear-gradient(120deg, #f5fbff, #dff2ff);
}

.page-banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -35px;
    left: -5%;
    width: 110%;
    height: 65px;
    border-radius: 50%;
    background: var(--white);
}

.page-banner h1 {
    max-width: 900px;
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 4.2vw, 4rem);
}

.page-description {
    max-width: 640px;
    margin-bottom: 0;
    color: var(--body);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Services page */

.service-page-content {
    padding: 64px 0 80px;
}

.featured-game-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.service-page-art {
    position: relative;
    margin: 0;
    aspect-ratio: 1.1;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(145deg, #edf9ff, #ceeafa);
}

.service-page-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-page-art figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 94%);
    color: var(--body);
    font-size: 0.75rem;
}

.featured-game-copy h2 {
    margin-bottom: 22px;
}

.featured-game-copy > p:not(.eyebrow) {
    max-width: 500px;
    margin-bottom: 0;
    color: var(--body);
    line-height: 1.85;
}

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 64px;
}

.service-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f7fcff);
}

.service-detail .service-number {
    background: var(--ice);
}

.service-detail h2 {
    margin-bottom: 18px;
    font-size: 1.625rem;
    line-height: 1.25;
}

.service-detail p {
    margin-bottom: 18px;
    color: var(--body);
    line-height: 1.8;
}

.service-detail .service-prompt {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
}

.service-detail .text-link {
    margin-top: auto;
}

/* Shared closing invitation */

.page-cta {
    padding: 60px 0;
    background: linear-gradient(120deg, #eef9ff, #dff1ff);
}

.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.page-cta h2 {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.page-cta p {
    margin: 16px 0 0;
    color: var(--body);
}

.page-cta .button {
    flex-shrink: 0;
}

@media (max-width: 800px) {
    .page-banner {
        padding: 36px 0 64px;
    }

    .page-description {
        font-size: 1rem;
    }

    .service-page-content {
        padding: 40px 0 56px;
    }

    .featured-game-service {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-page-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 20px;
    }

    .service-detail {
        padding: 26px;
    }

    .page-cta {
        padding: 44px 0;
    }

    .page-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}

/* Standalone Contact page */

.contact-page .contact-section {
    padding: 64px 0 88px;
}

.contact-page .contact-section::before {
    display: none;
}

.contact-page .contact-layout {
    align-items: start;
}

.contact-page .contact-copy {
    padding-top: 24px;
}

.contact-page h1 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
}

.navigation > .button[aria-current="page"]::after {
    display: none;
}

@media (max-width: 800px) {
    .contact-page .contact-section {
        padding: 32px 0 56px;
    }

    .contact-page .contact-copy {
        padding-top: 0;
    }
}

/* Our Work page */

.portfolio-section {
    padding: 40px 0 72px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.portfolio-filters[hidden],
.portfolio-grid > [hidden] {
    display: none;
}

.portfolio-filters button {
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-dark);
    font-weight: 700;
    cursor: pointer;
}

.portfolio-filters button:hover {
    background: var(--ice);
}

.portfolio-filters button[aria-pressed="true"] {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.portfolio-disclosure {
    max-width: 680px;
    margin: 0 auto 34px;
    color: var(--body);
    font-size: 0.875rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
}

.portfolio-grid .project-image {
    aspect-ratio: 1.4;
}

.portfolio-grid .project-card h2 {
    margin: 18px 0 6px;
    font-size: 1.375rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-image-simulation {
    background: linear-gradient(145deg, #e5f6ed, #d2e9f5);
}

.project-image-simulation > img {
    object-fit: cover;
    transform: scale(1.3);
    transform-origin: 25% 65%;
}

.portfolio-count {
    margin: 30px 0 0;
    color: var(--body);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 800px) {
    .portfolio-section {
        padding: 30px 0 56px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .portfolio-filters button {
        padding: 10px 18px;
    }
}

/* About page expertise */

.studio-expertise {
    padding: 0 0 80px;
    background: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 36px 0 24px;
}

.expertise-grid article {
    padding-top: 24px;
    border-top: 2px solid var(--line);
}

.expertise-grid h3 {
    margin: 0 0 14px;
    font-family: "Outfit", sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.expertise-grid p {
    margin: 0;
    color: var(--body);
    line-height: 1.8;
}

.studio-expertise .text-link {
    display: inline-block;
}

@media (max-width: 800px) {
    .studio-expertise {
        padding-bottom: 56px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }
}

/* Updated portfolio artwork */

.project-image-game > img,
.project-image-art > img,
.project-image-web > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.project-image-web {
    display: block;
    padding: 0;
}

/* Meet our team */

.team-section {
    padding: 0 0 88px;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 38px;
}

.team-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.team-portrait {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 30%;
    background: var(--ice);
}

.team-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.team-details h3 {
    margin: 0 0 8px;
    font-family: "Outfit", sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.team-details p {
    margin: 0 0 18px;
    color: var(--body);
    font-size: 0.9375rem;
}

.team-details .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .team-section {
        padding-bottom: 56px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 28px;
    }
}

/* Privacy policy */

.legal-section {
    padding: 64px 0 96px;
}

.legal-content {
    max-width: 860px;
}

.legal-updated {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-content section {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid rgba(23, 57, 94, 0.14);
}

.legal-content h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-content p {
    margin: 0 0 14px;
}

.legal-content ul {
    margin: 16px 0 0;
    padding-left: 22px;
}

.legal-content li + li {
    margin-top: 8px;
}

.legal-content a,
.form-note a {
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 700px) {
    .legal-section {
        padding: 42px 0 72px;
    }

    .legal-content section {
        margin-top: 28px;
        padding-top: 28px;
    }
}

/* 404 page */

.not-found-section {
    display: grid;
    min-height: calc(100vh - 112px);
    padding: 70px 0 96px;
    background:
            radial-gradient(
                    circle at 78% 30%,
                    rgb(198 234 255 / 75%),
                    transparent 34%
            ),
            linear-gradient(145deg, #f8fcff 0%, #eaf7ff 100%);
}

.not-found-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: clamp(42px, 7vw, 90px);
    border: 1px solid rgb(40 102 173 / 12%);
    border-radius: 32px;
    background: rgb(255 255 255 / 82%);
    box-shadow: 0 30px 80px rgb(23 75 142 / 10%);
}

.not-found-number {
    position: absolute;
    right: clamp(20px, 6vw, 80px);
    top: 50%;
    margin: 0;
    color: rgb(40 102 173 / 8%);
    font-family: "Outfit", sans-serif;
    font-size: clamp(12rem, 25vw, 25rem);
    font-weight: 700;
    line-height: 0.8;
    transform: translateY(-50%);
    user-select: none;
}

.not-found-inner .eyebrow,
.not-found-inner h1,
.not-found-description,
.not-found-actions {
    position: relative;
    z-index: 1;
}

.not-found-inner h1 {
    max-width: 850px;
    margin: 20px 0 24px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.not-found-inner h1 span {
    color: var(--blue);
}

.not-found-description {
    max-width: 620px;
    margin: 0;
    color: var(--body);
    font-size: 1.08rem;
    line-height: 1.8;
}

.not-found-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
}

@media (max-width: 700px) {
    .not-found-section {
        min-height: auto;
        padding: 32px 0 56px;
    }

    .not-found-inner {
        min-height: 520px;
        padding: 38px 28px;
        border-radius: 24px;
    }

    .not-found-number {
        top: 80px;
        right: 12px;
        font-size: 11rem;
        transform: none;
    }

    .not-found-inner h1 {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .not-found-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}