#Portfolio {
    padding: clamp(56px, 8vw, 105px) 0 52px;
}

.projects-heading {
    margin-bottom: 30px;
    text-align: center;
}

.projects-heading .section-title h2 {
    margin-bottom: 24px;
    text-shadow: 0 1px 2px #006b99;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.project-filters[hidden] {
    display: none;
}

.project-filters button {
    min-height: 42px;
    padding: 8px clamp(13px, 2vw, 22px);
    border: 1px solid #232323;
    background: transparent;
    color: #17242a;
    font-size: 12px;
    text-transform: uppercase;
}

.project-filters button:hover,
.project-filters button[aria-pressed="true"] {
    background: #232323;
    color: #9fe6ff;
}

.project-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
}

.project-tile {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 165px;
    overflow: hidden;
    background: #203742;
    color: #fff;
}

.project-tile img,
.project-tile::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-tile img {
    object-fit: cover;
    transition: transform 250ms ease-out;
}

.project-tile-nirva {
    background: #fff;
}

.project-tile-nirva img {
    height: 82%;
}

.project-tile-epia {
    background: radial-gradient(ellipse at 56% 29%, #9cbdc9, #547481 62%, #203a48);
}

.project-tile-epia img {
    height: 95%;
    object-fit: contain;
    object-position: 50% 0;
}

.project-tile-iota-tool {
    background: #081324;
}

.project-tile-sinnoz img {
    object-position: center 72%;
}

.project-tile-sinclair img {
    object-position: center 37%;
}

.project-tile-isa {
    background: #122448;
}

.project-tile-isa img {
    height: 84%;
    object-position: center bottom;
}

.project-tile-radio {
    background: radial-gradient(ellipse at 66% 30%, #21666c, #102f3c 65%, #10212f);
}

.ivani-radio-visual {
    position: absolute;
    display: grid;
    place-items: center;
    width: clamp(138px, 18vw, 220px);
    aspect-ratio: 1;
    border: 1px solid #9be7df66;
    border-radius: 50%;
    background:
        repeating-linear-gradient(0deg, transparent 0 13px, #9be7df16 13px 14px),
        repeating-linear-gradient(90deg, transparent 0 13px, #9be7df16 13px 14px);
    color: #b1eee5;
}

.ivani-radio-visual::before,
.ivani-radio-visual::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px dashed #9be7df91;
    border-radius: 50%;
}

.ivani-radio-visual::after {
    inset: 29%;
    border-style: solid;
}

.ivani-radio-visual i {
    font-size: clamp(26px, 3vw, 40px);
}

.project-tile-radio .ivani-radio-visual {
    top: 8%;
    left: 50%;
    translate: -50% 0;
}

.project-tile-switch {
    background: radial-gradient(ellipse at 48% 25%, #526151, #263e42 59%, #142631);
}

.nway-switch-visual {
    position: absolute;
    display: grid;
    place-items: center;
    width: clamp(65px, 8.5vw, 118px);
    aspect-ratio: 2 / 3;
    border: 1px solid #9aaba199;
    border-radius: 15%;
    background: linear-gradient(145deg, #a6b0a2, #576e68 58%, #344e50);
    box-shadow: 0 14px 28px #101f25a8, inset 0 0 0 3px #e4e7d82a;
    rotate: -12deg;
}

.nway-switch-visual::before {
    content: "";
    width: 54%;
    height: 63%;
    border: 1px solid #324e50;
    border-radius: 12%;
    background: linear-gradient(155deg, #d7ddd4, #859a8e 51%, #60746e);
    box-shadow: 0 4px 7px #142e32a0;
}

.nway-switch-visual::after {
    content: "";
    position: absolute;
    top: 34%;
    width: 18%;
    height: 2%;
    border-radius: 99px;
    background: #f0db9a;
    box-shadow: 0 0 8px #ffe399b0;
}

.project-tile-switch .nway-switch-visual {
    top: 12%;
    left: 50%;
    translate: -50% 0;
}

.project-tile-legrand,
.project-story-legrand {
    --concept-glow: #494875;
    --concept-base: #242643;
}

.project-tile-poe-driver,
.project-story-poe-driver {
    --concept-glow: #396558;
    --concept-base: #183635;
}

.project-tile-legrand,
.project-tile-poe-driver {
    background: radial-gradient(ellipse at 50% 24%, var(--concept-glow), var(--concept-base) 64%, #122431);
}

.ivani-concept {
    position: absolute;
    display: grid;
    place-items: center;
    width: clamp(106px, 15vw, 188px);
    aspect-ratio: 1;
}

.ivani-concept i {
    position: relative;
    font-size: clamp(29px, 4vw, 46px);
}

.legrand-concept {
    border: 1px solid #c9c7ff77;
    border-radius: 50%;
    background: radial-gradient(circle, #d3caff24, transparent 57%);
    box-shadow: 0 0 0 13px #bfb9ff18, 0 0 0 26px #bfb9ff0c;
    color: #e2dcff;
}

.legrand-concept::before {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px dashed #d3caff85;
    border-radius: 50%;
}

.poe-driver-concept {
    aspect-ratio: 3 / 2;
    border: 1px solid #a4dcc168;
    border-radius: 10px;
    background: repeating-linear-gradient(0deg, transparent 0 10px, #b0d9ba30 10px 11px), #193f3a;
    color: #f2d69a;
    box-shadow: 0 15px 30px #0918209e;
    rotate: -9deg;
}

.poe-driver-concept::before {
    content: "";
    position: absolute;
    inset: 16% 24%;
    border: 1px solid #a4dcc174;
    border-radius: 6px;
    background: #21413d;
}

.project-tile .ivani-concept {
    top: 16%;
    left: 50%;
    translate: -50% 0;
}

.project-tile-ottava {
    background: #f2f2f0;
}

.project-tile-ottava img {
    object-fit: contain;
}

@media (max-width: 479px) {
    .project-tile-ottava img {
        object-fit: cover;
    }
}

.project-tile-litter img {
    object-fit: contain;
    background: #fff;
}

.project-tile-app {
    background:
        radial-gradient(circle at 50% 34%, #2a716d, #164c53 52%, #152f3c 90%);
}

.project-tile-app img {
    inset: 19% auto auto 50%;
    width: 64px;
    height: 64px;
    translate: -50% 0;
    border-radius: 15px;
    box-shadow: 0 0 0 12px #8ad5cb24, 0 0 0 24px #8ad5cb12;
}

.project-tile-robot img {
    object-position: 40% center;
    scale: 1.38;
    transform-origin: 45% 100%;
}

.project-tile-gateway {
    background: radial-gradient(ellipse at 52% 20%, #205a58, #102b35 80%);
}

.project-tile-gateway img {
    inset: 9% 10% auto;
    width: 80%;
    height: 62%;
    object-fit: contain;
    rotate: -7deg;
    filter: drop-shadow(0 10px 18px #06181e9e);
}

.litter-network {
    --node-size: clamp(40px, 5vw, 60px);
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 440px;
    margin: 18px auto 0;
    color: var(--sinnoz-accent);
    text-align: center;
}

.litter-network > span {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.litter-network::before {
    content: "";
    position: absolute;
    inset: calc(var(--node-size) / 2) 16.66% auto;
    border-top: 1px dashed currentColor;
    opacity: .65;
}

.litter-network i {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--node-size);
    height: var(--node-size);
    margin-inline: auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: #fff;
    font-size: clamp(19px, 3vw, 25px);
}

.project-tile-drawing {
    background: radial-gradient(ellipse at 50% 20%, #547686, #213642 76%);
}

.project-tile-drawing img {
    height: 82%;
    top: -2%;
    object-fit: contain;
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
    opacity: .86;
}

.project-tile-patent img {
    height: 70%;
    top: 4%;
    filter: grayscale(1) invert(1) brightness(1.35);
    opacity: 1;
}

.project-tile::after {
    content: "";
    background: linear-gradient(180deg, #09192138 0%, transparent 31%, #091921bf 70%, #071116 100%);
}

.project-tile-nirva::after {
    background: linear-gradient(180deg, transparent 56%, #091921e6 82%, #071116);
}

.project-tile-isa::after {
    background: linear-gradient(180deg, #09192118, transparent 52%, #091921d9 80%, #071116);
}

.project-tile-iota-tool::after {
    background: linear-gradient(180deg, transparent 50%, #07111fb3 76%, #07111f);
}

.project-tile:hover img,
.project-tile:focus-visible img {
    transform: scale(1.055);
}

.project-tile:focus-visible {
    outline: 3px solid #9fe6ff !important;
    outline-offset: -4px;
}

.project-tile-caption,
.project-tile-open {
    position: relative;
    z-index: 1;
    color: #fff;
}

.project-tile-caption {
    display: grid;
    gap: 4px;
    padding: 15px clamp(13px, 2vw, 25px);
}

.project-tile-caption strong {
    font: 700 clamp(17px, 2.15vw, 29px)/1.15 'Raleway', sans-serif;
    overflow-wrap: anywhere;
}

.project-kicker {
    color: #a6e7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.4;
    text-transform: uppercase;
}

.project-tile-open {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d4eeff50;
    border-radius: 50%;
    background: #10242cdb;
    font-size: 20px;
    line-height: 1;
}

html:has(.project-dialog[open]) {
    overflow: hidden;
}

.project-dialog {
    width: min(920px, calc(100% - 36px));
    max-height: calc(100% - 36px);
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: auto;
    overscroll-behavior: contain;
    background: #f9fcfe;
    color: #19323f;
    box-shadow: 0 25px 75px #07121a94;
}

.project-dialog::backdrop {
    background: #091923cc;
}

.project-dialog-frame {
    display: grid;
}

.project-dialog-frame > [data-project-content],
.project-dialog-close {
    grid-area: 1 / 1;
}

.project-dialog-frame > [data-project-content] {
    min-width: 0;
}

.project-dialog-close {
    position: sticky;
    top: 14px;
    z-index: 3;
    justify-self: end;
    align-self: start;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 14px;
    padding: 0;
    border: 1px solid #a6e7ff78;
    border-radius: 50%;
    background: #0b2130ee;
    color: #fff;
    font: 400 27px/1 Arial, sans-serif;
}

.project-dialog-close:hover {
    background: #204b63;
}

.project-story-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(246px, 37vw, 330px);
    padding: 70px clamp(20px, 6vw, 48px) 35px;
    overflow: hidden;
    background: #163344;
}

.project-story-hero img,
.project-story-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-story-hero img {
    object-fit: cover;
    object-position: center 51%;
}

.project-story-ottava {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(18px, 3vw, 30px);
    min-height: 0;
    padding-bottom: clamp(22px, 4vw, 36px);
}

.project-story-ottava .project-story-hero-copy h2 {
    font-size: clamp(32px, 4.4vw, 45px);
}

.ottava-product-video {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border: 1px solid #a6e7ff50;
    border-radius: 8px;
}

.ottava-product-video img {
    position: static;
    display: block;
    height: auto;
}

.ottava-video-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    background: #102b3a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.ottava-product-video:hover .ottava-video-cta,
.ottava-product-video:focus-visible .ottava-video-cta {
    background: #205069;
}

.ottava-product-video:focus-visible {
    outline: 3px solid #a6e7ff;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .project-story-ottava {
        grid-template-columns: minmax(0, 1fr);
    }
}

.project-story-nirva {
    display: grid;
    align-items: center;
    min-height: 0;
    padding: 0;
}

.project-story-nirva .project-story-hero-copy {
    padding: 55px clamp(20px, 5vw, 42px) 22px;
}

.project-story-nirva img {
    position: static;
    height: auto;
}

.project-story-epia img {
    left: auto;
    width: 100%;
    object-fit: contain;
    object-position: right top;
}

.project-story-epia {
    background: radial-gradient(ellipse at 74% 27%, #9cbdc9, #547481 65%, #203a48);
}

.iota-tool-hero {
    display: grid;
    align-items: center;
    padding: 0;
    min-height: 0;
    background: #0b1727;
}

.iota-tool-hero::after {
    content: none;
}

.iota-tool-hero .project-story-hero-copy {
    padding: 70px clamp(20px, 5vw, 42px) 16px;
}

.iota-tool-hero .project-story-hero-copy h2 {
    font-size: clamp(32px, 4.5vw, 47px);
    text-wrap: balance;
}

.iota-tool-art {
    position: relative;
    min-width: 0;
    margin: 0;
}

.iota-tool-art img {
    position: static;
    display: block;
    height: auto;
}

.iota-tool-art figcaption {
    position: absolute;
    right: 14px;
    bottom: 9px;
    color: #bdcddd;
    font-size: 12px;
}

.iota-tool-hero + .project-story-body p {
    font-size: 16px;
}

.project-story-motionaware .project-story-hero img {
    object-position: center 18%;
}

.project-story-sinclair img {
    object-position: center 38%;
}

.project-story-isa img {
    object-position: center 75%;
}

.project-story-radio {
    background: radial-gradient(ellipse at 76% 30%, #21666c, #102f3c 65%, #10212f);
}

.project-story-radio .ivani-radio-visual {
    top: 22px;
    right: clamp(40px, 11vw, 120px);
}

.project-story-switch {
    background: radial-gradient(ellipse at 78% 30%, #526151, #263e42 54%, #142631);
}

.project-story-switch .nway-switch-visual {
    top: 28px;
    right: clamp(40px, 13vw, 135px);
}

.project-story-legrand,
.project-story-poe-driver {
    background: radial-gradient(ellipse at 76% 28%, var(--concept-glow), var(--concept-base) 56%, #122431);
}

.project-story-hero .ivani-concept {
    top: 35px;
    right: clamp(28px, 12vw, 125px);
}

.project-story-hero::after {
    content: "";
    background: linear-gradient(0deg, #081722 1%, #091923aa 42%, #08192320 78%);
}

.project-story-nirva::after {
    content: none;
}

.project-story-epia::after {
    background: linear-gradient(0deg, #081722 1%, #091923aa 40%, #08192300 80%);
}

.project-story-drawing {
    background: radial-gradient(ellipse at 76% 34%, #436d83, #173340 62%);
}

.project-story-drawing img {
    left: auto;
    width: 47%;
    height: 92%;
    object-fit: contain;
    filter: grayscale(1) invert(1);
    mix-blend-mode: screen;
}

.project-tile-iota-dbs img {
    top: 3%;
    height: 79%;
}

.project-story-iota-dbs img {
    top: 12px;
    width: clamp(205px, 56%, 460px);
    height: 83%;
    object-position: right top;
}

.project-story-hero-copy,
.project-story-caption {
    position: relative;
    z-index: 1;
}

.project-story-hero-copy h2 {
    margin: 6px 0 8px;
    color: #fff;
    font: 700 clamp(32px, 6vw, 60px)/1.05 'Raleway', sans-serif;
    text-align: left;
    text-transform: none;
}

.project-story-legrand .project-story-hero-copy h2 {
    text-wrap: balance;
}

.project-story-hero-copy > p:last-child {
    color: #e7f2f7;
    font-size: clamp(15px, 2.3vw, 19px);
    line-height: 1.45;
}

.project-story-caption {
    position: absolute;
    right: 15px;
    bottom: 10px;
    color: #c3d4dc;
    font-size: 11px;
}

.project-story-body {
    display: grid;
    gap: 26px;
    padding: clamp(20px, 5vw, 42px) clamp(20px, 6vw, 48px);
}

.project-story-body p {
    font-size: 15px;
    line-height: 1.65;
}

.project-photo-credit {
    margin-top: -12px;
    color: #3d5f71;
    font-size: 12px;
}

.project-photo-credit a {
    color: inherit;
    text-decoration: underline;
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #cedfe8;
}

.project-facts > div:last-child {
    grid-column: 1 / -1;
}

.project-facts dt,
.motion-reading-label {
    margin-bottom: 3px;
    color: #3d5f71;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.project-facts dd {
    color: #173447;
    font-weight: 700;
    line-height: 1.4;
}

.project-story-section h3,
.motion-figure h3 {
    margin: 0 0 6px;
    color: #142d3a;
    font: 700 clamp(18px, 3vw, 22px)/1.25 'Raleway', sans-serif;
}

.ottava-video-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 3vw, 24px);
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ottava-video-flow li {
    position: relative;
    display: grid;
    place-content: center;
    gap: 8px;
    min-height: 90px;
    padding: 12px 6px;
    border: 1px solid #c1dce7;
    border-radius: 8px;
    background: #e9f5fa;
    color: #173447;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.ottava-video-flow li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: 100%;
    width: clamp(12px, 3vw, 24px);
    border-top: 1px solid #84b1c3;
    content: "";
}

.ottava-video-flow i {
    color: #08769e;
    font-size: 21px;
}

.motion-figure {
    margin: 0;
    padding: clamp(15px, 3vw, 25px);
    border-radius: 10px;
    background: #122b3b;
    color: #e3f2fa;
}

.motion-figure-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.motion-figure h3 {
    margin: 0;
    color: #fff;
}

.motion-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.motion-controls button {
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid #78abc1;
    border-radius: 4px;
    background: transparent;
    color: #e3f2fa;
    font-weight: 700;
}

.motion-controls button:hover,
.motion-controls button[aria-pressed="true"] {
    background: #a9e6ff;
    color: #112b3a;
}

.motion-visual {
    display: grid;
    align-items: center;
    gap: 16px;
}

.motion-room {
    position: relative;
    aspect-ratio: 5 / 3;
    width: 100%;
    max-width: 330px;
    justify-self: center;
    border: 1px solid #457087;
    border-radius: 6px;
    background:
        repeating-linear-gradient(0deg, transparent 0 15px, #66aac315 15px 16px),
        repeating-linear-gradient(90deg, transparent 0 15px, #66aac315 15px 16px),
        #0d2534;
}

.motion-room-node,
.motion-room-wire,
.motion-person {
    position: absolute;
}

.motion-room-wire {
    width: 44%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #72d8f4 0 5px, transparent 5px 10px);
    top: 26%;
    left: 50%;
    transform-origin: left;
    opacity: .7;
}

.motion-room-wire-left { transform: rotate(135deg); }
.motion-room-wire-right { transform: rotate(45deg); }

.motion-room-wire-base {
    inset: 78% auto auto 19%;
    width: 62%;
}

.motion-room-node {
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border: 2px solid #c2efff;
    border-radius: 50%;
    background: #48bae6;
    box-shadow: 0 0 0 5px #79d4fc26;
}

.motion-room-node-top { top: 26%; left: 50%; }
.motion-room-node-left { top: 78%; left: 19%; }
.motion-room-node-right { top: 78%; left: 81%; }

.motion-person {
    display: grid;
    place-items: center;
    top: 63%;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    border: 1px solid #ffd097;
    border-radius: 50%;
    background: #273941;
    color: #ffd097;
    font-size: 18px;
    opacity: 0;
}

.motion-reading {
    min-width: 0;
}

.motion-reading-label {
    color: #9edced;
}

.motion-plot {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 58px;
    border-bottom: 1px solid #457087;
    margin: 0 0 8px;
}

.motion-plot span {
    flex: 1;
    height: 44%;
    background: #75cbe8;
    border-radius: 2px 2px 0 0;
    transition: height 180ms ease;
}

.motion-plot span:nth-child(3n) { height: 51%; }
.motion-plot span:nth-child(3n+1) { height: 47%; }

.motion-figure[data-motion-state="walking"] .motion-person {
    opacity: 1;
}

.motion-figure[data-motion-state="walking"] :is(.motion-room-wire-left, .motion-room-wire-base) {
    background: repeating-linear-gradient(90deg, #ffd097 0 5px, transparent 5px 10px);
    opacity: 1;
}

.motion-figure[data-motion-state="walking"] .motion-plot span:nth-child(n+5):nth-child(-n+11) {
    background: #ffd097;
    height: var(--motion-amplitude, 28%);
}

.motion-plot span:nth-child(6n+5) { --motion-amplitude: 76%; }
.motion-plot span:nth-child(9) { --motion-amplitude: 92%; }
.motion-plot span:nth-child(10) { --motion-amplitude: 59%; }

.motion-figure .motion-description {
    font-size: 14px;
}

.motion-figure figcaption {
    display: block;
    margin-top: 12px;
    color: #bfdae6;
    font-size: 12px;
    line-height: 1.45;
}

.project-story-outcome {
    padding-left: 15px;
    border-left: 3px solid #0b97d3;
}

.project-story-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 21px;
}

.project-story-links a {
    display: inline-block;
    padding: 5px 0;
    color: #005b83;
    font-weight: 700;
}

.project-story-links a:hover {
    text-decoration: underline;
}

.project-story-links a:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px;
}

.project-publication-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.project-publication-links li {
    padding: 5px 0 5px 14px;
    border-left: 2px solid #8ab5ca;
}

.robot-hero {
    display: grid;
    align-items: center;
    min-height: 0;
    padding: 0;
}

.robot-hero::after {
    content: none;
}

.robot-hero .project-story-hero-copy {
    padding: 70px clamp(20px, 6vw, 48px) 22px;
}

.robot-hero h2 {
    font-size: clamp(32px, 5vw, 48px);
}

.robot-photo {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf1f5;
}

.robot-hero .robot-photo {
    border-radius: 0;
    background: #102b3a;
}

.robot-photo img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
}

.robot-photo figcaption {
    padding: 8px 12px;
    font-size: 12px;
}

.robot-photo a {
    color: #005b83;
    text-decoration: underline;
}

.robot-hero .robot-photo a {
    color: #d5ecf7;
}

.robot-hardware,
.robot-modules,
.robot-demos {
    display: grid;
    gap: 12px;
}

.robot-hardware,
.robot-demos {
    margin: 16px 0 0;
}

.robot-modules {
    align-content: start;
    margin: 0;
}

.robot-modules > div,
.robot-demos > li {
    padding: 11px 14px;
    border-left: 2px solid #cb774d;
    background: #edf4f8;
}

.robot-demos {
    padding: 0;
    list-style: none;
}

.robot-demos h4 {
    margin: 0 0 5px;
    color: #173447;
    font-size: 16px;
    font-weight: 700;
}

.robot-demos a {
    font-size: 13px;
}

.sinnoz-story {
    --sinnoz-ink: #163a3a;
    --sinnoz-accent: #006766;
}

.sinnoz-hero {
    display: grid;
    align-items: center;
    min-height: 0;
    padding: 0;
    background: #f2f7f5;
}

.sinnoz-hero::after {
    content: none;
}

.sinnoz-hero .project-story-hero-copy {
    padding: 70px clamp(20px, 6vw, 48px) 18px;
}

.sinnoz-hero .project-kicker,
.sinnoz-source,
.sinnoz-story figcaption a {
    color: var(--sinnoz-accent);
}

.sinnoz-hero .project-story-hero-copy h2 {
    color: var(--sinnoz-ink);
    font-size: clamp(32px, 5vw, 50px);
}

.sinnoz-hero .project-story-hero-copy > p:last-child {
    color: #36595a;
}

.sinnoz-hero-photo,
.sinnoz-gallery-figure {
    margin: 0;
}

.sinnoz-hero-photo img {
    position: static;
    display: block;
    height: auto;
}

.sinnoz-patent-figure img {
    max-height: 290px;
    padding: 15px;
    object-fit: contain;
    background: #fff;
}

.litter-product-photo img {
    max-height: 310px;
    padding: 10px;
    object-fit: contain;
    background: #fff;
}

.sinnoz-app-figure {
    display: grid;
    justify-items: center;
    margin: 0;
    padding: 52px 16px 18px;
    row-gap: 28px;
    background: radial-gradient(circle at 50% 40%, #ccebe1, #e9f4ef 70%);
}

.sinnoz-app-figure img {
    position: static;
    width: 88px;
    height: 88px;
    border-radius: 20px;
    box-shadow: 0 0 0 12px #a7d8cd8c, 0 0 0 24px #a7d8cd47, 0 10px 32px #2e6e6926;
}

.sinnoz-story .sinnoz-app-figure figcaption {
    background: transparent;
    color: #36595a;
}

.sinnoz-story figcaption {
    padding: 8px 12px;
    background: #eef4f2;
    font-size: 12px;
}

.aurora-hero {
    background: #f6f3ec;
}

.aurora-campaign img {
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: center bottom;
}

.sinnoz-app-evolution {
    display: grid;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}

.sinnoz-app-evolution .sinnoz-gallery-figure,
.sinnoz-app-evolution .sinnoz-timeline {
    margin: 0;
}

.sinnoz-app-evolution .sinnoz-gallery-figure {
    background: radial-gradient(ellipse at 50% 30%, #ddf3ec, #edf6f4 75%);
}

.sinnoz-app-evolution img {
    padding: 16px 18px 0;
}

.sinnoz-citations {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.sinnoz-citations a {
    display: grid;
    align-content: start;
    gap: 5px;
    height: 100%;
    padding: 16px 18px;
    border: 1px solid #cfe3df;
    border-radius: 8px;
    background: #edf6f4;
    color: var(--sinnoz-ink);
    line-height: 1.45;
}

.sinnoz-citations a:hover {
    border-color: #76b6ad;
    background: #e7f2ef;
}

.sinnoz-citation-record {
    color: var(--sinnoz-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.gateway-hero {
    background: radial-gradient(ellipse at 78% 32%, #245a59, #0e2d38 80%);
}

.gateway-hero .project-story-hero-copy h2 {
    color: #fff;
}

.gateway-hero .project-story-hero-copy > p:last-child,
.gateway-hero .project-kicker {
    color: #cdebe4;
}

.gateway-board {
    min-width: 0;
    margin: 0;
    padding: 18px 18px 0;
    border-radius: 8px;
    background: #153840;
}

.gateway-hero .gateway-board {
    margin: 0 16px 16px;
    padding-top: 24px;
    background: #0a252b55;
}

.gateway-board img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 9px 17px #071c2873);
}

.sinnoz-story .gateway-board figcaption {
    padding: 12px 0 10px;
    background: transparent;
    color: #d1eae5;
}

.gateway-flow {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.gateway-flow li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 12px;
    align-content: start;
    padding: 14px;
    border-left: 2px solid #69b3a4;
    background: #edf6f4;
    color: var(--sinnoz-ink);
}

.gateway-flow i {
    grid-row: span 2;
    align-self: center;
    color: var(--sinnoz-accent);
    text-align: center;
    font-size: 21px;
}

.gateway-flow span {
    font-size: 13px;
}

.gateway-layout {
    display: grid;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}

.sinnoz-app-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.sinnoz-app-gallery figure {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 1px solid #cfdfdf;
    border-radius: 8px;
    background: #f2f7f5;
}

.sinnoz-app-gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-inline: auto;
}

.sinnoz-app-gallery figcaption {
    flex: 1;
    line-height: 1.5;
}

.sinnoz-app-gallery strong {
    display: block;
    margin-bottom: 3px;
    color: var(--sinnoz-ink);
    font-size: 14px;
}

.sinnoz-gallery-figure {
    overflow: hidden;
    margin: 12px 0 16px;
    border: 1px solid #cfdfdf;
    border-radius: 8px;
}

.sinnoz-gallery-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.sinnoz-editions {
    display: grid;
    gap: 8px;
    margin: 14px 0 6px;
}

.sinnoz-editions > div {
    padding: 10px 14px;
    border-left: 2px solid #67ada7;
    background: #edf6f4;
}

.sinnoz-editions dt {
    color: var(--sinnoz-ink);
    margin-bottom: 4px;
}

.sinnoz-timeline,
.sinnoz-patents {
    list-style: none;
    margin: 12px 0 16px;
    padding: 0;
    border-top: 1px solid #cedfe0;
}

.sinnoz-timeline li,
.sinnoz-patents li {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #cedfe0;
}

.sinnoz-timeline > li > time {
    color: var(--sinnoz-accent);
    font-weight: 700;
}

.sinnoz-patents strong {
    display: block;
    margin-top: 3px;
    color: var(--sinnoz-ink);
}

.sinnoz-story code {
    color: var(--sinnoz-ink);
    background: #e4f0ed;
}

.sinnoz-patents a code {
    color: var(--sinnoz-accent);
    text-decoration: underline;
}

.sinnoz-source {
    display: inline-block;
    padding-block: 4px;
    font-weight: 700;
}

.sinnoz-story a:hover {
    text-decoration: underline;
}

.sinnoz-story a:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px;
}

@media (min-width: 480px) {
    .project-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 620px) {
    .project-story-nirva {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .project-story-nirva .project-story-hero-copy {
        align-self: center;
        padding-block: 34px;
    }

    .project-story-nirva img {
        height: 100%;
        background: #fff;
        object-fit: contain;
    }

    .iota-tool-hero {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    }

    .iota-tool-hero .project-story-hero-copy {
        padding-block: 30px;
    }

    .project-story-epia img {
        width: 72%;
    }

    .project-story-isa img {
        left: auto;
        width: 70%;
        height: 74%;
        object-position: center bottom;
        mask-image: linear-gradient(90deg, transparent, #000 29%), linear-gradient(#000 62%, transparent);
        mask-composite: intersect;
    }

    .project-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-facts > div:last-child {
        grid-column: auto;
    }

    .motion-visual {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

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

    .robot-hero .project-story-hero-copy {
        padding-block: 24px;
    }

    .robot-hardware {
        align-items: start;
        gap: 18px;
    }

    .robot-demos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sinnoz-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .sinnoz-hero .project-story-hero-copy {
        padding-block: 24px;
    }

    .sinnoz-app-evolution,
    .sinnoz-citations,
    .gateway-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gateway-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gateway-hero .gateway-board {
        margin: 20px 18px 20px 0;
    }

    .sinnoz-app-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .sinnoz-editions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sinnoz-timeline li {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .sinnoz-patents li {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
        gap: 16px;
    }
}

@media (min-width: 1025px) {
    .project-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #Portfolio:has([data-filter="all"][aria-pressed="true"]) .project-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .project-tile {
        aspect-ratio: 16 / 9;
    }

    .project-dialog {
        width: 100%;
        max-width: none;
        height: 100vh;
        max-height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }
}

@media (pointer: coarse) {
    .project-filters button,
    .motion-controls button {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-tile img,
    .motion-plot span {
        transition: none;
    }
}
