.section-about .about-visual {
  width: 100%;
  min-width: 0;
  max-width: 38rem;
  justify-self: center;
}

.section-about .about-id .portrait { width: clamp(74px, 9.5vw, 112px); }

@media (min-width: 961px) {
  .section-about .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
}

.bbe {
  --mini-ink: #33423a;
  --mini-edge: #6c715b;
  --mini-mind: #efe2d7;
  --mini-body: #e6ead4;
  --mini-place: #dee9db;
  --mini-floor: #ead7b5;
  --mini-stone: #a69783;
  --mini-grass: #a4b77a;
  --mini-leaf: #728d5d;
  --mini-person-outline: #333c47;
  --mind-tint: #edcfc9;
  --mind-outline: #8d5576;
  --body-halo: #edf1df;
  --earth-day-sky: #d1e5e6;
  --earth-night-sky: #283b57;
  --earth-orbit-ink: #57767d;
  --city-ground: #b0bda4;
  --city-parcel: #cec4ad;
  --city-street: #efe9d8;
  --city-road-detail: #968d80;
  width: 100%;
}

[data-theme="dark"] .bbe {
  --mini-mind: #352e2e;
  --mini-body: #303d2e;
  --mini-place: #283b35;
  --mini-edge: #9fa188;
  --mini-floor: #cbb798;
  --mini-stone: #89775d;
  --mini-grass: #899e69;
  --mini-leaf: #6b885d;
  --mind-tint: #513846;
  --mind-outline: #dfacc5;
  --body-halo: #253529;
  --earth-day-sky: #354f60;
  --earth-night-sky: #17263e;
  --earth-orbit-ink: #a0b6bb;
  --city-ground: #3b524a;
  --city-parcel: #455750;
  --city-street: #6c776d;
  --city-road-detail: #bcbb9e;
}

.bbe-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bbe-item { cursor: pointer; outline: none; }
.bbe-item > g, .bbe-item text, .bbe-core { pointer-events: none; }
.bbe-disc {
  fill: var(--disc-fill);
  stroke: var(--mini-edge);
  stroke-opacity: .65;
  stroke-width: 1.15;
  transition: stroke-opacity .22s, stroke-width .22s;
}
.bbe-item[data-lens-button="mind"] { --disc-fill: var(--mini-mind); }
.bbe-item[data-lens-button="body"] { --disc-fill: var(--mini-body); }
.bbe-item[data-lens-button="place"] { --disc-fill: var(--mini-place); }
.bbe-item.is-active .bbe-disc { stroke-opacity: 1; stroke-width: 2; }
.bbe-item:focus-visible .bbe-disc { stroke: var(--accent-text); stroke-width: 2.6; stroke-opacity: 1; }
.bbe-item > text {
  fill: var(--heading);
  stroke: var(--disc-fill);
  stroke-width: 3.5;
  stroke-linejoin: round;
  paint-order: stroke fill;
  text-anchor: middle;
  font: 600 16px var(--font-display);
}
.bbe-core circle { fill: var(--paper-2); stroke: var(--mini-edge); stroke-width: 1.2; }
.bbe-core use { fill: none; stroke: var(--heading); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bbe-caption { min-height: 3.3em; margin: .3rem .45rem 0; color: var(--muted); text-align: center; font-size: .98rem; line-height: 1.4; }
.bbe-caption strong { color: var(--heading); }

.mini-reveal { visibility: hidden; opacity: 0; transition: opacity .28s, visibility 0s .28s; }
.bbe-item.is-active .mini-reveal { visibility: visible; opacity: 1; transition-delay: 0s; }
.lens-overview, .lens-detail { transform-box: fill-box; transform-origin: center; }
.lens-overview { visibility: visible; opacity: 1; transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.bbe-item.is-active .lens-overview { visibility: hidden; opacity: 0; transform: scale(1.11); transition-delay: 0s, 0s, .3s; }
.lens-detail { transform: scale(.84); transition: opacity .28s, transform .45s var(--ease), visibility 0s .28s; }
.bbe-item.is-active .lens-detail { transform: scale(1); }

.mind-backdrop { fill: var(--mind-tint); }
.mind-orbit { fill: none; stroke: var(--mind-outline); stroke-width: .85; stroke-opacity: .45; stroke-dasharray: 1.2 4; }
.mind-brain { fill: url(#mind-brain-wash); stroke: #884f70; stroke-width: 1.8; }
.mind-cerebellum { fill: #b47e92; stroke: #884f70; stroke-width: 1.6; }
.mind-stem { fill: none; stroke: #b57a93; stroke-width: 9; stroke-linecap: round; }
.mind-folds { fill: none; stroke: #935d79; stroke-width: 2.1; stroke-linecap: round; stroke-opacity: .85; }
.mind-spark { fill: #ffecd2; stroke: #a4667b; stroke-width: .9; }
.mind-links { fill: none; stroke: var(--mind-outline); stroke-width: 1.15; stroke-dasharray: 1.75 3.5; }
.mind-concept use, .mind-concept path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mind-concept { color: var(--concept-ink); }
.mind-concept > circle:first-child { fill: var(--concept-bg); stroke: currentColor; stroke-width: 1.05; }
.mind-concept .mind-icon-dot { fill: currentColor; }
.mind-concept text {
  fill: var(--heading);
  stroke: var(--disc-fill);
  stroke-width: 2;
  paint-order: stroke fill;
  stroke-linejoin: round;
  text-anchor: middle;
  font: 700 10.4px var(--font-body);
}
.mind-attention { --concept-ink: #8b5833; --concept-bg: #f7e6c7; }
.mind-memory { --concept-ink: #75587d; --concept-bg: #ede3ec; }
.mind-perception { --concept-ink: #366467; --concept-bg: #dcebe2; }
.mind-emotion { --concept-ink: #a45661; --concept-bg: #f3dce1; }
.mind-communication { --concept-ink: #4b638b; --concept-bg: #dce7f4; }
.mind-action { --concept-ink: #557150; --concept-bg: #e0ebd5; }

.mini-shadow { fill: #101a17; opacity: .17; }
.mini-stone { fill: var(--mini-stone); }
.mini-floor { fill: var(--mini-floor); }
.mini-grout { fill: none; stroke: var(--mini-edge); stroke-width: .55; opacity: .38; }
.mini-townhouse-warm {
  --town-front: #dcb28d;
  --town-side: #b28b73;
  --town-roof: #954f48;
  --town-roof-dark: #703c3a;
}
.mini-town-front { fill: var(--town-front, #e3daca); }
.mini-town-side { fill: var(--town-side, #b5b3a3); }
.mini-town-roof { fill: var(--town-roof, #627f87); }
.mini-town-roof-dark { fill: var(--town-roof-dark, #465e69); }
.mini-town-eaves { fill: none; stroke: #32434a; stroke-width: .65; stroke-opacity: .75; }
.mini-town-trim { fill: none; stroke: #fbedd4; stroke-width: .75; }
.mini-town-step { fill: #a28e79; }
.mini-shop-front { fill: #e4be91; }
.mini-shop-side { fill: #b38d72; }
.mini-shop-roof { fill: #5e7477; }
.mini-shop-trim { fill: #8b554d; }
.mini-shop-roof-detail { fill: none; stroke: #a1ac9b; stroke-width: .8; }
.mini-shop-awning { fill: #b77061; }
.mini-awning-stripe { fill: none; stroke: #f2d9ba; stroke-width: 1.45; }
.mini-window { fill: #86b5b3; stroke: #536b66; stroke-width: .7; stroke-linejoin: round; }
.mini-door { fill: #6f5b51; }
.mini-tree-trunk { fill: none; stroke: #685141; stroke-width: 1.75; stroke-linecap: round; }
.mini-leaf { fill: var(--mini-leaf); stroke: #435f49; stroke-width: .65; }
.mini-leaf-light { fill: #adbd76; opacity: .65; }
.mini-leaf-detail, .mini-grass { fill: none; stroke: #4f654a; stroke-width: .68; stroke-linecap: round; opacity: .85; }
.mini-verge { fill: #788761; }

.park-lawn { fill: var(--mini-grass); }
.park-track { fill: none; stroke: #bc8b67; stroke-width: 9; }
.park-lane { fill: none; stroke: #f5dec0; stroke-width: .8; stroke-dasharray: 3 3; }
.pk-fig path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pk-outline { stroke: var(--mini-person-outline); stroke-width: 5.5; }
.pk-pants { stroke: #607681; stroke-width: 3.75; }
.pk-jacket { stroke: var(--park-jacket, #bea170); stroke-width: 3.9; }
.pk-head { fill: var(--park-skin, #d8a781); stroke: var(--mini-person-outline); stroke-width: 1.05; }
.pk-fig .pk-shadow { fill: #101a17; fill-opacity: .25; }
.pk-runner { --park-jacket: #d48976; }
.pk-sleeper { --park-jacket: #d5b56e; --park-skin: #b78063; }
.pk-stroller { --park-jacket: #81b2b6; --park-skin: #e5ba98; }
.pk-talk-a { --park-jacket: #b28cb1; --park-skin: #aa745b; }
.pk-talk-b { --park-jacket: #b4c28e; }
.pk-cyclist { --park-jacket: #d58a99; }
.pk-bench path, .pk-barrier path { fill: none; stroke: #654f3c; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pk-barrier .pk-barrier-beam { stroke-width: 3; }
.pk-barrier .pk-barrier-stripes { stroke: #f2dfc0; stroke-width: 1.7; }
.pk-sleep-mat { fill: #d9bb92; stroke: #7c8765; stroke-width: .7; }
.pk-sleep-eye, .pk-doze { fill: none; stroke: #414c60; stroke-width: 1; }
.pk-doze { animation: park-doze 2.6s ease-in-out infinite alternate; }
@keyframes park-doze {
  from { opacity: .48; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-2px); }
}
.pk-bike { fill: none; stroke: #3f535a; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
#body-scene .talk-dot { fill: var(--mini-ink); }

.body-closeup circle { fill: var(--body-halo); stroke: var(--mini-edge); stroke-opacity: .32; stroke-width: .9; }
.body-closeup path { fill: none; stroke: var(--mini-edge); stroke-opacity: .39; stroke-width: .85; stroke-linecap: round; }
.wearable-eeg { color: #775180; --sensor-bg: #eaddec; }
.wearable-gaze { color: #31726d; --sensor-bg: #d6ebe3; }
.wearable-pulse { color: #a65551; --sensor-bg: #f5dfd5; }
.wearable-gait { color: #4b6482; --sensor-bg: #dce8f1; }
.body-callouts circle { fill: var(--sensor-bg); stroke: currentColor; stroke-width: 1.15; }
.body-callouts use { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.body-callouts .sensor-lead { fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linecap: round; }
#body-wearables rect, #body-wearables path { fill: var(--sensor-bg); stroke: currentColor; stroke-width: .52; stroke-linecap: round; stroke-linejoin: round; }
#body-wearables .wearable-detail { fill: none; stroke: currentColor; }

.earth-sky { fill: var(--earth-day-sky); animation: earth-day-night 24s linear infinite; }
.earth-orbital-ring { fill: none; stroke: var(--earth-orbit-ink); stroke-width: .8; stroke-opacity: .5; stroke-dasharray: 2 4; }
.earth-orbit { transform-origin: 0 0; animation: earth-revolve 24s linear infinite; }
.earth-land { animation: earth-drift 31s linear infinite; }
.earth-stars { fill: #fff1d2; opacity: .35; animation: earth-starlight 24s linear infinite; }
.earth-atmosphere { fill: none; stroke: #80b8c4; stroke-width: 3; stroke-opacity: .55; }
.earth-rim { fill: none; stroke: #d1e9dc; stroke-width: .9; stroke-opacity: .67; }
.earth-grassland { fill: #a5b76e; }
.earth-forest { fill: #628865; }
.earth-desert { fill: #debb86; }
.earth-tundra { fill: #a0aba8; }
.earth-ice { fill: #ebefe6; fill-opacity: .9; }
.earth-water-detail { fill: none; stroke: #c8e5df; stroke-width: 1; opacity: .47; stroke-linecap: round; }
.earth-tower-cool { --tower-front: #c0d3ca; --tower-side: #6f908e; }
.earth-tower-brick { --tower-front: #d78c77; --tower-side: #a76662; }
.earth-building-front { fill: var(--tower-front, #ddc29c); }
.earth-building-side { fill: var(--tower-side, #af947e); }
.earth-building-roof { fill: #5d737c; }
.earth-building-windows { fill: none; stroke: #375561; stroke-width: 1.1; animation: earth-windows 24s linear infinite; }
.earth-sun { fill: #efbd66; stroke: #f4d18a; stroke-width: .8; }
.earth-sun-rays { fill: none; stroke: #f4d18a; stroke-width: .9; stroke-linecap: round; }
.earth-moon { fill: #e9eee3; }
.bbe-item.is-active :is(.earth-sky, .earth-orbit, .earth-land, .earth-stars, .earth-building-windows) { animation-play-state: paused; }

@keyframes earth-day-night {
  0%, 17%, 90%, 100% { fill: var(--earth-day-sky); }
  33%, 70% { fill: var(--earth-night-sky); }
}
@keyframes earth-revolve { to { transform: rotate(360deg); } }
@keyframes earth-drift { to { transform: translateX(-120px); } }
@keyframes earth-starlight {
  0%, 20%, 88%, 100% { opacity: .15; }
  34%, 70% { opacity: .94; }
}
@keyframes earth-windows {
  0%, 20%, 88%, 100% { stroke: #375561; }
  34%, 70% { stroke: #ffdfa1; }
}

.bbe .city-ground { fill: var(--city-ground); }
.bbe .city-parcels { fill: var(--city-parcel); }
.bbe .city-streets { fill: none; stroke: var(--city-street); stroke-width: 6.8; }
.bbe .city-street-centres { fill: none; stroke: var(--city-road-detail); stroke-width: .65; stroke-opacity: .58; stroke-dasharray: 1.7 3.1; }
.bbe .city-roof { stroke: var(--city-road-detail); stroke-width: .65; stroke-linejoin: round; }
.bbe .city-roof-sand { fill: #c5a989; }
.bbe .city-roof-blue { fill: #819a9f; }
.bbe .city-roof-terracotta { fill: #b77c6d; }
.bbe .city-roof-detail { fill: none; stroke: #f3e6ce; stroke-opacity: .64; stroke-width: .65; }
.bbe .city-park { fill: #a1b68b; }
.bbe .city-trees { fill: #597c66; }
.bbe .city-centre-plaza { fill: #d6c9a5; }
.bbe .city-rim { fill: none; stroke: var(--earth-orbit-ink); stroke-width: 1.4; }
.bbe .city-routes { fill: none; stroke: none; }
.bbe .city-walker { fill: #f4d390; stroke: #375555; stroke-width: .52; }
.bbe .city-walker-teal { fill: #5c9b97; }
.bbe .city-walker-red { fill: #dc8f7d; }

.sport-science-layout { display: grid; align-items: center; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.sport-science-copy h3 { font-size: clamp(1.2rem, 3vw, 1.55rem); }
.sport-science-copy .gallery { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.sport-science-layout .pubs { margin-bottom: 0; }
.sport-science-layout .research-explorer { max-width: 31rem; margin-inline: auto; }
@media (max-width: 690px) {
  .sport-science-layout { grid-template-columns: 1fr; }
}

.research-explorer {
  --research-mind: #874768;
  --research-body: #89511d;
  --research-place: #256b68;
  --research-event: #9b6017;
  --research-play: #efc779;
  --research-lens: var(--heading);
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .research-explorer {
  --research-mind: #edb4d0;
  --research-body: #edc98c;
  --research-place: #a2d9ca;
  --research-event: #ffd17d;
}

.research-stage {
  position: relative;
  margin: .65rem .5rem 0;
  border-radius: .9rem;
  background: radial-gradient(ellipse at 50% 53%, color-mix(in srgb, var(--fern) 10%, transparent), transparent 73%);
  isolation: isolate;
}

.research-artwork { display: block; width: 100%; height: auto; }
.research-mind { color: var(--research-mind); }
.research-body { color: var(--research-body); }
.research-place { color: var(--research-place); }
.research-explorer[data-lens="mind"] { --research-lens: var(--research-mind); }
.research-explorer[data-lens="body"] { --research-lens: var(--research-body); }
.research-explorer[data-lens="place"] { --research-lens: var(--research-place); }

.research-disc {
  fill: currentColor;
  fill-opacity: .085;
  stroke: currentColor;
  stroke-opacity: .5;
  stroke-width: 1.25;
  transition: fill-opacity .25s, stroke-opacity .25s, stroke-width .25s;
}

.research-explorer[data-lens="mind"] .research-mind .research-disc,
.research-explorer[data-lens="body"] .research-body .research-disc,
.research-explorer[data-lens="place"] .research-place .research-disc {
  fill-opacity: .16;
  stroke-opacity: 1;
  stroke-width: 2.25;
}

.research-rim {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .36;
  stroke-width: 1;
  stroke-dasharray: 1 6;
}

.research-ink, .research-hub {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.research-ink .heavy { stroke-width: 2.8; }
.research-ink .fine { stroke-width: 1; }
.research-ink .guide, .research-hub { opacity: .43; }
.research-ink .dashed, .research-hub { stroke-dasharray: 2 5; }
.research-ink .wash { fill: currentColor; fill-opacity: .1; }
.research-ink .silhouette { fill: var(--paper-2); }
.research-ink .solid { fill: currentColor; stroke: none; }
.research-ink .accent { color: var(--research-event); stroke: currentColor; }
.research-ink .marker { fill: var(--research-event); stroke: var(--paper-2); stroke-width: 1.7; }
.research-motion { transition: transform .55s var(--ease); }
.research-ink [data-at] { opacity: 0; transition: opacity .3s; }
.research-explorer[data-moment="0"] [data-at~="0"],
.research-explorer[data-moment="1"] [data-at~="1"],
.research-explorer[data-moment="2"] [data-at~="2"] { opacity: 1; }

/* Match the native hit targets to the circles in the 460 by 346 viewBox. */
.research-lens {
  position: absolute;
  width: 45.22%;
  height: 60.12%;
  border: 0;
  padding: 0;
  border-radius: 50%;
  clip-path: circle(50%);
  transform: translate(-50%, -50%);
  background: transparent;
  cursor: pointer;
  outline: none;
  left: var(--lens-x);
  top: var(--lens-y);
}

.research-lens[data-lens-button="mind"] { --lens-x: 50%; --lens-y: 31.21%; --lens-title-y: 22%; color: var(--research-mind); }
.research-lens[data-lens-button="body"] { --lens-x: 31.96%; --lens-y: 67.05%; --lens-title-y: 85%; color: var(--research-body); }
.research-lens[data-lens-button="place"] { --lens-x: 68.04%; --lens-y: 67.05%; --lens-title-y: 85%; color: var(--research-place); }

.research-lens span {
  position: absolute;
  top: var(--lens-title-y);
  left: 50%;
  transform: translate(-50%, -50%);
  padding: .12em .48em .15em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.87rem, 2.75vw, 1.1rem);
  line-height: 1.2;
}

.research-lens:focus-visible span, .research-lens[aria-pressed="true"] span {
  background: var(--paper-2);
  box-shadow: 0 0 0 1px currentColor;
}

.research-lens:focus-visible span { outline: 2px solid var(--research-event); outline-offset: 2px; }

@media (hover: hover) {
  .research-lens:hover span { background: var(--paper-2); }
}

.research-play {
  position: absolute;
  top: 55.2%;
  left: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%);
  color: #2f281a;
  background: var(--research-play);
  border: 1px solid #9b6017;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper-2), 0 4px 14px #21180940;
  cursor: pointer;
}

.research-play:hover { background: #ffdc97; }
.research-play .icon { width: 1.15rem; height: 1.15rem; }

.research-sport-title { margin: .75rem 0 0; text-align: center; font-size: 1.15rem; }
.research-sport-switch {
  position: absolute;
  top: 55.2%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  padding: 0;
  color: #2f281a; background: var(--research-play);
  border: 1px solid #9b6017;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper-2), 0 4px 14px #21180940;
  cursor: pointer;
}
.research-sport-switch:hover { background: #ffdc97; }
.research-sport-switch .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.research-sport-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  margin: .25rem clamp(.65rem, 2vw, 1.15rem) 0;
}
.research-sport-controls .research-play { position: static; transform: none; box-shadow: none; }
.research-sport-controls .research-timeline { margin-inline: 0; }

.research-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: clamp(.65rem, 2vw, 1.15rem);
}

.research-timeline { margin-top: .17rem; margin-bottom: .5rem; }
.research-timeline button {
  position: relative;
  padding: .67rem .08rem .37rem;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.15;
  cursor: pointer;
}

.research-timeline button::before, .research-timeline button::after {
  content: "";
  position: absolute;
  background: var(--line);
}

.research-timeline button::before { top: 2px; left: 0; right: 0; height: 1px; }
.research-timeline button:first-child::before { left: 50%; }
.research-timeline button:last-child::before { right: 50%; }
.research-timeline button::after { width: 7px; height: 7px; top: -1px; left: calc(50% - 3.5px); border-radius: 50%; }
.research-timeline button:hover, .research-timeline button[aria-pressed="true"] { color: var(--heading); }
.research-timeline button[aria-pressed="true"] { font-weight: 700; }
.research-timeline button[aria-pressed="true"]::after { background: var(--research-event); }

.research-caption {
  display: grid;
  margin: .85rem clamp(.75rem, 2vw, 1.15rem) .9rem;
  padding-top: .72rem;
  border-top: 1px solid var(--line);
}

.research-caption p { margin: 0; min-height: 2.7em; color: var(--muted); font-size: .93rem; line-height: 1.35; }
.research-caption strong { color: var(--research-lens); }
.research-caption-note { margin-top: .5rem; color: var(--muted); font-size: .84rem; }

.panel-inner.panel-2col:has(> .meal-gaze) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.panel-2col:has(> .meal-gaze) .panel-side { padding-top: 0; }
.panel-2col:has(> .meal-gaze) .panel-main h3 { padding-right: 0; }
.panel-2col:has(> .meal-gaze) .panel-main .kicker { padding-right: 6.5rem; }

.meal-gaze {
  grid-column: 1 / -1;
  min-width: 0;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  --meal-curve: var(--accent-text);
}

.meal-gaze-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 3vw, 1.7rem);
}

.meal-gaze .meal-gaze-instructions { margin: 0 0 .8rem; color: var(--heading); font-size: .95rem; }
.meal-gaze .meal-gaze-note { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }

.meal-stage {
  --left-x: 13%;
  --right-x: 87%;
  --side-y: 43%;
  --off-x: 46%;
  --off-y: 90%;
  --phone-width: clamp(20px, 7.2%, 44px);
  position: relative;
  aspect-ratio: 1.2;
  overflow: hidden;
  isolation: isolate;
  border-radius: .65rem;
  background: #242d28;
}

.meal-table { display: block; width: 100%; height: auto; box-shadow: 0 2px 9px #0005; user-select: none; }

.meal-spot, .meal-phone {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  border-radius: 20%;
}

.meal-spot[data-slot="left"] { --x: var(--left-x); --y: var(--side-y); }
.meal-spot[data-slot="right"] { --x: var(--right-x); --y: var(--side-y); }
.meal-spot[data-slot="absent"] { --x: var(--off-x); --y: var(--off-y); }

.meal-spot {
  z-index: 1;
  width: max(44px, 11%);
  height: max(44px, 18%);
  padding: 0;
  border: 1px dashed #473512a8;
  background: #fff6d849;
  color: #282517;
  cursor: pointer;
  font-size: clamp(.69rem, 1.4vw, .85rem);
  font-weight: 700;
  white-space: nowrap;
}

.meal-spot[data-slot="absent"] { color: #f5e8c8; background: #ffffff12; border-color: #eddab18c; }
.meal-spot:hover, .meal-spot:focus-visible { box-shadow: 0 0 0 2px #fff5da, 0 0 0 4px #594624; }
.meal-spot[aria-pressed="true"] { border-style: solid; }
.meal-spot span {
  position: absolute;
  top: calc(100% + .16rem); left: 50%;
  transform: translateX(-50%);
  padding: 0 .33rem;
  border-radius: .22rem;
  background: #fff6d9d6;
}
.meal-spot[data-slot="absent"] span { top: 50%; left: calc(100% + .4rem); transform: translateY(-50%); background: transparent; }

.meal-phone {
  --x: var(--off-x);
  --y: var(--off-y);
  z-index: 2;
  width: var(--phone-width);
  aspect-ratio: 1 / 1.85;
  border: 2px solid #15191a;
  background: linear-gradient(147deg, #3d4b53, #1c272d 54%, #111d22);
  box-shadow: inset 0 0 0 1px #c3c0ae75, 1px 3px 5px #241c1690;
  cursor: grab;
  touch-action: none;
  transition: left .25s var(--ease), top .25s var(--ease);
}
.meal-phone::before {
  content: "";
  position: absolute;
  inset: 5% 34% auto;
  height: 6%;
  border-radius: 1rem;
  background: #0c1012;
}
.meal-gaze[data-condition="left"] .meal-phone { --x: var(--left-x); --y: var(--side-y); }
.meal-gaze[data-condition="right"] .meal-phone { --x: var(--right-x); --y: var(--side-y); }
.meal-phone.is-dragging { transition: none; cursor: grabbing; }

.meal-heatmap, .meal-heat { position: absolute; inset: 0; pointer-events: none; }
.meal-heatmap { z-index: 3; }
.meal-heat { opacity: 0; transition: opacity var(--meal-transition, 2s) ease-in-out; }
.meal-gaze[data-condition="absent"] .meal-heat-absent,
.meal-gaze[data-condition="left"] .meal-heat-left,
.meal-gaze[data-condition="right"] .meal-heat-right { opacity: 1; }
.meal-heat i {
  position: absolute;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse closest-side, #fff3bbd6 0%, #ffbc4eca 24%, #ef79338c 46%, #91b95d83 63%, #3aaabc59 77%, transparent 100%);
}
.meal-heat-plate { top: 45.5%; left: 50%; width: 32%; height: 38%; }
.meal-heat-left .meal-heat-plate { left: 48%; }
.meal-heat-right .meal-heat-plate { left: 52%; }
.meal-heat-phone { top: var(--side-y); width: 15%; height: 23%; opacity: .75; }
.meal-heat-left .meal-heat-phone { left: var(--left-x); }
.meal-heat-right .meal-heat-phone { left: var(--right-x); }

.meal-gaze-chart { min-width: 0; margin: 0; }
.meal-gaze-chart figcaption { color: var(--heading); font: 600 1.15rem / 1.2 var(--font-display); }
.meal-gaze-chart svg { display: block; width: 100%; max-height: 19rem; overflow: visible; }
.meal-gaze-chart svg text { fill: var(--muted); font: 11px var(--font-body); }
.meal-chart-grid { fill: none; stroke: var(--line); }
.meal-chart-centre { stroke: var(--ochre); stroke-dasharray: 3 4; }
.meal-chart-axis path { fill: none; stroke: var(--muted); }
.meal-curve, .meal-curve-reference { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.meal-curve { stroke: var(--meal-curve); stroke-width: 2.6; }
.meal-curve-reference { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .67; }
.meal-gaze[data-condition="absent"] :is(.meal-curve-reference, .meal-baseline) { visibility: hidden; }
.meal-chart-key { display: flex; flex-wrap: wrap; gap: .25rem .8rem; color: var(--muted); font-size: .78rem; }
.meal-chart-key span { display: inline-flex; align-items: center; gap: .35rem; }
.meal-chart-key span::before { content: ""; width: 1.2rem; border-top: 2px solid var(--meal-curve); }
.meal-chart-key .meal-baseline::before { border-top: 1px dashed var(--muted); }
.meal-gaze-status { min-height: 3em; margin: .45rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.4; }

@media (max-width: 740px) {
  .meal-gaze-layout { grid-template-columns: minmax(0, 1fr); }
  .meal-gaze-chart { width: min(100%, 29rem); margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .meal-heat, .meal-phone { transition: none; }
}

@media (max-width: 395px) {
  .research-lens[data-lens-button="place"] { --lens-title-y: 83%; }
  .research-lens[data-lens-button="place"] span { padding-inline: .24em; }
}

.vignette[data-vignette="motorsport-cognition"] { background: #481d24; }
.vignette[data-vignette="motorsport-cognition"]::after {
  background: linear-gradient(180deg, transparent 35%, #3e141bb0 70%, #2f1117 100%);
}

.vignette-dialog[data-vignette="motorsport-cognition"] {
  --paper-2: #fcf1ed;
  --ink: #36252a;
  --heading: #642830;
  --muted: #765358;
  --line: #e3c7c3;
  --accent-text: #a13c44;
}

[data-theme="dark"] .vignette-dialog[data-vignette="motorsport-cognition"] {
  --paper-2: #29191d;
  --ink: #f2e0de;
  --heading: #ffe4de;
  --muted: #c6a5a8;
  --line: #57383f;
  --accent-text: #f0a7a5;
}

.vignette-dialog[data-vignette="motorsport-cognition"] .dialog-hero::after {
  background: linear-gradient(180deg, transparent 35%, #3c121ed4 100%);
}

.vignette-media .videos { grid-template-columns: 1fr; }
.vignette-dialog[data-vignette="motorsport-cognition"] .video { background: #481d24; }
.vignette-dialog[data-vignette="motorsport-cognition"] .video-title { background: #38151edb; }
.vignette-dialog[data-vignette="motorsport-cognition"] .video-play { background: #fff0e6; color: #a53644; }

.research-explorer.research-explorer-motorsport {
  --research-mind: #9f3850;
  --research-body: #a33f35;
  --research-place: #824053;
  --research-event: #b1293c;
  --research-play: #f0a091;
  --race-asphalt: #e8d6d3;
  --race-edge: #a47579;
  --race-marks: #a37379;
  --race-dash: #dec0bc;
  --race-car: #c42c42;
  --race-trim: #fff1dd;
}

[data-theme="dark"] .research-explorer-motorsport {
  --research-mind: #f2a6b3;
  --research-body: #f4a08f;
  --research-place: #e6a9ba;
  --research-event: #ff9789;
  --race-asphalt: #442c32;
  --race-edge: #986b77;
  --race-marks: #c0969e;
  --race-dash: #56363f;
  --race-car: #df4b5b;
}

.research-explorer-motorsport .research-stage {
  background: radial-gradient(ellipse at 50% 53%, color-mix(in srgb, var(--research-body) 12%, transparent), transparent 73%);
}

.research-explorer-motorsport .research-play { border-color: #ac555b; color: #361720; }
.research-explorer-motorsport .research-play:hover { background: #ffbbad; }
.race-windshield-road { fill: var(--race-asphalt); stroke: var(--race-edge); stroke-width: 1.1; }
.race-dashboard { fill: var(--race-dash); }
.race-kerb { stroke: var(--research-event); stroke-width: 2.25; stroke-dasharray: 3 3; stroke-linecap: butt; }
.race-road-edge { stroke: var(--race-edge); stroke-width: 25; }
.race-road-fill { stroke: var(--race-asphalt); stroke-width: 22; }
.race-road-dashes { stroke: var(--race-marks); stroke-width: .85; stroke-dasharray: 3 4; }
.race-tyres { fill: #3d262c; stroke: var(--race-trim); stroke-width: .7; }
.race-car { fill: var(--race-car); stroke: var(--race-trim); stroke-width: 1; }
.race-driver { fill: #472933; stroke: var(--race-trim); stroke-width: .8; }
.race-car-stripe { stroke: var(--race-trim); stroke-width: 1; }
.race-circuit-edge { stroke: var(--race-edge); stroke-width: 9.5; }
.race-circuit-fill { stroke: var(--race-asphalt); stroke-width: 7; }
.race-sector { stroke: var(--research-event); stroke-width: 2; }
.race-finish { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .bbe :is(.mini-reveal, .lens-overview, .lens-detail) { transition: none; }
  .bbe :is(.earth-sky, .earth-orbit, .earth-land, .earth-stars, .earth-building-windows, .pk-doze) { animation: none; }
  .research-explorer *, .research-explorer *::before, .research-explorer *::after { transition: none; }
}
