@font-face {
    font-family: "Suki Sans";
    src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "Suki Serif";
    src: url("../fonts/Literata72pt-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --bg: #091118;
    --bg-elevated: #0f1c26;
    --surface: rgba(15, 28, 38, 0.8);
    --surface-strong: rgba(19, 36, 48, 0.94);
    --surface-soft: rgba(146, 196, 228, 0.08);
    --text: #eef5f7;
    --muted: rgba(238, 245, 247, 0.72);
    --line: rgba(163, 208, 231, 0.18);
    --primary: #77d4c3;
    --primary-deep: #2b7a78;
    --accent: #f4b56a;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --content: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(119, 212, 195, 0.16), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(244, 181, 106, 0.12), transparent 20%),
        linear-gradient(180deg, #0b141b 0%, #091118 48%, #060d12 100%);
    font-family: "Suki Sans", sans-serif;
    line-height: 1.6;
}

body.admin-bar .site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
}

.site-shell::before {
    width: 360px;
    height: 360px;
    top: 140px;
    right: -100px;
    background: rgba(119, 212, 195, 0.16);
}

.site-shell::after {
    width: 300px;
    height: 300px;
    top: 620px;
    left: -90px;
    background: rgba(244, 181, 106, 0.1);
}

.site-header,
.landing-page,
.site-footer,
.content-page {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(7, 15, 22, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner,
.hero-section__inner,
.statement-band__inner,
.capabilities-section,
.project-section,
.gallery-section,
.principles-section,
.process-section,
.site-footer,
.content-page__inner {
    width: min(calc(100% - 32px), var(--content));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
    flex-wrap: wrap;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(119, 212, 195, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.site-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a,
.language-switcher__option,
.button {
    transition: color 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.language-switcher {
    position: relative;
}

.language-switcher[open] .language-switcher__caret {
    transform: rotate(180deg);
}

.language-switcher__summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 92px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    list-style: none;
    cursor: pointer;
}

.language-switcher__summary::-webkit-details-marker {
    display: none;
}

.language-switcher__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(119, 212, 195, 0.12);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.language-switcher__value {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.language-switcher__caret {
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 1.5px solid rgba(238, 245, 247, 0.7);
    border-bottom: 1.5px solid rgba(238, 245, 247, 0.7);
    transform: rotate(45deg);
}

.language-switcher__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    gap: 6px;
    min-width: 112px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(8, 16, 24, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.language-switcher__option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.language-switcher__option:hover,
.language-switcher__option:focus-visible,
.language-switcher__option.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(119, 212, 195, 0.18), rgba(43, 122, 120, 0.2));
}

.hero-section {
    padding: 78px 0 42px;
}

.hero-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 32px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.statement-band__grid h2,
.site-footer h2,
.content-entry h1,
.studio-panel h2 {
    margin: 0;
    font-family: "Suki Serif", serif;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.hero-copy__lead {
    max-width: 58ch;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions,
.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button--primary {
    color: #062321;
    background: linear-gradient(135deg, #9af1df 0%, #77d4c3 52%, #f4b56a 100%);
    box-shadow: 0 16px 38px rgba(119, 212, 195, 0.24);
}

.button--ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.hero-facts,
.product-card__details {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts {
    display: grid;
    gap: 10px;
    color: var(--text);
}

.hero-facts li,
.product-card__details li {
    position: relative;
    padding-left: 22px;
}

.hero-facts li::before,
.product-card__details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 18px rgba(119, 212, 195, 0.38);
}

.hero-visual {
    min-height: 520px;
    display: grid;
    align-items: stretch;
}

.studio-panel,
.statement-band__grid,
.capability-card,
.product-card,
.thread-card,
.principles-grid article,
.process-card,
.content-entry,
.site-footer__inner {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(9, 19, 27, 0.92);
    box-shadow: var(--shadow);
}

.studio-panel {
    display: grid;
    gap: 22px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(119, 212, 195, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(10, 21, 30, 0.94);
}

.studio-panel__intro p:last-child,
.mini-product-card p,
.statement-band__grid p,
.capability-card p,
.product-card__summary,
.thread-card p,
.principles-grid p,
.process-card p,
.site-footer__meta,
.content-entry,
.product-card__details {
    color: var(--muted);
}

.studio-panel__products {
    display: grid;
    gap: 14px;
}

.mini-product-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.mini-product-card__name {
    font-weight: 800;
    font-size: 1rem;
}

.mini-product-card__label,
.product-card__label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mini-product-card p {
    margin: 0;
    font-size: 0.95rem;
}

.studio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.studio-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(119, 212, 195, 0.1);
    border: 1px solid rgba(119, 212, 195, 0.14);
    color: var(--text);
    font-size: 0.88rem;
}

.statement-band,
.capabilities-section,
.project-section,
.gallery-section,
.principles-section,
.process-section {
    padding: 56px 0;
}

.statement-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
    gap: 32px;
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(119, 212, 195, 0.1), rgba(244, 181, 106, 0.08)),
        rgba(9, 19, 27, 0.92);
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.section-heading h2,
.statement-band__grid h2,
.site-footer h2,
.content-entry h1,
.studio-panel h2 {
    font-size: clamp(1.7rem, 2.3vw, 2.3rem);
}

.capability-grid,
.product-grid,
.threads-grid,
.principles-grid,
.process-grid {
    display: grid;
    gap: 22px;
}

.capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.threads-grid,
.principles-grid,
.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.product-card,
.thread-card,
.principles-grid article,
.process-card,
.content-entry {
    padding: 28px;
}

.capability-card h3,
.product-card h3,
.thread-card h3,
.principles-grid h3,
.process-card h3 {
    margin: 0 0 12px;
    font-size: 1.16rem;
}

.capability-card p,
.thread-card p,
.principles-grid p,
.process-card p,
.product-card__summary {
    margin: 0;
}

.product-card {
    display: grid;
    gap: 18px;
}

.product-card__header {
    display: grid;
    gap: 10px;
}

.product-card__summary {
    font-size: 1rem;
}

.product-card__details {
    display: grid;
    gap: 12px;
}

.product-card__cta {
    width: fit-content;
    margin-top: 6px;
}

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(119, 212, 195, 0.12);
    color: var(--primary);
    font-weight: 800;
}

.site-footer {
    padding: 48px 0 64px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding: 38px;
    background:
        radial-gradient(circle at top right, rgba(244, 181, 106, 0.18), transparent 28%),
        rgba(10, 21, 30, 0.94);
}

.site-footer__brand {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 18px;
    overflow: hidden;
}

.site-footer__brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    font-size: 0.95rem;
}

.site-footer__meta p,
.site-footer__legal {
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer__legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(119, 212, 195, 0.34);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: var(--text);
    text-decoration-color: rgba(119, 212, 195, 0.7);
}

.content-page {
    padding: 84px 0 56px;
}

.content-page__inner {
    max-width: 860px;
}

.content-entry .entry-content > *:first-child {
    margin-top: 0;
}

.content-entry .entry-content > *:last-child {
    margin-bottom: 0;
}

.content-entry p,
.content-entry li {
    font-size: 1.02rem;
}

body.lang-vi .hero-copy h1 {
    max-width: 12.8ch;
    font-size: clamp(2.15rem, 3.5vw, 4rem);
}

body.lang-vi .section-heading h2,
body.lang-vi .statement-band__grid h2,
body.lang-vi .site-footer h2,
body.lang-vi .content-entry h1 {
    letter-spacing: -0.015em;
}

@media (max-width: 1100px) {
    .hero-section__inner,
    .statement-band__grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: unset;
    }
}

@media (max-width: 900px) {
    .capability-grid,
    .product-grid,
    .threads-grid,
    .principles-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__meta {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .site-header__inner {
        min-height: unset;
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 14px;
    }

    .language-switcher {
        align-self: flex-start;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .studio-panel,
    .statement-band__grid,
    .capability-card,
    .product-card,
    .thread-card,
    .principles-grid article,
    .process-card,
    .site-footer__inner,
    .content-entry {
        padding: 24px;
    }

    .mini-product-card__top {
        flex-direction: column;
    }

    .site-footer__legal {
        flex-direction: column;
        align-items: flex-start;
    }
}
