:root {
    --paper: #e9ebef;
    --paper-deep: #d9dde3;
    --ink: #0a0b0d;
    --ink-soft: #4e525a;
    --line: rgba(10, 11, 13, 0.2);
    --red: #eb3e32;
    --red-dark: #bf251d;
    --jade: #158468;
    --white: #f7f7f4;
    --header-height: 72px;
    --page-pad: clamp(20px, 4vw, 72px);
    --display: "Bahnschrift", "DIN Alternate", "Aptos Display", "Noto Sans SC", sans-serif;
    --body: "Aptos", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans", sans-serif;
    --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        linear-gradient(rgba(10, 11, 13, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 11, 13, 0.035) 1px, transparent 1px),
        var(--paper);
    background-size: 40px 40px;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
select,
a {
    font: inherit;
}

a {
    color: inherit;
}

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

::selection {
    color: var(--white);
    background: var(--red);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    min-height: var(--header-height);
    padding: 0 var(--page-pad);
    border-bottom: 1px solid var(--ink);
    background: rgba(233, 235, 239, 0.92);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    color: var(--white);
    background: var(--red);
    font-family: var(--display);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.brand-mark > span {
    font-size: 0.7em;
    letter-spacing: 0.02em;
}

.brand-mark::after {
    position: absolute;
    right: -9px;
    bottom: -9px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    content: "";
}

.brand-wordmark {
    display: grid;
    line-height: 1;
}

.brand-wordmark strong {
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: 0.08em;
}

.brand-wordmark small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 48px);
    white-space: nowrap;
}

.desktop-nav a {
    position: relative;
    padding: 25px 0 23px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
}

.language-control {
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid var(--ink);
    background: var(--paper);
}

.language-code {
    padding: 0 10px;
    border-right: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.language-control select {
    min-width: 104px;
    height: 100%;
    padding: 0 28px 0 10px;
    color: var(--ink);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.language-control:focus-within {
    outline: 3px solid rgba(235, 62, 50, 0.35);
    outline-offset: 2px;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
    min-height: calc(100dvh - var(--header-height));
    border-bottom: 1px solid var(--ink);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(58px, 8vh, 100px) var(--page-pad);
}

.hero-kicker {
    align-self: flex-start;
    margin: 0 0 clamp(20px, 4vh, 44px);
    padding: 7px 10px;
    color: var(--white);
    background: var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero h1,
.about h2,
.capability-intro h2,
.language-copy h2,
.contact h2,
.work-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 900;
    letter-spacing: -0.065em;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 5vw, 84px);
    line-height: 0.99;
}

.hero h1 em,
.contact h2 em {
    display: inline-block;
    padding-right: 0.06em;
    padding-bottom: 0.08em;
    color: var(--red);
    font-style: italic;
    line-height: 1.1;
}

.hero-lead {
    max-width: 520px;
    margin: clamp(22px, 3vh, 32px) 0 0;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: clamp(28px, 5vh, 48px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 166px;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, transform 120ms ease;
}

.button i,
.project-arrow {
    position: relative;
    display: block;
    width: 17px;
    height: 17px;
}

.button i::before,
.project-arrow::before {
    position: absolute;
    top: 3px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.button i::after,
.project-arrow::after {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 13px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: rotate(-45deg);
    transform-origin: right center;
}

.button-primary {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--red-dark);
}

.button:active {
    transform: translateY(1px);
}

.text-link {
    padding: 4px 0;
    border-bottom: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--red);
    border-color: var(--red);
}

.hero-art {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-left: 1px solid var(--ink);
    background:
        radial-gradient(circle at 65% 42%, rgba(235, 62, 50, 0.14), transparent 31%),
        #dfe3e9;
}

.art-grid {
    position: absolute;
    inset: 0;
    opacity: 0.65;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, black 15%, transparent 95%);
}

.art-disc {
    position: absolute;
    top: 50%;
    left: 52%;
    display: grid;
    place-items: center;
    width: min(31vw, 430px);
    aspect-ratio: 1;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 28px 30px 0 rgba(10, 11, 13, 0.09);
    transform: translate(-50%, -50%);
    animation: discFloat 7s ease-in-out infinite;
}

.art-disc::before {
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    content: "";
}

.art-disc span {
    position: absolute;
    top: 21%;
    font-family: var(--mono);
    font-size: clamp(10px, 0.9vw, 13px);
    font-weight: 700;
    letter-spacing: 0.32em;
}

.art-disc strong {
    font-family: var(--display);
    font-size: clamp(108px, 13vw, 210px);
    font-weight: 900;
    line-height: 1;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 52%;
    border: 1px solid rgba(10, 11, 13, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit::after {
    position: absolute;
    top: 15%;
    right: 4%;
    width: 11px;
    height: 11px;
    background: var(--ink);
    border-radius: 50%;
    content: "";
}

.orbit-one {
    width: min(42vw, 590px);
    aspect-ratio: 1;
    animation: orbitSpin 20s linear infinite;
}

.orbit-two {
    width: min(53vw, 760px);
    aspect-ratio: 1;
    border-style: dashed;
    opacity: 0.5;
    animation: orbitSpinReverse 34s linear infinite;
}

.art-note,
.art-coordinate {
    position: absolute;
    z-index: 2;
    margin: 0;
    font-family: var(--mono);
    font-size: clamp(8px, 0.7vw, 11px);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.12em;
}

.art-note-top {
    top: 34px;
    left: 34px;
}

.art-note-bottom {
    right: 34px;
    bottom: 34px;
    text-align: right;
}

.art-coordinate {
    bottom: 34px;
    left: 34px;
    color: var(--ink-soft);
}

.signal-strip {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    border-bottom: 1px solid var(--ink);
}

.signal-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-height: 48px;
    animation: signalMove 26s linear infinite;
}

.signal-track span {
    padding: 0 32px;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.signal-track b {
    color: var(--red);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.section {
    position: relative;
    padding: clamp(88px, 11vw, 170px) var(--page-pad);
    border-bottom: 1px solid var(--ink);
}

.section-index {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.about {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1.35fr) minmax(280px, 0.7fr);
    gap: clamp(28px, 5vw, 88px);
    background: rgba(247, 247, 244, 0.62);
}

.about-statement h2 {
    max-width: 860px;
    font-size: clamp(42px, 6vw, 88px);
    line-height: 1.04;
}

.about-statement h2 strong,
.capability-intro h2 strong {
    color: var(--red);
    font-weight: inherit;
}

.about-statement > p {
    max-width: 690px;
    margin: 42px 0 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.85;
}

.principles {
    align-self: end;
    border-top: 1px solid var(--ink);
}

.principles article {
    display: grid;
    grid-template-columns: 36px 1fr;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.principles span,
.capability-list > article > span {
    color: var(--red);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
}

.principles h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 17px;
}

.principles p {
    grid-column: 2;
    margin: 5px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.7;
}

.section-dark {
    color: var(--white);
    background: var(--ink);
}

.work-heading {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px clamp(30px, 6vw, 90px);
    margin-bottom: clamp(50px, 7vw, 100px);
}

.work-heading .section-index {
    padding-top: 14px;
    color: rgba(247, 247, 244, 0.55);
}

.work-heading h2 {
    font-size: clamp(46px, 6.7vw, 100px);
    line-height: 1;
}

.work-heading p {
    grid-column: 2;
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(247, 247, 244, 0.62);
    font-size: 17px;
}

.project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
    gap: 1px;
    border: 1px solid rgba(247, 247, 244, 0.34);
    background: rgba(247, 247, 244, 0.34);
}

.project {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: clamp(22px, 3vw, 42px);
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    text-decoration: none;
}

.project-sanctuary {
    grid-row: span 2;
    min-height: 820px;
}

.project-number {
    position: relative;
    z-index: 3;
    color: rgba(247, 247, 244, 0.56);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.project-visual {
    position: relative;
    flex: 1;
    min-height: 260px;
    margin: 30px 0;
    overflow: hidden;
}

.sanctuary-visual {
    border: 1px solid rgba(247, 247, 244, 0.34);
    background:
        linear-gradient(rgba(247, 247, 244, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 247, 244, 0.08) 1px, transparent 1px),
        #18191c;
    background-size: 38px 38px;
}

.sanctuary-visual strong {
    position: absolute;
    right: 7%;
    bottom: -16%;
    color: var(--red);
    font-family: var(--display);
    font-size: clamp(260px, 31vw, 520px);
    line-height: 1;
    transform: rotate(-7deg);
}

.visual-system {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.15em;
}

.dialog-line {
    position: absolute;
    z-index: 2;
    height: 38px;
    border: 1px solid rgba(247, 247, 244, 0.62);
    background: rgba(10, 11, 13, 0.72);
}

.line-a {
    top: 22%;
    left: 8%;
    width: 37%;
}

.line-b {
    top: 39%;
    left: 18%;
    width: 51%;
}

.line-c {
    top: 56%;
    left: 11%;
    width: 43%;
}

.jade-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12%;
    color: #ddfff4;
    background:
        radial-gradient(circle at 24% 50%, rgba(125, 255, 210, 0.28), transparent 33%),
        #0d5948;
}

.jade-ring {
    display: grid;
    place-items: center;
    width: 48%;
    aspect-ratio: 1;
    border: 1px solid rgba(221, 255, 244, 0.7);
    border-radius: 50%;
    box-shadow: inset 0 0 0 20px rgba(221, 255, 244, 0.07);
}

.jade-ring strong {
    font-family: var(--display);
    font-size: clamp(70px, 7vw, 118px);
}

.jade-visual > span,
.lab-visual > span {
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 0.16em;
}

.project-lab {
    min-height: 460px;
    color: var(--ink);
    background: var(--paper-deep);
}

.project-lab .project-number {
    color: var(--ink-soft);
}

.lab-visual {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    margin: 22px 0;
}

.lab-cross {
    position: relative;
    width: 118px;
    height: 118px;
}

.lab-cross::before,
.lab-cross::after {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--red);
    content: "";
    transform: translate(-50%, -50%);
}

.lab-cross::before {
    width: 100%;
    height: 22px;
}

.lab-cross::after {
    width: 22px;
    height: 100%;
}

.project-copy {
    position: relative;
    z-index: 3;
}

.project-copy p {
    margin: 0 0 8px;
    color: var(--red);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.project-copy h3 {
    margin: 0 0 13px;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.project-copy > span {
    display: block;
    max-width: 620px;
    color: rgba(247, 247, 244, 0.64);
    font-size: 14px;
    line-height: 1.75;
}

.project-lab .project-copy > span {
    color: var(--ink-soft);
}

.project-arrow {
    position: absolute;
    right: clamp(22px, 3vw, 42px);
    bottom: clamp(24px, 3vw, 44px);
    width: 24px;
    height: 24px;
    transition: transform 180ms ease;
}

.project:hover .project-arrow,
.project:focus-visible .project-arrow {
    transform: translate(4px, -4px);
}

.project:focus-visible {
    z-index: 5;
    outline: 3px solid var(--red);
    outline-offset: -4px;
}

.project-status {
    align-self: flex-start;
    margin-top: 22px;
    padding: 5px 8px;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.capabilities {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(50px, 9vw, 150px);
    background: rgba(247, 247, 244, 0.68);
}

.capability-intro {
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 50px);
}

.capability-intro h2 {
    margin-top: 34px;
    font-size: clamp(42px, 5.3vw, 78px);
    line-height: 1.07;
}

.capability-list {
    border-top: 1px solid var(--ink);
}

.capability-list article {
    display: grid;
    grid-template-columns: 44px minmax(150px, 0.7fr) minmax(210px, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 142px;
    border-bottom: 1px solid var(--ink);
    transition: padding 180ms ease, background 180ms ease;
}

.capability-list article:hover {
    padding: 0 18px;
    background: rgba(235, 62, 50, 0.07);
}

.capability-list h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(22px, 2vw, 30px);
    letter-spacing: -0.03em;
}

.capability-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.capability-list b {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
}

.language-manifesto {
    display: grid;
    grid-template-columns: minmax(430px, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: clamp(50px, 8vw, 130px);
    overflow: hidden;
    color: var(--white);
    background: var(--red);
}

.language-stage {
    position: relative;
    min-height: 570px;
}

.language-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(40vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(247, 247, 244, 0.54);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.language-orbit::before,
.language-orbit::after {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(247, 247, 244, 0.28);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.language-orbit::before {
    width: 70%;
    height: 70%;
}

.language-orbit::after {
    width: 130%;
    height: 42%;
}

.language-center {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-align: center;
    transform: translate(-50%, -50%);
}

.hello {
    position: absolute;
    z-index: 2;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(26px, 3vw, 48px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hello-zh { top: 7%; left: 4%; }
.hello-ja { top: 20%; right: -2%; }
.hello-en { right: 6%; bottom: 10%; font-style: italic; }
.hello-tw { bottom: 18%; left: 0; }
.hello-ms { right: 19%; bottom: -1%; font-size: clamp(22px, 3vw, 42px); }

.language-copy .section-index {
    margin-bottom: 36px;
    color: rgba(247, 247, 244, 0.72);
}

.language-copy h2 {
    font-size: clamp(48px, 6.5vw, 98px);
    line-height: 1;
}

.language-copy > p {
    max-width: 610px;
    margin: 34px 0 0;
    color: rgba(247, 247, 244, 0.82);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.9;
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.language-list span {
    padding: 8px 12px;
    border: 1px solid rgba(247, 247, 244, 0.7);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.contact {
    padding-top: clamp(70px, 8vw, 120px);
    padding-bottom: clamp(70px, 8vw, 120px);
    background: var(--paper-deep);
}

.contact-frame {
    padding: clamp(32px, 6vw, 90px);
    color: var(--white);
    background: var(--ink);
}

.contact-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(50px, 7vw, 100px);
    color: rgba(247, 247, 244, 0.55);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.contact h2 {
    max-width: 1100px;
    font-size: clamp(44px, 7.2vw, 110px);
    line-height: 1.03;
}

.contact > p,
.contact-frame > p {
    max-width: 600px;
    margin: 30px 0;
    color: rgba(247, 247, 244, 0.65);
    font-size: 17px;
}

.button-light {
    margin-top: 8px;
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: clamp(54px, 7vw, 98px);
    padding-top: 24px;
    border-top: 1px solid rgba(247, 247, 244, 0.24);
}

.contact-links a {
    color: rgba(247, 247, 244, 0.78);
    font-size: 12px;
    text-underline-offset: 4px;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    color: var(--white);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-height: 108px;
    padding: 22px var(--page-pad);
    background: var(--paper);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.brand-mark-small {
    width: 28px;
    height: 28px;
    font-size: 15px;
}

.site-footer p {
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-align: center;
}

.site-footer > a {
    justify-self: end;
    font-size: 12px;
    font-weight: 700;
    text-underline-offset: 4px;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes discFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 12px)); }
}

@keyframes orbitSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpinReverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes signalMove {
    to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 10px;
        border: 1px solid var(--ink);
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: var(--ink);
        transition: transform 180ms ease;
    }

    .menu-toggle span + span {
        margin-top: -6px;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-bottom: 1px solid var(--ink);
        background: var(--paper);
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .mobile-menu a {
        padding: 18px var(--page-pad);
        border-right: 1px solid var(--line);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .about {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .principles {
        grid-column: 2;
    }

    .capability-list article {
        grid-template-columns: 34px minmax(140px, 0.7fr) minmax(180px, 1fr);
    }

    .capability-list b {
        display: none;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 64px;
    }

    .site-header {
        min-height: var(--header-height);
    }

    .brand-wordmark small {
        display: none;
    }

    .language-code {
        display: none;
    }

    .language-control select {
        min-width: 98px;
        padding-left: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        min-height: calc(76dvh - var(--header-height));
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hero h1 {
        font-size: clamp(44px, 10vw, 72px);
    }

    .hero-art {
        min-height: min(90vw, 650px);
        border-top: 1px solid var(--ink);
        border-left: 0;
    }

    .art-disc {
        width: min(53vw, 400px);
    }

    .art-disc strong {
        font-size: clamp(120px, 26vw, 210px);
    }

    .orbit-one { width: min(74vw, 540px); }
    .orbit-two { width: min(94vw, 690px); }

    .about {
        grid-template-columns: 1fr;
    }

    .principles {
        grid-column: auto;
        margin-top: 20px;
    }

    .work-heading {
        grid-template-columns: 1fr;
    }

    .work-heading p,
    .work-heading h2 {
        grid-column: auto;
    }

    .work-heading .section-index {
        padding: 0 0 26px;
    }

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

    .project-sanctuary {
        grid-row: auto;
        min-height: 700px;
    }

    .capabilities {
        grid-template-columns: 1fr;
    }

    .capability-intro {
        position: static;
    }

    .language-manifesto {
        grid-template-columns: 1fr;
    }

    .language-stage {
        min-height: min(90vw, 570px);
    }

    .language-orbit {
        width: min(70vw, 500px);
    }

    .site-footer {
        grid-template-columns: 1fr auto;
    }

    .site-footer p {
        grid-row: 2;
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 600px) {
    body {
        background-size: 28px 28px;
    }

    .site-header {
        padding: 0 14px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .brand-wordmark strong {
        font-size: 14px;
    }

    .language-control {
        height: 36px;
    }

    .language-control select {
        min-width: 116px;
        max-width: 116px;
        padding-right: 18px;
        font-size: 11px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .mobile-menu {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-menu a {
        padding: 15px 10px;
        border-top: 1px solid var(--line);
    }

    .hero-copy {
        min-height: 670px;
    }

    .hero-kicker {
        margin-bottom: 26px;
        font-size: 8px;
    }

    .hero h1 {
        font-size: clamp(42px, 13.5vw, 62px);
    }

    .hero-lead {
        font-size: 16px;
    }

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

    .hero-art {
        min-height: 440px;
    }

    .art-disc {
        width: 61vw;
    }

    .orbit-one { width: 85vw; }
    .orbit-two { width: 112vw; }

    .art-note-top,
    .art-coordinate {
        left: 18px;
    }

    .art-note-top { top: 18px; }
    .art-note-bottom { right: 18px; bottom: 18px; }
    .art-coordinate { bottom: 18px; }

    .section {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    .about-statement h2,
    .capability-intro h2 {
        font-size: clamp(38px, 11.5vw, 54px);
    }

    .about-statement > p {
        margin-top: 28px;
        font-size: 16px;
    }

    .project {
        min-height: 520px;
    }

    .project-sanctuary {
        min-height: 610px;
    }

    .project-visual {
        min-height: 235px;
    }

    .project-copy {
        padding-right: 30px;
    }

    .project-copy h3 {
        font-size: 32px;
    }

    .project-arrow {
        right: 22px;
        bottom: 25px;
    }

    .jade-visual {
        padding: 9%;
    }

    .capability-list article {
        grid-template-columns: 30px 1fr;
        gap: 6px 14px;
        min-height: 126px;
        padding: 20px 0;
    }

    .capability-list p {
        grid-column: 2;
    }

    .language-stage {
        min-height: 390px;
    }

    .hello {
        font-size: clamp(22px, 8vw, 38px);
    }

    .language-copy h2 {
        font-size: clamp(46px, 14vw, 70px);
    }

    .contact-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .contact h2 {
        font-size: clamp(40px, 12vw, 62px);
    }

    .site-footer {
        min-height: 130px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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

@media (max-width: 340px) {
    .brand-wordmark {
        display: none;
    }
}

@supports not (backdrop-filter: blur(18px)) {
    .site-header {
        background: var(--paper);
    }
}
