/* Homepage sections after the hero: who it's for, one record, one map, three ways in, ask your AI, the request. */
:is(.wk-uses, .wk-depth, .wk-map, .wk-ways, .wk-ask) { padding-block: clamp(72px, 8vw, 120px); border-top: 1px solid var(--wk-grid-color, #e5e5e5); color: var(--wk-ink, #292929); }
:is(.wk-uses-inner, .wk-depth-inner, .wk-map-inner, .wk-ways-inner, .wk-ask-inner) { width: var(--wk-rail, min(calc(100% - 48px), 1104px)); margin-inline: auto; }
:is(.wk-uses, .wk-depth, .wk-map, .wk-ways, .wk-ask) h2 { margin: 0; font-family: var(--wk-display); font-weight: var(--wk-display-weight); letter-spacing: var(--wk-display-track); font-size: var(--wk-h2); line-height: var(--wk-h2-leading); text-wrap: balance; }
:is(.wk-uses-head, .wk-depth-head, .wk-map-head, .wk-ways-head) { display: flex; align-items: end; justify-content: space-between; gap: 12px 48px; flex-wrap: wrap; margin-bottom: 36px; }
:is(.wk-uses-head, .wk-depth-head, .wk-map-head, .wk-ways-head) p { max-width: 400px; margin: 0; color: #62676c; font-size: 15px; line-height: 1.55; }
:is(.wk-uses, .wk-depth, .wk-map, .wk-ways, .wk-ask) :is(a, button):focus-visible { outline: 2px solid var(--wk-cobalt, #093acd); outline-offset: 2px; }

/* Who it's for: five jobs, each with a picture made from data we hold (tools/uses-art/build.py). */
.wk-uses-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wk-use { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 1px 2px #0f192408; transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease; }
.wk-use:nth-child(n+4) { grid-column: span 3; }
.wk-use:hover { border-color: #b9b9b9; transform: translateY(-3px); box-shadow: 0 2px 4px #0f19240a, 0 18px 36px #0f192414; }
.wk-use-art { display: block; aspect-ratio: 5 / 3; overflow: hidden; border-bottom: 1px solid #ececec; background: #f2f1ee; }
.wk-use:nth-child(n+4) .wk-use-art { aspect-ratio: 5 / 2; }
.wk-use-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2, .7, .2, 1); }
.wk-use:hover .wk-use-art img { transform: scale(1.05); }
.wk-use-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.wk-use-who { color: #6b6b6b; font-size: 14px; font-weight: 500; }
.wk-use strong { color: #000; font-size: clamp(21px, 1.8vw, 25px); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.wk-use-what { color: #62676c; font-size: 14.5px; line-height: 1.5; }
.wk-use-eg { display: grid; gap: 2px; margin-top: auto; padding: 10px 12px; border-radius: 6px; background: #f6f6f4; font-size: 13px; line-height: 1.45; }
.wk-use-eg b { color: #000; font-weight: 500; }
.wk-use-eg span { color: #62676c; }
.wk-use-eg code { color: var(--wk-cobalt, #093acd); font-size: 12.5px; }
.wk-use-more { color: #000; font-size: 14px; font-weight: 500; }
.wk-use-more span { display: inline-block; transition: transform 180ms ease; }
.wk-use:hover .wk-use-more span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .wk-use, .wk-use-art img { transition: none; } }

/* One record: the lot draws itself on the photo, and a callout follows the open tab. */
.wk-depth-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border: 1px solid #dedede; border-radius: 6px; background: #fff; box-shadow: 0 2px 3px #0f192409, 0 18px 32px #0f192411; }
.wk-depth-photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1; background: #3a3f45; }
.wk-depth-zoom { position: absolute; inset: 0; transform: scale(1.18); transform-origin: 50% 50%; transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
.wk-depth.is-seen .wk-depth-zoom { transform: scale(1.02); }
.wk-depth-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wk-depth-lot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wk-depth-lot polygon { fill: rgba(255, 196, 0, 0); stroke: #ffc400; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .5s, fill 600ms ease 1.8s; vector-effect: non-scaling-stroke; }
.wk-depth.is-seen .wk-depth-lot polygon { stroke-dashoffset: 0; fill: rgba(255, 196, 0, .16); }
.wk-depth-leader { stroke: #fff; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 500ms ease 1.9s; vector-effect: non-scaling-stroke; }
.wk-depth.is-seen .wk-depth-leader { stroke-dashoffset: 0; }
.wk-depth-callouts { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); }
.wk-depth-callout { display: grid; gap: 2px; min-width: 180px; padding: 10px 14px; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); color: #000; font-size: 15px; font-weight: 500; letter-spacing: -.02em; text-align: center; white-space: nowrap; opacity: 0; transform: translateY(8px); }
.wk-depth-callout small { color: #6b6b6b; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.wk-depth.is-seen .wk-depth-callout { animation: wk-depth-pop 420ms cubic-bezier(.2, .8, .2, 1) 2.2s both; }
.wk-depth.is-seen.is-switched .wk-depth-callout { animation-delay: 0s; }
.wk-depth-callout[hidden] { display: none; }
@keyframes wk-depth-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.wk-depth-photo figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 48px 20px 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .74)); color: #fff; }
.wk-depth-photo strong { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.wk-depth-photo figcaption span { color: rgba(255, 255, 255, .85); font-size: 13px; }
.wk-depth-credit { position: absolute; right: 8px; top: 6px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 10px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.wk-depth-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px 28px; }
.wk-depth-tabs { display: flex; gap: 4px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.wk-depth-tabs::-webkit-scrollbar { display: none; }
.wk-depth-tabs button { flex: none; height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: none; color: #6b6b6b; font: 500 13.5px/1 var(--wk-sans, Inter, sans-serif); cursor: pointer; }
.wk-depth-tabs button:hover { color: #000; }
.wk-depth-tabs button[aria-selected="true"] { border-color: #000; color: #000; }
.wk-depth-panel dl { margin: 0; }
.wk-depth-panel dl div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid #efefef; font-size: 14.5px; line-height: 1.45; animation: wk-depth-row 320ms ease both; }
.wk-depth-panel dl div:nth-child(2) { animation-delay: 40ms; } .wk-depth-panel dl div:nth-child(3) { animation-delay: 80ms; }
.wk-depth-panel dl div:nth-child(4) { animation-delay: 120ms; } .wk-depth-panel dl div:nth-child(5) { animation-delay: 160ms; }
@keyframes wk-depth-row { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.wk-depth-panel dt { color: #6b6b6b; white-space: nowrap; }
.wk-depth-panel dd { margin: 0; color: #000; font-variant-numeric: tabular-nums; }
.wk-depth-locked { color: var(--wk-cobalt, #093acd); }
.wk-depth-link { align-self: flex-start; margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .wk-depth-zoom, .wk-depth-lot polygon, .wk-depth-leader { transition: none; }
  .wk-depth-callout, .wk-depth-panel dl div { animation: none; opacity: 1; transform: none; }
}

/* One map */
.wk-map-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.wk-map-frame { position: relative; overflow: hidden; border-radius: 6px; background: #cfd8d6; box-shadow: 0 0 0 1px rgba(15, 25, 36, .12), 0 18px 40px rgba(15, 25, 36, .12); }
.wk-map-photo, .wk-map-layer { display: block; width: 100%; height: auto; }
.wk-map-layer { position: absolute; inset: 0; height: 100%; animation: wk-map-in 320ms ease both; }
.wk-map-layer[hidden] { display: none; }
@keyframes wk-map-in { from { opacity: 0; } to { opacity: 1; } }
.wk-map-keys { position: absolute; left: 12px; bottom: 12px; }
.wk-map-key { display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: 420px; margin: 0; padding: 8px 10px; border-radius: 4px; background: rgba(255, 255, 255, .92); list-style: none; font-size: 12px; color: #2b2b2b; }
.wk-map-key[hidden], .wk-map-key:empty { display: none; }
.wk-map-key li { display: flex; align-items: center; gap: 6px; }
.wk-map-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.wk-map-swatch[data-swatch="#f6d67d"] { background: #f6d67d; } .wk-map-swatch[data-swatch="#f0a75c"] { background: #f0a75c; }
.wk-map-swatch[data-swatch="#e26060"] { background: #e26060; } .wk-map-swatch[data-swatch="#5b84e0"] { background: #5b84e0; }
.wk-map-swatch[data-swatch="#68b28c"] { background: #68b28c; } .wk-map-swatch[data-swatch="#d6d0c4"] { background: #d6d0c4; }
.wk-map-swatch[data-swatch="#a866d2"] { background: #a866d2; } .wk-map-swatch[data-swatch="#e55c54"] { background: #e55c54; }
.wk-map-swatch[data-swatch="#f7d05c"] { background: #f7d05c; } .wk-map-swatch[data-swatch="#4896dc"] { background: #4896dc; }
.wk-map-swatch[data-swatch="#093acd"] { background: #093acd; } .wk-map-swatch[data-swatch="#5a96f0"] { background: #5a96f0; }
.wk-map-swatch[data-swatch="#faecaa"] { background: #faecaa; } .wk-map-swatch[data-swatch="#085c46"] { background: #085c46; }
.wk-map-swatch[data-swatch="#e2d6fc"] { background: #e2d6fc; } .wk-map-swatch[data-swatch="#5b2bd6"] { background: #5b2bd6; }
.wk-map-swatch[data-swatch="#d9480f"] { background: #d9480f; border-radius: 50%; } .wk-map-swatch[data-swatch="#b45309"] { background: #b45309; border-radius: 50%; }
.wk-map-swatch[data-swatch="#dc2626"] { background: #dc2626; border-radius: 50%; } .wk-map-swatch[data-swatch="#eab308"] { background: #eab308; border-radius: 50%; }
.wk-map-swatch[data-swatch="#fde0a4"] { background: #fde0a4; } .wk-map-swatch[data-swatch="#f4a261"] { background: #f4a261; } .wk-map-swatch[data-swatch="#dc5a3c"] { background: #dc5a3c; }
.wk-map-swatch[data-swatch="#ede9fe"] { background: #ede9fe; } .wk-map-swatch[data-swatch="#4c1d95"] { background: #4c1d95; }
.wk-map-swatch[data-swatch="#fde68a"] { background: #fde68a; } .wk-map-swatch[data-swatch="#6b21a8"] { background: #6b21a8; }
.wk-map-swatch[data-swatch="#c9b29b"] { background: #c9b29b; } .wk-map-swatch[data-swatch="#1f7a1f"] { background: #1f7a1f; }
.wk-map-swatch[data-swatch="#7f1d1d"] { background: #7f1d1d; } .wk-map-swatch[data-swatch="#ea580c"] { background: #ea580c; } .wk-map-swatch[data-swatch="#facc15"] { background: #facc15; } .wk-map-swatch[data-swatch="#fef9c3"] { background: #fef9c3; }
.wk-map-credit { position: absolute; right: 8px; bottom: 6px; margin: 0; color: rgba(255, 255, 255, .85); font-size: 10.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.wk-map-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wk-map-list button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; width: 100%; padding: 12px 14px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; }
.wk-map-list button:hover { border-color: #b9b9b9; }
.wk-map-list button[aria-pressed="true"] { border-color: #000; box-shadow: 0 0 0 1px #000; }
.wk-map-list strong { color: #000; font-size: 15px; font-weight: 500; }
.wk-map-list span { grid-column: 1 / -1; color: #62676c; font-size: 13.5px; line-height: 1.45; }
.wk-map-list em { grid-column: 2; grid-row: 1; color: #8a8a8a; font-size: 12px; font-style: normal; white-space: nowrap; }
.wk-map-more { margin: 24px 0 0; font-size: 14px; }
.wk-map-more a { color: #000; text-underline-offset: 4px; text-decoration-color: #c8c8c8; }

/* Three ways in: each card is one link */
.wk-ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wk-way { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px; border: 1px solid #dedede; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px #0f192408; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.wk-way:hover { border-color: #b9b9b9; box-shadow: 0 2px 4px #0f19240a, 0 18px 36px #0f192414; transform: translateY(-2px); }
.wk-way h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 23px; font-weight: 400; letter-spacing: -.035em; }
.wk-way-logos { display: inline-flex; gap: 6px; }
.wk-way-logos svg { width: 20px; height: 20px; fill: #000; }
.wk-way-logos svg:last-child { fill: #d97757; }
.wk-way-cover { color: #000; text-decoration: none; }
.wk-way-cover::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.wk-way > p { margin: 0; color: #62676c; font-size: 14.5px; line-height: 1.5; }
.wk-way-code, .wk-way-shot, .wk-way-chat { flex: 1; overflow: hidden; border: 1px solid #e6e6e6; border-radius: 4px; background: #fafaf9; }
.wk-way-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 8px 7px 12px; border-bottom: 1px solid #e9e9e9; color: #4a4846; font-size: 12px; font-weight: 500; }
.wk-way-code-bar.is-response { border-top: 1px solid #e9e9e9; }
.wk-way-code-bar em { color: #0a7a4f; font-style: normal; font-weight: 400; }
.wk-way-copy-btn { position: relative; z-index: 1; height: 26px; padding: 0 10px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #000; font: 500 12px/1 var(--wk-sans, Inter, sans-serif); cursor: pointer; }
.wk-way-copy-btn:hover { border-color: #9a9a9a; }
.wk-way-copy-btn.is-copied { border-color: var(--wk-cobalt, #093acd); color: var(--wk-cobalt, #093acd); }
.wk-way-code pre { position: relative; z-index: 1; margin: 0; padding: 12px; overflow-x: auto; background: #fff; color: #2b2b2b; font: 11.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; scrollbar-width: thin; }
.wk-way-code pre b { color: #000; font-weight: 600; }
.wk-way-code pre s { color: #0a7a4f; text-decoration: none; }
.wk-way-code pre u { color: var(--wk-cobalt, #093acd); text-decoration: none; }
.wk-way-code pre i { color: #b45309; font-style: normal; }
.wk-way-shot { background: #f4f3f0; }
.wk-way-shot img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: 30% top; }
.wk-way-chat { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #f7f7f5; font-size: 13.5px; line-height: 1.45; }
.wk-way-chat p { margin: 0; }
.wk-way-ask { align-self: flex-end; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 2px 12px; background: #000; color: #fff; }
.wk-way-tool { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: #e8eefc; color: var(--wk-cobalt, #093acd); font-size: 12px; font-weight: 500; }
.wk-way-answer { max-width: 92%; padding: 10px 12px; border-radius: 12px 12px 12px 2px; background: #fff; box-shadow: 0 0 0 1px #e6e6e6; color: #1f1f1f; }
.wk-way-mcp { align-self: flex-start; height: 30px; }
.wk-way-more { color: #000; font-size: 14px; font-weight: 500; }

/* Ask your AI */
.wk-ask-inner { display: grid; justify-items: center; text-align: center; }
.wk-ask p { max-width: 560px; margin: 14px 0 0; color: #62676c; font-size: 16px; line-height: 1.55; }
.wk-ask-rivals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.wk-ask-rivals button { height: 36px; padding: 0 16px; border: 1px solid #dcdcdc; border-radius: 999px; background: #fff; color: #4a4846; font: 500 14px/1 var(--wk-sans, Inter, sans-serif); cursor: pointer; }
.wk-ask-rivals button:hover { border-color: #9a9a9a; color: #000; }
.wk-ask-rivals button[aria-pressed="true"] { border-color: #000; background: #000; color: #fff; }
.wk-ask-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.wk-ask-btn svg { width: 18px; height: 18px; fill: currentColor; }
.wk-ask-btn[data-assistant="Claude"] svg { fill: #d97757; }
.wk-ask-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #000; font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.wk-ask-btn:hover { border-color: #000; box-shadow: 0 6px 18px #0f192414; }

/* The closing request */
.wk-fabric-lead { max-width: 560px; margin: 16px auto 0; color: #4a5566; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.wk-fabric-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

@media (max-width: 1099px) {
  .wk-uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-use, .wk-use:nth-child(n+4) { grid-column: span 1; min-height: 0; }
  .wk-use:nth-child(n+4) .wk-use-art { aspect-ratio: 5 / 3; }
  .wk-use:last-child { grid-column: 1 / -1; }
  .wk-ways-grid { grid-template-columns: minmax(0, 1fr); }
  .wk-depth-card { grid-template-columns: minmax(0, 1fr); }
  .wk-depth-photo { aspect-ratio: 4 / 3; }
  .wk-map-body { grid-template-columns: minmax(0, 1fr); }
  .wk-map-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .wk-uses-grid, .wk-map-list { grid-template-columns: minmax(0, 1fr); }
  .wk-use:last-child { grid-column: auto; }
  .wk-depth-body { padding: 18px; }
  .wk-depth-panel dl div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .wk-way { padding: 18px; }
  .wk-map-keys { position: static; }
  .wk-map-key { max-width: none; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-use, .wk-way, .wk-map-layer { transition: none; animation: none; }
}
