.showcase-section { margin-top: 72px; padding-block: 76px 40px; background: #f8fafd; border-block: 1px solid #e9eef5; scroll-margin-top: 100px; }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 43px; }
.showcase-heading .eyebrow { color: var(--blue); margin-bottom: 17px; }
.showcase-heading h2 { font-weight: 500; line-height: 1.14; letter-spacing: -.045em; }
.showcase-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.showcase-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 30px; row-gap: 42px; }
.showcase-card { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; }
.showcase-card:nth-last-child(-n+2) { grid-column: span 3; }
.showcase-card:nth-last-child(-n+2) .showcase-visual { aspect-ratio: 2 / 1; }
.showcase-visual, .showcase-compare { position: relative; aspect-ratio: 3 / 2; border-radius: 13px; overflow: hidden; background: #eaf0f7; isolation: isolate; }
.showcase-visual > img, .showcase-compare > img, .showcase-after > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.showcase-copy { padding: 23px 2px 0; flex: 1; display: flex; flex-direction: column; align-items: start; }
.showcase-copy .eyebrow { font-size: 10px; color: var(--blue); letter-spacing: .09em; font-weight: 600; margin-bottom: 12px; }
.showcase-copy h3 { font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; margin: 0 0 14px; }
.showcase-copy > p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0 0 20px; }
.showcase-copy .text-link { margin-top: auto; font-size: 12px; gap: 7px; }
.showcase-copy .text-link svg { transition: transform .18s; }
.showcase-copy .text-link:hover svg { transform: translateX(3px); }
.showcase-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--showcase-position, 50%)); }
.showcase-divider { position: absolute; top: 0; bottom: 0; left: var(--showcase-position, 50%); width: 2px; transform: translateX(-50%); background: #fff; pointer-events: none; box-shadow: 0 0 4px #0002; }
.showcase-divider > span { display: flex; align-items: center; justify-content: center; gap: 7px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 43px; height: 43px; border-radius: 50%; background: #fff; box-shadow: 0 3px 16px #14283c22; color: #1a5bb0; font-size: 24px; font-weight: 400; }
.showcase-divider i { width: 1px; height: 13px; background: #d9e4f1; }
.showcase-slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.showcase-compare:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.showcase-image-labels { position: absolute; left: 13px; right: 13px; top: 13px; display: flex; justify-content: space-between; pointer-events: none; }
.showcase-image-labels span { border-radius: 5px; padding: 5px 8px; background: #fffffff0; color: #344965; font-size: 9px; font-weight: 500; }
.showcase-drag-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 9px; color: #344965; background: #fffffff0; padding: 4px 9px; border-radius: 20px; white-space: nowrap; pointer-events: none; }
.showcase-avatar-original, .showcase-avatar-result { height: 100%; display: flex; align-items: center; justify-content: center; }
.showcase-avatar-original { background: #e8edf3; }
.showcase-avatar-original img { height: 77%; width: auto; border-radius: 5px; }
.showcase-avatar-result { background: repeating-conic-gradient(#e2e8f0 0% 25%, #f5f8fb 0% 50%) 50% / 15px 15px; }
.showcase-avatar-result img { height: 73%; width: auto; }
.showcase-crop { display: flex; align-items: center; justify-content: center; background: #eaf1fb; }
.showcase-corner-label { position: absolute; top: 16px; left: 18px; font-size: 8px; letter-spacing: .12em; color: #617b9c; }
.showcase-crop-frame { position: absolute; top: 35px; bottom: 50px; aspect-ratio: 1; border-radius: 5px; box-shadow: 0 6px 16px #1d41651a; border: 3px solid white; transition: aspect-ratio .25s; }
.showcase-crop-frame[data-shape="wide"] { aspect-ratio: 16 / 9; }
.showcase-crop-frame[data-shape="portrait"] { aspect-ratio: 3 / 4; }
.showcase-crop-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-segments { display: flex; gap: 3px; align-items: center; padding: 3px; border: 1px solid #dfe7f1; background: #ffffffed; border-radius: 7px; }
.showcase-crop > .showcase-segments, .showcase-formats > .showcase-segments { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
.showcase-segments button { border: 0; border-radius: 4px; padding: 6px 10px; min-height: 28px; color: #5b6d85; background: transparent; font-family: inherit; font-size: 10px; cursor: pointer; }
.showcase-segments button[aria-pressed="true"] { color: #145bb7; background: #e8f0fe; font-weight: 600; }
.showcase-segments button:focus-visible, .showcase-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.showcase-toggle { position: absolute; top: 13px; left: 13px; display: flex; align-items: center; gap: 14px; border: 1px solid #ffffff7a; border-radius: 7px; padding: 9px 11px; background: #fffffff2; color: #334b68; font-family: inherit; font-size: 10px; cursor: pointer; }
.showcase-toggle > span { width: 25px; height: 14px; border-radius: 12px; background: #9ba9b9; position: relative; }
.showcase-toggle > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .15s; }
.showcase-toggle[aria-pressed="true"] > span { background: var(--blue); }
.showcase-toggle[aria-pressed="true"] > span::after { transform: translateX(11px); }
.showcase-description { min-height: 260px; }
.showcase-description > img { height: 65%; object-position: center 25%; }
.showcase-description-panel { position: absolute; inset: auto 11px 10px; min-height: 44%; padding: 10px 12px; background: #fff; border: 1px solid #e4eaf2; border-radius: 8px; box-shadow: 0 4px 14px #0b2c4810; }
.showcase-description-panel > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.showcase-description-panel > div > span { font-size: 7px; letter-spacing: .09em; color: #5b738d; }
.showcase-description-panel .showcase-segments { padding: 1px; border: none; }
.showcase-description-panel .showcase-segments button { padding: 3px 5px; min-height: 22px; font-size: 8px; }
.showcase-description-panel p { font-size: 11px; color: #344965; line-height: 1.65; margin: 5px 0 6px; }
.showcase-description-panel small { font-size: 8px; color: #6d7e92; }
.showcase-description-panel i { font-style: normal; padding: 0 4px; color: #98a6b7; }
.showcase-format-readout { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid #ffffff7a; border-radius: 9px; background: #fffffff2; color: #20354e; backdrop-filter: blur(8px); }
.showcase-format-readout > span { color: var(--blue); font-size: 9px; font-weight: 600; }
.showcase-format-readout strong { font-size: 24px; letter-spacing: -.06em; line-height: 1.2; font-weight: 500; font-variant-numeric: tabular-nums; }
.showcase-format-readout small { font-size: 8px; color: #718097; }
.showcase-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 37px; padding-top: 23px; border-top: 1px solid #e1e8f1; }
.showcase-footer p { color: #758395; font-size: 11px; margin: 0; }
.showcase-footer .text-link { font-size: 12px; gap: 7px; white-space: nowrap; }
.showcase-checker { background: repeating-conic-gradient(#e2e8f0 0% 25%, #f5f8fb 0% 50%) 50% / 15px 15px; }
.showcase-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-video-note { position: absolute; top: 13px; left: 13px; border-radius: 5px; padding: 6px 9px; color: #344965; background: #fffffff0; font-size: 9px; pointer-events: none; }
.showcase-search { display: flex; flex-direction: column; justify-content: center; gap: 15px; min-height: 240px; padding: 20px; background: #edf3fb; }
.showcase-search-header { display: flex; justify-content: space-between; color: #657d9b; font-size: 8px; letter-spacing: .08em; }
.showcase-search-header > span:last-child { letter-spacing: 0; }
.showcase-search-query { color: #344965; border: 1px solid #dce5f1; background: #fff; border-radius: 7px; padding: 10px 12px; font-size: 12px; line-height: 1.4; margin: 0; }
.showcase-search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.showcase-search-results figure { margin: 0; min-width: 0; }
.showcase-search-results img { width: 100%; height: 82px; border-radius: 6px; object-fit: cover; display: block; }
.showcase-search-results figcaption { font-size: 9px; color: #4e6580; line-height: 1.4; padding-top: 7px; }
.showcase-search-results figcaption span { color: var(--blue); font-size: 8px; }
.showcase-search > .showcase-segments { justify-content: center; align-self: center; }
.showcase-search .showcase-segments button { padding-inline: 8px; font-size: 9px; white-space: nowrap; }
@media (max-width: 1000px) { .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .showcase-card, .showcase-card:nth-last-child(-n+2) { grid-column: span 1; } .showcase-card:last-child { grid-column: span 2; } .showcase-card:nth-last-child(-n+2) .showcase-visual { aspect-ratio: 3 / 2; } .showcase-card:last-child .showcase-visual { aspect-ratio: 2.7 / 1; } .showcase-heading { align-items: start; } .showcase-heading > p { max-width: 280px; } }
@media (max-width: 640px) { .showcase-section { margin-top: 45px; padding-block: 48px 30px; } .showcase-heading { display: block; margin-bottom: 29px; } .showcase-heading > p { max-width: none; margin-top: 21px; font-size: 13px; } .showcase-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .showcase-card, .showcase-card:last-child { grid-column: span 1; } .showcase-card:last-child .showcase-visual { aspect-ratio: 3 / 2; } .showcase-copy { padding-top: 20px; } .showcase-copy > p { margin-bottom: 13px; } .showcase-search { gap: 12px; padding: 15px; } .showcase-search-results img { height: 70px; } .showcase-search-results figcaption { font-size: 8px; } .showcase-footer { align-items: start; flex-direction: column; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .showcase-section *, .showcase-section *::after { transition: none !important; } }
