/* Alloca reference: a narrow reading column, quiet headings and a left index. */
:root{--case-reading:540px;--case-gutter:30px;--case-offset:32px}
body{font-size:14px;line-height:24px}
main{width:min(var(--case-reading),calc(100% - 2 * var(--case-gutter)));margin:0 auto;padding:196px 0 0}
.case-chrome{position:fixed;top:64px;left:64px;width:155px;z-index:20;background:transparent;border:0;backdrop-filter:none}
.topbar{width:auto;margin:0;padding:0;display:block;border:0}
.signature{display:none}
.breadcrumb{font-size:12px;line-height:20px;gap:10px}
.case-nav{display:flex;position:static;flex-direction:column;align-items:flex-start;width:100%;margin:108px 0 0;padding:0;gap:6px;border:0;background:transparent}
.case-nav a{font-size:12px;line-height:18px;padding:0 0 2px;border:0;color:#888;white-space:normal;transition:color .2s}
.case-nav a:hover,.case-nav a[aria-current]{color:#1a1a1a;border:0}
.case-nav a:focus-visible{outline-offset:4px}
h1,h2,h3,h4{font-size:14px;font-weight:500;line-height:22px;letter-spacing:0}
.hero>h1{font-size:16px;line-height:24px;margin-bottom:8px!important}
.hero>h2{font-size:14px;line-height:24px;font-weight:400;letter-spacing:0;color:#666;margin-bottom:18px}
.hero-intro,.chapter header>.intro{font-size:14px;line-height:24px;color:#242424;margin-top:14px}
.hero>.eyebrow{margin-bottom:12px}
.eyebrow{font-size:11px;line-height:18px;letter-spacing:.04em;color:#888;margin-bottom:12px}
p{margin-bottom:16px}
.overview{grid-template-columns:1fr 1fr;gap:20px 28px;padding:24px 0 0;margin:28px 0 0;border-color:#eee}
.overview span{font-size:10px;line-height:18px;margin-bottom:4px}
.overview strong{font-size:12px;line-height:20px}
.hero #cronograma{margin:56px 0 0}
.chapter{padding:56px 0 0;border:0}
.chapter>header{margin:0 0 28px}
.chapter>header h2{font-size:14px;line-height:22px;color:#666;font-weight:400}
.chapter>header .intro{margin-top:14px}
.case-topic{margin:40px 0}
.case-topic>h3{font-size:14px;line-height:22px;color:#666;font-weight:400;margin-bottom:14px}
.case-topic>p,.qa-record p,.reflection-list li{font-size:14px;line-height:24px;color:#242424}
.customer-journey li{padding:18px 0;grid-template-columns:28px 1fr;gap:10px}
.customer-journey h4{font-size:14px;line-height:22px;font-weight:500;margin-bottom:6px}
.customer-journey p{font-size:14px;line-height:24px}
.customer-journey .journey-focus{padding:18px 14px;border-radius:8px;background:#f6f6f7}
.table-scroll{overflow-x:auto;margin:28px 0}
.table-scroll table{min-width:500px}
th,td{font-size:12px;line-height:20px;padding:14px 12px}
.project-framing{grid-template-columns:1fr;gap:14px;margin:28px 0 40px}
.project-framing #ideia-central{grid-row:auto}
.project-framing .project-statement,.project-statement{padding:28px;min-height:0;border-radius:10px;margin:28px 0}
.project-framing .project-statement{margin:0}
.project-statement h3{font-size:10px;line-height:18px;letter-spacing:.06em;margin-bottom:18px}
.project-statement .statement-text,.project-framing .statement-text,.project-framing #ideia-central .statement-text{font-size:26px;font-weight:500;line-height:1.3;letter-spacing:-.025em}
.project-statement .statement-detail{font-size:14px;line-height:24px;margin-top:18px}
.research-participants{grid-template-columns:1fr 1fr;gap:0 24px}
.research-participants li{font-size:12px;line-height:20px;padding:10px 0}
.solution-story{display:grid;grid-template-columns:1fr;gap:24px;margin:48px 0;padding:0;border:0}
.solution-copy h3{font-size:16px;line-height:24px;margin-bottom:14px}
.solution-copy p{font-size:14px;line-height:24px;color:#242424}
.solution-copy .eyebrow{font-size:11px;margin-bottom:10px}
.solution-copy .solution-route{font-size:12px;line-height:20px;margin-top:20px;padding-top:16px;border-color:#eee}
.wireframe-board{margin:28px 0 40px;padding:20px;border-radius:10px;border:1px solid #ededed;background:#f8f8f8}
.solution-story .wireframe-board{margin:0}
.wf-heading{gap:10px;align-items:baseline;margin-bottom:24px}
.wf-heading>strong{font-size:13px;line-height:20px;font-weight:500}
.wf-heading>span{font-size:10px;line-height:18px}
.wf-flow,.wf-versions{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
.wf-benchmark,.wf-system,.wf-web-layout,.ds-foundations,.ds-application{grid-template-columns:1fr;gap:24px}
.wf-desktop{margin-top:0}
.wf-brands{grid-template-columns:1fr;gap:18px}
.ds-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ds-board{padding:16px}
.ds-foundations,.ds-application{padding:20px}
.ds-type>b{font-size:56px}
.ds-module{padding:16px 12px}
.ds-module h4{font-size:13px;line-height:20px}
.ds-application h4{font-size:14px}
.wf-commercial{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wf-commercial>span{grid-column:1/-1}
.wf-commercial>div{padding:14px;margin:0}
.wf-commercial h4{font-size:16px;line-height:22px}
.wf-web-hero{padding:18px;gap:16px}
.wf-web-hero h4{font-size:20px;line-height:26px}
.brand-lockup{grid-template-columns:1fr 1fr;gap:20px}
.brand-logo-space{min-height:200px}
.logo-outline{font-size:24px;padding:16px;margin:16px}
.brand-icon img{width:104px;height:104px}
.brand-variants>div{padding:12px}
.brand-variants .logo-outline{margin:12px 0;padding:12px;font-size:18px}
.onboarding-board{grid-template-columns:1fr;gap:28px}
.onboarding-step{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:14px}
.onboarding-step>span{grid-column:1/-1}
.brand-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
.brand-photos figure:first-child{grid-column:auto}
.brand-photos img,.brand-photos figure:first-child img{display:block;width:100%;height:auto;max-height:none;border-radius:10px;object-fit:contain}
.film{margin:28px 0 40px}
.film video{border-radius:10px}
.store-gallery{grid-template-columns:1fr 1fr;gap:28px 20px;margin:28px 0 40px}
.store-gallery img{border-radius:10px}
.store-facts{grid-template-columns:1fr 1fr;gap:20px}
.film figcaption,.wireframe-board figcaption,.store-gallery figcaption,.brand-photos figcaption{font-size:12px;line-height:18px;color:#888;text-align:center;font-weight:400;margin-top:10px;padding:0;border:0}
.wireframe-board figcaption{margin-top:20px}
.outcomes{grid-template-columns:1fr;gap:24px}
.outcomes article{border-color:#e8e8ea;padding-top:18px}
.outcomes h3{font-size:16px;line-height:24px;margin:8px 0}
.outcomes p{font-size:14px;line-height:24px}
.qa-record{padding:24px 0;border-color:#eee}
.qa-record h4{font-size:14px;line-height:22px}
.roadmap-scroll{max-height:520px}
.roadmap-table{min-width:730px}
.roadmap-work-col{width:27%}.roadmap-duration-col{width:13%}.roadmap-month-col{width:10%}
.roadmap-table th,.roadmap-table td{padding:12px}
.roadmap-table a{font-size:11px}
.roadmap-table th p{font-size:10px;line-height:16px}
.roadmap-related th[scope="row"]{padding-left:24px}
.roadmap-table .roadmap-undated{font-size:11px;line-height:18px;color:#888;background:#fafafa;vertical-align:middle}
.roadmap-related .roadmap-duration{font-size:10px;color:#888;white-space:normal}
.roadmap-cross dl>div{grid-template-columns:145px minmax(0,1fr);gap:18px}
.roadmap-cross>h4,.roadmap-reflection h4{font-size:14px}
.roadmap-cross dd{font-size:12px;line-height:20px}
.end{margin-top:56px;padding:28px 0 40px;border-color:#eee;font-size:11px}
@media(max-width:999.98px){
  .case-chrome{position:sticky;top:0;left:auto;width:100%;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #eee}
  .topbar{width:min(var(--case-reading),calc(100% - 2 * var(--case-gutter)));margin:0 auto;padding:16px 0 8px}
  .case-nav{width:min(var(--case-reading),calc(100% - 2 * var(--case-gutter)));margin:0 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:20px;padding:6px 2px 12px;overflow-x:auto;scrollbar-width:thin}
  .case-nav a{font-size:11px;white-space:nowrap;flex:none;padding:2px 0}
  main{padding-top:48px}
}
@media(max-width:550px){
  main{padding-top:36px}
  .chapter{padding-top:44px}
  .project-statement,.project-framing .project-statement{padding:24px}
  .project-statement .statement-text,.project-framing .statement-text,.project-framing #ideia-central .statement-text{font-size:24px}
  .wireframe-board{padding:14px}
  .store-gallery{gap:24px 14px}
  .roadmap-cross dl>div{grid-template-columns:1fr;gap:8px}
  .end{flex-direction:column;align-items:flex-start;gap:16px}
}
@media(max-width:370px){
  .wf-flow,.wf-versions,.ds-library,.brand-lockup,.onboarding-step,.solution-phones{grid-template-columns:1fr}
  .onboarding-step>span{grid-column:auto}
  .wf-web-hero{grid-template-columns:1fr}
}
@media print{.case-chrome{display:none}main{width:100%;padding:0}.back-home{display:none}}

/* Return to the portfolio, above the project index. */
.project-menu{margin-top:108px}
.project-menu .case-nav{margin-top:18px}
.project-back{width:32px;height:32px;display:grid;place-items:center;color:#999;border-radius:8px;text-decoration:none;margin-left:-8px}
.project-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.project-back:hover{color:#242424;background:#f5f5f5}
.project-back:focus-visible{outline:2px solid #242424;outline-offset:3px}
@media(max-width:999.98px){.project-menu{width:min(var(--case-reading),calc(100% - 2 * var(--case-gutter)));margin:0 auto}.project-menu .case-nav{width:100%;margin-top:2px}}

/* Store screenshots: horizontal, manually controlled, with native touch scroll. */
.store-carousel{position:relative;margin:28px 0 24px}
.store-carousel .store-gallery{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;margin:0;padding-bottom:8px}
.store-carousel .store-gallery figure{flex:0 0 42%;min-width:0;margin:0;scroll-snap-align:start}
.store-carousel .store-gallery img{display:block;width:100%;height:auto;aspect-ratio:230/498;object-fit:contain}
.store-gallery:focus-visible{outline:2px solid #666;outline-offset:5px;border-radius:10px}
.store-carousel-controls{display:flex;justify-content:center;align-items:center;margin-top:12px;gap:20px}
.store-carousel-controls[hidden]{display:none}
.store-carousel-position{font-size:11px;color:#888}
.store-carousel-controls>div{display:contents}
.store-carousel-controls button{position:absolute;top:var(--store-arrow-y,45%);transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:44px;height:44px;border:1px solid #e8e8ea;border-radius:50%;background:#fff;color:#666;cursor:pointer;padding:0}
.store-carousel-controls .store-prev{left:-52px}.store-carousel-controls .store-next{right:-52px}
.store-carousel:has(.store-carousel-controls:not([hidden])) .store-gallery{scrollbar-width:none}.store-carousel:has(.store-carousel-controls:not([hidden])) .store-gallery::-webkit-scrollbar{display:none}
.store-carousel-controls button:hover:not(:disabled){background:#f5f5f5;color:#242424}
.store-carousel-controls button:disabled{opacity:.35;cursor:default}
.store-carousel-controls button:focus-visible{outline:2px solid #666;outline-offset:3px}
.store-carousel-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:720px){.store-carousel-controls .store-prev{left:-16px}.store-carousel-controls .store-next{right:-16px}.store-carousel-controls button{width:40px;height:40px;box-shadow:0 2px 10px #0002}}
@media(max-width:550px){.store-carousel .store-gallery{gap:14px}.store-carousel .store-gallery figure{flex-basis:80%}}
@media print{.store-carousel .store-gallery{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.store-carousel-controls{display:none}}

/* The same reading widths and breakpoint gutters used by shedsgns.me. */
@media(max-width:720px){:root{--case-reading:560px;--case-gutter:20px}}
@media(min-width:360px) and (max-width:720px){:root{--case-gutter:32px}}
/* Move the return icon slightly in its direction, without shifting the button. */
.project-back svg{transition:transform .22s cubic-bezier(.22,1,.36,1)}
.project-back:hover svg,.project-back:focus-visible svg{transform:translateX(-3px)}
.project-back:active svg{transform:translateX(-4px) scale(.94)}
@media(prefers-reduced-motion:reduce){.project-back svg{transition:none;transform:none!important}}
/* Instagram links stay quiet and use the full row as a touch target. */
.research-participants li{padding:0;display:flex;align-items:center;min-height:44px}
.research-participants a{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 0;color:inherit;text-decoration:none}
.research-participants a:hover{color:#1a1a1a}
.research-participants a:hover span{text-decoration:underline;text-underline-offset:3px}
.research-participants svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;color:#888}
.research-participants a:hover svg{color:#242424}
.research-participants .instagram-dot{fill:currentColor;stroke:none}
.research-participants a:focus-visible{outline:2px solid #666;outline-offset:3px;border-radius:3px}

/* Local brand marks do not depend on external image services. */
.participant-brand{display:flex;align-items:center;gap:8px;min-width:0}
.participant-icon{display:block;width:18px;height:18px;flex:none;object-fit:contain;border-radius:4px;background:#fff}

@media(max-width:550px){.brand-photos{gap:20px 12px}.brand-photos figcaption{font-size:11px;line-height:16px}}
