@font-face {
    font-family: Inter;
    src: url("inter-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --page: #090d17;
    --surface: #101622;
    --text: #f3f5fa;
    --muted: #b8bfce;
    --accent: #e6c780;
    --gold: #d8af56;
    --line: #ffffff1f;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font: 400 1rem/1.65 Inter, system-ui, sans-serif;
}

a { color: var(--accent); text-underline-offset: .23em; }
a:hover { color: white; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }

.shell { width: min(86%, 77.5rem); margin-inline: auto; }
.site-header { background: #0b0f18; border-bottom: 1px solid var(--line); }
.project-network {
    display: flex;
    justify-content: center;
    gap: clamp(.7rem, 2.3vw, 1.75rem);
    min-height: 30px;
    padding: 0 .65rem;
    border-bottom: 1px solid #ffffff12;
    background: #080b13;
}
.project-network a {
    display: flex;
    align-items: center;
    padding: .15rem .2rem 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: .67rem;
    letter-spacing: .035em;
    text-decoration: none;
    white-space: nowrap;
}
.project-network a:hover { color: white; }
.project-network a[aria-current] { border-bottom-color: var(--gold); color: var(--accent); }
.project-network a:focus-visible { outline-offset: -3px; }
.header-inner, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.header-inner { width: min(90%, 85rem); min-height: 83px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--text);
    text-decoration: none;
}
.brand img { display: block; object-fit: contain; }
.brand strong { display: block; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.brand small { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .15em; }
.languages { display: flex; gap: .35rem; }
.languages a {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.45rem;
    padding-inline: .55rem;
    border: 1px solid transparent;
    border-radius: 3px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 650;
    text-decoration: none;
}
.languages img { object-fit: contain; }
.languages a[aria-current], .languages a:hover {
    border-color: var(--line);
    background: var(--surface);
    color: var(--accent);
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5.5rem);
    padding-block: clamp(3.5rem, 7.5vw, 7rem);
}
h1 {
    font-size: clamp(4rem, 7.3vw, 7rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.075em;
}
h1 span {
    display: block;
    margin-bottom: .6rem;
    font-size: .48em;
    line-height: 1.06;
    letter-spacing: -.055em;
}
.intro-description {
    max-width: 35ch;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.55vw, 1.28rem);
}
.jump {
    display: inline-flex;
    align-items: center;
    gap: 1.35rem;
    min-height: 3.25rem;
    margin-top: 1.65rem;
    padding: .6rem 1.35rem;
    border-radius: 2px;
    background: var(--gold);
    color: #111620;
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}
.jump:hover { color: #111620; background: var(--accent); }
.client-shot {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
}
.client-shot img { display: block; width: 100%; height: auto; }
.client-shot figcaption {
    padding: .72rem 1rem;
    color: var(--muted);
    font-size: .76rem;
}

.technology {
    display: grid;
    grid-template-columns: minmax(13rem, .8fr) minmax(0, 2fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding-block: clamp(2rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    scroll-margin-top: 1.25rem;
}
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.1; letter-spacing: -.05em; }
.technology-grid article {
    display: grid;
    grid-template-columns: minmax(9rem, .72fr) minmax(0, 1.28fr);
    gap: .65rem 1.5rem;
    padding-block: 1.35rem;
    border-bottom: 1px solid var(--line);
}
.technology-grid article:first-child { padding-top: 0; }
.technology-grid article:last-child { border-bottom: 0; }
.technology-grid h3 { font-size: 1.08rem; font-weight: 650; }
.technology-grid h3 span { display: block; margin-bottom: .35rem; color: var(--accent); font-size: .75rem; font-weight: 500; }
.technology-detail { align-self: center; color: var(--muted); font-size: .93rem; }
.technology-detail a { display: inline-block; margin-top: .35rem; font-size: .78rem; }

.related { padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.project-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.project-links a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
}
.project-links a:hover { border-color: #d8af5670; background: #172235; }
.project-links img { object-fit: contain; flex-shrink: 0; }
.project-links strong { display: block; font-size: .92rem; }
.project-links small { display: block; color: var(--muted); font-size: .77rem; }
.project-arrow { margin-left: auto; color: var(--accent); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4rem; flex-wrap: wrap; justify-content: flex-start; padding-block: .9rem; color: var(--muted); font-size: .8rem; }
.footer-inner span { margin-right: auto; }
.footer-inner a { color: inherit; }

@media (max-width: 900px) {
    .intro { gap: 2rem; }
    h1 { font-size: clamp(3.6rem, 8vw, 5.2rem); }
    .technology { grid-template-columns: 1fr; gap: 1.65rem; }
}

@media (max-width: 680px) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { min-height: 69px; }
    .intro { grid-template-columns: 1fr; gap: 1.85rem; padding-block: 2.5rem; }
    h1 { font-size: clamp(3.65rem, 14vw, 5.25rem); }
    .intro-description { margin-top: 1rem; }
    .jump { margin-top: 1.15rem; }
    .technology-grid article, .project-links { grid-template-columns: 1fr; }
}

