@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #f4f3ed;
    --ink: #232820;
    --muted: #61665c;
    --line: #d3d5cb;
    --lime: #d5f478;
    --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
    --sans: Arial, Helvetica, sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
    view-transition-name: page;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}
@view-transition {
    navigation: auto;
}
::view-transition-old(page),
::view-transition-new(page) {
    animation-duration: 420ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
::view-transition-old(page) {
    animation-name: page-out;
}
::view-transition-new(page) {
    animation-name: page-in;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
a,
button {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #536e13;
    outline-offset: 6px;
}
::selection {
    background: var(--lime);
    color: var(--ink);
}
.wrap {
    width: min(1280px, calc(100% - 112px));
    margin-inline: auto;
}
.site-header {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.wordmark {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
}
.wordmark span {
    color: #768d39;
}
.site-header nav {
    display: flex;
    align-items: center;
    gap: 38px;
    font-size: 14px;
}
.site-header nav a:hover {
    color: #52672b;
}
.nav-contact {
    border: 1px solid var(--ink);
    padding: 12px 17px;
    border-radius: 30px;
}
.nav-contact span {
    margin-left: 12px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 10;
    background: var(--ink);
    color: white;
    padding: 14px;
}
.skip-link:focus {
    top: 12px;
}
.scroll-progress {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: var(--lime);
    pointer-events: none;
    transition: width 120ms ease-out;
}
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}
.hero {
    padding-top: 66px;
}
.eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 1.4px;
    font-weight: 500;
}
.hero .eyebrow {
    display: flex;
    gap: 10px;
    align-items: center;
}
.dot {
    height: 7px;
    width: 7px;
    background: #708732;
    border-radius: 50%;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1 {
    font-size: clamp(45px, 5.95vw, 84px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -4.3px;
    margin-top: 32px;
}
.serif {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
}
.lime-period {
    color: #708732;
}
.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 37px;
}
.hero-bottom p {
    max-width: 510px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}
.button {
    display: inline-flex;
    justify-content: space-between;
    gap: 38px;
    align-items: center;
    padding: 20px 24px;
    font-size: 14px;
    border-radius: 4px;
    white-space: nowrap;
    transition:
        background 0.2s,
        transform 0.2s;
}
.dark-button {
    background: var(--ink);
    color: var(--paper);
}
.dark-button:hover {
    background: #3a4430;
    transform: translateY(-2px);
}
.button span {
    font-size: 22px;
    transition: transform 220ms ease;
}
.button:hover span,
.text-link:hover span,
.contact-arrow:hover span {
    transform: translate(3px, -3px);
}
.hero-footnote {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 42px 0 19px;
    margin-top: 24px;
    font: 10px/1.5 var(--mono);
    letter-spacing: 1px;
    color: var(--muted);
}
.section {
    padding-block: 86px;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 38px;
    gap: 25px;
}
.section-heading h2 {
    margin-top: 16px;
}
h2 {
    font-size: clamp(35px, 3.6vw, 50px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
}
.section-heading p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}
.project {
    min-width: 0;
}
.featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    border-bottom: 1px solid var(--line);
    padding-bottom: 44px;
    margin-bottom: 44px;
    gap: 48px;
    align-items: center;
}
.project-art {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}
.art-topline,
.art-caption {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font: 9px/1.5 var(--mono);
    letter-spacing: 0.6px;
}
.art-topline > span:first-child {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}
.art-caption {
    font-size: 8px;
    opacity: 0.8;
}
.attendance-art {
    background: var(--lime);
    height: 410px;
    color: #35462a;
}
.attendance-visual {
    position: relative;
    margin: auto;
    width: 380px;
    height: 260px;
}
.camera-frame {
    position: absolute;
    top: 0;
    left: 24px;
    width: 191px;
    height: 234px;
    background: #c0dc6d;
    border: 1px solid #728e43;
    border-radius: 14px;
    overflow: hidden;
}
.camera-frame::after {
    content: "";
    position: absolute;
    inset: 24px 19px 37px;
    border: 1px solid #819b4d;
    border-radius: 12px;
}
.camera-cross {
    position: absolute;
    top: 10px;
    left: 12px;
    font: 15px var(--mono);
    color: #537135;
}
.person-head {
    position: absolute;
    width: 64px;
    height: 77px;
    top: 46px;
    left: 62px;
    border-radius: 50%;
    background: #8ca44e;
}
.person-shoulders {
    position: absolute;
    width: 139px;
    height: 125px;
    left: 25px;
    top: 128px;
    background: #8ca44e;
    border-radius: 55% 55% 0 0;
}
.camera-label {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1;
    font: 8px var(--mono);
    letter-spacing: 1px;
}
.capture-ticket {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 249px;
    padding: 22px;
    background: #fcfcf1;
    border-radius: 9px;
    box-shadow: 0 12px 28px #3f571c19;
    transform: rotate(4deg);
}
.ticket-icon {
    display: block;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--lime);
    text-align: center;
    line-height: 31px;
    margin-bottom: 14px;
}
.capture-ticket strong {
    font-size: 15px;
    font-weight: 500;
    display: block;
}
.capture-ticket div > span {
    font-size: 11px;
    display: block;
    margin-top: 7px;
    color: var(--muted);
}
.ticket-line {
    margin: 18px 0 10px;
    border-top: 1px dashed #bac5a5;
}
.ticket-note {
    font: 8px var(--mono);
}
.project-meta {
    display: flex;
    justify-content: space-between;
    font: 10px/1.6 var(--mono);
    letter-spacing: 0.7px;
    color: var(--muted);
    margin-bottom: 17px;
}
.project-copy h3 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1.3px;
    margin-bottom: 15px;
}
.project-copy .project-lede {
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 13px;
    line-height: 1.4;
}
.project-copy > p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    list-style: none;
    margin: 21px 0 25px;
}
.tags li {
    font: 10px/1.5 var(--mono);
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: #555b50;
}
.text-link {
    display: inline-flex;
    gap: 28px;
    font-size: 13px;
    align-items: center;
    border-bottom: 1px solid #8a9082;
    padding-bottom: 7px;
}
.text-link:hover {
    border-color: var(--ink);
    color: #4a611d;
}
.text-link span {
    font-size: 20px;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
}
.project-grid .project-copy {
    padding-top: 26px;
}
.project-grid .project-copy > p {
    max-width: 470px;
}
.moments-art {
    background: #e9ded7;
    color: #6b5047;
}
.memory-composition {
    position: relative;
    width: 320px;
    height: 244px;
    margin: auto;
}
.memory-card {
    position: absolute;
    width: 155px;
    height: 179px;
    padding: 9px;
    background: #faf9f3;
    box-shadow: 0 5px 15px #7b514015;
}
.back-card {
    left: 19px;
    top: 18px;
    transform: rotate(-13deg);
}
.front-card {
    right: 15px;
    bottom: 6px;
    transform: rotate(11deg);
}
.memory-card > span {
    font-family: Georgia, serif;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    padding: 13px 2px;
}
.landscape {
    height: 131px;
    position: relative;
    overflow: hidden;
}
.landscape-green {
    background: #c8d5ca;
}
.landscape-green::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 140px;
    border-radius: 50%;
    background: #869f83;
    left: -58px;
    top: 55px;
}
.landscape-green::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 145px;
    border-radius: 50%;
    background: #5b785e;
    right: -96px;
    top: 53px;
}
.landscape-peach {
    background: #dcae99;
}
.landscape-peach::after {
    content: "";
    position: absolute;
    bottom: -44px;
    left: -28px;
    right: -30px;
    height: 100px;
    border-radius: 50%;
    background: #b4745a;
    transform: rotate(-14deg);
}
.sun {
    position: absolute;
    top: 25px;
    right: 32px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f6dcc0;
}
.map-pin {
    position: absolute;
    right: 12px;
    top: 3px;
    background: #f9f6ed;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-10deg);
    color: #956250;
    font-size: 22px;
}
.more-work {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.1fr;
    gap: 30px;
    align-items: start;
}
.more-work h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.3px;
}
.more-work > a:not(.github-link) {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    font-size: 13px;
}
.more-work small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.more-work a:hover {
    color: #52672b;
}
.github-link {
    grid-column: 2 / -1;
    font: 11px var(--mono);
    width: fit-content;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
}
.github-link span {
    margin-left: 16px;
}
.about-section {
    background: #e9ebe2;
}
.about-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
}
.about-intro h2 {
    margin-top: 25px;
    line-height: 1.15;
}
.about-copy {
    padding-top: 35px;
}
.about-copy p {
    font-size: 15px;
    line-height: 1.85;
    color: #575f51;
    margin-bottom: 17px;
}
.about-copy p:first-child {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.6;
}
.capabilities {
    border-top: 1px solid #c9cebf;
    margin-top: 58px;
    padding-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.cap-number {
    font: 11px var(--mono);
    color: #657052;
}
.capabilities h3 {
    font-size: 21px;
    letter-spacing: -0.5px;
    font-weight: 500;
    margin: 18px 0 12px;
}
.capabilities p {
    font-size: 14px;
    color: #575f51;
    line-height: 1.7;
    max-width: 300px;
}
.cap-tools {
    display: block;
    font: 10px/1.8 var(--mono);
    margin-top: 23px;
    color: #4e5944;
}
.contact {
    padding-top: 90px;
    padding-bottom: 75px;
}
.contact-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}
.contact h2 {
    font-size: clamp(65px, 7.5vw, 108px);
    letter-spacing: -5px;
    line-height: 1;
}
.contact-arrow {
    display: grid;
    place-items: center;
    background: var(--lime);
    border-radius: 50%;
    width: 114px;
    height: 114px;
    font-size: 64px;
    font-weight: 400;
    transition: transform 0.2s;
}
.contact-arrow:hover {
    transform: rotate(10deg);
}
.contact-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-top: 33px;
}
.contact-bottom p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.email-row {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}
.email-link {
    font-size: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 7px;
    letter-spacing: -0.5px;
}
#copy-email {
    background: transparent;
    border: 1px solid var(--line);
    padding: 9px 11px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    color: var(--muted);
}
#copy-email:hover {
    background: #e8eadd;
}
.copy-status {
    position: absolute;
    right: 0;
    top: 43px;
    font-size: 11px;
    color: var(--muted);
}
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    min-height: 116px;
    gap: 24px;
    font-size: 11px;
    color: var(--muted);
}
footer .wordmark {
    font-size: 32px;
    color: var(--ink);
}
footer > div {
    display: flex;
    gap: 28px;
}
footer a:hover {
    color: var(--ink);
}

@media (min-width: 1550px) {
    h1 {
        font-size: 88px;
    }
    .hero {
        padding-top: 80px;
    }
    .hero-bottom {
        margin-top: 45px;
    }
}
@media (max-width: 1050px) {
    .wrap {
        width: calc(100% - 64px);
    }
    h1 {
        letter-spacing: -3px;
    }
    .featured {
        gap: 30px;
        grid-template-columns: 1.15fr 1fr;
    }
    .attendance-visual {
        transform: scale(0.85);
        transform-origin: center;
        left: 50%;
        margin-left: -190px;
        flex-shrink: 0;
    }
    .project-art {
        padding: 20px;
    }
    .memory-composition {
        transform: scale(0.9);
    }
    .about-intro {
        gap: 45px;
    }
    .art-topline,
    .art-caption {
        font-size: 7px;
    }
    .email-row {
        gap: 10px;
    }
    .email-link {
        font-size: 17px;
    }
    .capabilities {
        gap: 25px;
    }
}
@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .site-header {
        height: 84px;
    }
    .wordmark {
        font-size: 36px;
    }
    .site-header nav {
        gap: 22px;
        font-size: 12px;
    }
    .nav-contact {
        padding: 10px 13px;
    }
    .nav-contact span {
        margin-left: 4px;
    }
    .hero {
        padding-top: 42px;
    }
    .eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
    }
    h1 {
        font-size: clamp(39px, 7.4vw, 56px);
        letter-spacing: -2.3px;
        line-height: 1.1;
        margin-top: 26px;
    }
    .hero-bottom {
        align-items: start;
        flex-direction: column;
        gap: 24px;
        margin-top: 25px;
    }
    .hero-bottom p {
        font-size: 15px;
        max-width: 460px;
    }
    .button {
        padding: 16px 20px;
        font-size: 12px;
        gap: 40px;
    }
    .hero-footnote {
        margin-top: 6px;
        padding-top: 32px;
        font-size: 8px;
    }
    .hero-footnote span:last-child {
        display: none;
    }
    .section {
        padding-block: 55px;
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 28px;
    }
    .section-heading p {
        font-size: 13px;
    }
    .desktop-break {
        display: none;
    }
    h2 {
        font-size: 37px;
        letter-spacing: -1.6px;
    }
    .featured {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 34px;
        margin-bottom: 34px;
    }
    .attendance-art {
        height: 350px;
    }
    .attendance-visual {
        transform: none;
    }
    .project-copy h3 {
        font-size: 29px;
        margin-bottom: 12px;
    }
    .project-meta {
        font-size: 9px;
        margin-bottom: 11px;
    }
    .project-copy .project-lede {
        font-size: 17px;
    }
    .project-copy > p {
        font-size: 14px;
    }
    .tags {
        margin: 17px 0 20px;
    }
    .project-grid {
        grid-template-columns: 1fr;
        gap: 37px;
    }
    .project-art {
        height: 330px;
    }
    .project-grid .project-copy {
        padding-top: 24px;
    }
    .art-topline {
        font-size: 8px;
    }
    .art-caption {
        font-size: 8px;
    }
    .memory-composition {
        transform: none;
    }
    .more-work {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 33px;
        padding-top: 26px;
    }
    .more-work > a:not(.github-link) {
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
    }
    .github-link {
        grid-column: auto;
    }
    .about-intro {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .about-intro h2 {
        font-size: 41px;
        margin-top: 20px;
    }
    .about-copy {
        padding: 0;
    }
    .about-copy p {
        font-size: 14px;
    }
    .about-copy p:first-child {
        font-size: 17px;
    }
    .capabilities {
        grid-template-columns: 1fr;
        margin-top: 25px;
        padding-top: 25px;
        gap: 25px;
    }
    .capabilities > div {
        position: relative;
        padding-left: 35px;
    }
    .cap-number {
        position: absolute;
        top: 5px;
        left: 0;
    }
    .capabilities h3 {
        margin: 0 0 9px;
    }
    .capabilities p {
        max-width: none;
    }
    .cap-tools {
        margin-top: 11px;
    }
    .contact h2 {
        font-size: 67px;
        letter-spacing: -3px;
    }
    .contact-arrow {
        height: 73px;
        width: 73px;
        font-size: 43px;
        flex-shrink: 0;
    }
    .contact-bottom {
        flex-direction: column;
        align-items: start;
        gap: 27px;
        margin-top: 27px;
    }
    .email-link {
        font-size: 18px;
    }
    .email-row {
        flex-wrap: wrap;
        gap: 14px;
    }
    .copy-status {
        position: static;
        flex-basis: 100%;
        min-height: 14px;
    }
    .email-row:has(#copy-email[hidden]) .copy-status {
        display: none;
    }
    footer {
        min-height: 145px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding-block: 25px;
    }
    footer > span {
        text-align: right;
    }
    footer > a:last-child {
        text-align: right;
    }
    footer > div {
        gap: 20px;
    }
}
@media (max-width: 380px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .site-header nav {
        gap: 15px;
    }
    h1 {
        font-size: 35px;
        letter-spacing: -1.9px;
    }
    .project-art {
        padding: 16px;
    }
    .art-topline {
        font-size: 6px;
    }
    .art-caption {
        font-size: 6px;
    }
    .attendance-visual {
        transform: scale(0.8);
    }
    .memory-composition {
        transform: scale(0.88);
        left: 50%;
        margin-left: -160px;
    }
    .server-base {
        font-size: 6px;
    }
    .contact h2 {
        font-size: 59px;
    }
    .email-link {
        font-size: 17px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
    .js .reveal {
        opacity: 1;
        transform: none;
    }
    .scroll-progress {
        transition: none;
    }
}

/* Moments project cover and detail page */
.moments-cover {
    height: 410px;
}
.moments-cover .memory-composition {
    width: 360px;
    height: 290px;
    flex-shrink: 0;
}
.moments-cover .memory-card {
    width: 176px;
    height: 219px;
    padding: 10px 10px 28px;
}
.moments-cover .back-card {
    left: 12px;
    top: 15px;
}
.moments-cover .front-card {
    right: 15px;
    bottom: 3px;
}
.memory-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.meal-photo {
    background-image: url("./static/moments-meal.svg");
}
.coffee-photo {
    background-image: url("./static/moments-coffee.svg");
    background-position: center;
}
.memory-heart {
    position: absolute;
    width: 35px;
    height: 35px;
    right: 6px;
    top: 15px;
    fill: #ff4778;
    transform: rotate(12deg);
    filter: drop-shadow(0 5px 5px #b15b6b20);
}
.moments-cover .memory-card {
    transition: transform 0.25s;
}
.moments-cover:hover .back-card {
    transform: rotate(-16deg) translateY(-4px);
}
.moments-cover:hover .front-card {
    transform: rotate(13deg) translateY(-4px);
}
.project-grid .attendance-art {
    height: 350px;
}
.case-hero {
    padding-top: 32px;
}
.back-link {
    font: 11px var(--mono);
    color: var(--muted);
}
.back-link:hover {
    color: var(--ink);
}
.case-heading {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: end;
    padding: 60px 0 46px;
}
.case-heading h1 {
    font-size: clamp(65px, 8vw, 112px);
    margin: 18px 0 20px;
    letter-spacing: -6px;
}
.heart-text {
    display: inline-block;
    font-size: 0.38em;
    color: #ff4778;
    vertical-align: top;
    margin: 10px 0 0 16px;
    transform: rotate(12deg);
}
.case-tagline {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1px;
}
.case-intro {
    font-size: 17px;
    line-height: 1.7;
    max-width: 395px;
    color: var(--muted);
    padding-bottom: 3px;
}
.project-facts {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.3fr 0.9fr;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding: 25px 0 35px;
}
.project-facts dt {
    font: 9px var(--mono);
    letter-spacing: 1px;
    color: var(--muted);
}
.project-facts dd {
    font-size: 12px;
    line-height: 1.6;
    margin: 10px 0 0;
}
.project-facts a {
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px;
}
.showcase {
    margin-block: 0;
}
.showcase-link {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ded7;
}
.showcase img {
    display: block;
    width: 100%;
    height: auto;
}
.enlarge-label {
    position: absolute;
    right: 20px;
    bottom: 20px;
    border-radius: 30px;
    background: var(--paper);
    padding: 11px 16px;
    font-size: 11px;
    box-shadow: 0 2px 12px #0001;
}
.showcase figcaption {
    font: 10px/1.6 var(--mono);
    color: var(--muted);
    margin-top: 12px;
}
.case-story {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
}
.case-story h2 {
    font-size: 40px;
    margin-top: 23px;
    line-height: 1.2;
}
.case-story p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}
.case-story p.large-copy {
    font-size: 23px;
    color: var(--ink);
    line-height: 1.5;
    letter-spacing: -0.4px;
}
.case-features {
    background: #e9ebe2;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    border-top: 1px solid #c9cebf;
    padding-top: 30px;
}
.feature-symbol {
    font-size: 28px;
    color: #59684a;
    display: block;
    margin-bottom: 22px;
}
.feature-grid h3,
.build-notes h3 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 13px;
}
.feature-grid p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}
.build-notes article + article {
    margin-top: 28px;
}
.case-source {
    margin-top: 30px;
}
.build-notes p.platform-note {
    font-size: 12px;
    background: #e9ebe2;
    padding: 18px;
    border-radius: 5px;
    line-height: 1.7;
    margin-top: 28px;
}
.case-ending {
    border-top: 1px solid var(--line);
    padding-block: 55px 75px;
}
.case-ending h2 {
    margin: 20px 0 28px;
}
.image-dialog {
    border: 0;
    border-radius: 8px;
    padding: 16px;
    background: var(--paper);
    width: min(1200px, 94vw);
    max-height: 94dvh;
    color: var(--ink);
}
.image-dialog::backdrop {
    background: #172018dc;
}
.image-dialog img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(94dvh - 88px);
    object-fit: contain;
}
.dialog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    font-size: 12px;
}
.close-dialog {
    cursor: pointer;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    border-radius: 4px;
    padding: 10px 14px;
}
body:has(.image-dialog[open]) {
    overflow: hidden;
}
@keyframes page-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes page-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@media (max-width: 1050px) {
    .moments-cover .memory-composition {
        left: 50%;
        margin-left: -180px;
        transform: scale(0.86);
    }
    .case-heading {
        gap: 35px;
    }
    .case-story {
        gap: 45px;
    }
    .project-facts {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 760px) {
    .moments-cover {
        height: 350px;
    }
    .moments-cover .memory-composition {
        transform: scale(0.9);
    }
    .project-grid .attendance-art {
        height: 330px;
    }
    .case-heading {
        grid-template-columns: 1fr;
        padding: 36px 0;
        gap: 27px;
    }
    .case-heading h1 {
        font-size: 74px;
        letter-spacing: -4px;
    }
    .case-tagline {
        font-size: 30px;
    }
    .case-intro {
        font-size: 15px;
        max-width: 460px;
    }
    .project-facts {
        gap: 23px 18px;
    }
    .project-facts dd {
        font-size: 11px;
    }
    .showcase figcaption {
        font-size: 8px;
    }
    .enlarge-label {
        right: 10px;
        bottom: 10px;
        padding: 8px 12px;
        font-size: 10px;
    }
    .case-story {
        grid-template-columns: 1fr;
        gap: 27px;
    }
    .case-story h2 {
        font-size: 33px;
        margin-top: 16px;
    }
    .case-story p.large-copy {
        font-size: 21px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .feature-symbol {
        margin-bottom: 12px;
    }
    .feature-grid article {
        max-width: 480px;
    }
    .case-ending {
        padding-block: 40px 50px;
    }
    .case-ending h2 {
        font-size: 34px;
    }
    .image-dialog {
        padding: 10px;
    }
    .dialog-toolbar {
        font-size: 10px;
    }
    .close-dialog {
        padding: 9px 12px;
    }
}
@media (max-width: 380px) {
    .moments-cover .memory-composition {
        transform: scale(0.78);
    }
    .case-heading h1 {
        font-size: 65px;
    }
}
@media (max-width: 760px) {
    .contact h2 {
        font-size: clamp(42px, 11vw, 60px);
        letter-spacing: -2px;
    }
    .contact-heading {
        gap: 12px;
    }
    .project-grid .attendance-visual {
        transform: scale(0.76);
    }
    .contact-arrow {
        width: 64px;
        height: 64px;
        font-size: 38px;
    }
}

/* Explicit media sizing and a compact phone mockup on small screens. */
.memory-photo {
    display: block;
    object-fit: cover;
    max-width: 100%;
}
.showcase-link {
    max-width: 980px;
    margin-inline: auto;
}
.showcase img {
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 760px) {
    .showcase-link {
        max-width: 320px;
    }
    .showcase img {
        max-height: 215px;
    }
    .showcase figcaption {
        max-width: 320px;
        margin-inline: auto;
    }
    .case-heading h1 {
        font-size: clamp(54px, 17vw, 70px);
        white-space: nowrap;
    }
    .heart-text {
        margin-left: 10px;
    }
}

/* A simplified, non-interactive DTRCam screen, drawn at its display size. */
.project-art.dtr-camera-cover {
    display: grid;
    height: 350px;
    min-width: 0;
    padding: 25px 22px 43px;
    place-items: center;
    background: radial-gradient(ellipse at 50% 35%, #edf0dc, #dce2ca);
}
.dtr-preview {
    width: 310px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #46483e;
    border-radius: 13px;
    background: #141613;
    color: #f4f3ed;
    box-shadow: 0 20px 32px -16px #35442d70, 0 3px 0 #c4ccb6;
    transition: transform 320ms ease;
}
.dtr-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #30332b; background: #1d201a; }
.dtr-preview-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: -0.4px; }
.dtr-mini-camera { position: relative; display: grid; place-items: center; width: 23px; height: 17px; border-radius: 5px; background: #dca473; }
.dtr-mini-camera::before { content: ""; position: absolute; top: -3px; left: 4px; width: 8px; height: 4px; border-radius: 2px; background: #dca473; }
.dtr-mini-camera i { width: 9px; height: 9px; border: 2px solid #30332b; border-radius: 50%; }
.dtr-mini-camera::after { content: ""; position: absolute; inset: 0; border: 1px solid #f3e6ba; border-radius: 50%; opacity: 0; }
.dtr-preview-badge { font: 7px var(--mono); letter-spacing: 0.8px; color: #b8c0a5; }
.dtr-preview-content { padding: 16px; }
.dtr-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 21px; line-height: 1.15; letter-spacing: -0.6px; }
.dtr-preview-date { font: 7px/1.5 var(--mono); color: #919986; text-align: center; }
.dtr-preview-date b { display: block; font: 24px var(--sans); color: #d7ddc7; }
.dtr-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 15px 0 16px; }
.dtr-preview-actions > span { padding: 10px; border: 1px solid #363c2e; border-radius: 6px; font-size: 14px; }
.dtr-preview-actions b { font-size: 11px; font-weight: 500; }
.dtr-preview-actions small { display: block; padding-top: 5px; font-size: 8px; opacity: 0.75; }
.dtr-preview-in { background: #203923; color: #98dba0; }
.dtr-preview-out { background: #20231c; color: #b7bfac; }
.dtr-preview-records { display: flex; justify-content: space-between; gap: 6px; font: 6px var(--mono); letter-spacing: 0.6px; color: #979f8d; }
.dtr-preview-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding-block: 10px; border-block: 1px solid #2a2e24; font-size: 8px; color: #9ca591; }
.dtr-preview-row b { font: 10px var(--mono); color: #e1e6d7; }
.dtr-preview-row > span:last-child { margin-left: auto; color: #b3d988; }
.dtr-record-dot { display: inline-block; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #a6ce7b; }
.dtr-preview-footer { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: #8a967e; font: 7px var(--mono); }
@keyframes dtr-preview-capture {
    0%, 8% { opacity: 0; transform: scale(0.3); }
    14% { opacity: 0.85; }
    30%, 100% { opacity: 0; transform: scale(3.6); }
}
@media (max-width: 760px) {
    .project-art.dtr-camera-cover { height: 330px; padding: 20px 16px 40px; }
}
.dtr-camera-cover .art-caption {
    position: absolute;
    z-index: 4;
    right: 16px;
    bottom: 14px;
    left: 16px;
    color: #5f4a40;
    text-shadow: 0 1px 8px rgba(255, 248, 239, 0.7);
}

/* A soft, warm network pulse—not a literal architecture diagram. */
.infra-motion {
    height: auto;
    min-height: 330px;
    padding: 20px;
    color: #2d332b;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 51%, rgba(247, 244, 225, 0.96) 0 20%, transparent 21%),
        linear-gradient(135deg, #d9dfd1, #eef0e7 55%, #d5dccb);
}
.infra-motion::before,
.infra-motion::after {
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(66, 83, 57, 0.14);
    border-radius: 50%;
    content: "";
}
.infra-motion::before {
    top: 61px;
    left: calc(50% - 95px);
}
.infra-motion::after {
    top: 92px;
    left: calc(50% - 64px);
    width: 128px;
    height: 128px;
}
.infra-topline,
.infra-status {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font: 9px/1.5 var(--mono);
    letter-spacing: 0.6px;
}
.infra-topline > span:first-child {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}
.infra-pulse {
    position: absolute;
    top: 54px;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translateX(-50%);
}
.infra-orbit {
    position: absolute;
    inset: 26px;
    border: 1px dashed rgba(61, 80, 52, 0.3);
    border-radius: 50%;
}
.infra-orbit-two {
    inset: 58px;
    border-style: solid;
    border-color: rgba(61, 80, 52, 0.15);
}
.infra-core {
    position: absolute;
    top: 82px;
    left: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 56px;
    height: 56px;
    border: 1px solid #475842;
    border-radius: 17px;
    background: #303c2d;
    box-shadow: 0 12px 28px rgba(55, 76, 48, 0.2);
}
.infra-core i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 3px rgba(240, 239, 57, 0.08);
}
.infra-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 4px solid #eef0e7;
    border-radius: 50%;
    background: #697d60;
    box-shadow: 0 2px 8px rgba(52, 72, 45, 0.18);
}
.infra-node-one { top: 24px; left: 102px; }
.infra-node-two { top: 145px; left: 24px; }
.infra-node-three { top: 145px; right: 24px; }
.infra-signal {
    position: absolute;
    z-index: 2;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8a466;
    box-shadow: 0 0 0 4px rgba(216, 164, 102, 0.14);
}
.infra-signal-one { top: 50px; left: 106px; }
.infra-signal-two { top: 132px; left: 66px; }
.infra-signal-three { top: 132px; right: 66px; }
.infra-status {
    position: absolute;
    right: 20px;
    bottom: 39px;
    left: 20px;
    color: #53624d;
}
.infra-status i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #718f4d;
}
.infra-motion .art-caption {
    position: absolute;
    right: 20px;
    bottom: 14px;
    left: 20px;
    color: #53624d;
}

@keyframes infra-orbit-turn {
    to { transform: rotate(1turn); }
}
@keyframes infra-packet {
    0%, 100% { transform: scale(0.8); opacity: 0.45; }
    50% { transform: scale(1.3); opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
    .dtr-camera-cover:hover .dtr-preview { transform: translateY(-3px); }
    .dtr-camera-cover:hover .dtr-mini-camera::after { animation: dtr-preview-capture 2.4s ease-out; }
    .infra-motion:hover .infra-orbit-one { animation: infra-orbit-turn 3.2s linear infinite; }
    .infra-motion:hover .infra-orbit-two { animation: infra-orbit-turn 4.8s linear infinite reverse; }
    .infra-motion:hover .infra-signal { animation: infra-packet 1s ease-in-out infinite; }
}
@media (hover: none), (pointer: coarse) {
    .dtr-mini-camera::after { animation: dtr-preview-capture 5s ease-out infinite; }
    .infra-motion .infra-orbit-one { animation: infra-orbit-turn 5s linear infinite; }
    .infra-motion .infra-orbit-two { animation: infra-orbit-turn 5s linear infinite reverse; }
    .infra-motion .infra-signal { animation: infra-packet 5s ease-in-out infinite; }
}

/* Project-specific detail-page accents. */
.dtr-mark {
    color: #f0ef39;
    display: inline-block;
    font-size: 0.22em;
    letter-spacing: 0;
    margin-left: 16px;
    transform: translateY(-1.6em);
}

.dtr-showcase .showcase-link {
    background: #f5f3e9;
}

.dtr-features .feature-symbol {
    color: #527f38;
}

.infra-period {
    color: #718b38;
}

.infra-diagram {
    background: #293b35;
    border-radius: 8px;
    color: #d4e0d2;
    margin-block: 0;
    overflow: hidden;
    padding: 24px;
}

.infra-diagram-header,
.infra-base {
    display: flex;
    font: 9px/1.5 var(--mono);
    justify-content: space-between;
    letter-spacing: 0.7px;
}

.infra-diagram-header {
    color: #cad8c9;
}

.infra-flow {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1.1fr auto 2.1fr;
    gap: 18px;
    margin: 55px auto;
    max-width: 930px;
}

.flow-client,
.flow-proxy,
.flow-services > div {
    background: #364a41;
    border: 1px solid #70877c;
    border-radius: 6px;
    padding: 19px;
}

.flow-client,
.flow-proxy {
    font-size: 19px;
}

.flow-client small,
.flow-proxy small,
.flow-services small {
    color: #aebdb3;
    display: block;
    font: 9px/1.5 var(--mono);
    margin-top: 8px;
}

.flow-proxy {
    position: relative;
}

.flow-proxy i {
    background: var(--lime);
    border-radius: 50%;
    height: 7px;
    position: absolute;
    right: 17px;
    top: 17px;
    width: 7px;
}

.flow-arrow {
    color: #aebdb3;
    font-size: 25px;
}

.flow-services {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(3, 1fr);
}

.flow-services > div {
    min-height: 86px;
}

.flow-services b {
    font-size: 15px;
    font-weight: 500;
}

.infra-base {
    border-top: 1px solid #526a5e;
    color: #aebdb3;
    padding-top: 14px;
}

.infra-features .feature-symbol {
    color: #526f5d;
}

@media (max-width: 760px) {
    .dtr-mark {
        margin-left: 10px;
    }

    .infra-diagram {
        padding: 17px;
    }

    .infra-diagram-header,
    .infra-base {
        font-size: 7px;
    }

    .infra-flow {
        gap: 12px;
        grid-template-columns: 1fr;
        margin: 28px auto;
    }

    .flow-arrow {
        line-height: 1;
        margin: -4px auto;
        transform: rotate(90deg);
    }

    .flow-client,
    .flow-proxy {
        font-size: 16px;
        padding: 15px;
    }

    .flow-services > div {
        min-height: auto;
        padding: 12px 9px;
    }

    .flow-services b {
        font-size: 11px;
    }
}
