:root {
    --paper: #f9f9f9;
    --ink: #1a1c1c;
    --muted: #6e7373;
    --text-secondary: #444748;
    --text-caption: #525656;
    --line: #e5e5e5;
    --mono: "Geist Mono", monospace;
    --sans: Geist, Arial, sans-serif;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans)
}

a {
    color: inherit;
    text-decoration: none
}

.site-shell {
    display: flex;
    min-height: 100vh
}

.sidebar {
    background: #fbfbfb;
    border-right: 1px solid var(--line);
    display: flex;
    flex: 0 0 318px;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 36px 20px 0;
    position: sticky;
    top: 0;
    height: 100vh
}

.menu-toggle {
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    display: none;
    padding: 4px
}

.menu-toggle__icon-close {
    display: none
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon-open {
    display: none
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon-close {
    display: block
}

body.menu-open {
    overflow: hidden
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    letter-spacing: -.8px
}

.brand strong {
    font: 700 18px/25.6px var(--mono)
}

.brand span,
.topbar,
.contact-button,
.nav-link,
.project-subnav,
.sidebar-footer,
footer,
.status-block,
.tag,
.contents,
.card-heading>span,
.case-link {
    font-family: var(--mono)
}

.brand span {
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: .6px
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px
}

.nav-link {
    align-items: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    display: flex;
    font-size: 12px;
    font-weight: 500;
    gap: 12px;
    padding: 8px 12px
}

.nav-link img,
.social-link img {
    height: 14px;
    width: 14px
}

.nav-link.active {
    background: rgba(61, 90, 128, .2)
}

.nav-link:not(.active):hover {
    background: rgba(61, 90, 128, .1)
}

.project-subnav {
    border-left: 2px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 0 48px;
    padding-left: 24px
}

.project-subnav a {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 4px 8px;
}

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

.sidebar-footer {
    border-top: 1px solid var(--line);
    margin: 0 -20px;
    padding: 36px 20px 18px
}

.contact-me {
    display: block;
    font-size: 12px;
    letter-spacing: .6px;
    margin-bottom: 24px
}

.contact-me:hover {
    text-decoration: underline
}

.social-link {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin-top: 7px
}

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

.main-content {
    min-width: 0;
    width: calc(100% - 318px);
}

.topbar {
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--text-secondary);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    letter-spacing: .6px;
    padding: 12px 20px;
    height: 63px;
    position: sticky;
    top: 0;
    background: var(--paper);

}

.breadcrumb a {
    color: inherit
}

.breadcrumb a:hover {
    text-decoration: underline
}

.breadcrumb a.active,
.breadcrumb [aria-current] {
    color: var(--ink)
}

.contact-button {
    background: #000;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: .6px;
    padding: 6px 16px
}

.contact-button:hover,
.contact-button:focus-visible {
    background: #3d5a80
}

.hero {
    padding: 80px 20px 80px
}

.hero-copy {
    max-width: 750px
}

.hero h1 {
    font-size: 42px;
    letter-spacing: .28px;
    line-height: 1.32;
    margin: 0 0 20px
}

.hero-copy p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 23.3px;
    margin: 0
}

.status-block {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .6px;
    line-height: 16.8px;
    margin-top: 44px;
    white-space: normal
}

.status-block dl,
.case-meta dl {
    margin: 0
}

.status-block dd,
.case-meta dd {
    margin: 0 0 16.8px
}

.status-block .meta-divider,
.case-meta .meta-divider {
    display: block;
    margin-bottom: 16.8px
}

.status-block dt {
    font-weight: 400
}

.projects {
    padding: 60px 16px 120px
}

.projects h2 {
    font-size: 28px;
    letter-spacing: -.56px;
    line-height: 33.6px;
    margin: 0 0 60px
}

.project-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
    display: flex;
    margin-bottom: 60px;
    max-width: 862px;
    overflow: hidden
}

.card-sidebar {
    background: #fbfbfb;
    border-right: 1px solid var(--line);
    flex: 0 0 224px;
    min-height: 423px;
    padding: 27px 24px
}

.tags {
    display: flex;
    gap: 12px
}

.tag {
    border: 1px solid;
    border-radius: var(--radius-sm);
    font-size: 11px;
    letter-spacing: .6px;
    padding: 3px 9px;
    white-space: nowrap
}

.gold {
    background: #fefce8;
    border-color: #a16207;
    color: #a16207
}

.red {
    background: #fef2f2;
    border-color: #b91c1c;
    color: #b91c1c
}

.green {
    background: #f0fdf4;
    border-color: #16a34a;
    color: #168443
}

.contents {
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 6px;
    letter-spacing: .6px;
    margin-top: 43px
}

.contents b {
    font-weight: 600;
    margin-bottom: 4px
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 30px 28px 26px
}

.card-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between
}

.card-heading h3 {
    font-size: 24px;
    letter-spacing: -.48px;
    line-height: 29px;
    margin: 0
}

.card-heading>span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .6px
}

.card-summary {
    align-items: center;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(200px, 1fr) 246px;
    margin-top: 34px
}

.card-summary strong {
    display: block;
    font-size: 14px;
    line-height: 17px
}

.card-summary p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 15px;
    margin: 10px 0 0
}

.card-summary img {
    max-height: 214px;
    max-width: 246px;
    width: 100%;
    object-fit: contain
}

.card-summary .phone-shot {
    height: 190px
}

.case-link {
    border-top: 1px solid var(--line);
    color: #3d5a80;
    font-size: 12px;
    letter-spacing: .6px;
    margin-top: auto;
    padding-top: 26px;
    text-align: right
}

.case-link:hover {
    text-decoration: underline
}

.case-link span {
    font-size: 18px;
    margin-left: 18px
}

footer {
    color: var(--text-caption);
    font-size: 11px;
    letter-spacing: .6px;
    padding: 10px 20px 20px;
    text-align: center
}

.contact-dialog {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px #0003;
    font: 500 14px/1.5 var(--mono);
    padding: 32px;
    text-align: center
}

.contact-dialog::backdrop {
    background: #0005
}

.contact-dialog a {
    color: #3d5a80
}

.close {
    align-items: center;
    background: none;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0
}

.close:hover {
    background: rgba(0, 0, 0, .06)
}

@media(max-width:850px) {
    .sidebar {
        flex-basis: 240px;
        padding: 28px 14px 0
    }

    .sidebar-footer {
        margin: 0 -14px;
        padding-left: 14px;
        padding-right: 14px
    }

    .project-subnav {
        margin-left: 40px;
        padding-left: 16px
    }

    .main-content {
        width: calc(100% - 240px)
    }

    .card-summary {
        grid-template-columns: 1fr 180px
    }

    .card-summary img {
        max-width: 180px
    }

    .card-sidebar {
        flex-basis: 190px;
        padding: 24px 16px
    }

    .tags {
        flex-wrap: wrap;
        gap: 6px
    }

    .hero h1 {
        font-size: 32px
    }
}

@media(max-width:640px) {
    .site-shell {
        display: block
    }

    .sidebar {
        height: auto;
        min-height: 0;
        padding: 18px 20px;
        position: relative
    }

    .sidebar.is-open {
        border-right: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        inset: 0;
        justify-content: space-between;
        overflow-y: auto;
        padding: 36px 20px 0;
        position: fixed;
        z-index: 50
    }

    .menu-toggle {
        align-items: center;
        display: flex;
        justify-content: center;
        position: absolute;
        right: 20px;
        top: 18px
    }

    .sidebar.is-open .menu-toggle {
        top: 36px
    }

    .brand strong {
        font-size: 16px
    }

    .brand span {
        font-size: 10px
    }

    .sidebar.is-open .brand strong {
        font-size: 18px
    }

    .sidebar.is-open .brand span {
        font-size: 12px
    }

    .nav-list,
    .sidebar-footer {
        display: none
    }

    .sidebar.is-open .nav-list {
        display: flex;
        margin-top: 40px
    }

    .sidebar.is-open .sidebar-footer {
        display: block
    }

    .nav-link {
        font-size: 0;
        padding: 8px
    }

    .sidebar.is-open .nav-link {
        font-size: 12px;
        padding: 8px 12px
    }

    .nav-link img {
        height: 18px;
        width: 18px
    }

    .sidebar.is-open .nav-link img {
        height: 14px;
        width: 14px
    }

    .project-subnav {
        display: none
    }

    .sidebar.is-open .project-subnav {
        display: flex
    }

    .main-content {
        width: 100%
    }

    .topbar {
        font-size: 10px
    }

    .hero {
        padding: 54px 20px 62px
    }

    .hero h1 {
        font-size: 29px;
        line-height: 1.26
    }

    .hero-copy p {
        font-size: 13px;
        line-height: 21px
    }

    .status-block {
        margin-top: 36px
    }

    .projects {
        padding: 54px 16px 64px
    }

    .projects h2 {
        font-size: 25px;
        margin-bottom: 32px
    }

    .project-card {
        display: block;
        margin-bottom: 28px
    }

    .card-sidebar {
        border-bottom: 1px solid var(--line);
        border-right: 0;
        min-height: 0;
        padding: 20px
    }

    .contents {
        display: none
    }

    .card-body {
        padding: 24px 20px 20px
    }

    .card-heading h3 {
        font-size: 22px
    }

    .card-summary {
        display: flex;
        flex-direction: column;
        gap: 22px;
        margin-top: 26px
    }

    .card-summary img {
        max-width: 100%;
        order: -1
    }

    .card-summary .phone-shot {
        height: 180px
    }

    .case-link {
        margin-top: 28px;
        padding-top: 18px
    }

    .contact-button {
        font-size: 10px;
        padding: 6px 10px
    }
}

.case-hero {
    padding: 80px 20px 40px
}

.case-hero .hero-copy {
    padding-bottom: 40px
}

.case-hero h1 {
    font-size: 32px;
    letter-spacing: .28px;
    line-height: 1.32;
    margin: 0 0 20px
}

.case-hero .hero-copy p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 23.3px;
    margin: 0
}

.case-hero .hero-copy p.case-subtitle {
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 12px
}

.case-hero-media {
    margin: 0;
    max-width: 800px
}

.case-hero-media img {
    display: block;
    height: auto;
    width: 100%
}

.case-meta {
    color: var(--muted);
    font: 400 12px/16.8px var(--mono);
    letter-spacing: .6px;
    max-width: 518px;
    padding-bottom: 40px
}

.case-meta dt {
    font-weight: 600
}

.confidential b {
    font-weight: 600
}

.confidential {
    align-items: flex-start;
    background: rgba(96, 108, 56, .12);
    border-left: 2px solid #000;
    border-radius: var(--radius-xs);
    display: flex;
    gap: 16px;
    max-width: 685px;
    padding: 25px 24px 24px 26px
}

.confidential span {
    font-size: 16px
}

.confidential b {
    font: 500 11px/16.8px var(--mono);
    letter-spacing: .6px
}

.confidential p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 23.3px;
    margin: 4px 0 0
}

.case-content {
    max-width: 800px;
    padding: 40px 16px 120px
}

.case-content section {
    margin: 0 0 80px
}

.case-content p,
.case-content li {
    font-size: 14px;
    line-height: 23.3px
}

.case-content h2 {
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    letter-spacing: -.25px;
    line-height: 24px;
    margin: 0 0 40px;
    padding-bottom: 12px
}



.case-content figure {
    margin: 36px 0 0
}

.case-content figure img {
    display: block;
    height: auto;
    width: 100%
}

.case-content figcaption {
    color: var(--text-caption);
    font: 500 10px/16px var(--mono);
    letter-spacing: .6px;
    margin-top: 24px;
    text-align: right
}

.case-placeholder {
    border: 1px dashed var(--muted);
    color: var(--muted);
    font: 500 12px/16.8px var(--mono);
    letter-spacing: .6px;
    margin: 0;
    padding: 16px
}

.case-placeholder--media {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 240px;
    text-align: center;
    width: 100%
}

.split-media .case-placeholder--media {
    flex: 1 1 260px;
    max-width: 250px
}

.feature-row .case-placeholder--media {
    flex: 1 1 260px;
    max-width: 320px
}

.decision-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr
}

.decision-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.decision-grid--three .card {
    justify-content: center
}

.decision-grid--three .card__body {
    padding-left: 0;
    padding-right: 0
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  max-width: 396px;
  padding: 16px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
}
 
.card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}
 
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 10px;
}
 
.card__icon-img {
  width: 18px;
  height: 20px;
  display: block;
}
 
.card__title {
  flex: 1 0 0;
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 33.6px;
  letter-spacing: -0.56px;
  color: #1a1c1c;
  word-break: break-word;
}
 
.card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
}
 
.card__text {
  margin: 0;
  max-width: 324px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
  word-break: break-word;
}




.case-content .product-shot {
    margin-top: 52px
}

.case-content ul {
    margin: 0;
    padding-left: 18px
}

.case-content li {
    margin: 5px 0
}

.learning-list {
    margin-top: 40px
}

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

.learning-item:last-child {
    border-bottom: 0
}

.learning-item h3 {
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 8px
}

.learning-item p {
    margin: 0
}

.thanks {
    font-size: 18px;
    margin: 0
}

.next-case,
.previous-case {
    color: #3d5a80;
    display: block;
    font: 500 14px/17px var(--mono);
    letter-spacing: .6px;
    margin-top: 64px;
    text-align: right
}

.previous-case {
    text-align: left
}

.next-case:hover,
.previous-case:hover {
    text-decoration: underline
}

.case-navigation {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: space-between;
    margin-top: 64px
}

.case-navigation .next-case,
.case-navigation .previous-case {
    margin-top: 0
}

.case-page footer {
    max-width: 685px
}

.case-page .topbar {
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 2
}

@media(max-width:640px) {
    .case-hero {
        padding: 54px 20px 32px
    }

    .case-hero h1 {
        font-size: 29px
    }

    .case-meta {
        padding-bottom: 32px
    }

    .confidential {
        padding: 18px
    }

    .case-content {
        padding: 48px 16px 64px
    }

    .case-content section {
        margin-bottom: 52px
    }

    .case-content h2 {
        font-size: 17px;
        margin-bottom: 26px
    }

    .decision-grid {
        grid-template-columns: 1fr
    }

    .case-content .product-shot {
        margin-top: 32px
    }

    .case-placeholder--media {
        min-height: 180px
    }

    .split-media .case-placeholder--media {
        order: -1
    }

    .flow-figure {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto
    }

    .case-content .flow-figure img {
        max-width: none;
        width: 768px
    }
}

.split-media {
    align-items: center;
    display: flex;
    gap: 36px;
}

.split-media img {
    max-height: 320px;
    max-width: 250px;
    width: 100%;
    justify-self: center
}

.cuidapp-case figure+ul {
    margin-top: 26px
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 45px
}

.feature-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 48px
}

.feature-row .card {
    flex: 1 1 340px;
    width: auto
}

.feature-row img {
    border-radius: var(--radius-lg);
    flex: 1 1 260px;
    height: auto;
    max-width: 320px;
    width: 100%
}

.clubpethouse-file-sequence .feature-row--flows img {
    flex-basis: 380px;
    max-width: 464px
}

.clubpethouse-file-sequence .feature-row img {
    align-self: center;
    object-fit: contain
}

.hscroll-viewport {
    position: relative
}

.hscroll {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch
}

.flow-figure,
.hscroll {
    scrollbar-color: var(--line) transparent;
    scrollbar-width: thin
}

.flow-figure::-webkit-scrollbar,
.hscroll::-webkit-scrollbar {
    height: 6px
}

.flow-figure::-webkit-scrollbar-track,
.hscroll::-webkit-scrollbar-track {
    background: transparent
}

.flow-figure::-webkit-scrollbar-thumb,
.hscroll::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: var(--radius-sm)
}

.flow-figure::-webkit-scrollbar-thumb:hover,
.hscroll::-webkit-scrollbar-thumb:hover {
    background: var(--muted)
}

.case-content .hscroll img {
    display: block;
    flex: 0 0 auto;
    height: auto;
    max-width: none;
    width: auto
}

.case-content .wireflow-scroll img {
    width: 129px
}

.case-content .mvp-scroll img {
    border-radius: var(--radius-xl);
    width: 181px
}

.mvp-scroll {
    gap: 10px
}

.hscroll-arrow {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px
}

.hscroll-arrow:hover {
    background: #fff
}

.hscroll-arrow[hidden] {
    display: none
}

@media(max-width:640px) {
    .split-media {
        flex-direction: column
    }

    .split-media img {
        order: -1
    }

    .feature-grid {
        gap: 32px
    }

    .feature-row {
        flex-direction: column;
        gap: 20px
    }

    .feature-row--flip {
        flex-direction: column-reverse
    }
}
