/* Home page chart. Liquid writes the repetitive pointer and point rules from
   _data/chart.yml; the page itself has no JavaScript. */
@property --mx { syntax: "<number>"; inherits: true; initial-value: 50; }
@property --my { syntax: "<number>"; inherits: true; initial-value: 50; }


.atlas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.atlas-intro h1 { font-size: clamp(3.25rem, 7.4vw, 6.75rem); letter-spacing: -0.055em; line-height: 0.98; }
.atlas-intro p:last-child { max-width: 36ch; margin: 0; color: var(--muted); }
.atlas-lede { margin: 0 0 0.5rem; color: var(--text); font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; }

/* Entries read as the chart's key: flat rows, each tied to a grid reference. */
.atlas-section { position: relative; padding-block: 1.75rem 2rem; border-top: 1px solid var(--divider); scroll-margin-top: 1.5rem; }
.atlas-section h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.atlas-section p { max-width: 62ch; margin-block: 0 1rem; color: var(--muted); }
.atlas-section .status { margin-bottom: 0.5rem; color: var(--accent); }
.atlas-section > .atlas-corner { position: absolute; top: 2.1rem; right: 0; margin: 0; line-height: 1.5; }
.atlas-policy { padding: 0.875rem 0 0.875rem 1rem; border-left: 2px solid var(--accent); }
.atlas-policy { line-height: 1.6; }
.atlas-policy code { color: var(--text); font-family: var(--font-mono); font-size: 0.8125rem; overflow-wrap: anywhere; }
.atlas-links { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.atlas-links li { border-top: 1px solid var(--divider); }
.atlas-links a { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; min-height: 2.75rem; padding-block: 0.5rem; color: var(--text); font-weight: 600; transition: color var(--interaction-duration) ease; }
.atlas-links a:hover, .atlas-links a:focus-visible { color: var(--accent); }
.atlas-links a:active { color: var(--muted); }
.atlas-link-note { margin-left: auto; color: var(--muted); font-size: 0.875rem; font-weight: 400; }

/* The sheet: grid rails, a plot in the 600 x 400 chart space and a readout. */
.chart { min-width: 0; }
.chart-sheet { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); grid-template-rows: 1.5rem auto; }
.chart-rail { display: grid; color: var(--muted); font-family: var(--font-mono); font-size: 0.6875rem; text-align: center; }
.chart-rail--x { grid-column: 2; grid-template-columns: repeat(12, 1fr); align-items: center; }
.chart-rail--y { grid-row: 2; grid-template-rows: repeat(8, 1fr); align-items: center; }
.chart-plot { position: relative; grid-column: 2; grid-row: 2; aspect-ratio: 3 / 2; margin: 0; background: var(--surface); border: 1px solid var(--divider); border-radius: 0.25rem; }
.chart-plot svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; }
.chart-marks { fill: url(#chart-marks); }
#chart-marks path { fill: none; stroke: var(--border); stroke-width: 1; opacity: 0.55; }
.chart-trace { display: none; fill: none; stroke: var(--accent); stroke-width: 1.25; }

/* Everything that follows the pointer shares --mx and --my, as percentages. */
.chart-overlay { --on: 0; position: absolute; inset: 0; pointer-events: none; transition: --mx 0s 1000000s, --my 0s 1000000s; }
.chart-torch { opacity: var(--on); -webkit-mask-image: radial-gradient(circle 9rem at calc(var(--mx) * 1%) calc(var(--my) * 1%), #000 25%, transparent 100%); mask-image: radial-gradient(circle 9rem at calc(var(--mx) * 1%) calc(var(--my) * 1%), #000 25%, transparent 100%); transition: opacity var(--interaction-duration) ease; }
.chart-fine { fill: none; stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.5; }
/* Selectors cannot reach into <use> copies of the mark, but custom properties can. */
.chart-torch { --mark-a: var(--surface-raised); --mark-d: var(--surface-raised); --mark-a-line: var(--text); --mark-d-line: var(--accent); }
.chart-torch text { fill: var(--accent); font-family: var(--font-mono); font-size: 11px; font-style: italic; }
.chart-reveal { --mark-a: var(--text); --mark-d: url(#chart-d); opacity: 0; transition: opacity 240ms ease; }
.chart-line { position: absolute; display: block; background: var(--accent); opacity: calc(var(--on) * 0.55); transition: opacity var(--interaction-duration) ease; }
.chart-line--x { top: calc(var(--my) * 1%); left: -1.5rem; right: 0; height: 1px; }
.chart-line--y { top: -1.5rem; bottom: 0; left: calc(var(--mx) * 1%); width: 1px; }
.chart-ping { position: absolute; top: calc(var(--my) * 1%); left: calc(var(--mx) * 1%); width: 1rem; height: 1rem; margin: -0.5rem; border: 1px solid var(--accent); border-radius: 50%; opacity: 0; }
@keyframes chart-ping {
  from { width: 1rem; height: 1rem; margin: -0.5rem; opacity: 0.9; }
  to { width: 28rem; height: 28rem; margin: -14rem; opacity: 0; }
}

.chart-sensors { position: absolute; inset: 0; display: none; grid-template-columns: repeat(24, 1fr); grid-template-rows: repeat(16, 1fr); cursor: crosshair; }
@media (hover: hover) and (pointer: fine) {
  .chart-sensors { display: grid; }
}

.point { position: absolute; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -1.375rem; color: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; }
.point::before { content: ""; width: 0.6875rem; height: 0.6875rem; background: var(--background); border: 2px solid var(--muted); border-radius: 50%; transition: background-color var(--interaction-duration) ease, border-color var(--interaction-duration) ease; }
.point::after { content: ""; position: absolute; inset: 0.3125rem; border: 1px solid var(--accent); border-radius: 50%; opacity: 0; transition: opacity var(--interaction-duration) ease, inset var(--interaction-duration) ease; }
.point span { position: absolute; padding: 0.0625rem 0.3125rem; color: inherit; background: var(--surface); border-radius: 0.1875rem; line-height: 1.4; white-space: nowrap; transition: color var(--interaction-duration) ease; }
.point--above span { bottom: calc(100% - 0.5rem); }
.point--below span { top: calc(100% - 0.5rem); }
.point--left span { right: calc(100% - 0.5rem); }
.point--right span { left: calc(100% - 0.5rem); }
/* Points are hollow until selected. The lab's dashed ring only says it is planned. */
.point--lab::after { inset: 0.25rem; border-style: dashed; border-color: var(--muted); opacity: 1; }
.chart-note { position: absolute; left: 0.75rem; top: 0.5rem; margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.5; pointer-events: none; }
.chart-note span { display: block; }

.chart-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; min-height: 2.75rem; margin-left: 1.5rem; padding-top: 0.25rem; font-family: var(--font-mono); font-size: 0.8125rem; }
.chart-readout { display: flex; align-items: baseline; gap: 0.875rem; min-width: 0; margin: 0; color: var(--muted); line-height: 1.5; }
.chart-pos { flex: none; min-width: 1.75rem; color: var(--accent); }
.chart-pos::before { content: "--"; }
.chart-target::before { content: "Tap a point to open it"; }
@media (hover: hover) and (pointer: fine) {
  .chart-target::before { content: "Move across the chart. Press and hold."; }
}
.chart-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; color: var(--muted); cursor: pointer; transition: color var(--interaction-duration) ease; }
.chart-toggle input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
.chart-toggle input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chart-toggle:hover, .chart-toggle:has(:focus-visible), .chart-toggle:has(:checked) { color: var(--text); }

/* Pointer tracking. Latching above keeps the crosshair where it left off. */
.atlas:has(.chart-sensors i:hover, .point:hover) .chart-overlay { --on: 1; transition: --mx 110ms linear, --my 110ms linear; }
.atlas:has(.chart-sensors i:hover) .chart-pos::before { counter-reset: gx var(--gx) gy var(--gy); content: counter(gx, upper-alpha) counter(gy); }
.atlas:has(.chart-sensors i:hover) .chart-target::before { content: "Open water"; }
.atlas:has(.chart-sensors i:nth-child(24n+1):hover) :is(.chart-overlay, .chart-pos) { --mx: 2.08; --gx: 1; }
.atlas:has(.chart-sensors i:nth-child(24n+2):hover) :is(.chart-overlay, .chart-pos) { --mx: 6.25; --gx: 1; }
.atlas:has(.chart-sensors i:nth-child(24n+3):hover) :is(.chart-overlay, .chart-pos) { --mx: 10.42; --gx: 2; }
.atlas:has(.chart-sensors i:nth-child(24n+4):hover) :is(.chart-overlay, .chart-pos) { --mx: 14.58; --gx: 2; }
.atlas:has(.chart-sensors i:nth-child(24n+5):hover) :is(.chart-overlay, .chart-pos) { --mx: 18.75; --gx: 3; }
.atlas:has(.chart-sensors i:nth-child(24n+6):hover) :is(.chart-overlay, .chart-pos) { --mx: 22.92; --gx: 3; }
.atlas:has(.chart-sensors i:nth-child(24n+7):hover) :is(.chart-overlay, .chart-pos) { --mx: 27.08; --gx: 4; }
.atlas:has(.chart-sensors i:nth-child(24n+8):hover) :is(.chart-overlay, .chart-pos) { --mx: 31.25; --gx: 4; }
.atlas:has(.chart-sensors i:nth-child(24n+9):hover) :is(.chart-overlay, .chart-pos) { --mx: 35.42; --gx: 5; }
.atlas:has(.chart-sensors i:nth-child(24n+10):hover) :is(.chart-overlay, .chart-pos) { --mx: 39.58; --gx: 5; }
.atlas:has(.chart-sensors i:nth-child(24n+11):hover) :is(.chart-overlay, .chart-pos) { --mx: 43.75; --gx: 6; }
.atlas:has(.chart-sensors i:nth-child(24n+12):hover) :is(.chart-overlay, .chart-pos) { --mx: 47.92; --gx: 6; }
.atlas:has(.chart-sensors i:nth-child(24n+13):hover) :is(.chart-overlay, .chart-pos) { --mx: 52.08; --gx: 7; }
.atlas:has(.chart-sensors i:nth-child(24n+14):hover) :is(.chart-overlay, .chart-pos) { --mx: 56.25; --gx: 7; }
.atlas:has(.chart-sensors i:nth-child(24n+15):hover) :is(.chart-overlay, .chart-pos) { --mx: 60.42; --gx: 8; }
.atlas:has(.chart-sensors i:nth-child(24n+16):hover) :is(.chart-overlay, .chart-pos) { --mx: 64.58; --gx: 8; }
.atlas:has(.chart-sensors i:nth-child(24n+17):hover) :is(.chart-overlay, .chart-pos) { --mx: 68.75; --gx: 9; }
.atlas:has(.chart-sensors i:nth-child(24n+18):hover) :is(.chart-overlay, .chart-pos) { --mx: 72.92; --gx: 9; }
.atlas:has(.chart-sensors i:nth-child(24n+19):hover) :is(.chart-overlay, .chart-pos) { --mx: 77.08; --gx: 10; }
.atlas:has(.chart-sensors i:nth-child(24n+20):hover) :is(.chart-overlay, .chart-pos) { --mx: 81.25; --gx: 10; }
.atlas:has(.chart-sensors i:nth-child(24n+21):hover) :is(.chart-overlay, .chart-pos) { --mx: 85.42; --gx: 11; }
.atlas:has(.chart-sensors i:nth-child(24n+22):hover) :is(.chart-overlay, .chart-pos) { --mx: 89.58; --gx: 11; }
.atlas:has(.chart-sensors i:nth-child(24n+23):hover) :is(.chart-overlay, .chart-pos) { --mx: 93.75; --gx: 12; }
.atlas:has(.chart-sensors i:nth-child(24n+24):hover) :is(.chart-overlay, .chart-pos) { --mx: 97.92; --gx: 12; }
.atlas:has(.chart-sensors i:nth-child(n+1):nth-child(-n+24):hover) :is(.chart-overlay, .chart-pos) { --my: 3.13; --gy: 1; }
.atlas:has(.chart-sensors i:nth-child(n+25):nth-child(-n+48):hover) :is(.chart-overlay, .chart-pos) { --my: 9.38; --gy: 1; }
.atlas:has(.chart-sensors i:nth-child(n+49):nth-child(-n+72):hover) :is(.chart-overlay, .chart-pos) { --my: 15.63; --gy: 2; }
.atlas:has(.chart-sensors i:nth-child(n+73):nth-child(-n+96):hover) :is(.chart-overlay, .chart-pos) { --my: 21.88; --gy: 2; }
.atlas:has(.chart-sensors i:nth-child(n+97):nth-child(-n+120):hover) :is(.chart-overlay, .chart-pos) { --my: 28.13; --gy: 3; }
.atlas:has(.chart-sensors i:nth-child(n+121):nth-child(-n+144):hover) :is(.chart-overlay, .chart-pos) { --my: 34.38; --gy: 3; }
.atlas:has(.chart-sensors i:nth-child(n+145):nth-child(-n+168):hover) :is(.chart-overlay, .chart-pos) { --my: 40.63; --gy: 4; }
.atlas:has(.chart-sensors i:nth-child(n+169):nth-child(-n+192):hover) :is(.chart-overlay, .chart-pos) { --my: 46.88; --gy: 4; }
.atlas:has(.chart-sensors i:nth-child(n+193):nth-child(-n+216):hover) :is(.chart-overlay, .chart-pos) { --my: 53.13; --gy: 5; }
.atlas:has(.chart-sensors i:nth-child(n+217):nth-child(-n+240):hover) :is(.chart-overlay, .chart-pos) { --my: 59.38; --gy: 5; }
.atlas:has(.chart-sensors i:nth-child(n+241):nth-child(-n+264):hover) :is(.chart-overlay, .chart-pos) { --my: 65.63; --gy: 6; }
.atlas:has(.chart-sensors i:nth-child(n+265):nth-child(-n+288):hover) :is(.chart-overlay, .chart-pos) { --my: 71.88; --gy: 6; }
.atlas:has(.chart-sensors i:nth-child(n+289):nth-child(-n+312):hover) :is(.chart-overlay, .chart-pos) { --my: 78.13; --gy: 7; }
.atlas:has(.chart-sensors i:nth-child(n+313):nth-child(-n+336):hover) :is(.chart-overlay, .chart-pos) { --my: 84.38; --gy: 7; }
.atlas:has(.chart-sensors i:nth-child(n+337):nth-child(-n+360):hover) :is(.chart-overlay, .chart-pos) { --my: 90.63; --gy: 8; }
.atlas:has(.chart-sensors i:nth-child(n+361):nth-child(-n+384):hover) :is(.chart-overlay, .chart-pos) { --my: 96.88; --gy: 8; }


/* Each point locks the crosshair and lights its routes, from the chart or its entry. */
.point--lab { left: 36.33%; top: 18.75%; }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .chart-overlay { --on: 1; --mx: 36.33; --my: 18.75; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .chart-pos::before { content: "E2"; }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .chart-target::before { content: "Cybersecurity lab / In planning"; color: var(--text); }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .point--lab { color: var(--accent); }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .point--lab::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .point--lab::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--lab:hover, #lab:hover, #lab:focus-within, #lab:focus-visible) .t-lab { stroke: var(--accent); stroke-width: 2; }
.point--mortgage-calculator { left: 10.33%; top: 81.25%; }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .chart-overlay { --on: 1; --mx: 10.33; --my: 81.25; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .chart-pos::before { content: "B7"; }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .chart-target::before { content: "Mortgage calculator simple / iOS app"; color: var(--text); }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .point--mortgage-calculator { color: var(--accent); }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .point--mortgage-calculator::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .point--mortgage-calculator::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--mortgage-calculator:hover, #mortgage-calculator:hover, #mortgage-calculator:focus-within, #mortgage-calculator:focus-visible) .t-mortgage-calculator { stroke: var(--accent); stroke-width: 2; }
.point--renovapp { left: 28.67%; top: 70.5%; }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .chart-overlay { --on: 1; --mx: 28.67; --my: 70.5; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .chart-pos::before { content: "D6"; }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .chart-target::before { content: "RenovApp / iOS app"; color: var(--text); }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .point--renovapp { color: var(--accent); }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .point--renovapp::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .point--renovapp::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--renovapp:hover, #renovapp:hover, #renovapp:focus-within, #renovapp:focus-visible) .t-renovapp { stroke: var(--accent); stroke-width: 2; }
.point--all-projects { left: 61.0%; top: 81.25%; }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .chart-overlay { --on: 1; --mx: 61.0; --my: 81.25; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .chart-pos::before { content: "H7"; }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .chart-target::before { content: "All projects"; color: var(--text); }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .point--all-projects { color: var(--accent); }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .point--all-projects::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .point--all-projects::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--all-projects:hover, #all-projects:hover, #all-projects:focus-within, #all-projects:focus-visible) .t-all-projects { stroke: var(--accent); stroke-width: 2; }
.point--github { left: 76.0%; top: 25.75%; }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .chart-overlay { --on: 1; --mx: 76.0; --my: 25.75; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .chart-pos::before { content: "J3"; }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .chart-target::before { content: "GitHub / adiazlab"; color: var(--text); }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .point--github { color: var(--accent); }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .point--github::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .point--github::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--github:hover, #github:hover, #github:focus-within, #github:focus-visible) .t-github { stroke: var(--accent); stroke-width: 2; }
.point--email { left: 92.17%; top: 50.0%; }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .chart-overlay { --on: 1; --mx: 92.17; --my: 50.0; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .chart-pos::before { content: "L5"; }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .chart-target::before { content: "Email"; color: var(--text); }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .point--email { color: var(--accent); }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .point--email::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .point--email::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--email:hover, #email:hover, #email:focus-within, #email:focus-visible) .t-email { stroke: var(--accent); stroke-width: 2; }
.point--privacy { left: 76.0%; top: 74.25%; }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .chart-overlay { --on: 1; --mx: 76.0; --my: 74.25; transition: --mx 200ms ease-out, --my 200ms ease-out; }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .chart-pos::before { content: "J6"; }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .chart-target::before { content: "Website privacy"; color: var(--text); }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .point--privacy { color: var(--accent); }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .point--privacy::before { background: var(--accent); border-color: var(--accent); }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .point--privacy::after { inset: 0; border-color: var(--accent); opacity: 1; }
.atlas:has(.point--privacy:hover, #privacy:hover, #privacy:focus-within, #privacy:focus-visible) .t-privacy { stroke: var(--accent); stroke-width: 2; }


/* Pressing the chart sends a ping and raises the mark; the checkbox keeps it up. */
.atlas:has(.chart-sensors i:active) .chart-ping { animation: chart-ping 700ms ease-out; }
.atlas:has(.chart-sensors i:active, .chart-toggle :checked) .chart-reveal { opacity: 0.92; }
.atlas:has(.chart-sensors i:active, .chart-toggle :checked) .point span { color: var(--text); }

@media (min-width: 60rem) {
  .atlas { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; }
  .atlas-intro { grid-column: 1; grid-row: 1; }
  .atlas-entries { grid-column: 1; grid-row: 2; }
  .chart { grid-column: 2; grid-row: 1 / 3; align-self: start; width: 100%; max-width: calc((100svh - 7rem) * 1.5); margin-inline: auto; }
}
@media (min-width: 60rem) and (max-width: 80rem) {
  .atlas-section .project-row { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .atlas-section .project-row > .store-link { justify-self: start; margin-left: 4.25rem; }
}
@media (min-width: 60rem) and (min-height: 30rem) {
  .chart { position: sticky; top: 1.25rem; }
}
/* Scrolling inks the route over the quiet base lines. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 60rem) and (prefers-reduced-motion: no-preference) {
    .chart-trace { display: block; stroke-dasharray: 1; animation: chart-trace linear both; animation-timeline: scroll(root); }
  }
}
@keyframes chart-trace {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@media (max-width: 35rem) {
  .chart-sheet { grid-template-columns: 1.125rem minmax(0, 1fr); grid-template-rows: 1.125rem auto; }
  .chart-rail { font-size: 0.5625rem; }
  .chart-foot { margin-left: 1.125rem; }
  .chart-note { display: none; }
  .point span { padding-inline: 0.1875rem; font-size: 0.6875rem; }
  .point--below span { top: calc(100% - 0.8125rem); }
  .point--mortgage-calculator span { left: 0.375rem; }
  .point--privacy span { top: auto; bottom: calc(100% - 0.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .chart-overlay, .atlas:has(.chart-sensors i:hover, .point:hover) .chart-overlay { transition: none; }
  .chart-reveal { transition: none; }
  .atlas:has(.chart-sensors i:active) .chart-ping { animation: none; }
}
