/* Instrument pass, 26 November 2026. Loaded last on the home page.
   The dark field stays full bleed. What changes is the framing: 1px hairline rails, registration
   ticks at the corners of each plate, DM Mono indices and readouts, and square-cornered controls.
   Decoration only; no content, figure, number or limit is changed here. */

:root{
  --obsidian:#081411;
  --plate-ground:#0a1915;
  --hair:rgba(228,239,232,.14);
  --hair-strong:rgba(228,239,232,.34);
  --tick:rgba(228,239,232,.62);
  --lum:rgba(70,140,114,.34);
  --rail:#cfe6da;
  --signal:#7ed9b4;
  --recess:inset 0 1px 0 rgba(255,255,255,.025),inset 0 2.5rem 3rem -3rem rgba(0,0,0,.45);
}
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]){--obsidian:#e9f0eb;--plate-ground:#f8fbf8;--hair:rgba(16,55,47,.15);--hair-strong:rgba(16,55,47,.38);--tick:rgba(16,55,47,.62);--lum:rgba(255,255,255,.75);--rail:#10372f;--signal:#1a6b54;--recess:0 1px 2px rgba(16,55,47,.06)}
}
:root[data-theme="light"]{--obsidian:#e9f0eb;--plate-ground:#f8fbf8;--hair:rgba(16,55,47,.15);--hair-strong:rgba(16,55,47,.38);--tick:rgba(16,55,47,.62);--lum:rgba(255,255,255,.75);--rail:#10372f;--signal:#1a6b54;--recess:0 1px 2px rgba(16,55,47,.06)}

/* Registration ticks: eight 1px strokes, one L at each corner of the box. */
.atlas__peek::before,.recent__item::before,.recent__shot a::after,.exhibit-preview-frame::after,.about::before{
  content:"";position:absolute;pointer-events:none;--t:12px;
  background:
    linear-gradient(var(--tick),var(--tick)) 0 0/var(--t) 1px,
    linear-gradient(var(--tick),var(--tick)) 0 0/1px var(--t),
    linear-gradient(var(--tick),var(--tick)) 100% 0/var(--t) 1px,
    linear-gradient(var(--tick),var(--tick)) 100% 0/1px var(--t),
    linear-gradient(var(--tick),var(--tick)) 0 100%/var(--t) 1px,
    linear-gradient(var(--tick),var(--tick)) 0 100%/1px var(--t),
    linear-gradient(var(--tick),var(--tick)) 100% 100%/var(--t) 1px,
    linear-gradient(var(--tick),var(--tick)) 100% 100%/1px var(--t);
  background-repeat:no-repeat;
}

/* ---------- Hero: the atlas under darkfield illumination ---------- */
.atlas{
  background:
    radial-gradient(ellipse 38% 44% at 33% 48%,var(--lum),transparent 72%),
    radial-gradient(ellipse 70% 62% at 45% 50%,var(--ground-raised),transparent 78%),
    linear-gradient(180deg,var(--obsidian),var(--ground) 82%);
}
/* Top rail under the bar, bracketed by two downward ticks. */
.atlas::after{
  content:"";position:absolute;z-index:2;pointer-events:none;
  top:4.6rem;left:var(--gutter);right:var(--gutter);height:10px;
  background:
    linear-gradient(90deg,var(--hair-strong),var(--hair) 18%,var(--hair) 82%,var(--hair-strong)) 0 0/100% 1px,
    linear-gradient(var(--tick),var(--tick)) 0 0/1px 100%,
    linear-gradient(var(--tick),var(--tick)) 100% 0/1px 100%;
  background-repeat:no-repeat;
}

/* Project index: numbered instrument selector. */
.atlas__index ul{counter-reset:ax;border-block:1px solid var(--rule)}
.atlas__index li{counter-increment:ax}
.atlas__index a{position:relative;align-items:center;padding-left:2.4rem}
.atlas__index a::before{
  content:counter(ax,decimal-leading-zero) / "";
  position:absolute;left:0;top:50%;transform:translateY(-50%);
  font:400 .72rem/1 var(--mono);letter-spacing:.06em;color:var(--ink-muted);
  transition:color 160ms linear;
}
.atlas__index a::after{
  content:"";position:absolute;left:-.9rem;top:30%;bottom:30%;width:1px;
  background:var(--rail);box-shadow:0 0 10px color-mix(in srgb,var(--rail) 55%,transparent);
  opacity:0;transform:scaleY(.2);transition:opacity 200ms linear,transform 280ms var(--ease);
}
.atlas__name{flex:1 1 auto;transition:transform 280ms var(--ease),color 160ms linear}
.atlas__verb{
  flex:none;padding:.32rem .5rem;border:1px solid var(--rule);border-radius:2px;
  font:400 .7rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;
}
.atlas__index a.is-current::before,.atlas__index a:hover::before,.atlas__index a:focus-visible::before{color:var(--rail)}
.atlas__index a.is-current::after,.atlas__index a:hover::after,.atlas__index a:focus-visible::after{opacity:1;transform:none}
.atlas__index a.is-current .atlas__name,.atlas__index a:hover .atlas__name,.atlas__index a:focus-visible .atlas__name{transform:translateX(.35rem)}
.atlas__index a.is-current .atlas__verb,.atlas__index a:hover .atlas__verb,.atlas__index a:focus-visible .atlas__verb{border-color:var(--rail);color:var(--ink)}
/* The page-wide accent follows the scene's project hue; the instrument chrome holds to the field's greens. */
.atlas__index a.is-current .atlas__name,.atlas__index a:hover .atlas__name,.atlas__index a:focus-visible .atlas__name{color:var(--rail)}
.atlas__probe{border-left-color:var(--rail)}
/* With no project selected the page accent was lilac; it now rests on the field's own green. */
:root:not([data-accent]){--accent:#7ed9b4;--accent-ink:#cfe6da}
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]):not([data-accent]){--accent:#1a6b54;--accent-ink:#10372f}}
:root[data-theme="light"]:not([data-accent]){--accent:#1a6b54;--accent-ink:#10372f}

/* Specimen preview beside the index: square plate inside registration ticks. */
.atlas__peek::before{inset:-8px;z-index:2;opacity:0;transition:opacity 200ms linear}
.atlas__peek:has(img.is-shown)::before{opacity:1}
.atlas__peek img{border-radius:0;box-shadow:0 1.5rem 3rem -1.25rem rgba(0,0,0,.6),0 0 0 1px var(--hair-strong)}

/* Telemetry bar: a ruled base with a status dot, readout and square controls. */
.atlas__foot{bottom:.9rem;padding-top:.8rem;border-top:1px solid var(--hair);column-gap:1rem}
.atlas__foot::before{
  content:"";position:absolute;left:0;right:0;top:-10px;height:10px;pointer-events:none;
  background:linear-gradient(var(--tick),var(--tick)) 0 0/1px 100%,linear-gradient(var(--tick),var(--tick)) 100% 0/1px 100%;
  background-repeat:no-repeat;
}
.atlas__caption{flex-wrap:wrap;row-gap:.5rem}
.atlas__caption > span{font:400 .74rem/1.3 var(--mono);letter-spacing:.04em;text-transform:uppercase}
.atlas__caption::before{
  content:"";flex:none;width:7px;height:7px;border-radius:50%;
  background:var(--ink-muted);transition:background-color 300ms linear,box-shadow 300ms linear;
}
:root[data-scene="ready"] .atlas__caption::before{background:var(--signal);box-shadow:0 0 0 3px color-mix(in srgb,var(--signal) 22%,transparent),0 0 12px color-mix(in srgb,var(--signal) 70%,transparent)}
.atlas__help{font-size:.875rem;line-height:1.4;text-wrap:balance}
.atlas__readout{
  align-self:stretch;display:flex;align-items:center;gap:.6rem;padding-left:1rem;border-left:1px solid var(--hair);
  font:400 .75rem/1.3 var(--mono);letter-spacing:.03em;font-variant-numeric:tabular-nums;color:var(--ink-muted);
}
.atlas__readout [data-readout-points]{color:var(--ink)}
.atlas__source-btn,.atlas__reset,.atlas__source button{
  border-radius:2px;border-color:var(--hair-strong);
  font:400 .74rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;
  transition:border-color 160ms linear,background-color 160ms linear;
}
.atlas__source-btn:hover,.atlas__reset:hover,.atlas__source button:hover{border-color:var(--rail);background:color-mix(in srgb,var(--rail) 10%,var(--ground))}
.atlas__source{border-radius:2px;border-color:var(--hair-strong);background:var(--plate-ground)}

/* ---------- Recently: four specimen plates, two by two ---------- */
@media (min-width:721px){.recent{scroll-margin-top:-4.5rem}}
:root .recent__list{counter-reset:rec}
:root .recent__item{
  position:relative;counter-increment:rec;
  background:var(--plate-ground);border:1px solid var(--hair);border-radius:2px;
  box-shadow:var(--recess);
}
.recent__item::before{inset:-1px;--tick:var(--hair-strong)}
:root .recent__meta{
  align-items:baseline;gap:.2rem 1.25rem;padding-bottom:.9rem;margin-bottom:.35rem;border-bottom:1px solid var(--hair);
  font:400 .72rem/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;
}
:root .recent__meta::before{content:counter(rec,decimal-leading-zero) / "";color:var(--ink)}
:root .recent__flow li{grid-template-columns:2.1rem minmax(0,1fr);border-top-color:var(--hair)}
:root .recent__flow li:last-child{border-bottom-color:var(--hair)}
:root .recent__flow li::before{content:counter(step,decimal-leading-zero);font:400 .75rem/1.9 var(--mono);letter-spacing:.06em}
:root .recent__shot{position:relative}
:root .recent__shot a{position:relative;overflow:visible;padding:6px;border:1px solid var(--hair-strong);border-radius:0;box-shadow:none;background:var(--obsidian)}
.recent__shot a::after{inset:-6px;--t:10px}
:root .recent__shot figcaption{font:400 .72rem/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}
:root .recent__links a{font:400 .78rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase}

/* ---------- Selected work: specimen console ---------- */
.exhibit-index .portal-index{counter-reset:ex}
.exhibit-row{counter-increment:ex;transition:background-color 200ms linear}
.portal-index>.exhibit-row>a{display:grid!important;grid-template-columns:2.1rem minmax(0,1fr);grid-template-rows:auto;align-items:start;row-gap:0}
.exhibit-row>a::before{content:counter(ex,decimal-leading-zero) / "";font:400 .72rem/1 var(--mono);line-height:calc(clamp(1.15rem,1.9vw,1.75rem) * 1.1);letter-spacing:.06em;opacity:.72}
.exhibit-row .portal-index-text{transition:transform 280ms cubic-bezier(.2,.7,.2,1)}
.exhibit-row>a:hover .portal-index-text,.exhibit-row.is-selected .portal-index-text{transform:translateX(.3rem)}
.exhibit-row.is-selected::before{left:-.9rem;width:2px;border-radius:0;background:var(--rail);box-shadow:0 0 12px var(--rail)}
.exhibit-row.is-selected .portal-index-row strong{text-decoration:none}
.exhibit-row.is-selected>a::before{opacity:1}
.exhibit-pick{border-radius:2px;font:400 .7rem/1 var(--mono);letter-spacing:.12em;text-transform:uppercase}
.exhibit-preview-frame{border-radius:2px;border:1px solid rgba(127,140,134,.35)}
.exhibit-preview-frame::after{inset:9px;z-index:2;--t:14px;--tick:rgba(127,140,134,.8)}
.exhibit-preview-hud{
  position:absolute;z-index:2;inset:0 0 auto;display:flex;justify-content:space-between;gap:1rem;margin:0;padding:.85rem 2.25rem 0;
  font:400 .72rem/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;pointer-events:none;
}
.exhibit-preview-hud .exhibit-preview-meta{grid-column:auto;display:flex;gap:.9rem;font-size:inherit;opacity:.85}
.exhibit-preview-hud .exhibit-preview-meta span+span::before{content:"·" / "";margin-right:.9rem}
.exhibit-preview-img{padding:2.6rem 1.6rem 1.6rem}
.portal .exhibit-preview-open{grid-row:1/span 2;border-radius:2px;font-weight:600}
.portal .exhibit-preview-open::after{content:"\2192" / "";margin-left:.6rem;transition:transform 200ms var(--ease-out,ease)}
.portal .exhibit-preview-open:hover::after{transform:translateX(3px)}
@media (prefers-reduced-motion:no-preference){
  .exhibit-preview-frame.is-in .exhibit-preview-img{animation:exhibit-in .34s cubic-bezier(.2,.7,.2,1)}
}
@keyframes exhibit-in{from{opacity:.2;transform:scale(1.018)}to{opacity:1;transform:none}}

/* Inside the pinned opening the console is always on the dark field. */
.exhibit-index-on .jr-dive .exhibit-row{border-color:rgba(228,239,232,.16)}
.exhibit-index-on .jr-dive .exhibit-row.is-selected{background:linear-gradient(90deg,rgba(228,239,232,.075),rgba(228,239,232,0) 80%)}
.exhibit-index-on .jr-dive .exhibit-row.is-selected::before{background:#cfe6da;box-shadow:0 0 12px rgba(207,230,218,.6)}
.exhibit-index-on .jr-dive .exhibit-preview-frame{
  border-color:rgba(228,239,232,.2);
  background:radial-gradient(ellipse 62% 58% at 50% 54%,rgba(96,164,138,.16),rgba(228,239,232,.015) 72%) #091713;
}
.exhibit-index-on .jr-dive .exhibit-preview-frame::after{--tick:rgba(228,239,232,.6)}
.exhibit-index-on .jr-dive .exhibit-preview-hud{color:#cfe0d7;background:linear-gradient(rgba(9,23,19,.92),rgba(9,23,19,0))}
.exhibit-index-on .jr-dive .exhibit-preview-open:hover{background:#fff}
/* Inactive VIEW buttons recede so the selected one leads; the label keeps full-strength ink. */
.exhibit-index-on .jr-dive .exhibit-pick:not([aria-pressed="true"]){border-color:rgba(228,239,232,.26)}

@media (max-width:800px){
  .portal-index>.exhibit-row>a{grid-template-columns:1.7rem minmax(0,1fr)}
  .exhibit-row>a::before{line-height:1.19rem}
  .portal .exhibit-preview-open::after{content:none}
  .exhibit-row.is-selected::before{left:-.6rem}
  .exhibit-preview-hud{display:none}
  .exhibit-preview-img{padding:0}
  .exhibit-preview-frame::after{inset:6px;--t:10px}
  .portal .exhibit-preview-open{grid-row:1}
}
@media (max-width:800px) and (max-height:700px){.portal .exhibit-preview-open{grid-row:auto}}
@media (max-height:560px){.exhibit-preview-hud{display:none}.exhibit-preview-img{padding:.5rem}}

/* Chapter bar: dark glass with square mono stops. */
.has-journey .portal-wayfinder{
  background:rgba(8,20,17,.84);border:1px solid rgba(228,239,232,.16);border-radius:3px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px -14px rgba(0,0,0,.6);
}
.has-journey .portal-wayfinder a{color:#dfeae4;border-radius:2px;font:400 .74rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;display:inline-flex;align-items:center}
.has-journey .portal-wayfinder a:hover{background:rgba(228,239,232,.1);color:#fff}
.has-journey .portal-wayfinder a[aria-current="location"]{background:#e4efe8;color:#0e211c}

/* Stages: square plates, mono kickers and square actions, so all five read as one instrument. */
.has-journey .jr-sheet{border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.portal .portal-kicker{font:400 .76rem/1.4 var(--mono);letter-spacing:.09em;text-transform:uppercase}
.jr-skip{border-radius:2px!important;font:600 .9rem/1 var(--sans)!important}
.jr-clock{font-family:var(--mono);font-size:.85rem;letter-spacing:.04em}

/* ---------- About: dossier ---------- */
.about{position:relative}
.about::before{top:-1px;left:var(--gutter);right:var(--gutter);height:10px;
  background:linear-gradient(var(--tick),var(--tick)) 0 0/1px 100%,linear-gradient(var(--tick),var(--tick)) 100% 0/1px 100%;background-repeat:no-repeat}
:root .about__facts{gap:0;border-top:1px solid var(--hair)}
:root .about__facts li{grid-template-columns:7.5rem minmax(0,1fr);align-items:baseline;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--hair)}
:root .about .about__label{font:400 .72rem/1.4 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--ink-muted)}
:root .about__links{display:grid;grid-template-columns:repeat(2,max-content);gap:.55rem;padding-top:0;border-top:0}
:root .about__links a{
  min-height:44px;padding:0 .9rem;border:1px solid var(--hair-strong);border-radius:2px;text-decoration:none;
  transition:border-color 160ms linear,background-color 160ms linear;
}
:root .about__links a:hover{border-color:var(--rail);background:color-mix(in srgb,var(--rail) 8%,transparent)}
:root .about__links a::after{content:"\2197" / "";margin-left:.55rem;font-size:.85em;color:var(--ink-muted)}
:root .about__links a[href^="mailto"]::after{content:none}
:root .about__open{border-top-color:var(--hair)}

.xp-foot{border-top-color:var(--hair)}
.xp-foot nav a{font:400 .76rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase}

/* Phones: the hero runs in the flow, so the overlay rails step aside. */
@media (max-width:720px){
  .atlas::after{display:none}
  /* The surface sits above the copy on phones, so the darkfield glow moves up behind it. */
  .atlas{background:
    radial-gradient(ellipse 84% 26% at 50% 30%,var(--lum),transparent 72%),
    radial-gradient(ellipse 90% 40% at 50% 30%,var(--ground-raised),transparent 78%),
    linear-gradient(180deg,var(--obsidian),var(--ground) 82%)}
  .atlas__foot{border-top:0;padding-top:.75rem}
  .atlas__foot::before{display:none}
  .atlas__readout{display:none}
  .atlas__index a::after{left:-.6rem}
  .atlas__caption > span{letter-spacing:.05em}
  .atlas__source-btn,.atlas__reset{white-space:nowrap}
  :root .about__facts{grid-template-columns:minmax(0,1fr)}
  :root .about__facts li{grid-template-columns:6.5rem minmax(0,1fr)}
  .about::before{display:none}
}
/* Narrow phones: the address and CV request take full rows, the two profiles share the last. */
@media (max-width:480px){
  :root .about__links{grid-template-columns:repeat(2,minmax(0,1fr))}
  :root .about__links a:nth-child(-n+2){grid-column:1/-1}
}
/* Between the tablet and wide layouts the point readout steps aside so the help keeps two lines. */
@media (min-width:1081px) and (max-width:1279px){.atlas__readout{display:none}}
@media (prefers-reduced-motion:reduce){
  .atlas__index a .atlas__name,.exhibit-row .portal-index-text{transform:none!important}
}
