/* Twenty lessons from the native Take Contour carousel. */
.photo-tips{padding:64px 0 22px;scroll-margin-top:24px}
.tips-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;align-items:end;margin-bottom:32px}
.tips-heading .eyebrow{margin-bottom:19px;color:var(--muted)}
.tips-heading h2{font-size:clamp(40px,4.5vw,64px)}
.tips-heading h2 em{color:var(--cobalt)}
.tips-intro{font-size:16px;line-height:1.75;max-width:390px;color:var(--muted);justify-self:end}
.tip-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--line) transparent;align-items:flex-start;padding:6px 4px 14px;scroll-padding-inline:4px}
.photo-tip{flex:0 0 calc((100% - 48px)/3.6);min-width:260px;padding:0;border:0;border-radius:26px;background:var(--tip-color);color:#fff;overflow:hidden;scroll-snap-align:start}
.tip-cobalt{--tip-color:var(--cobalt)}.tip-orange{--tip-color:var(--orange)}.tip-pink{--tip-color:var(--pink)}
.photo-tip summary{display:flex;flex-direction:column;padding:22px 22px 25px;min-height:315px;list-style:none;transition:background .2s}
.photo-tip summary::after{content:none}
.photo-tip summary:hover{background:#ffffff0a}
.photo-tip summary:focus-visible{outline:3px solid var(--lime);outline-offset:-6px;border-radius:26px}
.tip-number{font-size:11px;font-weight:600;opacity:.8}
.photo-tip canvas{display:block;width:calc(100% + 26px);margin:10px -13px 14px;height:auto;aspect-ratio:320/210}
.tip-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;min-height:64px}
.tip-card-bottom strong{font-size:27px;line-height:1.09;letter-spacing:-.045em;font-weight:750;overflow-wrap:anywhere}
.tip-card-arrow{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#ffffff18;border-radius:50%;font-size:24px;font-weight:400}
.tip-detail{padding:0 22px 25px;font-size:15px;line-height:1.7}.tip-detail h3{font-size:28px;white-space:pre-line;margin-bottom:16px}.tip-detail>p{margin-bottom:20px}
.tip-exercise{padding:20px;border-radius:18px;background:#ffffff13;font-size:15px;line-height:1.65}.tip-exercise .eyebrow{font-size:10px;margin-bottom:9px}
.tips-toolbar{display:flex;align-items:center;gap:24px;min-height:70px;padding-inline:4px}
.tips-browse{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:18px}.tips-browse span{font-size:21px}
.tips-motion{background:transparent;padding:10px 0;min-height:44px;font-size:11px;line-height:1.4;text-decoration:underline;text-underline-offset:4px;color:inherit}
.tips-toolbar>.tips-motion{margin-left:auto;color:var(--muted)}
.tips-navigation{display:flex;gap:8px;align-items:center;margin-left:auto}.tips-count{margin-right:16px;white-space:nowrap}
.tips-navigation button{width:44px;height:44px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:22px;line-height:1}
.tips-navigation button:hover{background:var(--lime);border-color:var(--lime)}.tips-navigation button:disabled{opacity:.3;cursor:default;background:transparent;border-color:var(--line)}
.tip-story{width:min(1000px,calc(100% - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:30px;background:var(--tip-color);color:white;overscroll-behavior:contain}
.tip-story::backdrop{background:#121812ba;backdrop-filter:blur(6px)}
.tip-story-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 30px 0}
.tip-story-top .eyebrow{font-size:10px}.tip-story-top button{width:44px;height:44px;flex:none;background:#ffffff14;border-radius:50%;font-size:29px;line-height:1}
.tip-story-body{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center;padding:26px 40px 34px}
.tip-story-visual{min-width:0}.tip-story-visual h2{font-size:clamp(36px,4.3vw,54px);white-space:pre-line;line-height:1.04;letter-spacing:-.055em}.tip-story-visual h2:focus{outline:none}
.tip-story-visual canvas{display:block;width:100%;height:auto;aspect-ratio:320/210;margin-top:22px}
.tip-story-copy{font-size:16px;line-height:1.75}.tip-story-copy>.tip-explanation{margin-bottom:24px}
.tip-story-footer{padding:0 40px 28px;background:var(--tip-color)}
.tip-story-progress{display:flex;align-items:center;gap:18px;margin-bottom:16px}.tip-story-progress progress{width:100%;height:3px;border:0;border-radius:99px;background:#ffffff30;appearance:none;color:var(--lime)}.tip-story-progress progress::-webkit-progress-bar{background:#ffffff30;border-radius:99px}.tip-story-progress progress::-webkit-progress-value{background:var(--lime);border-radius:99px}.tip-story-progress progress::-moz-progress-bar{background:var(--lime);border-radius:99px}.tip-story-progress span{white-space:nowrap;font-size:11px}
.tip-story-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.tip-story-actions button{min-height:48px;background:transparent;font-size:13px}.tip-story-actions [data-story-next]{display:flex;align-items:center;justify-content:space-between;gap:28px;border-radius:99px;padding:12px 22px;background:#fff;color:var(--ink);font-weight:650}.tip-story-actions [data-story-next]>span:last-child{font-size:23px}.tip-story-actions button:disabled{opacity:.35;cursor:default}.tip-story-actions .tips-motion{font-size:11px}
.tip-story :focus-visible{outline-color:var(--lime)}body.tip-story-open{overflow:hidden}
@media(min-width:1051px){.site-header nav{gap:20px}.site-header nav a{font-size:12px}}
@media(max-width:1050px){.tips-heading{gap:30px}.photo-tip{flex-basis:calc((100% - 32px)/2.6);min-width:240px}.tips-heading h2{font-size:48px}.tip-story-body{gap:26px;padding-inline:30px}.tip-story-footer{padding-inline:30px}}
@media(max-width:700px){.photo-tips{padding-top:38px}.tips-heading{grid-template-columns:1fr;gap:18px;margin-bottom:23px}.tips-heading .eyebrow{font-size:10px;margin-bottom:14px}.tips-heading h2{font-size:42px}.tips-intro{justify-self:start;font-size:14px;line-height:1.7;max-width:370px}.tip-track{gap:12px;width:calc(100% - 20px);margin-left:16px;margin-right:0;padding-right:20px;scroll-padding-inline:4px}.photo-tip{flex-basis:78%;min-width:238px;max-width:320px;border-radius:24px}.photo-tip summary{padding:19px 21px 23px;min-height:300px}.tip-card-bottom strong{font-size:27px}.tips-toolbar{gap:10px;flex-wrap:wrap;padding-top:8px}.tips-browse{flex:1;min-width:170px;font-size:11px;gap:8px}.tips-toolbar>.tips-motion{order:3;margin-left:0;font-size:11px;flex-basis:100%;text-align:left;padding:0;min-height:32px}.tips-count{font-size:10px;margin-right:5px}.tips-navigation{gap:6px}.tips-navigation button{width:40px;min-height:44px}.tip-story{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border-radius:0}.tip-story-top{padding:calc(12px + env(safe-area-inset-top)) 24px 0}.tip-story-top .eyebrow{font-size:9px}.tip-story-body{grid-template-columns:1fr;gap:12px;padding:18px 24px 24px}.tip-story-visual h2{font-size:42px;max-width:420px}.tip-story-visual canvas{height:160px;margin:12px 0 0}.tip-story-copy{font-size:15px;line-height:1.7}.tip-story-copy>.tip-explanation{margin-bottom:18px}.tip-exercise{padding:17px;font-size:14px}.tip-story-footer{padding:12px 24px calc(18px + env(safe-area-inset-bottom));position:sticky;bottom:0}.tip-story-actions{gap:12px}.tip-story-actions [data-story-next]{gap:18px;padding-inline:19px}.tip-story-actions .tips-motion{max-width:110px;font-size:10px}.tip-story-progress{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.tip-track{scroll-behavior:auto}.photo-tip summary{transition:none}}
