/* v10 "We do" chips + Our work type tabs and summary panel. Uses v10's tokens; motion is opacity, blur and transform only. */

/* hero chips are now links */
.hero10-with li{padding:0}
.hero10-with li a{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border-radius:999px;color:var(--ink);text-decoration:none;transition:color .2s,transform .2s}
@media (hover:hover) and (pointer:fine){.hero10-with li:has(a:hover){border-color:var(--oxygen)}}
@media (hover:hover) and (pointer:fine){.hero10-with li a:hover{color:var(--oxygen);transform:translateY(-1px)}}

/* chip taps land below the sticky nav */
#work{scroll-margin-top:72px}

/* Our work body: tabs, carousel, summary stacked */
#work .sec-body{display:flex;flex-direction:column;gap:22px;min-width:0}

/* type tabs: one row, scrolls sideways inside itself on phones */
.wt-tabs-scroll{overflow-x:auto;scrollbar-width:none;margin:-4px;padding:4px}
.wt-tabs-scroll::-webkit-scrollbar{display:none}
.wt-tabs{display:flex;gap:6px;width:max-content}
.wt-tab{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--frost-card);color:var(--ink);font:inherit;font-size:14px;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,color .2s} /* same look as a button or a link (home tabs are links) */
@media (hover:hover) and (pointer:fine){.wt-tab:hover{border-color:var(--ink)}}
.wt-tab[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}

/* keep the row height steady while tiles change */
#work .w5-track{min-height:420px}
#work .w5-item:not([hidden]){animation:wt-mist .25s cubic-bezier(.23,1,.32,1) both}

/* "examples coming soon" tile */
.wt-soon-media{display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:22px;background:var(--surface);border:1px dashed var(--line-2)}
.wt-soon-media b{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.wt-soon-media span:last-child{font-size:14px;color:var(--body)}

/* summary panel */
.wt-sum{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);padding:clamp(22px,4vw,40px);border:1px solid var(--line);border-radius:16px;background:var(--frost);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
.wt-sum[hidden]{display:none}
.wt-sum.wt-in{animation:wt-mist .2s cubic-bezier(.23,1,.32,1) both}
.wt-main{display:flex;flex-direction:column;gap:14px;min-width:0}
#work .wt-main h3{margin:0;font-size:clamp(28px,3.4vw,40px)!important;font-weight:700!important;letter-spacing:-.04em!important;line-height:1.05;text-transform:none!important}
.wt-main p{margin:0;font-size:17px;line-height:1.55;color:var(--body);max-width:44ch}
.wt-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.wt-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.wt-side ul{list-style:none;margin:8px 0 0;padding:0}
.wt-side li{display:flex;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:15px;color:var(--ink)}
.wt-side li:last-child{border-bottom:1px solid var(--line)}
.wt-side li::before{content:"";flex:0 0 6px;height:6px;margin-top:9px;border-radius:50%;background:var(--oxygen)}
.wt-side p{margin:8px 0 0;font-size:15px;line-height:1.55;color:var(--body)}
@media (max-width:760px){.wt-sum{grid-template-columns:1fr}#work .w5-track{min-height:0}}

@keyframes wt-mist{from{opacity:0;filter:blur(4px);transform:translateY(6px)}to{opacity:1;filter:none;transform:none}}
@media (prefers-reduced-motion:reduce){#work .w5-item,.wt-sum.wt-in{animation:none}.hero10-with li a{transition:none}}

/* "Our work" label links to the Work page, with the menu's arrow */
.sec-link{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none}
.sec-link svg{width:14px;height:14px;flex:none;transition:transform .15s}
@media (hover:hover) and (pointer:fine){.sec-link:hover svg{transform:translate(2px,-2px)}}

/* frosted placeholder for a project with no usable still yet: the project name on a soft sky */
.ph-frost{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:22px;background:radial-gradient(70% 50% at 70% 28%,rgba(238,133,71,.28),transparent 70%),radial-gradient(80% 60% at 20% 70%,rgba(91,143,224,.32),transparent 70%),linear-gradient(170deg,#E4EDF8,#F5F2EC)}
.ph-frost::before{content:"";position:absolute;inset:0;background:rgba(251,250,247,.25);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.ph-frost > *{position:relative}
.ph-frost .w5-edit{position:absolute}
.ph-name{font-family:"Inter",var(--display,sans-serif);font-size:clamp(26px,3vw,34px);font-weight:700;line-height:1;letter-spacing:-.045em;color:var(--ink)}
.ph-sub{font-size:13px;color:var(--body)}

/* Watch on Instagram: a 44px tap target, same text size */
.w5-cap a{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;margin-top:-6px;justify-self:start} /* no negative bottom margin: it stuck out of the carousel and let iPhones drag the row up and down */

/* Work page (2026-10-30): the same type tabs as the home page, with the "what we do" panel under them */
.wk-filter{display:flex;flex-direction:column;gap:18px;margin:0 0 28px}
.wk-filter .wt-main h3{margin:0;font-size:clamp(28px,3.4vw,40px)!important;font-weight:700!important;letter-spacing:-.04em!important;line-height:1.05;text-transform:none!important}
@media (max-width:760px){.wk-filter .wt-main h3{font-size:clamp(26px,7vw,32px)!important}}
/* wider screens: all the type tabs show at once (wrapping if needed); phones keep the sideways-scrolling row */
@media (min-width:761px){.wt-tabs{flex-wrap:wrap;width:auto}}

/* Home page (2026-11-03): a short description of the chosen type, above its examples */
.wt-brief{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:62ch}
.wt-brief p{margin:0;font-size:17px;line-height:1.55;color:var(--body)}
.wt-brief.wt-in{animation:wt-mist .2s cubic-bezier(.23,1,.32,1) both}
.wt-brief-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px;font-weight:600;color:var(--oxygen);text-decoration:none}
.wt-brief-link[hidden]{display:none}
.wt-brief-link svg{width:16px;height:16px;transition:transform .15s}
@media (hover:hover) and (pointer:fine){.wt-brief-link:hover svg{transform:translateX(2px)}}
@media (max-width:600px){.wt-brief p{font-size:16px}}
@media (prefers-reduced-motion:reduce){.wt-brief.wt-in{animation:none}}

/* Home page (2026-11-25): the type tabs sit directly above the carousel, larger, in a fixed row that wraps instead of
   scrolling. A filled highlight (.wt-now, moved by work-types.js) slides to the type of the video in front as the
   carousel moves; the chosen filter keeps a dark outline, and other types the video covers get a light tint. */
.wt-tabs-fixed{margin:0 0 4px}
.wt-tabs-fixed .wt-tabs{position:relative;isolation:isolate;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:auto;max-width:1100px;margin:0 auto}
.wt-tabs-fixed .wt-tab{position:relative;min-height:52px;padding:0 24px;font-size:16px;font-weight:500;letter-spacing:-.005em;background:var(--frost-card);transition:color .35s cubic-bezier(.23,1,.32,1),border-color .2s,background .2s}
.wt-tabs-fixed .wt-tab[aria-selected="true"]{background:var(--frost-card);color:var(--ink);border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.wt-tabs-fixed .wt-tab.wt-also{background:color-mix(in srgb,var(--ink) 9%,var(--frost-card,#fff))}
.wt-tabs-fixed .wt-tab.wt-on{color:var(--on-ink);border-color:transparent;background:transparent;box-shadow:none}
.wt-now{position:absolute;left:0;top:0;z-index:1;border-radius:999px;background:var(--ink);box-shadow:0 8px 20px -8px rgba(22,32,46,.45);pointer-events:none;opacity:0}
.wt-now.wt-ready{opacity:1;transition:transform .45s cubic-bezier(.23,1,.32,1),width .45s cubic-bezier(.23,1,.32,1),height .45s cubic-bezier(.23,1,.32,1),opacity .2s}
.wt-tabs-fixed .wt-tab{z-index:2}
.wt-tabs-fixed .wt-tab.wt-on{background:transparent}
@media (max-width:760px){.wt-tabs-fixed .wt-tabs{gap:8px}.wt-tabs-fixed .wt-tab{min-height:44px;padding:0 16px;font-size:15px}}
/* the description of the chosen type now sits under the carousel */
#work .w5-car+.wt-brief{margin-top:8px}
/* (2026-11-25, later) The tab row is one line that slides with the carousel (work-types.js moves it): it's clipped at
   the screen edges with a soft fade, so tabs travel across and off/onto the screen as the videos move. It can't be
   scrolled by hand. The highlight is moved every frame by the script, so it has no transition of its own, except
   for a short glide when a filter is picked. */
.wt-tabs-fixed{overflow:hidden;margin-inline:-40px;padding:4px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.wt-tabs-fixed .wt-tabs{flex-wrap:nowrap;justify-content:flex-start;width:max-content;max-width:none;margin:0;will-change:transform}
.wt-now.wt-ready{transition:opacity .2s}
.wt-tabs-fixed .wt-tabs.wt-glide,.wt-tabs.wt-glide .wt-now{transition:transform .45s cubic-bezier(.23,1,.32,1),width .45s cubic-bezier(.23,1,.32,1)}
.wt-tabs-fixed .wt-tab{transition:color .2s,border-color .2s,background .2s}
@media (max-width:760px){.wt-tabs-fixed{margin-inline:-20px}}
/* the tabs have no fill of their own, so the highlight shows through as it slides behind them mid-swipe */
.wt-tabs-fixed .wt-tab,.wt-tabs-fixed .wt-tab[aria-selected="true"]{background:transparent}
.wt-tabs-fixed .wt-tab.wt-also{background:color-mix(in srgb,var(--ink) 9%,transparent)}
/* the highlight sits over the tabs and clips its own light copy of the labels (.wt-now-in), which work-types.js lines
   up with the real ones; clicks pass straight through it to the tab underneath */
.wt-now{z-index:3;overflow:hidden}
.wt-now-in{position:absolute;left:0;top:0;display:flex;gap:10px;width:max-content;pointer-events:none}
.wt-now-in .wt-tab{flex:none;color:var(--on-ink);border-color:transparent;background:transparent;box-shadow:none}
.wt-tabs.wt-glide .wt-now-in{transition:transform .45s cubic-bezier(.23,1,.32,1)}
@media (max-width:760px){.wt-now-in{gap:8px}}
.wt-tabs-fixed .wt-tab.wt-on{color:var(--ink)}
/* the tabs' depth (size and fade by distance from the middle) is set every frame by work-types.js, so they have no
   transition of their own for it, except during the short glide when a filter is picked */
.wt-tabs-fixed .wt-tab{transform-origin:50% 50%;will-change:transform,opacity}
.wt-tabs.wt-glide>.wt-tab,.wt-tabs.wt-glide .wt-now-in .wt-tab{transition:transform .45s cubic-bezier(.23,1,.32,1),opacity .45s,color .2s,border-color .2s}
/* (later) The strip loops (copies of the tabs either side, .wt-copy) and can be dragged to drag the carousel:
   sideways drags go to the strip, up-and-down still scrolls the page. A copy of the chosen tab looks chosen too. */
.wt-tabs-fixed{touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.wt-tabs-fixed.wt-dragging{cursor:grabbing}
.wt-tabs-fixed.wt-dragging .wt-tab{cursor:grabbing}
.wt-tabs-fixed .wt-tab.wt-copy{cursor:pointer}
.wt-tabs-fixed .wt-tab.wt-copy.wt-sel{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.wt-tabs-fixed .wt-tab.wt-on.wt-sel{box-shadow:none;border-color:transparent}
/* (fix) room under the strip for the highlight's shadow, so it isn't cut off; the extra space is taken back with a
   negative margin so nothing else moves */
.wt-tabs-fixed{padding:8px 0 26px;margin-top:-4px;margin-bottom:-22px}
/* (fix) the strip and its tabs are moved by script every frame, so no CSS transitions on their position or size
   (they fought the script and made the tabs lag or stick), and no per-tab layers (heavy on phones) */
.wt-tabs.wt-glide,.wt-tabs.wt-glide .wt-now,.wt-tabs.wt-glide .wt-now-in,.wt-tabs.wt-glide>.wt-tab,.wt-tabs.wt-glide .wt-now-in .wt-tab{transition:none}
.wt-tabs-fixed .wt-tab{will-change:auto;transition:border-color .2s,background .2s}
