/* /approach: the AI Leverage Matrix. Built on site.css and solutions.css.
   Sections: hero with the two-question poster, the scroll tour, the director's craft on
   ink, the map of where our work sits (filters, zoom, detail panel, list), the task placer.
   Everything reads without JavaScript; approach.js adds the tour states, filters and placer. */

.ap-page main > section { position: relative; isolation: isolate; }
.ap-page .ap-hero::before, .ap-page .ap-hero::after { display: none; content: none; }

/* ───────────── Hero ───────────── */
.ap-hero { padding-bottom: 96px; }
.ap-hero h1 { width: auto; font-size: clamp(3.8rem, 6.2vw, 6.4rem); }
.ap-hero .hero-art { z-index: 2; }
.ap-hero .sub { max-width: 46ch; }
.ap-poster { --sym-a: var(--ink); --sym-b: var(--paper); position: relative; width: 100%; padding: clamp(36px, 4.5vw, 64px) clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); background: var(--red); color: var(--ink); transform: rotate(-2deg); }
.ap-poster-ray { position: absolute; width: clamp(120px, 14vw, 200px); top: -34px; right: -26px; transform: rotate(14deg); }
.ap-poster-label { font: 700 clamp(1.1rem, 1.5vw, 1.35rem)/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.ap-poster ol { list-style: none; margin: 26px 0 0; padding: 0; }
.ap-poster li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 18px; padding: 20px 0; border-top: 3px solid var(--ink); font: 700 clamp(2.2rem, 3.6vw, 3.6rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.ap-poster li:last-child { background: var(--ink); color: var(--paper); margin: 8px calc(clamp(28px, 4vw, 56px) * -1 - 18px) 0 calc(clamp(28px, 4vw, 56px) * -.4); padding: 22px clamp(28px, 4vw, 56px) 24px; border: 0; transform: rotate(3deg); }
.ap-poster-num { font-size: 1.6em; line-height: .7; color: var(--paper); }
.ap-poster li:last-child .ap-poster-num { color: var(--red); }

/* ───────────── The tour ───────────── */
.ap-tour { border-top: 1px solid var(--ink); }
.ap-tour-head h2 { max-width: 12ch; }
.ap-tour-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 5vw, 88px); margin-top: 60px; }
.ap-tour-fig { margin: 0; }
.ap-tour-sticky { position: sticky; top: 132px; }
.ap-tour-fig .lm { max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); }
.ap-steps { list-style: none; margin: 0; padding: 0; }
.ap-step { padding: 34px 0; border-top: 1px solid var(--ink); }
.ap-step:last-child { border-bottom: 1px solid var(--ink); }
.ap-step-label { color: var(--red); font: 700 1.15rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.ap-step h3 { margin-top: 12px; font-size: clamp(2.2rem, 3.2vw, 3.2rem); text-transform: uppercase; }
.ap-step h3 + p, .ap-step-role + p { margin-top: 16px; }
.ap-step-role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 14px; font: 700 1.45rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.ap-step-role span { padding: 5px 8px 4px; background: var(--ink); color: var(--paper); font-size: .78em; letter-spacing: .07em; }
.ap-step-facts { margin: 20px 0 0; display: grid; gap: 12px; }
.ap-step-facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.ap-step-facts dt { font: 700 1.05rem/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.ap-step-facts dd { margin: 0; color: var(--muted); }

/* Live tour (approach.js adds .is-live): each step becomes a scroll stop and the
   diagram adds one part per step. Without script, every part and step is shown. */
.ap-tour.is-live .ap-step { display: flex; flex-direction: column; justify-content: center; min-height: 72vh; min-height: 72svh; border: 0; opacity: .3; transition: opacity .45s ease; }
.ap-tour.is-live .ap-step:last-child { border: 0; }
.ap-tour.is-live .ap-step.is-active { opacity: 1; }
.ap-tour.is-live .ap-steps { padding-bottom: 14vh; }
.ap-tour.is-live .lm .lm-part { opacity: 0; transition: opacity .55s ease, transform .75s cubic-bezier(.16, 1, .3, 1); }
.ap-tour.is-live .lm .lm-q { transform: scale(.86); }
.ap-tour.is-live .lm .lm-line-x { transform: scaleX(0); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.ap-tour.is-live .lm .lm-line-y { transform: scaleY(0); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.ap-tour.is-live .lm .lm-arrow-body { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1); }
.ap-tour.is-live .lm .lm-part.is-on { opacity: 1; transform: none; }
.ap-tour.is-live .lm .is-on .lm-line-x, .ap-tour.is-live .lm .is-on .lm-line-y { transform: none; }
.ap-tour.is-live .lm .is-on .lm-arrow-body { clip-path: inset(-20% -5% -20% 0); }
.ap-tour.is-live .lm .lm-q.is-on.is-dim { opacity: .22; }
.ap-tour.is-live .lm .lm-axis.is-focus .lbl { fill: var(--red); }
.ap-tour.is-live .lm .lm-axis .lbl { transition: fill .3s; }

.ap-tour-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.ap-tour-nav[hidden] { display: none; }
.ap-tour-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ap-tour-dots button, .ap-tour-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 1.05rem/1 var(--display); cursor: pointer; transition: background .2s, color .2s; }
.ap-tour-dots button:hover, .ap-tour-arrow:hover { background: var(--ink); color: var(--paper); }
.ap-tour-dots button[aria-current="step"] { background: var(--red); border-color: var(--red); color: var(--ink); }
.ap-tour-arrow { border-color: transparent; font-size: 1.3rem; }
.ap-tour-arrow:disabled { opacity: .25; cursor: default; background: transparent; color: var(--ink); }

/* ───────────── The director's craft (ink) ───────────── */
.ap-craft { z-index: 2; background: var(--ink); color: var(--paper); --sym-a: var(--red); --sym-b: var(--paper); }
.ap-craft::before { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; top: -70px; height: 150px; background: var(--ink); transform: rotate(-2.5deg); }
.ap-craft h2 { max-width: 11ch; font-size: clamp(3.6rem, 7vw, 7rem); }
.ap-craft .lede { max-width: 56ch; color: oklch(84% .015 85); }
.ap-skills { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.ap-skills li { position: relative; }
.ap-skills li:nth-child(2) { margin-top: 40px; }
.ap-skills li:nth-child(3) { margin-top: 80px; }
.ap-skill-num { display: block; color: var(--red); font: 600 clamp(4.6rem, 8vw, 7rem)/.85 var(--display); }
.ap-skills h3 { margin-top: 18px; font-size: clamp(2rem, 2.8vw, 2.7rem); text-transform: uppercase; }
.ap-skills p:last-child { margin-top: 14px; color: oklch(84% .015 85); }
/* The quote is a red card that straddles the bottom edge of the ink section: the section's
   bottom padding is cancelled and the card drops half its own height into the map section,
   which leaves room for it (.ap-map-band padding-top). The section sits above the next one (z-index). */
.ap-quote { position: relative; width: min(100%, 40rem); margin: 56px 4% calc(-1 * clamp(80px, 8.5vw, 128px)) auto; padding: clamp(28px, 3vw, 44px) clamp(26px, 3vw, 46px) clamp(26px, 2.8vw, 40px); background: var(--red); color: var(--ink); transform: translateY(50%) rotate(-2.5deg); box-shadow: 10px 14px 0 rgb(0 0 0 / .18); }
.ap-quote p { max-width: none; font: 700 clamp(2rem, 3.2vw, 3.1rem)/1.02 var(--display); letter-spacing: -.015em; }
.ap-quote .ap-quote-by { margin-top: 18px; font: 600 1rem/1.3 var(--font); letter-spacing: 0; }

/* ───────────── Where our work sits ───────────── */
.ap-map-band { --paper-2: oklch(90.5% .023 85); padding-top: calc(clamp(80px, 8.5vw, 128px) + 120px) !important; }
/* Section headings on red plates, as on the home page: pinned at one side and running off the other. */
.ap-map-head h2, .ap-placer h2 { position: relative; isolation: isolate; width: fit-content; font-size: clamp(3.5rem, 7vw, 7rem); }
.ap-map-head h2 { max-width: 12ch; }
.ap-map-head h2::before { content: ""; position: absolute; z-index: -1; top: 0; left: -.12em; width: 200vw; height: 100%; background: var(--red); }
.ap-placer h2::before { content: ""; position: absolute; z-index: -1; top: 0; right: -.12em; width: 200vw; height: 100%; background: var(--red); }
.lmap-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 46px; }
.lmap-bar[hidden] { display: none; }
.lmap-filters { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lmap-select { flex: 1 1 9rem; max-width: 13rem; }
.lmap-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 .95rem/1 var(--font); cursor: pointer; transition: background .2s, color .2s; }
.lmap-chip:hover { background: oklch(18.6% .008 62 / .08); }
.lmap-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lmap-select span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lmap-select select { width: 100%; min-height: 42px; padding: 8px 34px 8px 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23161210'/%3E%3C/svg%3E") no-repeat right 12px center / 10px; color: var(--ink); font: 600 .95rem/1.2 var(--font); appearance: none; cursor: pointer; }
.lmap-select select.is-set { background-color: var(--ink); color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23f2ece1'/%3E%3C/svg%3E"); }
.lmap-select select:disabled { opacity: .35; cursor: default; }
.lmap-filter-meta { display: inline-flex; align-items: center; gap: 10px; }
.lmap-reset { padding: 8px 4px; border: 0; background: none; color: var(--ink); font: 600 .95rem/1 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lmap-reset:hover { color: oklch(49% .18 31); }
.lmap-status { margin: 0; color: var(--muted); font: 600 .95rem/1 var(--font); white-space: nowrap; }

.lmap-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 40px; }
.lmap { --z: 1; position: relative; padding: 38px 40px; }
.lmap[data-zoom]:not([data-zoom=""]) { --z: 2; }
.lmap-ax { position: absolute; margin: 0; font: 700 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lmap-ax--top { top: 8px; left: 50%; transform: translateX(-50%); }
.lmap-ax--bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
.lmap-ax--left { left: 6px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.lmap-ax--right { right: 6px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); }
.lmap-frame { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.lmap-plane { position: absolute; inset: 0; transition: transform .75s cubic-bezier(.65, 0, .35, 1); }
.lmap[data-zoom="av"] .lmap-plane { transform-origin: 0 0; transform: scale(2); }
.lmap[data-zoom="pd"] .lmap-plane { transform-origin: 100% 0; transform: scale(2); }
.lmap[data-zoom="at"] .lmap-plane { transform-origin: 0 100%; transform: scale(2); }
.lmap[data-zoom="ei"] .lmap-plane { transform-origin: 100% 100%; transform: scale(2); }
.lmap-q { position: absolute; width: 49%; height: 49%; padding: 0; border: 0; cursor: zoom-in; transition: filter .2s, opacity .4s; }
.lmap-q--av { left: 0; top: 0; background: var(--ink); color: var(--paper); }
.lmap-q--pd { right: 0; top: 0; background: var(--red); color: var(--ink); }
.lmap-q--at { left: 0; bottom: 0; background: var(--paper-2); color: var(--ink); }
.lmap-q--ei { right: 0; bottom: 0; background: var(--ink); color: var(--paper); }
.lmap-q:hover { filter: brightness(1.08); }
.lmap-q--at:hover { filter: brightness(.97); }
.lmap-q:focus-visible { outline: 4px solid var(--red); outline-offset: -4px; }
.lmap-q--pd:focus-visible { outline-color: var(--ink); }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-q { cursor: zoom-out; }
.lmap-q-name { position: absolute; max-width: 80%; font: 800 clamp(1.05rem, 2vw, 1.9rem)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; transition: transform .75s cubic-bezier(.65, 0, .35, 1); }
.lmap-q--av .lmap-q-name { left: 6%; top: 5%; text-align: left; transform-origin: 0 0; }
.lmap-q--pd .lmap-q-name { right: 6%; top: 5%; text-align: right; transform-origin: 100% 0; }
.lmap-q--at .lmap-q-name { left: 6%; bottom: 5%; text-align: left; transform-origin: 0 100%; }
.lmap-q--ei .lmap-q-name { right: 6%; bottom: 5%; text-align: right; transform-origin: 100% 100%; }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-q-name { transform: scale(.6); }
.lmap-axis { position: absolute; background: var(--ink); pointer-events: none; }
.lmap-axis--x { left: 0; right: 0; top: calc(50% - 2px); height: 4px; }
.lmap-axis--y { top: 0; bottom: 0; left: calc(50% - 2px); width: 4px; }

.lmap-dot { --s: 1; position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc((100 - var(--y)) * 1%); display: block; width: 34px; height: 34px; color: var(--ink); text-decoration: none; transform: translate(-50%, -50%) scale(calc(var(--s) / var(--z))); transition: transform .75s cubic-bezier(.65, 0, .35, 1), opacity .35s ease; }
.lmap-mark { display: grid; place-items: center; width: 100%; height: 100%; border: 2px solid var(--ink); background: var(--paper); box-shadow: 0 0 0 2px var(--paper); transition: background .2s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.lmap-glyph { display: block; width: 66%; height: 66%; fill: var(--ink); }
.lmap-dot--service .lmap-mark { border-radius: 50%; background: var(--ink); }
.lmap-dot--service .lmap-glyph { width: 56%; height: 56%; color: var(--red); fill: var(--red); }
.lmap-label { position: absolute; left: calc(100% + 8px); top: 50%; z-index: 1; width: max-content; max-width: 11em; padding: 5px 8px 4px; background: var(--ink); color: var(--paper); font: 700 .9rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .2s; }
.lmap-dot.is-flip .lmap-label { left: auto; right: calc(100% + 8px); text-align: right; }
/* Zoomed in, a label flips by where its mark sits inside the quadrant, not the whole grid. */
.lmap[data-zoom]:not([data-zoom=""]) .lmap-dot.is-flip .lmap-label { left: calc(100% + 8px); right: auto; text-align: left; }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-dot.is-flip-zoom .lmap-label { left: auto; right: calc(100% + 8px); text-align: right; }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-ax { opacity: 0; }
.lmap-ax { transition: opacity .3s; }
.lmap-dot:hover, .lmap-dot:focus-visible, .lmap-dot.is-selected { z-index: 4; }
.lmap-dot:hover .lmap-label, .lmap-dot:focus-visible .lmap-label, .lmap-dot.is-selected .lmap-label { opacity: 1; }
.lmap-dot:hover .lmap-mark, .lmap-dot:focus-visible .lmap-mark { transform: scale(1.18); }
.lmap-dot:focus-visible { outline: none; }
.lmap-dot:focus-visible .lmap-mark { box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--red); }
.lmap-dot.is-selected .lmap-mark { transform: scale(1.25); background: var(--red); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink); }
.lmap-dot--service.is-selected .lmap-mark { background: var(--red); }
.lmap-dot--service.is-selected .lmap-glyph { fill: var(--ink); }
.lmap-q--pd ~ .lmap-dot.is-selected[data-q="pd"] .lmap-mark { background: var(--paper); }
/* Zoomed in: the quadrant's marks spread out and name themselves; the rest step back. */
.lmap[data-zoom]:not([data-zoom=""]) .lmap-dot.is-here .lmap-label { opacity: 1; }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-dot.is-here:not(.is-selected):not(:hover):not(:focus-visible) .lmap-label { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); z-index: 0; }
.lmap[data-zoom]:not([data-zoom=""]) .lmap-dot:not(.is-here) { opacity: 0; pointer-events: none; }
.lmap-dot.is-out { opacity: .14; pointer-events: none; }
.lmap-dot.is-out .lmap-mark { box-shadow: none; }

.lmap-zoombar { position: absolute; z-index: 5; left: 40px; right: 40px; top: 1px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.lmap-zoombar[hidden] { display: none; }
.lmap-back { pointer-events: auto; margin: 0; padding: 8px 12px 7px; border: 0; background: var(--paper); color: var(--ink); font: 700 1rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 0 1px var(--ink); }
.lmap-back:hover { background: var(--ink); color: var(--paper); }
.lmap-zoom-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.lmap-panel { position: sticky; top: 132px; padding: 28px 0 0; }
.lmap-panel[hidden] { display: none; }
.lmap-panel-kicker { color: var(--red); font: 700 1.15rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.lmap-panel-empty > p + p { margin-top: 12px; color: var(--muted); }
.lmap-key { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; font-size: .95rem; }
.lmap-key li { display: flex; align-items: center; gap: 12px; }
.lmap-panel-item h3 { margin-top: 10px; font-size: clamp(2.2rem, 3vw, 3rem); text-transform: uppercase; }
.lmap-panel-kind { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lmap-tag { padding: 5px 8px 4px; font: 700 .9rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink); }
.lmap-tag--q { border-color: transparent; }
.lmap-tag--av, .lmap-tag--ei { background: var(--ink); color: var(--paper); }
.lmap-tag--pd { background: var(--red); color: var(--ink); }
.lmap-tag--at { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.lmap-panel-one { margin-top: 16px; font-size: 1.1rem; font-weight: 500; }
.lmap-panel-why { margin: 18px 0 0; display: grid; gap: 14px; }
.lmap-panel-why div + div { margin-top: 4px; }
.lmap-panel-why dt { font: 700 1rem/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.lmap-panel-why dd { margin: 6px 0 0; color: var(--muted); }
.lmap-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.lmap-panel-actions .btn { padding: 15px 18px; font-size: .98rem; }
.lmap-step { display: inline-flex; gap: 4px; margin-left: auto; }
.lmap-step button { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.lmap-step button:hover { background: var(--ink); color: var(--paper); }

/* View switch and list. Without script both views show; with it, one at a time. */
.lmap-views { display: inline-flex; }
.lmap-views .lmap-chip + .lmap-chip { margin-left: -1px; }
.ap-map-band.is-list .lmap-layout { display: none; }
.ap-map-band.is-map .lmap-list { display: none; }
.lmap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); margin-top: 60px; }
.ap-map-band.is-list .lmap-list { margin-top: 30px; }
.lmap-group { padding: 30px 0 10px; }
.lmap-group[hidden] { display: none; }
.lmap-group-head { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; }
.lmap-group h3 { font-size: clamp(2rem, 2.8vw, 2.7rem); text-transform: uppercase; }
.lmap-group-role { grid-column: 1 / -1; color: var(--muted); font-size: 1.02rem; }
.lmap-group-count { grid-row: 1; grid-column: 2; color: var(--red); font: 700 1.6rem/1 var(--display); }
.lmap-group ul { list-style: none; margin: 18px 0 0; padding: 0; }
.lmap-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 14px 0; scroll-margin-top: 140px; }
.lmap-item[hidden] { display: none; }
.lmap-item-mark { display: block; width: 30px; height: 30px; margin-top: 2px; }
.lmap-item h4 { font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.lmap-item h4 a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lmap-item h4 a:hover { color: oklch(49% .18 31); }
.lmap-item-kind { margin-top: 6px; color: var(--red); font: 700 .9rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.lmap-item p:last-child { margin-top: 8px; font-size: 1.02rem; color: var(--muted); }
.lmap-item:target, .lmap-item.is-flash { background: linear-gradient(90deg, oklch(62% .219 31 / .12), transparent 70%); }
.lmap-empty { padding: 18px 0; color: var(--muted); }

/* ───────────── Place one of your tasks ───────────── */
.ap-placer { background: var(--paper-2); }
.ap-placer::before { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; top: -60px; height: 130px; background: var(--paper-2); transform: rotate(2deg); }
.ap-placer[hidden] { display: none; }
.ap-placer h2 { max-width: 14ch; }
.pl-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; margin-top: 56px; }
.pl-form { display: grid; gap: 26px; }
.pl-task { display: grid; gap: 10px; }
.pl-task span, .pl-q legend { font: 700 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.pl-task input { min-height: 54px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 500 1.1rem/1.3 var(--font); }
.pl-task input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.pl-q { margin: 0; padding: 0; border: 0; }
.pl-q legend { display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 12px; }
.pl-num { color: var(--red); font-size: 1.8rem; line-height: .8; }
.pl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-opt { position: relative; cursor: pointer; }
.pl-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pl-opt span { display: block; padding: 11px 14px; border: 1px solid var(--ink); background: var(--paper); font-size: 1rem; font-weight: 500; line-height: 1.25; transition: background .2s, color .2s; }
.pl-opt:hover span { background: oklch(18.6% .008 62 / .08); }
.pl-opt input:checked + span { background: var(--ink); color: var(--paper); }
.pl-opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.pl-reset { justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--ink); font: 600 1rem/1 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pl-result { position: sticky; top: 132px; }
.pl-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: 1; max-width: 520px; }
.pl-cell { display: flex; padding: 14px; font: 800 clamp(1rem, 1.7vw, 1.5rem)/.95 var(--display); text-transform: uppercase; transition: opacity .4s ease; }
.pl-cell--av { background: var(--ink); color: var(--paper); }
.pl-cell--pd { background: var(--red); color: var(--ink); justify-content: flex-end; text-align: right; }
.pl-cell--at { background: var(--paper); color: var(--ink); align-items: flex-end; box-shadow: inset 0 0 0 1px var(--ink); }
.pl-cell--ei { background: var(--ink); color: var(--paper); align-items: flex-end; justify-content: flex-end; text-align: right; }
.pl-grid.is-placed .pl-cell:not(.is-here) { opacity: .3; }
.pl-dot { position: absolute; left: calc(var(--x, 50) * 1%); top: calc((100 - var(--y, 50)) * 1%); width: 30px; height: 30px; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--paper); transform: translate(-50%, -50%) scale(0); transition: left .7s cubic-bezier(.65, 0, .35, 1), top .7s cubic-bezier(.65, 0, .35, 1), transform .4s cubic-bezier(.16, 1, .3, 1); }
.pl-grid.is-placed .pl-dot { transform: translate(-50%, -50%) scale(1); }
.pl-cell--pd.is-here ~ .pl-dot { background: var(--paper); }
.pl-dot-label { position: absolute; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 14em; padding: 5px 8px 4px; background: var(--ink); color: var(--paper); font: 700 .9rem/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-align: center; transform: translateX(-50%); }
.pl-dot-label:empty { display: none; }
.pl-read { margin-top: 28px; max-width: 520px; }
.pl-wait { color: var(--muted); font-size: 1.1rem; }
.pl-kicker { color: var(--red); font: 700 1.05rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.pl-name { margin-top: 10px; font-size: clamp(2.4rem, 3.6vw, 3.4rem); text-transform: uppercase; }
.pl-line { margin-top: 12px; font-size: 1.15rem; font-weight: 500; }
.pl-note { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--red); background: var(--paper); font-size: 1rem; }
.pl-facts { margin: 18px 0 0; display: grid; gap: 12px; }
.pl-facts div { padding-top: 12px; border-top: 1px solid oklch(18.6% .008 62 / .25); }
.pl-facts dt { font: 700 1rem/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.pl-facts dd { margin: 6px 0 0; color: var(--muted); }
.pl-near { margin-top: 22px; }
.pl-near-title { font: 700 1rem/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.pl-near ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-near a { display: inline-block; padding: 9px 12px; border: 1px solid var(--ink); background: var(--paper); font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.pl-near a:hover { background: var(--ink); color: var(--paper); }

.ap-page .faq h2 { max-width: 11ch; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1050px) {
  .lmap-layout { grid-template-columns: 1fr; }
  .lmap-panel { position: static; }
  .ap-skills { grid-template-columns: 1fr; gap: 34px; }
  .ap-skills li:nth-child(n) { margin-top: 0; }
  .ap-skills li { display: grid; grid-template-columns: clamp(90px, 14vw, 140px) 1fr; gap: 0 24px; }
  .ap-skill-num { grid-row: span 2; }
  .ap-skills h3 { margin-top: 0; }
}
@media (max-width: 760px) {
  .ap-hero { padding-bottom: 60px; }
  .ap-hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .ap-hero .hero-art { margin-top: 40px; }
  .ap-poster { width: auto; margin-right: 10px; }
  .ap-poster-ray { width: 90px; top: -30px; right: -14px; }
  .ap-poster li:last-child { margin-right: calc(clamp(28px, 4vw, 56px) * -1 - 6px); }
  .ap-tour-body { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  /* One column: the figure steps aside so its diagram pins against the whole tour, not just itself. */
  .ap-tour-fig { display: contents; }
  .ap-tour-sticky { align-self: start; }
  .ap-tour-sticky { top: 88px; z-index: 3; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 8px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .ap-tour-fig .lm { max-height: 38vh; max-height: 38svh; margin-inline: auto; width: auto; max-width: 100%; }
  .ap-tour-fig .lm .lm-ex { display: none; }
  .ap-tour-nav { margin-top: 8px; gap: 4px; }
  .ap-tour-dots button, .ap-tour-arrow { width: 32px; height: 32px; font-size: .95rem; }
  .ap-tour.is-live .ap-step { min-height: 54vh; min-height: 54svh; }
  .ap-step-facts div { grid-template-columns: 1fr; gap: 4px; }
  .ap-quote { margin-top: 60px; }
  .lmap-bar { gap: 12px; }
  .lmap-filters { flex-basis: 100%; }
  .lmap-select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .ap-map-head h2, .ap-placer h2 { font-size: clamp(3rem, 11vw, 4.6rem); }
  .ap-map-band { padding-top: calc(80px + 210px) !important; }
  .ap-quote { margin-right: 0; transform: translateY(50%) rotate(-2deg); }
  .lmap { padding: 30px 26px; margin-inline: calc(var(--gutter) * -.6); }
  .lmap-ax { font-size: .82rem; }
  .lmap-ax--top { top: 6px; }
  .lmap-ax--bottom { bottom: 6px; }
  .lmap-ax--left { left: 4px; }
  .lmap-ax--right { right: 4px; }
  .lmap-dot { width: 24px; height: 24px; }
  .lmap-mark { border-width: 1.5px; }
  .lmap-zoombar { left: 26px; right: 26px; top: 0; }
  .lmap-back { font-size: .85rem; padding: 6px 10px 5px; }
  .lmap-q-name { font-size: clamp(.8rem, 3.6vw, 1.1rem); }
  .lmap-label { font-size: .8rem; max-width: 9em; }
  .lmap-list { grid-template-columns: 1fr; }
  .pl-layout { grid-template-columns: 1fr; }
  .pl-result { position: static; order: -1; }
  .pl-grid { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-tour .lm *, .ap-tour .ap-step, .lmap-plane, .lmap-dot, .lmap-q-name, .lmap-mark, .pl-dot, .pl-cell { transition: none !important; }
}
@media print {
  .lmap-bar, .lmap-layout, .ap-placer, .ap-tour-nav { display: none !important; }
  .ap-tour.is-live .lm .lm-part { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
