* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --paper: #f8f9fa;
    --paper-cool: #eceef0;
    --card: #fff;
    --ink: #343a40;
    --ink-2: #646b72;
    --ink-3: #959ba1;
    --slate: #7c848b;
    --rule: rgba(52, 58, 64, .13);
    --rule-2: rgba(52, 58, 64, .06);
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --sans: "Instrument Sans", Helvetica, Arial, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --pad: clamp(20px, 4.4vw, 68px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --liquid: cubic-bezier(.32, 1.6, .4, 1);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    text-wrap: pretty
}

a {
    color: var(--ink);
    text-decoration: none
}

a:hover {
    color: var(--slate)
}

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

.tnum {
    font-variant-numeric: tabular-nums
}

/* ── ambient layers ───────────────────────────── */
.blueprint {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, var(--rule-2) 1px, transparent 1px), linear-gradient(to bottom, var(--rule-2) 1px, transparent 1px);
    background-size: 92px 92px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, transparent 88%);
    mask-image: radial-gradient(120% 90% at 50% 30%, #000 20%, transparent 88%)
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: .22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")
}

.wash {
    position: fixed;
    left: 0;
    top: 0;
    width: 640px;
    height: 640px;
    margin: -320px 0 0 -320px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 58, 64, .14), rgba(52, 58, 64, .045) 45%, transparent 70%);
    filter: blur(24px);
    transition: opacity .9s var(--ease)
}

.wash.on {
    opacity: 1
}

.progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    z-index: 55;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: 0 50%;
    opacity: .5
}

.cursor-layer {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity .5s var(--ease)
}

.cursor-layer.on {
    opacity: 1
}

.cursor-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 1rem;
    height: 1rem;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: #fff;
    will-change: transform, opacity
}

@media (hover:none) {
    .cursor-layer {
        display: none
    }
}

/* ── dock nav ─────────────────────────────────── */
.dock {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 40px -18px rgba(52, 58, 64, .42)
}

.dock a {
    position: relative;
    z-index: 2;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 9px 15px;
    border-radius: 999px;
    transition: color .5s var(--ease)
}

.dock a[aria-current=true] {
    color: var(--ink)
}

.dock a:hover {
    color: var(--ink)
}

.dock-liquid {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 6px;
    height: calc(100% - 12px);
    border-radius: 999px;
    background: var(--paper-cool);
    box-shadow: 0 1px 2px rgba(52, 58, 64, .1);
    transition: transform .62s var(--liquid), width .62s var(--ease), opacity .4s
}

.dock-liquid.squish {
    transform-origin: 50% 50%
}

/* ── shell / rails ────────────────────────────── */
main {
    position: relative;
    z-index: 2
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--pad)
}

.sect {
    position: relative;
    padding: clamp(90px, 13vh, 150px) 0
}

.sect+.sect {
    border-top: 1px solid var(--rule)
}

.mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3)
}

.mono.b {
    color: var(--ink-2)
}

.eyebrow {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: clamp(30px, 5vh, 54px)
}

.eyebrow .dash {
    flex: 1;
    height: 1px;
    background: var(--rule);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.2s var(--ease) .1s
}

.in .eyebrow .dash {
    transform: scaleX(1)
}

.h2 {
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.02;
    letter-spacing: -.03em;
    font-weight: 500
}

.h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em
}

.lede {
    max-width: 46ch;
    margin-top: 18px;
    color: var(--ink-2);
    font-size: clamp(14px, 1.1vw, 16.5px)
}

/* ── reveal ───────────────────────────────────── */
[data-r] {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(7px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
    transition-delay: calc(var(--i, 0)*70ms)
}

.in [data-r],
[data-r].in {
    opacity: 1;
    transform: none;
    filter: blur(0)
}

/* ── hero ─────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--paper-cool), var(--paper) 82%);
    border-bottom: 1px solid var(--rule);
    overflow: clip
}

.hero .wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: clamp(22px, 3.6vh, 34px);
    padding-bottom: 28px
}

.hud {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap
}

.brand {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .02em;
    display: flex;
    align-items: baseline;
    gap: 8px
}

.brand sup {
    font-weight: 400;
    font-size: 9px;
    color: var(--ink-3);
    letter-spacing: .1em
}

.hud-mid {
    display: flex;
    align-items: center;
    gap: 9px
}

.hud-mid .bars {
    display: flex;
    gap: 3px
}

.hud-mid .bars i {
    display: block;
    width: 6px;
    height: 11px;
    background: var(--slate);
    opacity: .45;
    transform: skewX(-22deg)
}

.hud-r {
    display: flex;
    gap: 18px;
    align-items: center
}

.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(24px, 4vw, 60px);
    padding-top: clamp(24px, 5vh, 56px)
}

.hi {
    font-family: var(--mono);
    font-size: clamp(20px, 2.2vw, 30px);
    color: var(--ink-2);
    letter-spacing: -.02em
}

.hi .wv {
    display: inline-block;
    transform-origin: 70% 85%;
    animation: wv 3.4s var(--ease) infinite;
    width: .82em;
    height: .82em;
    vertical-align: -.06em;
    margin: 0 .06em
}

.hi .wv svg {
    width: 100%;
    height: 100%;
    color: var(--ink)
}

@keyframes wv {

    0%,
    62%,
    100% {
        transform: rotate(0)
    }

    68% {
        transform: rotate(16deg)
    }

    74% {
        transform: rotate(-10deg)
    }

    80% {
        transform: rotate(12deg)
    }

    86% {
        transform: rotate(0)
    }
}

.name {
    font-family: var(--mono);
    font-weight: 800;
    font-size: clamp(42px, 8.6vw, 132px);
    line-height: .94;
    letter-spacing: -.055em;
    margin: .1em 0 0
}

.name .wd {
    display: inline-block;
    white-space: nowrap
}

.name .ch {
    display: inline-block;
    opacity: 0;
    transform: translateY(.5em) rotate(3deg);
    filter: blur(10px);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease);
    transition-delay: calc(var(--i)*38ms + 120ms)
}

.ready .name .ch {
    opacity: 1;
    transform: none;
    filter: blur(0)
}

.name .sp {
    width: .3em
}

.role {
    margin-top: clamp(18px, 2.6vh, 26px);
    font-family: var(--serif);
    font-size: clamp(20px, 2.5vw, 34px);
    line-height: 1.24;
    letter-spacing: -.01em;
    color: var(--ink)
}

.role i {
    color: var(--slate)
}

.stamp {
    display: inline-flex;
    align-items: center;
    margin-top: clamp(38px, 5.2vh, 56px);
    gap: 12px
}

.stamp .loop {
    --loop-w: clamp(148px, 12.4vw, 170px);
    display: block;
    width: var(--loop-w);
    height: calc(var(--loop-w)*.222)
}

.stamp .loop svg {
    display: block;
    width: 100%;
    height: auto;
    margin-top: calc(var(--loop-w)*-.148)
}

.stamp .loop path {
    fill: var(--slate);
    opacity: .55
}

.stamp .loop .rel_name {
    fill: var(--ink-2);
    opacity: .9
}

.hero-body {
    margin-top: clamp(22px, 3.4vh, 34px);
    max-width: 40ch;
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--ink-2);
    letter-spacing: -.01em
}

.hero-fig {
    position: relative;
    justify-self: end;
    width: min(100%, 470px)
}

.hero-fig .slot {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden
}

.hero-fig .slot {
    position: relative;
    aspect-ratio: 4/5;
    overflow: visible
}

.hero-fig .portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 46%;
    transform: scale(1.3);
    transform-origin: 52% 46%;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 66% 62% at 52% 46%, #000 42%, rgba(0, 0, 0, .55) 68%, transparent 88%);
    mask-image: radial-gradient(ellipse 66% 62% at 52% 46%, #000 42%, rgba(0, 0, 0, .55) 68%, transparent 88%)
}

.hero-fig .tag {
    position: static;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px
}

.hero-fig .blockmark {
    position: absolute;
    z-index: 3;
    left: -30px;
    top: 34%;
    width: 96px;
    height: 24px;
    background: var(--slate);
    opacity: .5
}

.trap {
    position: absolute;
    right: clamp(120px, 26vw, 420px);
    top: 14vh;
    width: min(320px, 26vw);
    aspect-ratio: 3/1;
    z-index: 0;
    pointer-events: none;
    opacity: .5
}

.trap svg {
    width: 100%;
    height: 100%;
    stroke: var(--ink-2);
    stroke-width: 1;
    fill: none
}

.trap path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 2.4s var(--ease) .5s
}

.ready .trap path {
    stroke-dashoffset: 0
}

.cross {
    position: absolute;
    font-family: var(--mono);
    color: var(--ink-3);
    font-size: 16px;
    opacity: .55;
    z-index: 0;
    pointer-events: none
}

.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 78px
}

.hero-foot>* {
    max-width: calc(50% - 200px);
    min-width: 0
}

.foot-r {
    text-align: right;
    line-height: 1.75
}

.vert {
    position: absolute;
    right: calc(var(--pad)*.34);
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .32em;
    color: var(--ink-3);
    z-index: 3
}

/* ── spec table ───────────────────────────────── */
.spec {
    border-top: 1px solid var(--rule)
}

.spec-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 1.1fr) minmax(140px, 1fr) minmax(0, 2.1fr);
    gap: clamp(14px, 3vw, 40px);
    align-items: start;
    padding: 18px 14px;
    border-bottom: 1px solid var(--rule);
    isolation: isolate
}

.spec-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--paper-cool);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .7s var(--ease);
    border-radius: 3px
}

.spec-row:hover::before {
    transform: scaleX(1)
}

.spec-row .k {
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: -.01em
}

.spec-row .v {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--slate);
    letter-spacing: -.01em;
    padding-top: 2px;
    transition: transform .7s var(--ease)
}

.spec-row:hover .v {
    transform: translateX(5px)
}

.spec-row .d {
    color: var(--ink-2);
    font-size: 14.5px;
    max-width: 56ch
}

.spec-row .d b {
    font-weight: 600;
    color: var(--ink)
}

.grp {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 34px 14px 12px
}

.grp .rule {
    flex: 1;
    height: 1px;
    background: var(--rule)
}

.ledger-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: clamp(30px, 6vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 6vh, 60px)
}

.ledger-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(180px, 20vw, 250px);
    gap: clamp(24px, 4vw, 56px);
    align-items: start
}

.ronin {
    position: sticky;
    top: clamp(40px, 12vh, 110px)
}

.ronin img {
    width: 100%;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 48%, #000 40%, rgba(0, 0, 0, .5) 72%, transparent 92%);
    mask-image: radial-gradient(ellipse 74% 70% at 50% 48%, #000 40%, rgba(0, 0, 0, .5) 72%, transparent 92%)
}

.ronin figcaption {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 6px
}

.ronin figcaption .mono:last-child {
    color: var(--ink-2)
}

/* ── blog cards ───────────────────────────────── */
.postcards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 40px)
}

.pcard {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 2px 20px;
    border-top: 1.5px solid var(--ink);
    transition: transform .8s var(--ease)
}

.pcard:hover {
    transform: translateY(-4px)
}

.pcard-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-2)
}

.pcard-ttl {
    font-family: var(--mono);
    font-weight: 700;
    font-size: clamp(20px, 2.1vw, 27px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 700
}

.pcard p {
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--ink-2);
    letter-spacing: -.01em;
    max-width: 34ch
}

.pcard-tags {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-2)
}

.pcard-tags .dim {
    color: var(--ink-3)
}

.pcard-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 3px;
    transition: border-color .5s var(--ease)
}

.pcard-link:hover {
    border-color: var(--ink)
}

.pcard-link i {
    font-style: normal;
    transition: transform .5s var(--ease)
}

.pcard-link:hover i {
    transform: translate(3px, -3px)
}

/* ── fig schematic ────────────────────────────── */
.fig {
    position: relative;
    padding: 22px 62px 34px 36px
}

.fig-frame {
    position: static;
    border: 1px dashed var(--ink-3);
    background: var(--card);
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 11px
}

.fig-chip {
    display: inline-block;
    border: 1px dashed var(--ink-3);
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .06em;
    color: var(--ink-2);
    padding: 5px 8px;
    background: #fff
}

.fig-strip {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-top: 3px
}

.fig-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px dashed rgba(52, 58, 64, .2);
    padding: 6px 0 5px
}

.fig-cell span {
    font-family: var(--mono);
    font-size: 8px;
    color: var(--ink-3)
}

.fig-cell i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ink-3);
    display: block
}

.fig-cell.sel {
    border-color: var(--slate);
    background: #fff
}

.fig-cell.sel span {
    color: var(--ink);
    font-weight: 700;
    font-size: 9px
}

.fig-cell.sel i {
    width: 5px;
    height: 5px;
    background: var(--slate);
    box-shadow: 0 0 0 3px rgba(52, 58, 64, .16)
}

.fig-note {
    position: absolute;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .04em;
    color: var(--ink-3);
    line-height: 1.5
}

.fig-note.l {
    left: 0;
    top: 44%;
    transform: translateY(-50%)
}

.fig-note.r {
    right: 0;
    top: 70px;
    width: 54px
}

.fig-note.b {
    left: 36px;
    bottom: 40px
}

.fig figcaption {
    position: absolute;
    left: 36px;
    bottom: 0;
    margin: 0;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3)
}

/* ── work ─────────────────────────────────────── */
.work-list {
    border-top: 1px solid var(--rule)
}

.wrow {
    border-bottom: 1px solid var(--rule)
}

.wrow-head {
    position: relative;
    width: 100%;
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 52px minmax(0, 1.5fr) minmax(0, 1fr) 120px 26px;
    gap: clamp(12px, 2.6vw, 34px);
    align-items: center;
    padding: 26px 14px;
    isolation: isolate
}

.wrow-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--paper-cool);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform .6s var(--ease);
    border-radius: 3px
}

.wrow-head:hover::before,
.wrow.open .wrow-head::before {
    transform: scaleY(1)
}

.wrow-head .idx {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3)
}

.wrow-head h3 {
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 500;
    letter-spacing: -.028em;
    transition: transform .7s var(--ease)
}

.wrow-head:hover h3 {
    transform: translateX(7px)
}

.wrow-head .kind,
.wrow-head .yr {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-2)
}

.wrow-head .yr {
    text-align: right
}

.wrow-head .plus {
    position: relative;
    width: 16px;
    height: 16px;
    justify-self: end;
    transition: transform .8s var(--liquid)
}

.wrow-head .plus::before,
.wrow-head .plus::after {
    content: "";
    position: absolute;
    background: var(--ink-2);
    transition: opacity .5s var(--ease), transform .7s var(--ease)
}

.wrow-head .plus::before {
    left: 0;
    top: 7.5px;
    width: 16px;
    height: 1.4px
}

.wrow-head .plus::after {
    top: 0;
    left: 7.5px;
    height: 16px;
    width: 1.4px
}

.wrow.open .plus {
    transform: rotate(90deg)
}

.wrow.open .plus::after {
    opacity: 0
}

.wdetail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .8s var(--ease)
}

.wrow.open .wdetail {
    grid-template-rows: 1fr
}

.wdetail-in {
    overflow: hidden
}

.wdetail-pad {
    display: grid;
    grid-template-columns: 52px minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(12px, 2.6vw, 34px);
    padding: 2px 14px 34px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .7s var(--ease) .1s, transform .8s var(--ease) .1s
}

.wrow.open .wdetail-pad {
    opacity: 1;
    transform: none
}

.wdetail-pad p {
    grid-column: 2;
    color: var(--ink-2);
    max-width: 52ch;
    font-size: 15px
}

.wdetail-pad .stack {
    grid-column: 3;
    font-family: var(--mono);
    font-size: 11.5px;
    line-height: 2;
    color: var(--ink-2)
}

.wdetail-pad .stack span {
    display: block;
    color: var(--ink-3)
}

/* ── writing ──────────────────────────────────── */
.words {
    border-top: 1px solid var(--rule)
}

.words li {
    list-style: none;
    position: relative;
    border-bottom: 1px solid var(--rule);
    isolation: isolate
}

.words a {
    display: grid;
    grid-template-columns: 46px 96px minmax(0, 1fr) 52px 20px;
    gap: clamp(10px, 2.2vw, 26px);
    align-items: center;
    padding: 20px 14px
}

.words a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--paper-cool);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .7s var(--ease);
    border-radius: 3px
}

.words a:hover::before {
    transform: scaleX(1)
}

.words .idx,
.words .date,
.words .rt {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3)
}

.words .ttl {
    font-size: clamp(16px, 1.7vw, 21px);
    letter-spacing: -.02em;
    transition: transform .7s var(--ease)
}

.words a:hover .ttl {
    transform: translateX(6px)
}

.words .rt {
    text-align: right
}

.words .arw {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-3);
    justify-self: end;
    transition: transform .6s var(--ease), color .4s
}

.words a:hover .arw {
    transform: translate(3px, -3px);
    color: var(--ink)
}

/* ── contact ──────────────────────────────────── */
.hi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: clamp(30px, 6vw, 70px);
    align-items: end
}

.mail {
    display: inline-block;
    font-size: clamp(30px, 5.4vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 500;
    position: relative
}

.mail::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.1em;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .8s var(--ease)
}

.mail:hover::after {
    transform: scaleX(1)
}

.socials {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.socials a {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--rule);
    letter-spacing: .02em
}

.socials a i {
    color: var(--ink-3);
    font-style: normal;
    transition: transform .5s var(--ease)
}

.socials a:hover i {
    transform: translate(3px, -3px)
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 0 96px;
    border-top: 1px solid var(--rule)
}

@media (max-height:720px) {
    .hero {
        min-height: 0;
        padding-top: 8px
    }

    .hero-grid {
        padding-top: 6px;
        gap: clamp(16px, 2.4vw, 32px)
    }

    .hero-foot {
        margin-bottom: 60px
    }

    .hi {
        font-size: clamp(17px, 1.8vw, 22px)
    }

    .role {
        margin-top: 12px
    }

    .stamp {
        margin-top: 14px
    }

    .hero-body {
        margin-top: 16px;
        line-height: 1.65
    }

    .name {
        font-size: clamp(38px, 6.6vw, 84px)
    }

    .role {
        font-size: clamp(19px, 2vw, 26px)
    }

    .hero-fig {
        width: min(100%, 262px)
    }

    .hero-fig .tag {
        margin-top: 8px
    }
}

@media (max-width:900px) {
    .hero-foot>* {
        max-width: 48%
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        align-items: start
    }

    .hero-fig {
        justify-self: start;
        width: min(100%, 340px)
    }

    .trap,
    .vert,
    .cross {
        display: none
    }

    .ledger-top,
    .hi-grid {
        grid-template-columns: 1fr
    }

    .ledger-body {
        grid-template-columns: 1fr
    }

    .ronin {
        position: static;
        max-width: 220px
    }

    .spec-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .spec-row .d {
        grid-column: 1/-1
    }

    .wrow-head {
        grid-template-columns: 34px 1fr 20px;
        row-gap: 6px
    }

    .wrow-head .kind,
    .wrow-head .yr {
        grid-column: 2;
        text-align: left
    }

    .wdetail-pad {
        grid-template-columns: 34px 1fr
    }

    .wdetail-pad p,
    .wdetail-pad .stack {
        grid-column: 2
    }

    .words a {
        grid-template-columns: 38px 1fr 20px;
        row-gap: 2px
    }

    .words .ttl {
        grid-column: 1/-1;
        grid-row: 2
    }

    .words .rt {
        text-align: left
    }

    .dock a {
        padding: 9px 11px;
        font-size: 10px
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition-duration: .01ms !important
    }

    [data-r],
    .name .ch {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important
    }
}

.allposts {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: var(--ink-2);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 3px;
    transition: color .4s var(--ease), border-color .4s
}

.allposts:hover {
    color: var(--ink);
    border-color: var(--ink)
}