:root {
    --bg: #0a0a0a;
    --s1: #141414;
    --s2: #0d0d0d;
    --box: #1a1a1a;
    --line: #2a2a2a;
    --tx: #e8e8e8;
    --mute: #9a9a9a;
    --pad: clamp(20px, 6vw, 90px);
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: clamp(50px, 8vw, 90px) var(--pad);
}

h2 {
    font-weight: 300;
    font-size: clamp(24px, 3.2vw, 32px);
    margin: 0 0 28px;
    letter-spacing: 0.02em;
}

:focus-visible {
    outline: 1px solid #fff;
    outline-offset: 2px;
}

/* Hemi Head Font */
@font-face {
    font-family: "HemiHead";
    src: url(/attached/Fonts/HemiHead-BoldItalic.otf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/* square game font */
@font-face {
    font-family: "SquareGame";
    src: url(/attached/Fonts/Square\ Game.otf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/* aperture font */
@font-face {
    font-family: "aperture";
    src: url(/attached/Fonts/aperture.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/* architype font */
@font-face {
    font-family: "architype";
    src: url(/attached/Fonts/Architype\ Van.ttf) format(truetype);
    font-weight: normal;
    font-style: normal;
}

/* hero */
.hero {
    position: relative;
    min-height: 100svh;
    max-height: 900px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
    overflow: hidden;
}

.hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90%;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -30px;
    width: 560px;
    height: 360px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 56%);
    pointer-events: none;
}

.hero-scroll {
    position: absolute;
    right: clamp(22px, 3vw, 38px);
    bottom: clamp(48px, 6vw, 76px);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease, border-color 0.28s ease;
    padding: 0;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
    transform: translateY(2px);
    opacity: 1;
    border-color: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.hero-scroll img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-nav {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 50%;
    width: min(1120px, calc(100% - 36px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.78);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 20;
}

.site-nav svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-brand,
.nav-link,
.nav-cta {
    display: flex;
    align-items: center;
}

.nav-brand {
    flex-shrink: 0;
    gap: 9px;
    color: #f0f0f0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.nav-brand svg {
    width: 22px;
    height: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link {
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 4px;
    color: #bcbcbc;
    font-size: 13px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link span {
    font-family: "HemiHead";
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-cta {
    flex-shrink: 0;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    color: #f0f0f0;
    font-size: 13px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta span {
    font-family: "aperture";
}

.nav-cta:hover,
.nav-cta:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
    .nav-link {
        width: 38px;
        height: 38px;
        min-height: 38px;
        justify-content: center;
        padding: 0;
    }

    .nav-link span,
    .nav-cta span {
        display: none;
    }

    .nav-cta {
        width: 38px;
        min-height: 38px;
        padding: 0;
    }
}

@media (max-width: 420px) {
    .site-nav {
        width: calc(100% - 20px);
        gap: 6px;
        padding: 8px;
    }

    .nav-brand {
        gap: 5px;
        font-size: 13px;
    }

    .nav-links {
        gap: 2px;
    }
}

.hero h1 {
    position: relative;
    margin: 0;
    font-weight: 200;
    font-size: clamp(44px, 12.5vw, 150px);
    letter-spacing: 0.02em;
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, #6b6b6b, #2c2c2c);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0 12px;
    white-space: nowrap;
}

.hero .role {
    position: relative;
    margin: clamp(24px, 4vw, 44px) 0 12px;
    font-size: clamp(11px, 1.4vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .quote {
    position: relative;
    margin: 0;
    font-size: clamp(11px, 1.5vw, 14px);
    color: #d0d0d0;
    padding: 0 20px;
}

.marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    font-size: 12px;
    color: #cfcfcf;
    box-shadow: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.marquee > div {
    position: relative;
    width: 100%;
    height: 100%;
}

.ticker-item {
    position: absolute;
    left: 0;
    top: 50%;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.03em;
    transform: translate3d(0, -50%, 0);
    will-change: transform;
    pointer-events: none;
    user-select: none;
}

.at-letter {
    display: inline-block;
    font-size: 1.8em;
    font-weight: 500;
    transform: translateY(-1px);
}

/* about */
.about {
    background: var(--s1);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 100vh;
}

.company-about {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(36px, 6vw, 82px);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 82% 45%, rgba(116, 135, 164, 0.12), transparent 38%),
        linear-gradient(120deg, #121212, #0a0a0a 70%);
}

.about-copy {
    max-width: 620px;
}

.company-about .about-eyebrow {
    margin: 0 0 18px;
    color: #a7afbc;
    font-family: "architype", sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.about-copy h2 {
    margin: 0 0 22px;
    font-family: "aperture", sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.about-copy > p:not(.about-eyebrow) {
    max-width: 580px;
    margin: 0;
    color: #c1c1c1;
    font-family: "HemiHead", sans-serif;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.85;
    text-align: left;
}

.about-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.about-focus span {
    padding: 8px 12px;
    border: 1px solid #35383d;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.025);
    color: #c9cdd3;
    font-family: "HemiHead";
    font-size: 12px;
    letter-spacing: 0.02em;
}

.about-visual {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 32px 32px;
}

.about-ecosystem {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #30343b;
    border-radius: 6px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.about-brand {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 32px);
    padding: 12px 18px 12px 12px;
    border: 1px solid #36383d;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.94);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.about-brand img {
    display: block;
    width: 76px;
    height: 48px;
    object-fit: contain;
}

.about-brand span {
    color: #d3d5d9;
    font-family: "HemiHead";
    font-size: 12px;
    letter-spacing: 0.04em;
}

.about.feature-list {
    display: block;
    min-height: 0;
    background:
        radial-gradient(ellipse at 88% 0, rgba(255, 255, 255, 0.06), transparent 40%),
        var(--s1);
}

.feature-intro {
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 58px);
}

.feature-eyebrow,
.feature-index {
    color: #aaa;
    font-family: "architype", sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.feature-eyebrow {
    margin: 0 0 12px;
}

.feature-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.8vw, 52px);
    line-height: 1.15;
    font-family: "aperture", sans-serif;
}

.feature-intro > p:last-child {
    max-width: 640px;
    margin: 0;
    color: #bdbdbd;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    text-align: left;
    font-family: "HemiHead", sans-serif;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    padding: clamp(24px, 3.5vw, 36px);
    border: 1px solid #303030;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    border-color: #505050;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 55%);
}

.feature-visual {
    display: block;
    width: 100%;
    height: clamp(120px, 16vw, 170px);
    margin-bottom: 24px;
    border: 1px solid #303030;
    background: #111;
    object-fit: cover;
}

.feature-index {
    position: absolute;
    top: clamp(38px, 4vw, 50px);
    right: clamp(38px, 4vw, 50px);
    color: #777;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-family: "aperture", sans-serif;
    font-size: clamp(20px, 2.2vw, 25px);
    font-weight: 400;
    line-height: 1.35;
}

.feature-card p {
    max-width: 560px;
    margin: 0;
    color: #bdbdbd;
    font-family: "HemiHead";
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
}

.about h3 {
    font-weight: 300;
    font-size: clamp(22px, 2.6vw, 26px);
    margin: 0;
}

.about .sub {
    font-size: 13px;
    margin: 4px 0 14px;
}

.about p {
    margin: 0;
    font-size: clamp(11px, 1.2vw, 12.5px);
    color: #c4c4c4;
    max-width: 520px;
    line-height: 1.6;
    text-align: justify;
}

.orbit {
    --r: clamp(80px, 13vw, 104px);
    --logo-offset-y: -18px;
    position: relative;
    width: calc(var(--r) * 2 + 70px);
    height: calc(var(--r) * 2 + 70px);
    margin: auto;
    max-width: 100%;
}

.orbit .core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 500%;
    height: 500%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    overflow: visible;
}

.orbit-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    background: transparent;
    transform: translate(-50%, calc(-50% + var(--logo-offset-y))) scale(5);
    transform-origin: center center;
    pointer-events: none;
}

.orbit-logo img {
    display: block;
    width: clamp(90px, 14vw, 220px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.orbit svg {
    width: 18px;
    height: 18px;
    stroke: #e6e6e6;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 600px) {
    .orbit {
        --logo-offset-y: -12px;
    }

    .orbit-logo {
        transform: translate(-50%, calc(-50% + var(--logo-offset-y))) scale(4.6);
    }
}

/* projects */
.projects {
    background:
        radial-gradient(ellipse at 12% 0, rgba(255, 255, 255, 0.06), transparent 42%),
        var(--s2);
}

.projects-intro {
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 58px);
}

.projects-eyebrow,
.project-index {
    color: #aaa;
    font-family: "architype", sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.projects-eyebrow {
    margin: 0 0 12px;
}

.projects-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.12;
    letter-spacing: 0.01em;
    font-family: "aperture", sans-serif;
}

.projects-intro > p:last-child {
    max-width: 620px;
    margin: 0;
    color: #bdbdbd;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    font-family: "HemiHead", sans-serif;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

.project-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #303030;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%);
}

.project-visual {
    display: block;
    width: 100%;
    height: clamp(130px, 18vw, 190px);
    margin-bottom: 26px;
    border: 1px solid #303030;
    object-fit: cover;
}

.project-card h3 {
    margin: 28px 0 14px;
    font-family: "aperture", sans-serif;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 400;
    line-height: 1.3;
}

.project-card p {
    margin: 0;
    color: #bdbdbd;
    font-family: "HemiHead", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.project-card blockquote {
    margin: 28px 0 0;
    padding: 14px 0 0 18px;
    border-top: 1px solid #383838;
    border-left: 2px solid #999;
    color: #e3e3e3;
    font-family: "HemiHead", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.pgrid div {
    background: var(--s1);
    min-height: clamp(110px, 14vw, 150px);
    padding: 8px 10px;
    font-size: clamp(20px, 2.4vw, 24px);
    grid-column: span 2;
}

.pgrid div:nth-child(1) {
    grid-column: span 4;
}

.pgrid div:nth-child(2) {
    grid-column: span 2;
}

.pgrid div:nth-child(3) {
    grid-column: span 2;
}

/* work */
.work {
    background: var(--bg);
}

.job {
    display: grid;
    grid-template-columns: minmax(120px, 170px) 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.job:last-child {
    border-bottom: 0;
}

.job small {
    display: block;
    font-size: 11px;
    color: var(--mute);
}

.job b {
    font-weight: 300;
    font-size: 13px;
}

.job p {
    margin: 0 0 10px;
    font-size: 10.5px;
    color: #bdbdbd;
    line-height: 1.55;
}

.job .ts {
    font-size: 10px;
    color: var(--mute);
    margin-bottom: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tags span {
    border: 1px solid #444;
    border-radius: 3px;
    padding: 2px 9px;
    font-size: 10px;
    color: #cfcfcf;
}

/* why choose us */
.why-choose {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, 0.07), transparent 38%),
        var(--s1);
}

.why-intro {
    max-width: 760px;
    margin-bottom: clamp(32px, 5vw, 58px);
}

.why-intro .squaregame {
    margin: 0 0 12px;
    color: #aaa;
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.why-intro h2 {
    margin-bottom: 14px;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: 0.06em;
}

.why-intro > p {
    max-width: 660px;
    margin: 0;
    color: #c4c4c4;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.75;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #303030;
    background: #303030;
}

.reason {
    min-height: 210px;
    padding: clamp(22px, 3.5vw, 38px);
    background: rgba(15, 15, 15, 0.96);
    transition: background 0.25s ease, transform 0.25s ease;
}

.reason:hover {
    background: #191919;
}

.reason-number {
    display: inline-block;
    margin-bottom: 22px;
    color: #999;
    font-size: 12px;
    letter-spacing: 0.14em;
    font-family: "architype", sans-serif;
}

.reason h3 {
    margin: 0 0 10px;
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 400;
    font-family: "aperture", sans-serif;
}

.reason p {
    max-width: 520px;
    margin: 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    font-family: "HemiHead", sans-serif;
}

.why-speech {
    max-width: 900px;
    margin: clamp(36px, 6vw, 72px) auto 0;
    padding: clamp(22px, 4vw, 38px);
    border-left: 2px solid #aaa;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent);
}

.speech-label {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.16em;
}

.why-speech p {
    margin: 14px 0 0;
    color: #e0e0e0;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
    font-family: "HemiHead", sans-serif;
}

/* contact */
.contact {
    min-height: 100vh;
    min-height: 100svh;
    display: block;
    background:
        radial-gradient(ellipse at 86% 12%, rgba(116, 135, 164, 0.12), transparent 36%),
        var(--s2);
}

.contact-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    align-items: end;
    gap: clamp(28px, 6vw, 80px);
    max-width: 1160px;
    margin: 0 auto clamp(30px, 4vw, 48px);
}

.contact-eyebrow {
    margin: 0 0 12px;
    color: #a7afbc;
    font-family: "HemiHead";
    font-size: 12px;
    letter-spacing: 0.16em;
}

.contact-heading h2 {
    margin: 0;
    font-family: "aperture";
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.contact-heading-copy {
    max-width: 480px;
    margin: 0 0 4px;
    color: #c1c1c1;
    font-family: "HemiHead";
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.75;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    max-width: 1160px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    padding: clamp(16px, 2.4vw, 24px);
    border: 1px solid #30343b;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 62%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.contact-visual {
    position: relative;
    height: clamp(150px, 18vw, 220px);
    margin: 0;
    overflow: hidden;
    border: 1px solid #30343b;
    border-radius: 5px;
    background: #101216;
}

.contact-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-visual figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 13, 16, 0.82);
    color: #d3d5d9;
    font-family: "HemiHead";
    font-size: 12px;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.contact-info-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.contact-info-heading .contact-eyebrow {
    margin-bottom: 5px;
}

.contact-info-heading h3 {
    margin: 0;
    font-family: "aperture";
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 400;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    font-style: normal;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.025);
}

.contact-detail:first-child {
    grid-column: 1 / -1;
}

.contact-detail-link {
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-detail-link:hover,
.contact-detail-link:focus-visible {
    border-color: rgba(213, 217, 224, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.contact-detail-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #3b414b;
    border-radius: 50%;
    color: #c4cfdf;
}

.contact-detail-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail-label {
    display: block;
    margin-bottom: 4px;
    color: #969eab;
    font-family: "HemiHead";
    font-size: 10px;
    letter-spacing: 0.1em;
}

.contact-detail-value {
    display: block;
    color: #e0e1e4;
    font-family: "HemiHead";
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-panel {
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #303030;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 60%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.contact-panel .contact-eyebrow {
    margin-bottom: 12px;
}

.contact-panel h3 {
    margin: 0;
    font-family: "aperture";
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 400;
}

.contact-form-intro {
    margin: 10px 0 26px;
    color: #aaa;
    font-family: "HemiHead";
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 17px;
}

.contact-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-field {
    display: grid;
    gap: 8px;
    color: #c9c9c9;
    font-family: "HemiHead";
    font-size: 13px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #353535;
    border-radius: 3px;
    background: rgba(8, 8, 8, 0.55);
    color: var(--tx);
    font: inherit;
    font-size: 14px;
    padding: 13px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #9aa8bb;
    background: rgba(8, 8, 8, 0.8);
    outline: none;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form ::placeholder {
    color: #777;
}

.contact-form button {
    min-height: 50px;
    border: 1px solid #d5d9e0;
    border-radius: 3px;
    background: #d5d9e0;
    color: #111317;
    font: inherit;
    font-family: "aperture";
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
    border-color: #fff;
    background: #fff;
    transform: translateY(-1px);
}

footer {
    background: #0a0a0a;
    border-top: 1px solid #1c1c1c;
    text-align: center;
    padding: 18px var(--pad);
    color: #c4c9d1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

footer .footer-brand {
    font-family: "HemiHead", sans-serif;
    font-size: 14px;
}

footer .footer-divider {
    margin: 0 10px;
    color: #7f8a9b;
}

footer .footer-services {
    font-family: "HemiHead", sans-serif;
    font-size: 12px;
}

@media (max-width: 820px) {
    .about,
    .contact {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .orbit {
        margin: 10px auto 0;
    }

    .contact {
        min-height: 0;
    }
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    :root {
        --pad: 20px;
    }

    .hero {
        min-height: 100svh;
    }

    .logo-big {
        width: min(88vw, 560px);
    }

    .company-about {
        min-height: 0;
        gap: 32px;
    }

    .about-visual {
        padding-left: 12px;
        padding-bottom: 22px;
    }

    .about-brand {
        gap: 8px;
        padding: 8px 10px;
    }

    .about-brand img {
        width: 58px;
        height: 38px;
    }

    .about-brand span {
        font-size: 10px;
    }

    .project-card,
    .feature-card {
        padding: 22px;
    }

    .contact-panel {
        padding: 22px;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-detail:first-child {
        grid-column: auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .reasons {
        grid-template-columns: 1fr;
    }

    .reason {
        min-height: 0;
    }

    .pgrid {
        grid-template-columns: 1fr 1fr;
    }

    .pgrid div,
    .pgrid div:nth-child(n) {
        grid-column: span 1;
    }

    .pgrid div:nth-child(1) {
        grid-column: span 2;
    }

    .pgrid div:nth-child(5) {
        grid-column: span 2;
    }

    .job {
        grid-template-columns: 1fr;
        gap: 8px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .marquee div {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* logo big */
.logo-big {
    width: 80%;
    max-width: 1800px;
    height: auto;
    object-fit: contain;
    display: grid;
}

/* marquee */
.marquee {
    font-family: "hemihead";
    font-size: larger;
}

.squaregame {
    font-family: "architype";
    font-size: larger;
}

.aperture {
    font-family: "aperture";
    font-size: larger;
}

 /* Loader full screen */
     #loader-ii {
      position: fixed;
      inset: 0;
      background: #000000;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    #loader-ii img {
      display: block;
      width: min(80vw, 360px);
      max-height: 65svh;
      object-fit: contain;
    }

    /* Fade-out effect */
    .hidden-ii {
      opacity: 0;
      visibility: hidden;
      transition: opacity 1s ease;
    }