/* The portfolio is separate from the opening animation's layout and state. */
:root { --work-line: #cfcbc3; --work-max: 1184px; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 32px; }
.portfolio-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.portfolio-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 14px; }
.portfolio-nav a:last-child { border-bottom: 1px solid var(--gold); }
.skip-to-work { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.skip-to-work:focus { top: 12px; }
.intro-footer { display: flex; align-items: center; gap: 16px; width: auto; }
.explore-work { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding-inline: 8px; font-size: 13px; color: var(--ink); text-decoration: none; }
.explore-work span { color: var(--gold); font-size: 18px; }
body.is-playing .explore-work { visibility: hidden; }
.portfolio-viewport { overflow-x: clip; }
.portfolio-content { max-width: var(--work-max); margin: 0 auto; padding: 0 24px; }
.portfolio-content:focus { outline: none; }
.deck-navigation { padding-block: 36px 88px; }
.deck-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-bottom: 30px; }
.deck-heading h2 { margin: 0; font: 600 clamp(30px, 4vw, 44px)/1.12 var(--display); letter-spacing: -.04em; }
.discipline-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.deck-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-width: 0; aspect-ratio: .8; padding: 18px 13px 16px; border: 1px solid var(--paper-edge); border-radius: 9px; background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 0 2px 5px #46361e12; transition: transform .2s ease, box-shadow .2s ease; }
.deck-link::before { content: ''; position: absolute; inset: 7px; border: 1px solid #2023291c; border-radius: 4px; pointer-events: none; }
.deck-label { align-self: flex-start; font: 500 clamp(15px, 1.6vw, 20px)/1.15 var(--serif); letter-spacing: -.02em; }
.deck-art { width: 84%; height: 60%; object-fit: contain; }
.deck-apps .deck-art { width: 100%; }
.deck-media .deck-art { height: 66%; }
.deck-project { max-width: 100%; color: var(--muted); font: 400 11px/1.35 var(--sans); text-align: center; }
.deck-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.chapter-title { display: flex; align-items: center; gap: 20px; min-width: 0; }
.chapter-mark { width: 64px; height: 76px; flex: 0 0 64px; object-fit: contain; }
.chapter-mark.mark-apps { width: 86px; flex-basis: 86px; }
.project-deck-mark { display: block; width: 96px; height: 96px; object-fit: contain; margin-bottom: 24px; }
.media-feature { display: grid; gap: 30px; }
.media-feature figure { margin: 0; }
.media-feature figure a { display: block; }
.media-feature figure img { display: block; width: 100%; height: auto; border-radius: 5px; }
.media-copy h3 { margin: 0 0 20px; font: 500 clamp(32px,4vw,48px)/1.1 var(--display); letter-spacing: -.04em; }
.media-copy p { color: var(--muted); max-width: 35ch; line-height: 1.65; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .deck-link:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 10px 22px #46361e16; }
}
@media (min-width:700px) {
  .discipline-deck { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  .deck-link { padding: 22px 18px 18px; }
  .deck-project { font-size: 12px; }
  .media-feature { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
}
@media (min-width:1050px) {
  .discipline-deck { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
}
@media (max-width:699px) {
  .deck-media { grid-column: 1 / -1; width: calc((100% - 16px) / 2); justify-self: center; }
  .chapter-title { gap: 14px; }
  .chapter-mark { width: 48px; height: 60px; flex-basis: 48px; }
  .chapter-mark.mark-apps { width: 62px; flex-basis: 62px; }
  .chapter-title h2 { font-size: clamp(32px, 8.4vw, 48px); }
}
@media (prefers-reduced-motion:reduce) { .deck-link { transition: none; } }
.work-nav { display: flex; flex-wrap: wrap; column-gap: 24px; padding: 18px 0; border-block: 1px solid var(--work-line); }
.work-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); text-decoration: none; }
.work-nav a:hover, .work-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.portfolio-section { padding: 72px 0; }
.section-heading { display: grid; gap: 18px; margin-bottom: 32px; }
.section-heading h2, .contact-section h2 { margin: 0; font: 600 clamp(40px, 5vw, 66px)/1.08 var(--display); letter-spacing: -.055em; }
.heading-period { color: var(--gold); }
.section-heading p, .contact-section p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.app-grid { display: grid; gap: 42px; }
.app-image-link { display: block; text-decoration: none; }
.app-art { width: 100%; aspect-ratio: 1.38; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background: #080c10; border-radius: 5px; }
.app-art img { display: block; max-width: 100%; }
.app-art-cialo img { width: 94%; height: auto; }
.app-art-brand { background: #050505; aspect-ratio: 1.65; }
.app-art-brand img { width: 62%; height: auto; max-height: 87%; object-fit: contain; }
.limitless-preview { overflow: hidden; border: 1px solid #d8c6a6; border-radius: 8px; background: #eee4d2; }
.limitless-brand { padding: 32px 24px; display: flex; justify-content: center; }
.limitless-brand img { display: block; width: clamp(160px, 24vw, 260px); height: auto; }
.app-art-limitless { background: #21130c; aspect-ratio: auto; align-items: flex-start; gap: 7%; padding: 40px 24px 60px; border-radius: 0; }
.app-art-limitless .phone-shot { width: 34%; max-width: 300px; height: auto; border-radius: 16px; border: 2px solid #6b5843; box-shadow: 0 14px 32px #0005; }
.phone-secondary { margin-top: 4%; }
.app-heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 21px; }
.app-heading h3 { margin: 0; font: 500 29px/1.12 var(--display); letter-spacing: -.04em; }
.app-heading a { color: inherit; text-decoration: none; }
.work-status { font-size: 11px; line-height: 1.3; padding: 6px 9px; border: 1px solid #b6ac98; border-radius: 3px; flex-shrink: 0; color: #5d5648; }
.work-status-live { color: #3b5942; border-color: #899984; }
.app-description { margin: 12px 0 8px; max-width: 44ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #a79a7b; }
.text-link span[aria-hidden] { font-size: 19px; color: var(--gold); }
.directional-club { display: inline-block; width: 1em; height: 1em; flex: 0 0 1em; vertical-align: -.12em; background: currentColor; -webkit-mask: url('./directional-club.svg') center / contain no-repeat; mask: url('./directional-club.svg') center / contain no-repeat; transform: rotate(var(--club-angle, 0deg)); }
a.directional-link { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
a.directional-link > .directional-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.club-up { --club-angle: 0deg; }
.club-up-right { --club-angle: 45deg; }
.club-right, .club-toggle { --club-angle: 90deg; }
.club-down { --club-angle: 180deg; }
.club-left { --club-angle: -90deg; }
details[open] > summary .club-toggle { --club-angle: 180deg; }
.hidden-preview > summary::marker, .identity-archive > summary::marker { content: ''; }
.preview-toggle .directional-club { width: 24px; height: 24px; }
.identity-archive > summary > .directional-club { width: 22px; height: 22px; flex-basis: 22px; }
/* The same artwork travels from the floating strip into these large layouts. */
.design-section { position: relative; }
.design-opening { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; position: relative; z-index: 45; }
.design-opening .section-heading { margin-bottom: 0; }
.design-opening .section-heading p { font: 400 18px/1.5 var(--sans); max-width: 28ch; }
.design-motion-toggle { flex-shrink: 0; min-height: 44px; border: 0; border-bottom: 1px solid var(--work-line); padding: 8px 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.design-runway { display: none; }
.design-flight-enabled .design-runway { display: block; position: relative; height: 145svh; min-height: 680px; }
.design-runway > span { position: absolute; top: min(48svh, 440px); left: 0; color: var(--muted); font-size: 12px; }
.design-showcase { position: relative; margin-top: 64px; }
.design-story { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); align-items: center; gap: 40px 7%; margin-bottom: clamp(90px, 12vw, 160px); }
.design-story:last-child { margin-bottom: 0; }
.design-image { display: block; position: relative; aspect-ratio: 1; background: var(--paper); border-radius: 4px; overflow: hidden; transform-origin: center; }
.design-image > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.design-image-dark { background: #000; }
.design-image-dark > img { padding: 5%; }
#design-milkplexity-identity > .design-image > img { padding: 0; object-fit: cover; }
.design-showcase.is-flying [data-design-flight] { will-change: transform; z-index: 40; box-shadow: 0 22px 50px #0005; }
.enlarge-mark { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid #d6cdbd; border-radius: 50%; line-height: 1; font-size: 18px; }
.design-showcase.is-flying .enlarge-mark { visibility: hidden; }
.design-kind { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.design-story h3 { font: 500 clamp(34px, 4.3vw, 56px)/1.05 var(--display); letter-spacing: -.05em; margin: 0 0 24px; }
.design-description { font: 400 18px/1.65 var(--sans); color: var(--muted); max-width: 37ch; margin: 0 0 18px; }
.design-story-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.design-story-wide > .design-image { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 2.2; }
.design-story-wide > .design-story-copy { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 7%; align-items: start; }
.design-story-wide .design-kind { grid-column: 1; }
.design-story-wide h3 { grid-column: 1; }
.design-story-wide .design-description { grid-column: 2; grid-row: 1 / 3; }
.design-story-wide .text-link { grid-column: 2; }
.design-studies { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.design-studies-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.design-study { color: var(--muted); text-decoration: none; min-width: 0; }
.design-study > img { display: block; width: 100%; height: auto; aspect-ratio: 1.3; object-fit: contain; background: #000; border-radius: 4px; }
#design-american-250-team-challenge .design-study > img { background: #fff; }
.design-study > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 12px 0; font-size: 13px; }
.design-study:hover > span { color: var(--ink); }
@media (max-width: 759px) {
  .design-opening { align-items: flex-start; }
  .design-opening .section-heading p { font-size: 17px; max-width: 23ch; }
  .design-motion-toggle { margin-top: 8px; }
  .design-flight-enabled .design-runway { height: 125svh; min-height: 540px; }
  .design-runway > span { top: 43svh; }
  .design-story, .design-story-wide { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 88px; }
  .design-story > .design-story-copy { grid-row: 1; }
  .design-story > .design-image { grid-row: 2; }
  .design-story-wide > .design-story-copy { display: block; }
  .design-story h3 { font-size: 40px; margin-bottom: 18px; }
  .design-description { font-size: 17px; }
  .design-kind { margin-bottom: 12px; }
  .design-studies { gap: 12px; }
  .design-studies-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .design-study > span { font-size: 12px; align-items: flex-start; }
  .design-study > span > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .design-runway { display: none !important; }
}
.section-link { margin-top: 32px; }
.website-project { display: grid; gap: 28px; }
.website-art { display: grid; place-items: center; background: #d5e1df; border-radius: 4px; overflow: hidden; aspect-ratio: 1.35; position: relative; padding: 7%; }
.website-art img { display: block; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.website-art .retreat-desktop { width: 100%; box-shadow: 0 12px 28px #263c3526; border: 4px solid #f9f7f0; border-radius: 4px; }
.website-art .retreat-phone { position: absolute; width: 23%; right: 4%; bottom: 5%; border: 3px solid #f9f7f0; border-radius: 6px; box-shadow: 0 8px 22px #263c3533; }
.website-copy h3 { font: 500 38px/1.08 var(--display); letter-spacing: -.035em; margin: 13px 0 18px; }
.website-copy > p:not(.project-kind) { max-width: 33ch; color: var(--muted); line-height: 1.65; font-size: 15px; }
.project-kind { font-size: 12px; color: var(--muted); margin: 0; }
.recognition-section { border-block: 1px solid var(--work-line); }
.recognition-section .section-heading h2 { font-size: clamp(34px, 4vw, 48px); }
.recognition-list { margin: 0; }
.recognition-list > div { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; }
.recognition-list dt { font-size: 18px; }
.recognition-list dd { margin: 0; font-size: 14px; }
.recognition-list dd:last-child { grid-column: 1 / -1; color: var(--muted); }
.contact-section { display: grid; gap: 32px; padding-block: 72px 88px; }
.contact-section p { margin-top: 20px; }
.contact-email { display: inline-block; font-size: clamp(17px, 2.6vw, 26px); color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 8px; word-break: break-word; padding-block: 12px; }
.contact-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.contact-socials a, .copy-email { color: var(--muted); font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.copy-email { background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.portfolio-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; padding: 26px 0; border-top: 1px solid var(--work-line); color: var(--muted); font-size: 12px; }
.portfolio-footer a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; }
.project-main { max-width: var(--work-max); margin: 32px auto 0; padding: 0 24px; }
.project-back { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; font-size: 13px; min-height: 44px; }
.project-heading { max-width: 780px; padding: 36px 0 40px; }
.project-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.project-heading h1 { font-size: clamp(46px, 7vw, 86px); line-height: 1; letter-spacing: -.055em; margin: 0 0 24px; }
.project-heading > p { max-width: 50ch; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.action-link { display: inline-flex; gap: 32px; align-items: center; min-height: 48px; background: var(--ink); color: var(--paper); padding: 13px 20px; border-radius: 3px; font-size: 14px; text-decoration: none; }
.action-note { color: var(--muted); font-size: 12px; }
.project-media { margin: 0; }
.project-media video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080c10; border-radius: 5px; }
.project-media figcaption, .detail-gallery figcaption { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 12px; }
.project-media .app-art { max-height: 700px; }
.identity-cover { display: block; background: var(--paper); border-radius: 4px; overflow: hidden; }
.identity-cover-dark { background: #000; }
.identity-cover img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; }
.identity-section { margin-top: 64px; }
.identity-section > h2 { font: 500 clamp(30px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.04em; margin: 0 0 28px; }
.project-brand-media .app-art { max-height: 420px; }
.project-brand-media img { max-width: 300px; }
.project-story { display: grid; gap: 36px; padding-block: 52px; max-width: 960px; }
.project-story h2 { font: 500 28px/1.15 var(--display); letter-spacing: -.025em; margin: 0 0 14px; }
.project-story p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 57ch; margin: 0; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px; background: #252930; border-radius: 5px; }
.detail-gallery figure { margin: 0; text-align: center; }
.detail-gallery img { display: block; width: 100%; max-width: 300px; margin: auto; border-radius: 10px; }
.detail-gallery figcaption { color: #dad7d1; }
.next-project { padding: 36px 0 56px; border-top: 1px solid var(--work-line); margin-top: 48px; display: grid; gap: 16px; }
.next-project > span { font-size: 12px; color: var(--muted); }
.next-project a { color: var(--ink); text-decoration: none; font: 500 clamp(30px, 4vw, 48px)/1.15 var(--display); letter-spacing: -.035em; }
.next-project a span { color: var(--gold); }
.project-page > .portfolio-footer { max-width: calc(var(--work-max) - 48px); margin: 0 24px; }
.retreat-media > img { display: block; width: 100%; max-height: 650px; object-fit: contain; background: #d5e1df; }
.retreat-media .website-art { aspect-ratio: 1.35; }
.work-lightbox { border: 0; padding: 0; border-radius: 5px; width: min(1000px, calc(100% - 32px)); max-height: calc(100dvh - 32px); background: var(--paper); color: var(--ink); overflow: auto; }
.work-lightbox::backdrop { background: #171914d9; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 20px; }
.lightbox-top p { font-size: 12px; color: var(--muted); }
.lightbox-close { background: none; border: 0; color: var(--ink); cursor: pointer; min-width: 44px; min-height: 44px; font-size: 14px; }
.lightbox-image { display: block; width: 100%; max-height: 58dvh; object-fit: contain; }
.lightbox-caption { padding: 24px; }
.lightbox-caption h2 { font: 500 30px/1.15 var(--display); margin: 0 0 12px; letter-spacing: -.025em; }
.lightbox-caption p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 62ch; color: var(--muted); }
.lightbox-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 0 24px 18px; }
.lightbox-bottom button { background: none; border: 0; color: var(--ink); font-size: 13px; cursor: pointer; min-height: 44px; padding: 0 10px; }
@media (min-width: 700px) {
  .portfolio-content, .project-main { padding-inline: 40px; }
  .work-nav { gap: 40px; }
  .portfolio-section { padding-block: 96px; }
  .section-heading { grid-template-columns: 1.25fr 1fr; align-items: end; gap: 40px; margin-bottom: 42px; }
  .section-heading p { justify-self: end; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 36px; }
  .app-heading { gap: 10px; }
  .app-heading h3 { font-size: 31px; }
  .design-caption h3 { font-size: 16px; }
  .design-caption > span { font-size: 12px; }
  .website-project { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
  .website-copy h3 { font-size: 46px; }
  .recognition-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; padding-block: 52px; }
  .recognition-section .section-heading { display: block; margin: 0; }
  .recognition-list > div { grid-template-columns: 1fr auto; }
  .contact-section { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .contact-links { justify-self: end; }
  .project-heading { padding-block: 48px 56px; }
  .project-story section { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
  .project-story { padding-block: 72px; gap: 48px; }
  .project-media .app-art-limitless { aspect-ratio: auto; max-height: none; }
  .project-media .phone-shot { width: 34%; }
  .detail-gallery { padding: 48px 90px; gap: 60px; }
}
@media (min-width: 1220px) { .project-page > .portfolio-footer { margin-inline: auto; } }
@media (max-width: 360px) {
  .portfolio-content, .project-main { padding-inline: 20px; }
  .design-caption { grid-template-columns: 1fr; }
  .design-caption > span { display: none; }
  .app-heading h3 { font-size: 27px; }
  .intro-footer { gap: 0; }
  .explore-work { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { overflow-x: clip; scroll-behavior: auto; } }

/* The deck stays on cream; the original identities have their own black gallery. */
.design-chapter, .design-project-page {
  --ink: #f5f4f0;
  --muted: #aeb1b8;
  --gold: #c7c9ce;
  --work-line: #34363a;
  background: #000;
  color: var(--ink);
}
.design-chapter .work-nav { border-top: 0; }
.design-chapter .enlarge-mark { background: #202329; color: #faf8f2; border-color: #44464b; }
.design-chapter .text-link, .design-project-page .text-link { text-decoration-color: #777c85; }
.design-project-page .monogram img { filter: brightness(0) invert(1); }
.design-project-page .project-heading { max-width: 960px; }
.design-project-page .project-heading > p { max-width: 50ch; }
.design-project-page .identity-cover-dark { padding: 3%; }
.design-project-page .work-lightbox, .design-chapter .work-lightbox { --ink: #202329; --muted: #64666b; --gold: #515967; }
/* Engraved deck, personal note and source-backed portfolio additions. */
.approach { max-width: var(--work-max); margin: 0 auto; padding-inline: 40px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 7vw, 88px); align-items: start; padding-block: 100px 120px; }
.portrait { margin: 6px 0 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 3px; }
.portrait figcaption { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 16px; }
.approach h2 { font: 450 clamp(30px, 3.3vw, 40px)/1.2 var(--serif); letter-spacing: -.025em; margin: 0 0 24px; text-wrap: balance; }
.approach-copy > p { color: var(--muted); font: 400 18px/1.6 var(--sans); max-width: 56ch; margin: 0 0 16px; letter-spacing: 0; }
.personal-quote { margin: 32px 0 0; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--work-line); }
.personal-quote blockquote { margin: 0; font: 400 23px/1.5 var(--serif); letter-spacing: -.012em; max-width: 43ch; text-wrap: pretty; }
.personal-quote figcaption { color: var(--muted); margin-top: 14px; font-size: 14px; }
.section-heading p, .app-description, .website-copy > p:not(.project-kind) { font-size: 17px; }
.app-grid { gap: 64px 36px; }
.app-project[data-feature="cialo"], .app-project[data-feature="limitless"] { grid-column: 1 / -1; }
.app-project[data-feature="cialo"] .app-heading { margin-top: 24px; }
.demo-player { width: 100%; }
.demo-controls { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--work-line); }
.demo-chapters, .demo-presentation { display: flex; gap: 4px 20px; align-items: center; flex-wrap: wrap; }
.demo-controls button { border: 0; padding: 10px 0; min-height: 44px; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
.demo-controls button:hover { text-decoration: underline; text-underline-offset: 5px; }
.demo-presentation label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.demo-presentation select { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--work-line); border-radius: 3px; min-height: 38px; padding: 6px 24px 6px 10px; }
.demo-message { display: block; margin-top: 5px; }
.demo-message:empty { display: none; }
.app-project[data-feature="limitless"] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 60px; align-content: center; }
.app-project[data-feature="limitless"] .app-image-link { grid-column: 1; grid-row: 1 / 5; }
.app-project[data-feature="limitless"] .app-heading { display: block; margin-top: 52px; }
.app-project[data-feature="limitless"] .work-status { display: inline-block; margin-top: 16px; }
.app-project[data-feature="limitless"] .app-description { margin-top: 24px; }
.limitless-desktop img { display: block; width: 100%; height: auto; border: 1px solid var(--work-line); border-radius: 4px; }
.upcoming-section { padding-top: 0; }
.hidden-preview { border-block: 1px solid var(--work-line); }
.hidden-preview summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 0; cursor: pointer; list-style: none; }
.hidden-preview summary::-webkit-details-marker { display: none; }
.preview-label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
#upcoming-title { display: block; font: 500 clamp(30px, 4vw, 46px)/1.15 var(--display); letter-spacing: -.035em; }
.preview-hint { display: block; margin-top: 14px; color: var(--muted); font-size: 17px; }
.preview-toggle { display: grid; place-items: center; width: 48px; height: 48px; font: 300 32px/1 var(--sans); }
.upcoming-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 4px 0 40px; }
.upcoming-list article { border-top: 1px solid var(--work-line); padding-top: 28px; }
.upcoming-list h3 { font: 500 25px/1.2 var(--serif); margin: 0 0 18px; }
.upcoming-list p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 32ch; }
.upcoming-status { font-size: 13px; color: var(--ink); }
.background-section { padding-top: 0; }
.background-section .section-heading { margin-bottom: 64px; }
.background-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10%; }
.education-brand { display: flex; align-items: center; width: 196px; height: 76px; background: #072b53; padding: 20px; border-radius: 3px; margin-bottom: 32px; }
.education-brand img { width: 100%; height: auto; }
.background-story h3 { font: 450 32px/1.2 var(--serif); letter-spacing: -.025em; margin: 0 0 22px; }
.background-story p { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }
.background-story .education-honors { color: var(--ink); font-size: 17px; }
.education-honors span { color: var(--muted); }
.background-experience { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--work-line); }
.background-experience h4 { font-size: 20px; font-weight: 500; margin: 0 0 16px; }
.background-experience p { font-size: 17px; margin: 0; }
.credential { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--work-line); }
.credential:first-child { padding-top: 0; }
.credential-brand { width: 150px; min-height: 52px; display: flex; align-items: center; justify-content: flex-start; padding: 8px 0; }
.credential-brand img { max-width: 100%; height: auto; max-height: 38px; object-fit: contain; }
.credential-brand-dark { background: #fff; border-radius: 3px; padding: 15px 14px; }
.credential-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.credential h3 { font: 500 21px/1.25 var(--sans); margin: 0; }
.credential p, .credential li { font-size: 16px; line-height: 1.5; color: var(--muted); }
.credential p { margin: 14px 0 0; }
.credential ul { padding: 0; margin: 16px 0 0; list-style: none; }
.credential li + li { margin-top: 18px; }
.credential li span { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.credential-source { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 13px; text-underline-offset: 4px; text-decoration-color: #a79a7b; }
.credential-source + .credential-source { margin-left: 16px; }
.recognition-stories { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 8%; align-items: start; margin-top: 88px; }
.presentation-story img { display: block; width: 100%; height: auto; border-radius: 3px; }
.presentation-story h3, .award-story h3 { font: 450 28px/1.25 var(--serif); margin: 26px 0 18px; letter-spacing: -.02em; }
.presentation-story p, .award-story p:not(.award-result) { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.award-story { border-top: 1px solid var(--work-line); padding-top: 32px; }
.award-story .award-result { font: 450 clamp(40px, 4vw, 54px)/1.1 var(--serif); letter-spacing: -.03em; margin: 0; }
.award-story h3 { margin-top: 16px; }
.award-story .credential-source { display: flex; }
summary:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
@media (max-width: 959px) {
  .background-grid { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .credential { grid-template-columns: 1fr; gap: 16px; }
  .app-project[data-feature="limitless"] { column-gap: 32px; }
}
@media (max-width: 699px) {
  .approach { max-width: var(--work-max); margin: 0 auto; padding-inline: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 24px 72px; }
  .portrait { width: 156px; }
  .portrait img { aspect-ratio: 1; }
  .portrait figcaption { font-size: 12px; margin-top: 12px; }
  .approach-copy > p { font-size: 17px; }
  .personal-quote { margin-top: 28px; padding-top: 24px; }
  .personal-quote blockquote { font-size: 22px; }
  .demo-controls { gap: 4px; }
  .demo-chapters { gap: 16px; }
  .demo-controls button { font-size: 13px; }
  .demo-presentation { width: 100%; justify-content: space-between; }
  .app-project[data-feature="limitless"] { display: block; }
  .app-project[data-feature="limitless"] .app-heading { display: flex; margin-top: 24px; }
  .app-project[data-feature="limitless"] .work-status { margin-top: 0; }
  .app-project[data-feature="limitless"] .app-description { margin-top: 12px; }
  .upcoming-list { grid-template-columns: 1fr; gap: 28px; }
  .upcoming-list article { padding-top: 24px; }
  .upcoming-list p { max-width: 45ch; margin-bottom: 16px; }
  .background-grid, .recognition-stories { grid-template-columns: 1fr; gap: 48px; }
  .background-section .section-heading { margin-bottom: 40px; }
  .background-story h3 { font-size: 30px; }
  .background-story p { font-size: 17px; }
  .credential { grid-template-columns: 1fr; gap: 16px; }
  .recognition-stories { margin-top: 56px; }
  .background-experience { margin-top: 28px; padding-top: 24px; }
}

/* Unified type and anchored chapter descriptions. The serif belongs to the deck. */
.section-heading { grid-template-columns: minmax(0,1fr); align-items: start; gap: 16px; }
.section-heading > p { justify-self: start; max-width: 52ch; font: 400 18px/1.65 var(--sans); letter-spacing: 0; }
.section-heading:has(.chapter-title) > p { margin-left: 84px; }
.apps-section .section-heading > p { margin-left: 106px; }
.chapter-title h2 { font-size: clamp(34px,4.5vw,58px); letter-spacing: -.045em; }
.chapter-title { gap: 20px; }
.design-opening .section-heading p { max-width: 48ch; font: 400 18px/1.6 var(--sans); }
.approach { grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: center; gap: clamp(40px,6vw,88px); }
.portrait { width: 100%; margin: 0; }
.portrait img { aspect-ratio: auto; object-fit: contain; border-radius: 10px; }
.approach h2 { font: 550 clamp(34px,3.6vw,48px)/1.12 var(--display); font-stretch: 95%; letter-spacing: -.025em; margin-bottom: 28px; }
.approach-copy > p { font: 400 18px/1.7 var(--sans); letter-spacing: 0; max-width: 48ch; }
.personal-quote blockquote { font: 450 19px/1.6 var(--sans); letter-spacing: 0; max-width: 42ch; }
.personal-quote figcaption { font-size: 13px; }
.background-story h3, .presentation-story h3, .award-story h3, .upcoming-list h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
.chapter-navigation { padding-bottom: 40px; }
.design-chapter { position: relative; margin: 0; border-radius: 0; overflow: clip; padding: 96px 0; }
.design-chapter::before, .design-chapter::after { content: ''; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; }
.design-chapter::before { top: 0; background: linear-gradient(to bottom, var(--ground), #000); }
.design-chapter::after { bottom: 0; background: linear-gradient(to top, var(--ground), #000); }
.design-chapter .portfolio-content { position: relative; padding-inline: 40px; }
.cialo-identity-video { grid-column: 1 / -1; width: 100%; }
.video-fallback { color: inherit; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.design-chapter .work-nav { padding-block: 20px; }
.website-copy, .media-copy { align-self: start; padding-top: 12px; }
.website-copy > p:not(.project-kind), .media-copy p { font-size: 18px; line-height: 1.65; letter-spacing: -.012em; }
.media-feature { align-items: start; }
.background-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 64px; }
.credential { grid-template-columns: 172px minmax(0,1fr); align-items: center; gap: 32px; padding: 32px 0; }
.credential-brand { width: 172px; height: 148px; min-height: 148px; padding: 12px; justify-content: center; flex-direction: column; gap: 6px; }
.credential-brand img { width: 150px; max-width: 100%; max-height: 100px; height: auto; object-fit: contain; }
.credential-brand-mercor { background: #fff; border-radius: 8px; gap: 0; }
.credential-brand-mercor .credential-symbol { width: 92px; height: 92px; max-height: none; }
.credential-brand-mercor .credential-wordmark { width: 142px; max-height: 44px; }
.credential h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; }
.credential p, .credential li { line-height: 1.6; }
@media(max-width:959px) {
  .background-grid { grid-template-columns: 1fr; gap: 48px; }
  .background-story { max-width: 62ch; }
}
@media(max-width:699px) {
  .approach { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 440px; }
  .approach-copy > p { font-size: 18px; }
  .section-heading:has(.chapter-title) > p, .apps-section .section-heading > p { margin-left: 0; }
  .section-heading > p, .design-opening .section-heading p { font-size: 17px; }
  .chapter-title { gap: 14px; }
  .chapter-title h2 { font-size: clamp(32px,8.5vw,44px); }
  .design-chapter { padding-block: 64px; }
  .design-chapter::before, .design-chapter::after { height: 48px; }
  .design-chapter .portfolio-content { padding-inline: 20px; }
  .app-art-limitless { padding: 28px 16px 40px; gap: 6%; }
  .app-art-limitless .phone-shot { width: 42%; border-radius: 10px; }
  .credential { grid-template-columns: 1fr; gap: 20px; }
  .credential-brand { width: 172px; }
  .website-copy, .media-copy { padding-top: 0; }
}
.credential-brand-vanderbilt { gap: 14px; }
.credential-brand-vanderbilt .credential-symbol { width: 116px; height: 83px; }
.credential-brand-vanderbilt .credential-wordmark { width: 150px; max-height: 24px; }
.credential-brand-mercor { gap: 10px; }
.credential-brand-mercor .credential-symbol { width: 106px; height: 94px; }
.credential-brand-mercor .credential-wordmark { width: 132px; height: 26px; }

.upcoming-private { display: block; padding: 0 0 36px; }
.upcoming-private > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
