@font-face {
    font-family: "Kagetica Space";
    src: url("../assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

@font-face {
    font-family: "Kagetica Zen";
    src: url("../assets/fonts/ZenKakuGothicNew-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #070509;
    --bg-raised: #0d0715;
    --surface: #140b20;
    --surface-strong: #25123b;
    --text: #fffdf4;
    --muted: #c9bece;
    --quiet: #8e7e96;
    --line: rgba(255, 253, 244, 0.16);
    --line-strong: rgba(255, 253, 244, 0.38);
    --accent: #caff00;
    --accent-ink: #070509;
    --pink: #ff0aa9;
    --blue: #2141f2;
    --yellow: #f2ff00;
    --violet: #7022d7;
    --header-height: 72px;
    --content: 1440px;
    --gutter: clamp(20px, 4vw, 64px);
    --display: "Kagetica Space", "Kagetica Zen", sans-serif;
    --body: "Kagetica Space", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    opacity: 0.055;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        currentColor 4px
    );
}

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

a {
    color: inherit;
}

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

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

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    transform: translateY(-150%);
    background: var(--accent);
    color: var(--accent-ink);
    padding: 10px 14px;
    font-weight: 800;
    text-decoration: none;
}

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

.container {
    width: min(100%, var(--content));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(100%, var(--content));
    height: 100%;
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(18px, 3vw, 46px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
    text-decoration: none;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--display);
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.site-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: clamp(17px, 2.2vw, 34px);
    white-space: nowrap;
}

.site-nav a {
    position: relative;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.language-switcher a {
    color: var(--muted);
    text-decoration: none;
}

.language-switcher a[aria-current="page"] {
    color: var(--accent);
}

.language-switcher a:hover {
    color: var(--text);
}

.menu-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
    background: var(--text);
    color: var(--bg);
}

.menu-toggle:active,
.button:active {
    transform: translateY(1px) scale(0.98);
}

.menu-toggle {
    display: none;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
}

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

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.button-primary:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.button-secondary {
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    color: var(--text);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
}

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

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 38%, color-mix(in srgb, var(--bg) 44%, transparent) 70%, color-mix(in srgb, var(--bg) 8%, transparent) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}

.hero-inner {
    width: min(100%, var(--content));
    margin-inline: auto;
    padding: calc(var(--header-height) + 20px) var(--gutter) 50px;
}

.hero-copy {
    width: min(860px, 70vw);
}

.hero-title {
    max-width: 11em;
    margin: 24px 0 22px;
    font-family: var(--display);
    font-size: clamp(3rem, 5.2vw, 4.9rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.hero-line {
    display: block;
    white-space: nowrap;
}

.hero-title .accent-word {
    color: var(--accent);
}

.hero-lead {
    max-width: 510px;
    margin: 0;
    color: color-mix(in srgb, var(--text) 84%, transparent);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 650;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.identity-band {
    border-bottom: 1px solid var(--line);
    background: var(--bg-raised);
}

.identity-band-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.identity-role {
    min-width: 0;
    padding: clamp(24px, 3.2vw, 42px) clamp(20px, 3vw, 44px);
    border-left: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
}

.identity-role:first-child {
    grid-column: span 5;
    padding-left: 0;
    border-left: 0;
}

.identity-role:nth-child(2) {
    grid-column: span 4;
}

.identity-role:nth-child(3) {
    grid-column: span 3;
    padding-right: 0;
}

.identity-role h2 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.2vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1;
}

.identity-role p {
    max-width: 34ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.proof-stat strong {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--display);
    font-size: clamp(2.8rem, 5.4vw, 6.4rem);
    font-weight: 700;
    letter-spacing: -0.075em;
    line-height: 0.82;
}

.proof-stat h2 {
    font-size: clamp(0.78rem, 1.1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-stat:hover strong {
    color: var(--accent-ink);
}

.identity-role-link {
    transition: background 180ms ease, color 180ms ease;
}

.identity-role-link:hover {
    background: var(--accent);
    color: var(--accent-ink);
}

.identity-role-link:hover p {
    color: color-mix(in srgb, var(--accent-ink) 74%, transparent);
}

.section {
    padding-block: clamp(88px, 11vw, 168px);
}

.section-tight {
    padding-block: clamp(58px, 7vw, 96px);
}

.section-rule {
    border-top: 1px solid var(--line);
}

.section-heading {
    max-width: 840px;
    margin-bottom: clamp(40px, 6vw, 82px);
}

.section-heading h2,
.section-heading h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.35rem, 5.2vw, 5.7rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.section-heading p {
    max-width: 62ch;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.manifesto {
    display: block;
}

.manifesto h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.5rem, 6vw, 6.5rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.manifesto h2 span {
    color: var(--accent);
}

.manifesto-copy {
    max-width: 58ch;
    margin: clamp(28px, 4vw, 54px) 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.work-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
    grid-template-areas:
        "lead side-a"
        "lead side-b"
        "wide wide";
    gap: clamp(24px, 3vw, 46px);
}

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

.work-card:nth-child(1) {
    grid-area: lead;
}

.work-card:nth-child(2) {
    grid-area: side-a;
}

.work-card:nth-child(3) {
    grid-area: side-b;
}

.work-card:nth-child(4) {
    grid-area: wide;
}

.work-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}

.work-card:nth-child(1) .work-visual {
    aspect-ratio: 4 / 5;
}

.work-card:nth-child(2) .work-visual,
.work-card:nth-child(3) .work-visual {
    aspect-ratio: 16 / 9;
}

.work-card:nth-child(4) .work-visual {
    aspect-ratio: 21 / 8;
}

.work-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.work-card:nth-child(1) .work-visual img {
    object-position: 58% center;
}

.work-card:hover .work-visual img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.work-caption {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: start;
    padding-top: 18px;
}

.work-caption h3 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: clamp(1.25rem, 2vw, 2rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.work-caption p {
    max-width: 48ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.work-caption .arrow-link {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line-strong);
    font-size: 1.15rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.work-caption .arrow-link:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.project-index {
    display: grid;
    border-top: 1px solid var(--line-strong);
}

.video-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 1px;
    margin-bottom: 28px;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
}

.video-work {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-raised);
}

.video-work-featured {
    grid-row: 1 / span 2;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #090c0a;
}

.video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-work-copy {
    display: grid;
    gap: 8px;
    padding: clamp(16px, 2.2vw, 28px);
}

.video-work-copy h3,
.video-work-copy p {
    margin: 0;
}

.video-work-copy h3 {
    font-family: var(--display);
    font-size: clamp(1rem, 1.6vw, 1.55rem);
    line-height: 1.08;
}

.video-work-copy p {
    color: var(--muted);
    font-size: 0.82rem;
}

.video-work-copy .video-work-scope {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.5;
    text-transform: uppercase;
}

.video-channel-link {
    margin-bottom: clamp(68px, 8vw, 112px);
    text-align: right;
}

.related-projects-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.related-projects-heading h3,
.related-projects-heading p {
    margin: 0;
}

.related-projects-heading h3 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.related-projects-heading p {
    max-width: 48ch;
    color: var(--muted);
}

.project-index-row {
    display: grid;
    grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.2fr) auto;
    gap: clamp(24px, 5vw, 76px);
    align-items: start;
    padding: clamp(30px, 4vw, 54px) 0;
    border-bottom: 1px solid var(--line);
}

.project-index-row h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.7vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.project-index-row p {
    max-width: 58ch;
    margin: 0;
    color: var(--muted);
}

.project-index-meta {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-end-link {
    margin-top: 48px;
    text-align: right;
}

.capability-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(28px, 6vw, 96px);
}

.capability-primary {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 66px);
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.capability-primary h2 {
    max-width: 9ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 6.6rem);
    letter-spacing: -0.045em;
    line-height: 0.94;
}

.capability-primary p {
    max-width: 40ch;
    margin: 36px 0 0;
    font-weight: 750;
}

.capability-stack {
    display: grid;
    align-content: start;
}

.capability-item {
    padding: clamp(27px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--line);
}

.capability-item:first-child {
    padding-top: 0;
}

.capability-item h3 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.7vw, 2.8rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.capability-item p {
    margin: 0;
    color: var(--muted);
}

.capability-stack > .text-link {
    justify-self: start;
    margin-top: 32px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.process-item {
    min-height: 260px;
    padding: 30px clamp(18px, 2.5vw, 38px) 28px 0;
    border-right: 1px solid var(--line);
}

.process-item:not(:first-child) {
    padding-left: clamp(18px, 2.5vw, 38px);
}

.process-item:last-child {
    border-right: 0;
}

.process-item h3 {
    margin: 0 0 24px;
    font-family: var(--display);
    font-size: clamp(2rem, 3.3vw, 3.8rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.process-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.assurance-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 9vw, 140px);
    align-items: start;
}

.assurance-copy {
    position: sticky;
    top: calc(var(--header-height) + 48px);
}

.assurance-copy h2 {
    max-width: 11ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.5rem, 5.5vw, 5.8rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.assurance-copy p {
    max-width: 38ch;
    margin: 24px 0 0;
    color: var(--muted);
}

.assurance-list {
    display: grid;
    border-top: 1px solid var(--line-strong);
}

.assurance-item {
    display: grid;
    grid-template-columns: minmax(100px, 0.36fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(30px, 4vw, 54px) 0;
    border-bottom: 1px solid var(--line);
}

.assurance-item h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.8vw, 2.8rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.assurance-item p {
    margin: 0;
    color: var(--muted);
}

.about-preview {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
    gap: clamp(38px, 8vw, 124px);
    align-items: center;
}

.about-image {
    position: relative;
    background: var(--surface);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border: 1px solid var(--accent);
}

.about-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-copy h2 {
    max-width: 14ch;
    margin: 16px 0 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    letter-spacing: -0.045em;
    line-height: 0.97;
}

.about-copy p {
    max-width: 55ch;
    margin: 26px 0 0;
    color: var(--muted);
}

.about-copy .text-link {
    margin-top: 28px;
}

.lab-strip {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.lab-item {
    grid-column: span 3;
    color: var(--text);
    text-decoration: none;
}

.lab-item:nth-child(1),
.lab-item:nth-child(4) {
    grid-column: span 4;
}

.lab-item:nth-child(2),
.lab-item:nth-child(3) {
    grid-column: span 4;
}

.lab-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    background: var(--surface);
}

.lab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-item:hover .lab-thumb img {
    transform: scale(1.045);
}

.lab-item h3 {
    margin: 14px 0 4px;
    font-size: 1rem;
    line-height: 1.35;
}

.lab-item p {
    margin: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.7rem;
}

.contact-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: end;
    padding: clamp(36px, 7vw, 96px);
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.contact-panel::after {
    content: "FICTION";
    position: absolute;
    right: -0.08em;
    bottom: -0.25em;
    color: color-mix(in srgb, var(--text) 4%, transparent);
    font-family: var(--display);
    font-size: clamp(7rem, 19vw, 18rem);
    letter-spacing: -0.09em;
    line-height: 1;
    pointer-events: none;
}

.contact-panel h2 {
    position: relative;
    z-index: 1;
    max-width: 12ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 6.6rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.contact-panel p {
    position: relative;
    z-index: 1;
    max-width: 52ch;
    margin: 20px 0 0;
    color: var(--muted);
}

.contact-panel .button {
    position: relative;
    z-index: 1;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: end;
}

.footer-name {
    margin: 0;
    font-family: var(--display);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.footer-role,
.copyright {
    margin: 4px 0 0;
    color: var(--quiet);
    font-family: var(--mono);
    font-size: 0.68rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.footer-links a {
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.subhero {
    min-height: 72dvh;
    display: grid;
    align-items: end;
    padding: calc(var(--header-height) + 36px) 0 clamp(60px, 8vw, 110px);
    border-bottom: 1px solid var(--line);
}

.subhero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.subhero h1 {
    max-width: 11ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3.2rem, 8vw, 9rem);
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.subhero-copy {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.project-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: stretch;
}

.project-feature-image {
    min-height: 560px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.project-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block: 8px;
}

.project-feature-copy h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    letter-spacing: -0.04em;
    line-height: 0.97;
}

.project-feature-copy p {
    margin: 22px 0 0;
    color: var(--muted);
}

.project-meta {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.project-meta div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.project-meta dt {
    color: var(--quiet);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-meta dd {
    margin: 7px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.offer-ladder {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.offer-row {
    display: grid;
    grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.1fr) minmax(230px, 0.65fr);
    gap: clamp(24px, 5vw, 76px);
    align-items: start;
    padding: clamp(34px, 5vw, 66px) 0;
    border-bottom: 1px solid var(--line);
}

.offer-row-featured {
    margin-inline: calc(var(--gutter) * -0.5);
    padding-inline: calc(var(--gutter) * 0.5);
    background: var(--accent);
    color: var(--accent-ink);
}

.offer-row h2,
.offer-row h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.7rem, 3.4vw, 3.7rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.offer-kind {
    margin: 0 0 10px;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-summary {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.offer-row-featured .offer-summary,
.offer-row-featured .offer-note {
    color: color-mix(in srgb, var(--accent-ink) 76%, transparent);
}

.offer-deliverables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.offer-deliverables li {
    padding-left: 16px;
    position: relative;
    font-size: 0.86rem;
    font-weight: 700;
}

.offer-deliverables li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--mono);
}

.offer-row-featured .offer-deliverables li::before {
    color: var(--accent-ink);
}

.offer-action {
    display: grid;
    align-content: start;
    gap: 18px;
}

.offer-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.offer-row-featured .button {
    border-color: var(--accent-ink);
    background: var(--accent-ink);
    color: var(--accent);
}

.offer-row-featured .button:hover {
    background: transparent;
    color: var(--accent-ink);
}

.fit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(24px, 5vw, 72px);
}

.fit-block {
    min-height: 380px;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line);
}

.fit-block h2,
.fit-block h3 {
    margin: 0 0 24px;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 3.8rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.fit-block ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fit-block li {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.fit-block-accent {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.fit-block-accent li {
    border-color: color-mix(in srgb, var(--accent-ink) 22%, transparent);
    color: color-mix(in srgb, var(--accent-ink) 78%, transparent);
}

.consultation-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(40px, 8vw, 130px);
    align-items: start;
}

.consultation-grid h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.3rem, 5vw, 5.4rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.consultation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.consultation-list li {
    min-height: 122px;
    padding: 20px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.consultation-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.brief-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(44px, 8vw, 132px);
    align-items: start;
}

.brief-intro {
    position: sticky;
    top: calc(var(--header-height) + 36px);
}

.brief-intro h2 {
    max-width: 9ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.7rem, 5.4vw, 6.2rem);
    font-weight: 680;
    letter-spacing: -0.065em;
    line-height: 0.94;
}

.brief-intro > p:not(.eyebrow) {
    max-width: 42ch;
    margin: 24px 0 0;
    color: var(--muted);
}

.brief-intro .brief-direct {
    font-size: 0.82rem;
}

.brief-direct a {
    color: var(--text);
    text-underline-offset: 0.22em;
}

.brief-form {
    padding: clamp(24px, 4vw, 54px);
    border: 1px solid var(--line-strong);
    border-top: 4px solid var(--accent);
    background: var(--surface);
}

.brief-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

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

.brief-field-wide {
    grid-column: 1 / -1;
}

.brief-field label {
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.brief-field label span {
    margin-left: 8px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brief-field input,
.brief-field select,
.brief-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    outline: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.brief-field textarea {
    resize: vertical;
}

.brief-field input::placeholder,
.brief-field textarea::placeholder {
    color: var(--quiet);
    opacity: 1;
}

.brief-field input:focus-visible,
.brief-field select:focus-visible,
.brief-field textarea:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.brief-privacy {
    max-width: 64ch;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.brief-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.brief-actions .button {
    cursor: pointer;
}

.brief-status {
    min-height: 1.6em;
    margin: 12px 0 0;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.faq-list {
    display: grid;
    max-width: 980px;
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px 0;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 1.35rem;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    max-width: 66ch;
    margin: 0;
    padding: 0 0 26px;
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 5vw, 74px) clamp(22px, 3vw, 46px);
}

.project-tile:nth-child(3) {
    grid-column: 1 / -1;
}

.project-tile:nth-child(3) .project-tile-image {
    aspect-ratio: 21 / 8;
}

.project-tile-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    background: var(--surface);
}

.project-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tile:hover .project-tile-image img {
    transform: scale(1.035);
}

.project-tile h3 {
    margin: 18px 0 7px;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.7vw, 2.8rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.project-tile p {
    max-width: 58ch;
    margin: 0;
    color: var(--muted);
}

.project-tile .text-link {
    margin-top: 18px;
}

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

.lab-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1.28fr);
    min-height: 230px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

.lab-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.lab-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lab-card-copy {
    padding: clamp(22px, 3vw, 36px);
}

.lab-card-copy h3 {
    margin: 0 0 10px;
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 1.9rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.lab-card-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px clamp(32px, 7vw, 110px);
}

.history-item {
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}

.history-item time,
.history-item .history-label {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 800;
}

.history-item h3 {
    margin: 8px 0 6px;
    font-size: 1rem;
    line-height: 1.5;
}

.history-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.profile-hero {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height) + 28px) 0 64px;
    overflow: hidden;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: center;
}

.profile-hero h1 {
    margin: 22px 0;
    font-family: var(--display);
    font-size: clamp(3rem, 5.4vw, 5.8rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.profile-hero h1 span {
    color: var(--accent);
}

.profile-hero-copy > p:not(.eyebrow) {
    max-width: 56ch;
    margin: 0;
    color: var(--muted);
}

.profile-hero-visual {
    position: relative;
}

.profile-hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% -12% -9% 22%;
    z-index: -1;
    background: var(--accent);
}

.profile-hero-visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.04);
}

.statement {
    max-width: 21ch;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.6rem, 6vw, 6.6rem);
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.statement span {
    color: var(--accent);
}

.profile-columns {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(48px, 10vw, 170px);
}

.profile-columns h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.profile-columns h2 small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.profile-prose {
    display: grid;
    gap: 24px;
}

.profile-prose p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.role-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.role-item {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
}

.role-item h3 {
    margin: 0 0 14px;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
}

.role-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.archive-note {
    max-width: 700px;
    padding: 26px 0;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.archive-list {
    display: grid;
    max-width: 980px;
}

.archive-entry {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.archive-entry time {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 800;
}

.archive-entry h2,
.archive-entry h3 {
    margin: 0 0 6px;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.45;
}

.archive-entry p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.archive-entry .text-link {
    margin-top: 16px;
}

.kagekin-hero {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height) + 28px) 0 56px;
}

.kagekin-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
    gap: clamp(38px, 8vw, 130px);
    align-items: center;
}

.kagekin-copy h1 {
    margin: 18px 0;
    font-family: var(--display);
    font-size: clamp(3.4rem, 8vw, 8.5rem);
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.kagekin-copy h1 span {
    color: var(--accent);
}

.kagekin-copy p:not(.eyebrow) {
    max-width: 48ch;
    margin: 0;
    color: var(--muted);
}

.kagekin-image {
    position: relative;
    isolation: isolate;
}

.kagekin-image::before {
    content: "";
    position: absolute;
    inset: 8% -7% -8% 17%;
    z-index: -1;
    border: 1px solid var(--accent);
}

.kagekin-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.archive-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.archive-card {
    min-height: 250px;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--line);
    background: var(--surface);
}

.archive-card h2,
.archive-card h3 {
    margin: 0 0 14px;
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.7vw, 2.7rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.archive-card p {
    margin: 0;
    color: var(--muted);
}

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

.has-js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy > *,
.profile-hero-copy > *,
.kagekin-copy > * {
    animation: hero-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > *:nth-child(2),
.profile-hero-copy > *:nth-child(2),
.kagekin-copy > *:nth-child(2) {
    animation-delay: 100ms;
}

.hero-copy > *:nth-child(3),
.profile-hero-copy > *:nth-child(3),
.kagekin-copy > *:nth-child(3) {
    animation-delay: 190ms;
}

.hero-copy > *:nth-child(4),
.profile-hero-copy > *:nth-child(4),
.kagekin-copy > *:nth-child(4) {
    animation-delay: 270ms;
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 17px;
    }

    .site-nav a {
        font-size: 0.72rem;
    }

    .hero-copy {
        width: min(650px, 66vw);
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-item:nth-child(2) {
        border-right: 0;
    }

    .process-item:nth-child(3),
    .process-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .lab-card {
        grid-template-columns: 1fr;
    }

    .lab-card img {
        aspect-ratio: 16 / 9;
    }
}

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

    .nav-shell {
        grid-template-columns: auto 1fr auto;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 auto;
        display: grid;
        gap: 0;
        padding: 10px var(--gutter) 24px;
        border-bottom: 1px solid var(--line);
        background: var(--bg);
        transform: translateY(-125%);
        visibility: hidden;
        transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), visibility 260ms;
    }

    .site-nav[data-open="true"] {
        transform: translateY(0);
        visibility: visible;
    }

    .site-nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
        font-size: 0.92rem;
    }

    .site-nav a::after {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .home-hero {
        align-items: end;
    }

    .home-hero::before {
        background-position: 68% center;
    }

    .home-hero::after {
        background:
            linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 52%, color-mix(in srgb, var(--bg) 34%, transparent) 100%),
            linear-gradient(90deg, color-mix(in srgb, var(--bg) 74%, transparent), transparent 100%);
    }

    .hero-inner {
        padding-top: calc(var(--header-height) + 110px);
    }

    .hero-copy {
        width: 100%;
    }

    .hero-title {
        font-size: min(8vw, 3.8rem);
    }

    .identity-band-grid {
        grid-template-columns: 1fr;
    }

    .identity-role:first-child,
    .identity-role:nth-child(2),
    .identity-role:nth-child(3) {
        grid-column: auto;
        padding-inline: 0;
        border-left: 0;
    }

    .identity-role + .identity-role {
        border-top: 1px solid var(--line);
    }

    .manifesto,
    .capability-layout,
    .about-preview,
    .subhero-grid,
    .project-feature,
    .profile-hero-grid,
    .profile-columns,
    .kagekin-grid,
    .fit-grid,
    .consultation-grid,
    .brief-layout,
    .assurance-layout {
        grid-template-columns: 1fr;
    }

    .brief-intro {
        position: static;
    }

    .assurance-copy {
        position: static;
    }

    .offer-row {
        grid-template-columns: 1fr;
    }

    .project-index-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-index-row .text-link {
        justify-self: start;
    }

    .manifesto {
        align-items: start;
    }

    .work-feature-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .work-card:nth-child(n) {
        grid-area: auto;
    }

    .work-card:nth-child(n) .work-visual {
        aspect-ratio: 16 / 10;
    }

    .capability-primary {
        min-height: 430px;
    }

    .about-image {
        max-width: 540px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .project-feature-image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .project-grid,
    .lab-grid,
    .history-grid,
    .role-list,
    .archive-cards {
        grid-template-columns: 1fr;
    }

    .project-tile:nth-child(3) {
        grid-column: auto;
    }

    .project-tile:nth-child(3) .project-tile-image {
        aspect-ratio: 16 / 10;
    }

    .profile-hero-visual,
    .kagekin-image {
        order: -1;
        max-width: 560px;
    }

    .subhero {
        min-height: 62dvh;
    }
}

.brand img.brand-wordmark {
    width: min(204px, 42vw);
    height: auto;
    object-fit: contain;
}

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

    .hero-actions,
    .contact-panel .button {
        width: 100%;
    }

    .hero-actions .button {
        flex: 1 1 100%;
    }

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

    .process-item,
    .process-item:not(:first-child) {
        min-height: 0;
        padding: 28px 0;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .process-item:first-child {
        border-top: 0;
    }

    .lab-strip {
        grid-template-columns: 1fr;
    }

    .lab-item:nth-child(n) {
        grid-column: auto;
    }

    .contact-panel {
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .archive-entry {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .offer-deliverables,
    .consultation-list {
        grid-template-columns: 1fr;
    }

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

    .brief-field-wide {
        grid-column: auto;
    }

    .brief-actions .button {
        width: 100%;
    }

    .profile-hero h1 {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .assurance-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

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

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

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

@media (prefers-reduced-transparency: reduce) {
    .site-header {
        background: var(--bg);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Confectionery Reactor system: a controlled, black-only laboratory for KAGEKIN. */

body {
    background:
        radial-gradient(circle at 82% 8%, rgba(213, 237, 50, 0.055), transparent 22rem),
        var(--bg);
}

body::before {
    opacity: 0.032;
}

.site-header {
    height: 68px;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.site-nav a,
.language-switcher {
    font-family: var(--display);
    font-weight: 650;
}

.site-nav a:last-child {
    color: var(--accent);
}

.home-hero {
    min-height: 100dvh;
    display: block;
    border-bottom-color: var(--accent);
}

.home-hero::before,
.home-hero::after {
    display: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    min-height: 100dvh;
    padding: 68px var(--gutter) 0;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    width: auto;
    max-width: 690px;
    padding: clamp(32px, 6vw, 88px) 0;
}

.hero-title {
    display: block;
    width: min(100%, 600px);
    margin: 0 0 12px;
    line-height: 0;
}

.hero-title img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(6px 7px 0 rgb(7 9 7 / 0.88));
}

.hero-role {
    margin: 0 0 16px;
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(0.72rem, 1.2vw, 1.05rem);
    font-weight: 650;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.hero-lead {
    max-width: 31em;
    font-size: clamp(0.92rem, 1.15vw, 1.08rem);
    font-weight: 900;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 28px;
}

.hero-media {
    position: absolute;
    inset: 0 0 0 37%;
    z-index: 0;
    margin: 0;
    overflow: hidden;
    background: var(--surface);
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(120deg, rgb(9 11 7 / 0.24), transparent 46%, rgb(9 11 7 / 0.12)),
        repeating-linear-gradient(0deg, rgb(5 7 4 / 0.24) 0 1px, transparent 1px 4px);
    opacity: 0.48;
    pointer-events: none;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 12%, transparent 46%), linear-gradient(0deg, color-mix(in srgb, var(--bg) 66%, transparent), transparent 40%);
    pointer-events: none;
}

.hero-media img,
.hero-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: brightness(0.82) contrast(1.02) saturate(0.82);
    transform: scale(1.008);
}

.button {
    min-height: 54px;
    padding: 15px 22px;
    border-radius: 0;
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.button-primary:hover {
    background: transparent;
    color: var(--accent);
}

.button-secondary {
    border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
}

.identity-band {
    background: linear-gradient(90deg, var(--bg-raised), var(--surface));
}

.identity-role {
    min-height: 188px;
    transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.identity-role:hover {
    background: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-4px);
}

.identity-role:hover p {
    color: color-mix(in srgb, var(--accent-ink) 74%, transparent);
}

.section {
    position: relative;
    padding-block: clamp(76px, 9vw, 142px);
}

.section-rule {
    border-top-color: var(--line-strong);
}

.section-heading h1,
.section-heading h2,
.manifesto h2,
.subhero h1,
.profile-hero h1,
.kagekin-copy h1 {
    font-weight: 680;
    letter-spacing: -0.07em;
}

.section-heading h1,
.section-heading h2 {
    max-width: 11ch;
}

.project-index-row,
.capability-item,
.process-item,
.assurance-item,
.archive-entry,
.history-item {
    border-color: var(--line-strong);
}

.project-index-row:hover h3,
.capability-item:hover h3,
.archive-entry:hover h2,
.archive-entry:hover h3 {
    color: var(--accent);
}

.project-tile-image,
.work-visual,
.about-image,
.profile-hero-visual img,
.kagekin-image img,
.lab-card {
    border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
}

.project-tile:hover .project-tile-image img,
.work-card:hover .work-visual img,
.about-image:hover img {
    transform: scale(1.045);
}

.site-footer {
    border-top-color: var(--accent);
    background: var(--bg-raised);
}

@media (max-width: 820px) {
    .video-showcase {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .video-work-featured {
        grid-row: auto;
    }

    .hero-inner {
        display: flex;
        align-items: end;
        min-height: 100dvh;
        padding-top: 64px;
    }

    .hero-copy {
        padding: 0 0 54px;
        max-width: 38rem;
    }

    .hero-media {
        inset: 0;
    }

    .hero-media::after {
        background: linear-gradient(0deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 90%, transparent) 48%, color-mix(in srgb, var(--bg) 20%, transparent) 100%);
    }

    .hero-title {
        display: block;
    }

    .hero-role {
        max-width: 28rem;
    }
}

@media (max-width: 600px) {
    .brand img.brand-wordmark {
        width: min(164px, 46vw);
    }

    .hero-copy {
        padding-bottom: 34px;
    }

    .hero-actions .button {
        min-width: 0;
    }

    .hero-media img,
    .hero-media video {
        object-position: 67% center;
    }
}

/* CPP proof and outcome-led production menu */
.cpp-section {
    overflow: hidden;
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 42%),
        var(--bg);
}

.cpp-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 9vw, 140px);
    align-items: start;
}

.cpp-intro {
    position: sticky;
    top: calc(var(--header-height) + 42px);
}

.cpp-kicker {
    margin: 0 0 18px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cpp-intro h2,
.cpp-proof-grid h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.8rem, 5.8vw, 6.4rem);
    font-weight: 680;
    letter-spacing: -0.07em;
    line-height: 0.94;
}

.cpp-intro > p:not(.cpp-kicker),
.cpp-proof-grid > div:first-child > p:not(.cpp-kicker) {
    max-width: 48ch;
    margin: 28px 0 0;
    color: var(--muted);
}

.cpp-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.cpp-programs a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.cpp-programs a:hover,
.cpp-programs a:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-3px);
}

.cpp-programs a:active {
    transform: translateY(-1px);
}

.deliverable-index {
    display: grid;
    border-top: 1px solid var(--accent);
}

.deliverable-index > h3 {
    margin: 0;
    padding: 0 0 24px;
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.8vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.deliverable-row {
    display: grid;
    grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr) auto;
    gap: clamp(18px, 3vw, 42px);
    align-items: start;
    padding: clamp(25px, 3.6vw, 44px) 0;
    border-bottom: 1px solid var(--line-strong);
}

.deliverable-row-featured {
    margin-inline: -18px;
    padding-inline: 18px;
    background: var(--accent);
    color: var(--accent-ink);
}

.deliverable-row h4,
.deliverable-row p {
    margin: 0;
}

.deliverable-row h4 {
    font-family: var(--display);
    font-size: clamp(1.2rem, 2vw, 2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.deliverable-row p {
    color: var(--muted);
    font-size: 0.9rem;
}

.deliverable-row-featured p {
    color: color-mix(in srgb, var(--accent-ink) 76%, transparent);
}

.deliverable-row > span {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.deliverable-row-featured > span {
    color: var(--accent-ink);
}

.cpp-cta {
    justify-self: end;
    margin-top: 30px;
}

.cpp-proof-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 8vw, 120px);
    align-items: end;
}

.cpp-proof-grid h2 {
    max-width: 9ch;
}

.cpp-programs-large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
}

.cpp-programs-large a {
    min-height: 76px;
    border: 0;
    background: var(--bg-raised);
    font-family: var(--display);
    font-size: clamp(1rem, 1.8vw, 1.65rem);
    letter-spacing: -0.035em;
}

.cpp-programs-large a:last-child {
    grid-column: 1 / -1;
}

.offer-row-cpp {
    margin-inline: calc(var(--gutter) * -0.5);
    padding-inline: calc(var(--gutter) * 0.5);
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 64%),
        var(--bg-raised);
}

.offer-row-cpp h2,
.offer-row-cpp h3 {
    color: var(--accent);
}

.history-item-cpp {
    background: color-mix(in srgb, var(--accent) 8%, var(--bg-raised));
}

@media (max-width: 820px) {
    .cpp-layout,
    .cpp-proof-grid {
        grid-template-columns: 1fr;
    }

    .cpp-intro {
        position: static;
    }

    .cpp-intro h2,
    .cpp-proof-grid h2 {
        max-width: 11ch;
    }

    .deliverable-row {
        grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    }

    .deliverable-row > span {
        grid-column: 1 / -1;
    }

    .cpp-programs-large {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .cpp-programs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cpp-programs a {
        width: 100%;
    }

    .cpp-programs a:last-child {
        grid-column: 1 / -1;
    }

    .cpp-programs-large a {
        min-height: 58px;
        font-size: 1rem;
    }

    .deliverable-row {
        grid-template-columns: 1fr;
    }

    .deliverable-row > span {
        grid-column: auto;
    }

    .cpp-cta {
        width: 100%;
        justify-self: stretch;
    }
}

/* NEW KAGEKIN: psychedelic comic laboratory */

body {
    background:
        radial-gradient(circle at 88% 7%, rgb(255 10 169 / 0.13), transparent 24rem),
        radial-gradient(circle at 8% 38%, rgb(33 65 242 / 0.11), transparent 29rem),
        radial-gradient(circle at 72% 78%, rgb(112 34 215 / 0.11), transparent 27rem),
        var(--bg);
}

body::before {
    z-index: 50;
    opacity: 0.08;
    background:
        radial-gradient(circle, currentColor 0 0.8px, transparent 0.9px) 0 0 / 7px 7px,
        repeating-linear-gradient(0deg, transparent 0 4px, rgb(255 255 255 / 0.12) 5px);
    mix-blend-mode: soft-light;
}

.site-header {
    height: var(--header-height);
    border: 0;
    background: rgb(7 5 9 / 0.9);
    box-shadow: 0 12px 34px rgb(0 0 0 / 0.34);
}

.site-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0 22%, var(--pink) 22% 48%, var(--blue) 48% 73%, var(--yellow) 73%);
}

.brand {
    gap: 9px;
}

.brand::before {
    content: "";
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 2px solid var(--accent);
    background: url("../assets/site-original/new-kagekin-face-b.webp") center 34% / 175% auto;
    clip-path: polygon(13% 0, 87% 0, 100% 18%, 94% 87%, 75% 100%, 10% 92%, 0 70%, 4% 16%);
}

.brand img.brand-wordmark {
    width: min(220px, 42vw);
    filter: none;
}

.site-nav a,
.language-switcher {
    font-weight: 800;
}

.site-nav a:last-child {
    padding: 8px 11px;
    background: var(--accent);
    color: var(--accent-ink);
}

.site-nav a:last-child::after {
    display: none;
}

.home-hero {
    min-height: 100svh;
    border-bottom: 4px solid var(--accent);
    background: var(--bg);
}

.hero-inner {
    min-height: 100svh;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    isolation: isolate;
}

.hero-inner::before {
    content: "";
    position: absolute;
    inset: 15% auto auto 2.5%;
    width: min(28vw, 430px);
    aspect-ratio: 1;
    z-index: -1;
    border: 2px solid var(--violet);
    transform: rotate(11deg);
}

.hero-copy {
    max-width: 720px;
    padding: clamp(110px, 15vh, 170px) clamp(24px, 4vw, 60px) clamp(54px, 8vh, 94px) 0;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 5% -8% 3% -12vw;
    z-index: -1;
    background:
        linear-gradient(115deg, rgb(7 5 9 / 0.99) 0 70%, rgb(7 5 9 / 0.78)),
        var(--bg);
    clip-path: polygon(0 0, 93% 0, 100% 11%, 95% 48%, 100% 88%, 89% 100%, 0 100%);
}

.hero-title {
    width: min(100%, 620px);
    margin-bottom: 20px;
    transform: rotate(-1.4deg);
}

.hero-title img {
    filter: drop-shadow(8px 8px 0 rgb(7 5 9 / 0.76));
}

.hero-role {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 11px;
    background: var(--pink);
    color: var(--text);
    font-family: var(--mono);
    font-size: clamp(0.65rem, 1vw, 0.82rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    transform: rotate(0.8deg);
}

.hero-lead {
    max-width: 35em;
    color: var(--text);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.62;
}

.hero-media {
    inset: var(--header-height) 0 0 40%;
    border-left: 4px solid var(--pink);
    background: var(--pink);
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 6% 77%, 1% 49%, 7% 23%);
}

.hero-media::before {
    opacity: 0.18;
    background: radial-gradient(circle, rgb(7 5 9 / 0.7) 0 1px, transparent 1.5px) 0 0 / 8px 8px;
}

.hero-media::after {
    background:
        linear-gradient(90deg, rgb(7 5 9 / 0.44), transparent 27%),
        linear-gradient(0deg, rgb(7 5 9 / 0.2), transparent 32%);
}

.hero-media img,
.hero-media video {
    object-position: 56% center;
    filter: saturate(1.04) contrast(1.02) brightness(0.9);
    transform: scale(1.02);
}

.button {
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--pink);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--blue);
}

.button-secondary {
    background: var(--bg);
}

.identity-band {
    border-bottom: 0;
    background: var(--bg);
}

.identity-band-grid {
    gap: 10px;
    padding-block: 12px;
}

.identity-role {
    min-height: 210px;
    border: 2px solid var(--line-strong);
    background: var(--surface);
}

.identity-role:first-child,
.identity-role:nth-child(2),
.identity-role:nth-child(3) {
    padding: clamp(24px, 3.2vw, 42px);
    border-left: 2px solid var(--line-strong);
}

.identity-role:first-child {
    transform: rotate(-0.5deg);
}

.identity-role:nth-child(2) {
    background: linear-gradient(145deg, rgb(112 34 215 / 0.28), transparent 72%), var(--surface);
    transform: translateY(12px) rotate(0.45deg);
}

.identity-role:nth-child(3) {
    background: linear-gradient(145deg, rgb(255 10 169 / 0.24), transparent 70%), var(--surface);
    transform: rotate(-0.7deg);
}

.identity-role:hover {
    transform: translateY(-7px) rotate(0);
}

.proof-stat strong {
    text-shadow: 4px 4px 0 var(--violet);
}

.section {
    overflow: hidden;
}

.section-rule {
    border-top: 2px solid var(--line-strong);
}

.section-heading {
    position: relative;
}

.section-heading::before {
    content: "+ + +";
    display: block;
    margin-bottom: 12px;
    color: var(--pink);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.35em;
}

.section-heading h1,
.section-heading h2,
.manifesto h2,
.subhero h1,
.profile-hero h1,
.kagekin-copy h1,
.cpp-intro h2,
.cpp-proof-grid h2 {
    font-weight: 900;
    letter-spacing: -0.075em;
}

.section-heading h2,
.section-heading h1 {
    text-wrap: balance;
}

.eyebrow,
.cpp-kicker {
    width: fit-content;
    padding: 6px 10px;
    background: var(--pink);
    color: var(--text);
    font-family: var(--mono);
    font-weight: 900;
}

.manifesto {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
}

.manifesto h2 {
    grid-column: 1 / span 8;
    position: relative;
    z-index: 1;
    text-shadow: 5px 5px 0 rgb(112 34 215 / 0.55);
}

.manifesto-copy {
    grid-column: 2 / span 6;
    margin: 0;
}

.manifesto-visual {
    grid-column: 9 / -1;
    grid-row: 1 / span 2;
    margin: 0;
    border: 4px solid var(--accent);
    background: var(--pink);
    transform: rotate(3deg);
    clip-path: polygon(8% 0, 100% 5%, 95% 92%, 15% 100%, 0 83%, 3% 14%);
}

.manifesto-visual img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transform: scale(1.03);
}

.video-showcase,
.project-index,
.deliverable-index,
.cpp-programs-large {
    border-width: 2px;
    background: var(--pink);
}

.video-work:nth-child(2) {
    background: linear-gradient(145deg, rgb(33 65 242 / 0.18), transparent 68%), var(--bg-raised);
}

.video-work:nth-child(3) {
    background: linear-gradient(145deg, rgb(255 10 169 / 0.18), transparent 68%), var(--bg-raised);
}

.video-frame::after {
    box-shadow: inset 0 0 0 2px rgb(202 255 0 / 0.32);
}

.project-index-row,
.deliverable-row,
.offer-row,
.assurance-item,
.archive-entry,
.history-item {
    border-bottom-width: 2px;
}

.project-index-row:hover,
.offer-row:hover,
.archive-entry:hover {
    background: linear-gradient(90deg, rgb(255 10 169 / 0.12), transparent 72%);
}

.cpp-section {
    background:
        linear-gradient(125deg, rgb(202 255 0 / 0.08), transparent 36%),
        radial-gradient(circle at 88% 34%, rgb(255 10 169 / 0.17), transparent 26rem),
        var(--bg);
}

.cpp-programs a {
    border-width: 2px;
    background: var(--bg);
}

.deliverable-row-featured,
.capability-primary {
    box-shadow: 10px 10px 0 var(--pink);
}

.subhero,
.profile-hero,
.kagekin-hero {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(126deg, rgb(112 34 215 / 0.24), transparent 44%),
        radial-gradient(circle at 88% 25%, rgb(255 10 169 / 0.18), transparent 28rem),
        var(--bg);
}

.subhero::before,
.profile-hero::before,
.kagekin-hero::before {
    content: "";
    position: absolute;
    inset: 18% -5% auto auto;
    width: min(42vw, 650px);
    height: 28%;
    z-index: -1;
    border: 3px solid var(--blue);
    transform: rotate(-8deg);
}

.subhero::after {
    content: "";
    position: absolute;
    right: clamp(22px, 5vw, 84px);
    bottom: -7%;
    width: min(34vw, 500px);
    aspect-ratio: 1;
    z-index: 0;
    border: 4px solid var(--accent);
    background: url("../assets/site-original/new-kagekin-face-b.webp") center / cover;
    box-shadow: 14px 14px 0 var(--pink);
    clip-path: polygon(8% 0, 100% 5%, 94% 91%, 78% 100%, 5% 96%, 0 72%, 3% 13%);
    transform: rotate(3deg);
    pointer-events: none;
}

.subhero .container {
    position: relative;
    z-index: 1;
}

.subhero h1,
.profile-hero h1,
.kagekin-copy h1 {
    text-shadow: 6px 6px 0 rgb(255 10 169 / 0.55);
}

.profile-hero-visual,
.kagekin-image,
.about-image {
    border: 4px solid var(--accent);
    background: var(--pink);
    box-shadow: 14px 14px 0 var(--violet);
    transform: rotate(1.5deg);
    clip-path: polygon(7% 0, 100% 4%, 94% 91%, 79% 100%, 5% 96%, 0 73%, 3% 13%);
}

.profile-hero-visual::before,
.kagekin-image::before {
    display: none;
}

.profile-hero-visual img,
.kagekin-image img,
.about-image img {
    border: 0;
    filter: saturate(1.02) contrast(1.02);
}

.role-list,
.archive-cards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.role-item,
.archive-card {
    grid-column: span 6;
    border: 2px solid var(--line-strong);
    background: var(--surface);
    box-shadow: 7px 7px 0 rgb(33 65 242 / 0.48);
}

.role-item:nth-child(2),
.archive-card:nth-child(2) {
    transform: translateY(18px);
    background: linear-gradient(145deg, rgb(112 34 215 / 0.22), transparent 70%), var(--surface);
}

.role-item:nth-child(3),
.archive-card:nth-child(3) {
    grid-column: span 5;
    background: linear-gradient(145deg, rgb(255 10 169 / 0.2), transparent 72%), var(--surface);
}

.role-item:nth-child(4),
.archive-card:nth-child(4) {
    grid-column: span 7;
    transform: translateY(10px);
    border-color: var(--accent);
}

.character-sheet {
    margin: 0;
    padding: 10px;
    border: 3px solid var(--accent);
    background: var(--pink);
    box-shadow: 14px 14px 0 var(--blue);
    transform: rotate(-0.5deg);
}

.character-sheet img {
    width: 100%;
    height: auto;
}

.contact-panel {
    border: 3px solid var(--accent);
    background:
        linear-gradient(125deg, rgb(112 34 215 / 0.35), transparent 56%),
        var(--surface);
    box-shadow: 14px 14px 0 var(--pink);
    clip-path: polygon(0 0, 96% 0, 100% 18%, 98% 100%, 4% 100%, 0 82%);
}

.contact-panel::after {
    content: "CHAOS";
    color: rgb(202 255 0 / 0.06);
}

.site-footer {
    border-top: 4px solid var(--accent);
    background:
        linear-gradient(90deg, rgb(255 10 169 / 0.18), transparent 35%),
        var(--bg-raised);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-media {
        animation: new-kagekin-panel-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-media img {
        animation: new-kagekin-breathe 8s ease-in-out 800ms infinite alternate;
    }

    .hero-title {
        animation: new-kagekin-title-in 620ms cubic-bezier(0.16, 1, 0.3, 1) 170ms both;
    }
}

@keyframes new-kagekin-panel-in {
    from {
        opacity: 0;
        transform: translateX(7%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes new-kagekin-title-in {
    from {
        opacity: 0;
        transform: translateX(-8%) rotate(-4deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-1.4deg);
    }
}

@keyframes new-kagekin-breathe {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.06);
    }
}

@media (max-width: 820px) {
    .brand::before {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .hero-inner {
        display: flex;
        align-items: end;
        min-height: 100svh;
    }

    .hero-copy {
        width: 100%;
        padding: 0 0 38px;
    }

    .hero-copy::before {
        inset: -14% -8vw -6% -8vw;
        background: linear-gradient(0deg, var(--bg) 0 70%, rgb(7 5 9 / 0.74));
        clip-path: polygon(0 13%, 87% 0, 100% 17%, 100% 100%, 0 100%);
    }

    .hero-media {
        inset: var(--header-height) 0 0;
        border-left: 0;
        clip-path: none;
    }

    .hero-media::after {
        background: linear-gradient(0deg, var(--bg) 3%, rgb(7 5 9 / 0.92) 32%, rgb(7 5 9 / 0.08) 72%);
    }

    .hero-media img,
    .hero-media video {
        object-position: 50% 28%;
    }

    .identity-role:first-child,
    .identity-role:nth-child(2),
    .identity-role:nth-child(3) {
        transform: none;
    }

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

    .manifesto h2,
    .manifesto-copy,
    .manifesto-visual {
        grid-column: 1;
        grid-row: auto;
    }

    .manifesto-visual {
        width: min(100%, 520px);
        justify-self: end;
    }

    .profile-hero-visual,
    .kagekin-image,
    .about-image {
        transform: rotate(0.8deg);
    }

    .subhero::after {
        right: -10%;
        bottom: -2%;
        width: min(68vw, 470px);
        opacity: 0.32;
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .brand img.brand-wordmark {
        width: min(148px, 39vw);
    }

    .hero-title {
        width: min(93%, 500px);
    }

    .hero-role {
        margin-bottom: 12px;
    }

    .hero-lead {
        max-width: 27em;
        font-size: 0.94rem;
    }

    .identity-band-grid {
        gap: 7px;
    }

    .identity-role {
        min-height: 0;
    }

    .role-item,
    .archive-card,
    .role-item:nth-child(3),
    .archive-card:nth-child(3),
    .role-item:nth-child(4),
    .archive-card:nth-child(4) {
        grid-column: 1 / -1;
        min-height: 0;
        transform: none;
    }

    .contact-panel {
        clip-path: none;
        box-shadow: 8px 8px 0 var(--pink);
    }

    .character-sheet {
        padding: 5px;
        box-shadow: 8px 8px 0 var(--blue);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media,
    .hero-media img,
    .hero-title {
        animation: none !important;
    }
}
