.works-page h1{font-size:44px;line-height:1.2;letter-spacing:-1.3px;font-weight:650;margin:0}.works-page .section-heading{align-items:center}.works-page .xf{max-width:none}.works-page{min-height:70vh}nav a[aria-current=page]{color:var(--green)}@media(max-width:850px){.works-page .xf{margin:0;padding:24px}.works-page .xf-top{padding:0}.works-page .xf-row{display:grid;grid-template-columns:1fr;overflow:visible;padding:0;gap:38px;scroll-snap-type:none}.works-page .xf-item{width:100%;max-width:540px;margin:0 auto}.works-page .xf-note{padding:0}.works-page .xf-screen{height:auto;aspect-ratio:1.35}.works-page h1{font-size:38px}}@media(max-width:640px){.works-page h1{font-size:33px}.works-page .xf{padding:20px 16px;border-radius:28px}.works-page .xf-dl small{display:inline}.works-page .section-heading>p{margin-top:20px}}
.works-page .xf-carousel .xf-top{margin-bottom:16px}
.works-page .xf-carousel .xf-top .dot{display:none}
.xf-nav{display:flex;gap:8px}
.xf-arrow{width:42px;height:42px;border-radius:50%;border:1px solid #d5e9d8;background:#fff;color:var(--green);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 16px #2d5a3a10;transition:background .2s,opacity .2s,transform .2s}
.xf-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.xf-arrow:hover:not(:disabled){background:#e4f3e6;transform:translateY(-1px)}
.xf-arrow:disabled{opacity:.35;cursor:default;box-shadow:none}
.xf-arrow:focus-visible,.xf-dots button:focus-visible,.works-page .xf-carousel .xf-row:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.works-page .xf-carousel .xf-row{display:flex;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 4px;gap:28px;padding:6px 4px 22px;scrollbar-width:none;overscroll-behavior-x:contain}
.works-page .xf-carousel .xf-row::-webkit-scrollbar{display:none}
.works-page .xf-carousel .xf-item{flex:0 0 calc((100% - 56px)/3);max-width:none;margin:0;scroll-snap-align:start}
.works-page .xf-carousel .xf-item+.xf-item:before{display:none}
.works-page .xf-carousel .xf-screen{aspect-ratio:1.35;height:auto}
.xf-dots{display:flex;justify-content:center;gap:8px;margin-top:2px}
.xf-dots button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:#c3dfc8;cursor:pointer;transition:width .25s,background .25s}
.xf-dots button[aria-current=true]{width:26px;background:var(--green)}
@media(hover:hover){.works-page .xf-carousel .xf-item:hover .xf-win{transform:translateY(-4px)}}
@media(max-width:850px){.works-page .xf-carousel{padding:22px 0 18px}.works-page .xf-carousel .xf-top,.works-page .xf-carousel .xf-note{padding:0 22px}.works-page .xf-carousel .xf-row{gap:16px;padding:6px 22px 20px;scroll-padding:0 22px}.works-page .xf-carousel .xf-item{flex-basis:78%}}
@media(max-width:640px){.works-page .xf-carousel{padding:18px 0 16px}.works-page .xf-carousel .xf-top,.works-page .xf-carousel .xf-note{padding:0 16px}.works-page .xf-carousel .xf-row{gap:12px;padding:4px 16px 18px;scroll-padding:0 16px}.works-page .xf-carousel .xf-item{flex-basis:86%}.xf-arrow{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.xf-arrow,.xf-dots button{transition:none}}

.xf-desc .xf-lead{color:var(--ink);font-weight:600;font-size:15px}
.xf-story{margin:6px 0 0;display:grid;gap:12px}
.xf-story dt{font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--green)}
.xf-story dd{margin:3px 0 0;font-size:14px;line-height:1.6;color:var(--muted)}

@media(min-width:851px){.works-page .xf-carousel:not(:has(.xf-item:nth-child(4))) .xf-nav,.works-page .xf-carousel:not(:has(.xf-item:nth-child(4))) .xf-dots{display:none}}

/* Share content rows across the three examples, regardless of text length. */
.works-page .xf-foot:has(.xf-dash){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.works-page .xf-foot:has(.xf-dash) .xf-dl,.works-page .xf-foot:has(.xf-dash) .xf-dash{min-width:0;min-height:44px;margin:0;padding:10px 12px;justify-content:center;font-size:12px;line-height:1.35;gap:6px}
.works-page .xf-foot:has(.xf-dash) .xf-dl{flex-wrap:wrap}
.works-page .xf-foot:has(.xf-dash) .xf-dl small{font-size:10px;white-space:nowrap}
@media(min-width:851px){
 .works-page .xf-carousel .xf-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(11,auto);grid-auto-flow:column;column-gap:28px;row-gap:12px;overflow:visible}
 .works-page .xf-carousel .xf-item{display:grid;grid-row:span 11;grid-template-rows:subgrid;min-width:0}
 .works-page .xf-carousel .xf-desc,.works-page .xf-carousel .xf-story{display:contents}
 .works-page .xf-carousel .xf-desc h3{align-items:flex-start;line-height:1.35}
 .works-page .xf-carousel .xf-desc h3:before{margin-top:.45em}
 .works-page .xf-carousel .case-price{margin:0 0 8px;align-self:start;justify-self:start}
 .works-page .xf-carousel .xf-lead{padding-bottom:6px}
 .works-page .xf-carousel .xf-story dd{margin:0;padding-bottom:8px}
 .works-page .xf-carousel .xf-foot{margin:0;align-self:end}
}
.xf-dots button{position:relative}.xf-dots button::before{content:"";position:absolute;inset:-12px -4px}
