/*
 * LGCY / Analyst portfolio — five expanded editorial cards
 * Opened cards share a tablet-size cap and adapt to available space.
 * Styles reflect each layout's own structure, never patches over earlier versions.
 */
@font-face {
  font-family: Allura;
  src: url('assets/fonts/2ae11ac492a94210.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Name';
  src: url('assets/fonts/649da8c18a179353.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
/* Opened-card design: 4:3 landscape and 3:4 portrait, fitted within the browser.
   Existing clearance includes the 20px glass rim. */
:root { --opened-card-max-width:960px; --opened-card-clearance:56px; --opened-card-ratio:4 / 3; --opened-card-width-per-height:1.333333333333; }
@media (orientation:portrait) {
 :root { --opened-card-max-width:720px; --opened-card-ratio:3 / 4; --opened-card-width-per-height:.75; }
}
#details, #research-detail, #experiment-viewer, #experiment-afterthought {
 position:fixed; inset:0; margin:auto; box-sizing:border-box;
 width:min(var(--opened-card-max-width),calc(100vw - var(--opened-card-clearance)),calc((100svh - var(--opened-card-clearance)) * var(--opened-card-width-per-height)));
 height:auto; aspect-ratio:var(--opened-card-ratio);
 max-width:none; max-height:none;
}
/* Phone cards follow the available screen space; tablet card ratios do not apply. */
@media (max-width:500px) {
 :root { --opened-card-clearance:44px; }
 #details, #research-detail, #experiment-viewer, #experiment-afterthought {
  width:calc(100vw - 44px); height:calc(100dvh - 44px); aspect-ratio:auto;
 }
}
#details {
  --reader-bg: #34383e;
  --reader-ink: #f3f0e8;
  --reader-border: #80878e;
  --kicker-size: 9px;
  --reader-block-padding: 18px;
  position: fixed;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
  isolation: isolate;
  border: 2px solid var(--reader-border);
  background: var(--paper-surface);
  color: var(--ink);
  box-shadow: 0 26px 76px #0009;
  transition: transform .38s ease;
}
#details::backdrop { background: #06080b89; backdrop-filter: blur(5px); }
#details .close, #details .companion-close {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 80;
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  padding: 0;
  border: 0;
  background: #f9f8f4ed;
  color: #171918;
  cursor: pointer;
  font: 27px/1 Arial, sans-serif;
}
#details .close:focus-visible, #details button:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 3px;
}
#detail-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px;
  overflow: auto;
  box-sizing: border-box;
}
/* Profile — compact editorial labels and one full-width reading field. */
#details:has(.master-profile) {
}
#details:has(.master-profile) #detail-content { padding: 0; }
.master-profile {
  --reader-bg: #f0f1f2;
  --reader-ink: #111315;
  --kicker-size: min(9px, calc((100vw - 64px) / 45));
  position: relative;
  overflow: clip;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--paper-surface);
}
.master-index {
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #272522;
  font: 11px Georgia, serif;
}
.master-index i { width: 60px; height: 1px; background: var(--accent-red); }
.master-profile-text {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 48px 18px 16px;
  display: flex;
  flex-direction: column;
}
.master-profile h2 {
  font: 500 11px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin: 0;
  color: #181917;
}
.profile-owner {
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 0 0 5px;
  color: #171918;
  font: 400 32px/1.05 Bodoni, Georgia, serif;
  letter-spacing: -.5px;
}
.profile-identity { flex: 0 0 auto; }
.profile-identity::after { content: ''; display: block; width: 44px; height: 1px; background: var(--accent-red); margin: 9px 0; }
.master-profile-kicker {
  flex: 0 0 auto;
  max-width: 490px;
  margin: 0 0 10px;
  color: #171918;
  font: 500 var(--kicker-size)/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.master-profile-kicker b { color: var(--accent-red); padding: 0 3px; }
.master-profile-kicker span { white-space: nowrap; }
.master-profile-kicker::after {
  content: '';
  display: block;
  margin-top: 8px;
  background: var(--accent-red);
  width: 44px;
  height: 1px;
}
.master-profile-bio {
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
  max-width: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  padding: 0 28px 0 0;
  background: transparent;
  color: var(--reader-ink);
  box-shadow: none;
  scrollbar-width: none;
  font: 12.5px/1.35 Montserrat, Arial, sans-serif;
}
.master-profile-bio p { margin: 0 0 8px; }
.master-profile-bio p:last-child { margin-bottom: 0; }
.reader-shell {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  padding-block: var(--reader-block-padding);
}
.master-profile-text > .reader-shell { margin-top: 4px; }
.reader-shell > [role="region"]:focus-visible { outline: none; }
.reader-shell > [role="region"]::-webkit-scrollbar { display: none; }
.reader-scrollbar {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 24px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.reader-scrollbar[hidden] { display: none; }
.reader-scrollbar::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 6px;
  border-radius: 3px;
  background: #d2cfc8;
}
.reader-scroll-thumb {
  position: absolute;
  left: 9px;
  top: 0;
  width: 6px;
  border-radius: 3px;
  background: var(--accent-red);
}
.reader-scrollbar:focus-visible { outline: none; }
.reader-scrollbar:focus-visible .reader-scroll-thumb,
.reader-shell > [role="region"]:focus-visible + .reader-scrollbar .reader-scroll-thumb {
  box-shadow: 0 0 0 1px var(--accent-red);
}
.profile-contact {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  margin: 0;
  color: #171918;
  font: normal 11px/1.35 Montserrat, Arial, sans-serif;
}
.profile-contact-row { display: flex; flex-wrap: wrap; gap: 3px 12px; }
.profile-contact a { text-decoration: underline; text-decoration-color: #8a8173; text-underline-offset: 2px; }
.master-explore, .editorial-explore, .master-teaser-back {
  max-width: 100%;
  border: 0;
  border-bottom: 1px solid var(--accent-red);
  padding: 8px 0 6px;
}
.master-explore {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  width: max-content;
  max-width: 100%;
  min-width: 253px;
  background: var(--paper-surface);
  color: var(--accent-red);
  cursor: pointer;
  text-align: left;
  font: 500 11px/1.25 Montserrat, Arial, sans-serif;
}
.master-explore span { display: inline-block; }
.master-explore em { font-size: 10px; font-style: normal; color: var(--accent-red); }
.master-profile-art {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 37%;
  margin: 0;
  pointer-events: none;
  mask-image: var(--copy-mask, linear-gradient(#000, #000)), var(--edge-mask, linear-gradient(#000, #000));
  mask-composite: intersect;
}
.master-profile-art img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.profile-photo-edge { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #8e969d; stroke-width: 1; }
.profile-photo-edge path { vector-effect: non-scaling-stroke; }
/* Gray edge circuits join red traces that fade from the artwork beneath copy. */
.panel-circuit {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.editorial-panel { isolation: isolate; }
.editorial-panel > .panel-circuit { z-index: -1; }
.master-teaser > .panel-circuit {
  mask-image: linear-gradient(#000 0 175px, #0007 215px);
}
.companion-art {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: -34px;
  width: min(78%, 280px);
  margin: 0;
  pointer-events: none;
  mask-image: var(--copy-mask, linear-gradient(#000, #000));
  mask-composite: intersect;
}
.companion-art img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to bottom, #000 0 45px, #0008 100px, #0002 180px, transparent 280px),
              linear-gradient(to left, #000 0 35%, #0007 60%, transparent 100%);
  mask-composite: intersect;
}
.master-teaser:has(.companion-art) .master-essay-eyebrow,
.master-teaser:has(.companion-art) .master-teaser-inside > h3 {
  margin-right: 0;
}
/* The companion starts below the main close control. */
#details.master-side-open { transform: translateX(-15px); }
.master-teaser {
  position: absolute;
  z-index: 50;
  top: 55px;
  right: -31px;
  width: 350px;
  max-width: calc(100% - 30px);
  height: calc(100% - 54px);
  background: var(--paper-surface);
  border: 2px solid var(--reader-border);
  box-shadow: 0 0 0 1px #cedbe466, 0 0 16px #e5f3ff66,
              0 0 30px #d5eaff26, 10px 18px 34px #0007;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate(10px, 6px);
  pointer-events: none;
  transition: transform .36s ease, opacity .36s ease, visibility .36s;
}
.master-teaser[hidden] { display: none; }
.master-teaser:has(.perspective-header) {
  --reader-bg: #f0f1f2;
  --reader-ink: #111315;
  --kicker-size: min(9px, calc((100vw - 64px) / 45));
  top: 48px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: calc(100% - 48px);
  overflow: clip;
}
#details.master-side-open:has(.master-profile) { transform: none; }
.master-teaser:has(.perspective-header) .master-essay-scroll {
  border: 0;
  padding: 0 28px 0 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
}
#details.master-side-open .master-teaser {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.master-teaser-inside {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 16px 18px 18px;
}
.master-teaser-back {
  align-self: flex-start;
  flex: 0 0 auto;
  background: transparent;
  color: var(--accent-red);
  cursor: pointer;
  margin: 0 0 16px;
  font: 500 11px/1.25 Montserrat, Arial, sans-serif;
}
.master-essay-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: var(--accent-red);
  font: 500 7px/1.25 Montserrat, Arial, sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.master-essay-eyebrow::before, .master-essay-eyebrow::after {
  content: '';
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.perspective-header {
 flex:0 0 auto; align-self:stretch; display:flex; flex-direction:column;
 justify-content:flex-end; min-height:180px; margin:0; padding-bottom:18px;
}
.perspective-header > h3 {
 margin:0; padding:0; border:0;
 font:400 30px/1.1 Bodoni,Georgia,serif; color:#111315;
}
.perspective-header .master-essay-eyebrow { grid-column:2; grid-row:1; margin:0; white-space:normal; font:400 14px/1.3 Bodoni,Georgia,serif; }
.perspective-header .master-essay-eyebrow::before,.perspective-header .master-essay-eyebrow::after { display:none; }
.perspective-header .master-teaser-kicker { grid-column:2; grid-row:2; margin:0; white-space:normal; font:400 14px/1.3 Bodoni,Georgia,serif; }
.perspective-header .master-teaser-kicker::after { display:none; }
.master-teaser-inside:has(.perspective-header) > .master-teaser-back {
  margin-bottom: 6px;
}
.master-teaser-inside > h3 {
  font: 32px/1.03 Bodoni, Georgia, serif;
  margin: 0 0 10px;
  color: #1a1b17;
}
.master-teaser-kicker {
  flex: 0 0 auto;
  margin: 0 0 12px;
  font: 500 var(--kicker-size)/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  color: #171918;
}
.master-teaser-kicker::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 8px;
  background: var(--accent-red);
}
.master-teaser-kicker b { color: var(--accent-red); padding: 0 3px; }
.master-essay-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c8bdae var(--reader-bg);
  border: 2px solid var(--reader-border);
  padding: 10px;
  background: var(--reader-bg);
  color: var(--reader-ink);
  box-shadow: inset 0 3px 9px #0005, 0 1px 0 #ffffff80;
}
.perspective-reader-body { font: 12.3px/1.4 Montserrat, Arial, sans-serif; }
.master-teaser:has(.perspective-header) .perspective-reader-body { font-size: 13px; line-height: 1.4; }
.perspective-reader-body p { margin: 0 0 10px; }
.perspective-reader-body h3 { font: 600 20px/1.15 Bodoni, Georgia, serif; margin: 16px 0 9px; }
.master-teaser:has(.perspective-header) .perspective-reader-body h3 { font-size: 22px; font-weight: 400; margin: 12px 0 7px; }
.perspective-reader-body blockquote {
  margin: 18px 0;
  border-left: 2px solid var(--accent-red);
  padding-left: 11px;
  font: italic 21px/1.3 Bodoni, Georgia, serif;
}
.perspective-reader-body .perspective-quote {
  display:flex; flex-wrap:wrap; gap:2px .25em;
  margin:10px 0 12px;
  padding:0;
  border:0;
  color:#8a3e43;
  text-align:left;
  font:400 clamp(18px,2.5vw,24px)/1.1 Allura,cursive;
}
.perspective-quote span { display:block; white-space:nowrap; }
.perspective-quote span + span { margin-left:12px; }
/* All remaining cards share the compact dialog; longer copy scrolls inside it. */
.editorial-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0 1px;
  overflow: hidden;
}
.editorial-panel > :not(.editorial-scroll) { flex-shrink: 0; }
.editorial-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 2px solid transparent;
  scrollbar-width: thin;
  scrollbar-color: #c8bdae var(--reader-bg);
}
.editorial-scroll.is-scrollable {
  border-color: var(--reader-border);
  background: var(--reader-bg);
  color: var(--reader-ink);
  box-shadow: inset 0 3px 9px #0005, 0 1px 0 #ffffff80;
}
.editorial-scroll.is-scrollable .editorial-footer,
.editorial-scroll.is-scrollable .card-quotation cite { color: var(--reader-ink); }
.editorial-scroll > :first-child { margin-top: 0; }
.editorial-index { font: 12px Georgia, serif; margin-bottom: 8px; }
.editorial-index i { background: var(--accent-red); }
.editorial-panel h2 {
  margin: 0 42px 9px 0;
  color: #181917;
  font: 36px/1.02 Bodoni, Georgia, serif;
  letter-spacing: -1.1px;
}
.editorial-kicker {
  margin: 0 0 12px;
  color: #343631;
  font: 500 9px/1.5 Montserrat, Arial, sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.editorial-kicker b { color: var(--accent-red); padding: 0 5px; }
.editorial-rule { display: none; }
.editorial-image { margin: 0; position: relative; isolation: isolate; }
.editorial-image::before {
  content: '';
  position: absolute;
  inset: 8px -7px -7px 9px;
  z-index: -1;
  background: var(--accent-red);
  opacity: .20;
}
.editorial-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-panel h3, .editorial-panel h4 { font-family: Bodoni, Georgia, serif; font-weight: 400; }
.editorial-panel p { margin: 0; }
.editorial-footer.card-quotation {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  min-height: 38px;
  margin-top: 10px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border-top: 1px solid var(--accent-red);
  color: #343b33;
}
.quotation-text { font: italic 12px/1.25 Bodoni, Georgia, serif; }
.card-quotation cite { font: 9px/1.4 Montserrat, Arial, sans-serif; font-style: normal; color: #596053; }
/* Card 03 — current three-column research copy, preserving the existing content. */
.research-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.research-columns .editorial-image { height: 95px; margin-bottom: 12px; }
.research-columns h3 { font-size: 17px; line-height: 1.12; min-height: 57px; margin: 0 0 9px; }
.research-columns p { font-size: 10.5px; line-height: 1.43; }
.short-rule { display: block; width: 34px; height: 2px; background: var(--accent-red); margin-bottom: 8px; }
/* Card 02 — analytical skills. */
.core-composition { display: grid; grid-template-columns: 1.9fr 1fr; gap: 18px; margin-top: 13px; }
.core-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; align-content: start; }
.core-skills article { position: relative; padding: 0; }
.core-skills h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.13; }
.core-skills p { font-size: 10.5px; line-height: 1.42; }
.core-images .editorial-image { height: 80px; margin-bottom: 9px; }
.small-label { font-size: 9px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; }
.core-images .small-label { margin: 0 0 12px; }
/* Card 04 — operational experience. */
.experience-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; margin-top: 10px; }
.experience-photo { height: 230px; }
.experience-timeline { border-left: 1px solid var(--accent-red); padding-left: 18px; }
.experience-timeline article { position: relative; margin-bottom: 10px; }
.timeline-dot { position: absolute; top: 3px; left: -23px; height: 9px; width: 9px; border-radius: 50%; background: var(--accent-red); }
.experience-timeline article:first-child .timeline-dot { background: var(--accent-red); }
.experience-timeline h3 { font-size: 18px; line-height: 1.13; margin: 5px 0; }
.experience-timeline p { font-size: 10px; line-height: 1.42; }
.experience-timeline .employer { margin-bottom: 7px; }
/* Card 05 — additional experience and education. */
.additional-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 11px; }
.column-heading { margin: 0 0 9px; font-size: 22px; }
.additional-layout > section:first-child { display: flex; flex-direction: column; gap: 11px; }
.additional-entry { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 10px; align-items: start; }
.additional-entry .editorial-image { width: 65px; height: 70px; }
.additional-entry h4 { font-size: 15px; line-height: 1.15; margin: 0 0 5px; }
.additional-entry p, .education-entry p { font-size: 10px; line-height: 1.4; }
.education-column { border-left: 1px solid var(--accent-red); padding-left: 18px; }
.education-column > .editorial-image { height: 95px; margin-bottom: 13px; }
.education-entry { margin-bottom: 15px; }
.education-entry h4 { margin: 0 0 7px; font-size: 17px; }
.editorial-explore {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 12px 0 10px auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--paper-surface);
  color: var(--accent-red);
  cursor: pointer;
  font: 500 11px/1.25 Montserrat, Arial, sans-serif;
}
@media (min-width: 768px) {
  .master-teaser:not(:has(.perspective-header)) .master-essay-scroll:not(.is-scrollable) {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
  }
}
@media (min-width: 768px) and (max-width: 811px) {
  #details.master-side-open { transform: none; }
  .master-teaser { right: -1px; }
}
@media (max-width: 500px) {
  #details:has(.master-profile) {
    border: 0;
    box-shadow: none;
  }
  .master-teaser:has(.perspective-header) {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
    transition: none;
  }
  #details.master-side-open:has(.master-profile) > .close { visibility: hidden; pointer-events: none; }
}
/* Resize geometry only at actual responsive breakpoints. */
@media (max-width: 767px) {
  #details {
    --kicker-size: clamp(6.5px, 2.05vw, 9px);
    transition: none;
  }
  #details .close, #details .companion-close { top: 5px; right: 5px; height: 28px; width: 28px; font-size: 25px; }
  #detail-content { height: 100%; overflow: hidden; padding: 44px 16px 18px; }
  #details:has(.master-profile) #detail-content { padding: 0; border: 0; overflow: hidden; }
  .master-profile { height: 100%; min-height: 0; padding-bottom: 0; }
  .master-index { top: 16px; left: 16px; }
  .master-profile-text {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 48px 16px 14px;
  }
  .master-profile-kicker { max-width: none; }
  .master-profile-bio p { margin-bottom: 10px; }
  .master-explore { margin-top: 12px; min-width: 0; white-space: normal; }
  .master-profile-art {
    position: absolute;
    top: -24px;
    bottom: 0;
    right: -20px;
    width: calc(100% + 20px);
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    opacity: 1;
    --edge-mask: linear-gradient(to left, #000 0 12%, #000c 27%, #0004 58%, transparent 85%);
  }
  .master-profile-art img { object-position: right top; }
  .profile-photo-edge { height: auto; aspect-ratio: 1005 / 1436; }
  #details.master-side-open { transform: translateX(-8px); }
  .master-teaser { width: calc(100% + 8px); max-width: none; right: -17px; }
  .master-teaser-inside { padding: 14px 16px 16px; }
  .master-teaser-inside > h3 { font-size: 30px; }
  .panel-circuit { opacity: .22; }
  .companion-art { top: -24px; right: -16px; width: calc(100% - 4px); }
  .companion-art img {
    mask-image: linear-gradient(to left, #000 0 12%, #000b 25%, #0003 58%, transparent 86%);
    mask-composite: add;
  }
  .master-teaser:not(:has(.perspective-header)) .perspective-reader-body { font-size: 14px; line-height: 1.4; }
  .editorial-panel { padding: 0; }
  .editorial-scroll { border-color: var(--reader-border); background: var(--reader-bg); color: var(--reader-ink); box-shadow: inset 0 3px 9px #0005, 0 1px 0 #ffffff80; }
  .editorial-scroll .editorial-footer,
  .editorial-scroll .card-quotation cite { color: var(--reader-ink); }
  .editorial-explore { position: relative; right: auto; bottom: auto; margin-top: 24px; }
  .editorial-panel h2 { font-size: 37px; margin-right: 35px; }
  .editorial-kicker { font-size: 11px; }
  .editorial-footer.card-quotation { position: relative; margin-top: 24px; height: auto; min-height: 60px; }
  .research-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .research-columns .editorial-image { height: 200px; margin-bottom: 21px; }
  .research-columns h3 { min-height: 0; font-size: 23px; }
  .research-columns p { font-size: 15px; line-height: 1.48; }
  .core-composition { display: flex; flex-direction: column; gap: 24px; }
  .core-skills { gap: 18px; }
  .core-skills h3 { font-size: 20px; }
  .core-skills p { font-size: 14px; }
  .core-images .editorial-image { height: 180px; }
  .experience-layout { grid-template-columns: 1fr; gap: 25px; }
  .experience-photo { height: 240px; }
  .experience-timeline h3 { font-size: 22px; }
  .experience-timeline p { font-size: 14px; }
  .additional-layout { grid-template-columns: 1fr; gap: 27px; }
  .additional-layout > section:first-child { gap: 19px; }
  .additional-entry { grid-template-columns: 85px 1fr; gap: 15px; }
  .additional-entry .editorial-image { width: 85px; height: 94px; }
  .additional-entry h4 { font-size: 20px; }
  .additional-entry p, .education-entry p { font-size: 14px; }
  .education-column { border-left: 0; padding-left: 0; }
  .education-column > .editorial-image { height: 200px; }
  .education-entry h4 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  #details, .master-teaser { transition: none; }
}

/* Beyond supporting titles share the editorial serif. */
.perspective-header .master-essay-eyebrow { justify-content: flex-start; font: 400 14px/1.2 Bodoni, Georgia, serif; letter-spacing: 0; text-transform: none; white-space: normal; }
.perspective-header .master-essay-eyebrow::before, .perspective-header .master-essay-eyebrow::after { display: none; }
.perspective-header .master-teaser-kicker { font: 400 14px/1.2 Bodoni, Georgia, serif; text-align: left; text-wrap: wrap; }

/* Profile: one composition, with a separate portrait phone layout. */
#details:has(.profile-reference) {
 border:1px solid #b8bab6; border-radius:0; background:var(--paper-surface);
 box-shadow:0 18px 42px #0008; overflow:visible;
}
#details:has(.profile-reference)::after {
 content:''; position:absolute; inset:-20px; border-radius:0;
 border:1px solid var(--selected-glass-border); background:transparent;
 box-shadow:var(--selected-glass-shadow); pointer-events:none;
}
.profile-reference { border-radius:0; }
.profile-circuit { position:absolute; top:0; left:0; width:100%; height:12px; pointer-events:none; opacity:.6; }
.profile-reference .master-profile-text {
 position:relative; z-index:2; display:flex; flex-direction:column;
 width:63%; height:100%; margin-left:0; padding:37px 18px 18px;
 background:var(--paper); border-right:1px solid #aeb0aa;
}
.profile-blend-art {
 position:absolute; z-index:1; left:auto; right:0; top:0; height:100%; width:37%; aspect-ratio:auto;
 margin:0; overflow:hidden; isolation:isolate;
 background:linear-gradient(90deg,#070909 0%,#101212 34%,#343635 45%,#cacac4 62%,#f6f4ef 75%,#fff 100%);
}
.profile-blend-art > img { position:absolute; display:block; top:0; height:100%; object-fit:cover; }
.profile-blend-art > .profile-theme-art { inset:0; width:100%; height:100%; object-fit:cover; object-position:left center; }
.profile-blend-art .profile-blend-face {
 z-index:1; left:0; width:70%; object-position:center center;
 filter:grayscale(.82) brightness(1.08) contrast(.97);
 mask-image:linear-gradient(to right,#000 0%,#000 66%,transparent 100%);
 -webkit-mask-image:linear-gradient(to right,#000 0%,#000 66%,transparent 100%);
}
.profile-blend-art .profile-blend-map {
 z-index:2; right:0; width:58%; object-position:center center; filter:grayscale(.3);
 mask-image:linear-gradient(to right,transparent 0%,#000 36%,#000 100%);
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 36%,#000 100%);
}
.profile-blend-highlights { position:absolute; z-index:3; inset:0; width:100%; height:100%; pointer-events:none; }
.profile-blend-highlights path { vector-effect:non-scaling-stroke; }
.profile-highlight-red { filter:drop-shadow(0 0 1px #b51f2a55); }
.profile-highlight-silver { filter:drop-shadow(0 0 1px #eef8ff66); }
.profile-reference .master-index { left:18px; top:12px; }
.profile-reference .profile-identity { min-width:0; }
.profile-reference .profile-owner { width:100%; font-size:40px; line-height:1.1; white-space:nowrap; text-align:left; margin-bottom:12px; border-left:2px solid var(--accent-red); padding-left:12px; }
.profile-reference .profile-personal-kicker { margin:0 0 12px; color:#595b57; font:400 11px/1.4 Montserrat,Arial,sans-serif; letter-spacing:.6px; text-transform:uppercase; max-width:100%; }
.profile-reference .profile-contact { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:14px; line-height:1.4; margin-bottom:0; white-space:nowrap; }
.profile-reference .profile-contact-row { display:contents; }
.profile-reference .profile-contact-row::before { display:none; }
.profile-reference .profile-contact-row > :first-child,
.profile-reference .profile-contact-row > :last-child { padding:0; border:0; }
.profile-reference .profile-contact-row + .profile-contact-row { margin:0; padding:0; border:0; }
.profile-reference .profile-contact a { text-decoration:none; overflow-wrap:normal; white-space:nowrap; }
.profile-reference .profile-identity::after { display:none; }
.profile-reference .reader-shell {
 flex:1; min-height:0; border-top:1px solid #c8c3b9; border-bottom:1px solid #c8c3b9;
 padding:var(--reader-block-padding) 0; margin:18px 0 0; background:transparent; overflow:hidden;
}
.profile-reference .master-profile-bio { font-size:15px; line-height:1.5; padding-right:20px; }
.profile-reference .master-profile-bio p:first-child { font:inherit; margin-bottom:8px; }
.profile-reference .reader-scrollbar { top:7px; bottom:7px; right:-5px; z-index:4; }
/* Personal Introduction trial: thin smoked glass, with the full drag target retained. */
.profile-reference .reader-scrollbar::before {
 left:10.5px; width:3px; border-radius:1.5px;
 background:rgba(78,91,97,.10);
 box-shadow:inset .5px 0 0 #ffffff80;
}
.profile-reference .reader-scroll-thumb {
 left:10.5px; width:3px; border-radius:1.5px;
 background:linear-gradient(90deg,#f5fbfdf2 0%,#aebacbb3 30%,#606f77c7 62%,#334048c2 100%);
 box-shadow:inset .5px 0 0 #ffffffb3,1px 0 1px #1c24221f;
}
.profile-reference .reader-scrollbar:hover .reader-scroll-thumb,
.profile-reference .reader-scrollbar:active .reader-scroll-thumb { filter:brightness(.88); }
.profile-reference .reader-scrollbar:focus-visible .reader-scroll-thumb,
.profile-reference .reader-shell > [role="region"]:focus-visible + .reader-scrollbar .reader-scroll-thumb {
 box-shadow:inset .5px 0 0 #ffffffb3,0 0 0 1px #3f515d80;
}
.profile-reference .master-explore { flex:none; margin-top:5px; min-width:0; width:100%; font:400 15px/1.2 Bodoni,Georgia,serif; }
.profile-reference .master-explore em { display:none; }
.profile-reference .master-explore:hover, .profile-reference .master-explore:focus-visible { background:#e6e8e5; }
.profile-library-backdrop,.profile-banner { display:none; }
@media (max-width:600px) {
 #details:has(.profile-reference) { }
 .profile-blend-art { width:100%; height:100%; aspect-ratio:auto; }
 .profile-reference .master-profile-text { width:100%; margin-left:0; background:var(--paper-surface); }
 .profile-reference .master-index { left:18px; gap:12px; }
 .profile-reference .master-index i { width:40px; }
 .profile-reference .profile-owner { font-size:26px; letter-spacing:-.7px; }
 .profile-reference .profile-contact { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; font-size:13px; }
 .profile-reference .profile-contact-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; }
}
/* Phone introduction: identity left, complete artwork right, biography below. */
@media (max-width:500px) {
 .profile-reference {
  --phone-art-width:clamp(150px,40vw,180px);
  display:grid; grid-template-columns:minmax(0,1fr) var(--phone-art-width);
  grid-template-rows:28px max-content minmax(0,1fr) auto;
  gap:0 14px; padding:0 16px 14px;
 }
 .profile-reference .master-index { left:16px; gap:10px; }
 .profile-reference .master-index i { width:28px; }
 .profile-reference .master-profile-text { display:contents; }
 .profile-reference .profile-identity { display:block; grid-column:1; grid-row:2; min-width:0; align-self:start; margin:0; padding-top:12px; }
 .profile-reference .profile-owner { width:calc(100% + 8px); font-size:40px; line-height:1.02; letter-spacing:-.2px; white-space:normal; margin:0 -8px 14px 0; border-left:0; padding-left:0; }
 .profile-reference .profile-contact { display:flex; flex-direction:column; gap:7px; margin:0; padding-left:11px; border-left:2px solid var(--accent-red); font-size:15px; line-height:1.45; }
 .profile-reference .profile-contact-row { display:contents; }
 .profile-reference .profile-contact-row > :first-child,
 .profile-reference .profile-contact-row > :last-child { padding:0; border:0; }
 .profile-reference .profile-contact-row + .profile-contact-row { padding:0; border:0; margin:0; }
 .profile-reference .profile-blend-art { display:block; position:relative; grid-column:2; grid-row:2; inset:auto; width:100%; height:100%; margin:0; border:0; background:none; aspect-ratio:auto; }
 .profile-reference .profile-theme-art { object-fit:cover; object-position:center 44%; }
 .profile-reference .reader-shell { grid-column:1 / -1; grid-row:3; margin:0; min-height:0; padding:14px 0; background:transparent; }
 .profile-reference .master-profile-bio { font-size:15px; line-height:1.5; }
 .profile-reference .master-profile-bio p { margin-bottom:12px; }
 .profile-reference .master-profile-bio p:first-child { font:inherit; margin-bottom:12px; }
 .profile-reference .master-explore { grid-column:1 / -1; grid-row:4; margin:0; }
 #details.master-side-open:has(.profile-reference) { transform:none; }
 #details:has(.profile-reference) .master-teaser { inset:0; width:100%; height:100%; border-radius:0; overflow:hidden; }
 .profile-circuit { opacity:.55; }
}
/* Portrait artwork is a separate horizontal panel above the reading area. */
@media (min-width:501px) and (max-width:600px) {
 .profile-reference { --phone-art-height:clamp(230px,60vw,320px); display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:40px var(--phone-art-height) minmax(0,1fr); }
 .profile-reference .profile-blend-art { display:block; position:relative; grid-column:1; grid-row:2; inset:auto; width:calc(100% - 32px); max-width:100%; height:100%; margin:0 16px; border:1px solid #bec1bb; aspect-ratio:auto; overflow:hidden; }
 .profile-reference .profile-blend-face { width:54%; height:100%; object-fit:cover; object-position:center top; filter:none; }
 .profile-reference .profile-blend-map { width:60%; height:100%; object-fit:contain; object-position:right center; filter:none; }
 .profile-reference .profile-blend-art { background:none; }
 .profile-reference .profile-theme-art { object-fit:contain; object-position:center center; }
 .profile-reference .profile-blend-highlights { opacity:.65; }
 .profile-reference .master-profile-text { grid-column:1; grid-row:3; width:100%; height:100%; min-height:0; margin:0; padding:16px var(--profile-inline-padding,18px) 14px; background:var(--paper-surface); }
 .profile-reference .reader-shell { background:transparent; }
}
/* Portrait tablet: identity left, upright cropped artwork right, reading area below. */
@media (min-width:501px) and (orientation:portrait) {
 .profile-reference {
  display:grid; grid-template-columns:minmax(0,1fr) 54%;
  grid-template-rows:32px max-content minmax(0,1fr) auto;
  gap:0 12px; padding:0 32px 16px;
 }
 .profile-reference .master-index { left:32px; top:8px; }
 .profile-reference .master-index > span { font-size:22px; line-height:1; }
 .profile-reference .master-index > i { background:#b51f2a8c; }
 .profile-reference .master-profile-text { display:contents; }
 .profile-reference .profile-identity { grid-column:1; grid-row:2; align-self:center; min-width:0; padding:0; container-type:inline-size; }
 .profile-reference .profile-owner { width:100%; margin:0 0 14px; font-family:'Bodoni Name',Bodoni,Georgia,serif; font-weight:600; font-size:clamp(28px,18.5cqw,52px); line-height:1.04; letter-spacing:-.3px; white-space:normal; border-left:0; padding-left:0; }
 .profile-reference .profile-contact { display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin:0 0 0 5px; padding-left:10px; border-left:1px solid #b51f2a8c; font-size:17px; line-height:1.45; }
 .profile-reference .profile-contact-row { display:contents; }
 .profile-reference .profile-blend-art {
  display:block; grid-column:2; grid-row:2; position:relative; inset:auto;
  width:100%; max-width:none; height:clamp(260px,46vw,330px); margin:0; border:0;
  background:none; aspect-ratio:auto;
 }
 .profile-reference .profile-theme-art {
  position:absolute; inset:0;
  width:100%; height:100%; max-width:none; max-height:none;
  object-fit:cover; object-position:center 60%; transform:none;
 }
 .profile-reference .reader-shell { grid-column:1 / -1; grid-row:3; min-height:0; margin:0; padding:14px 0; }
 .profile-reference .master-profile-bio { font-size:16px; line-height:1.5; }
 .profile-reference .reader-scrollbar { right:-10.5px; }
 .profile-reference .master-explore { grid-column:1 / -1; grid-row:4; margin:0; }
}
@media (max-width:400px) {
 .profile-reference .master-profile-text { --profile-inline-padding:14px; }
 .profile-reference .master-index { left:14px; }
}

/* Landscape: carry the portrait contact rule and hierarchy into the wide card. */
@media (min-width:501px) and (orientation:landscape) {
 .profile-reference .profile-owner { border-left:0; padding-left:14px; }
 .profile-reference .profile-personal-kicker { padding-left:14px; }
 .profile-reference .profile-contact {
  display:flex; flex-direction:column; align-items:flex-start; gap:.411765em;
  margin:0 0 0 19px; padding-left:10px; border-left:1px solid #b51f2a8c;
  font-size:15px; line-height:1.45;
 }
}

/* AI essay: compact artwork feature followed by flowing editorial sections. */
#details:has(.profile-reference) .master-teaser:has(.perspective-header) {
 inset:0; width:100%; height:100%; border:0; border-radius:0;
 background:var(--paper-surface); box-shadow:none; --reader-block-padding:12px;
}
.master-teaser:has(.perspective-header) .master-teaser-inside {
 display:grid; grid-template-columns:minmax(0,1fr);
 grid-template-rows:auto auto minmax(0,1fr); gap:0; padding:10px max(10px,calc((100% - 580px) / 4)) 16px;
 font:400 14px/1.5 Montserrat,Arial,sans-serif;
}
.master-teaser:has(.perspective-header) .master-teaser-back,
.master-teaser:has(.perspective-header) .perspective-header,
.master-teaser:has(.perspective-header) .reader-shell {
 width:100%; max-width:none; margin-inline:auto; grid-column:1;
}
.master-teaser:has(.perspective-header) .master-teaser-back {
 grid-row:1; justify-self:start; text-align:left; margin-bottom:4px; border:0; padding:0;
}
.master-teaser:has(.perspective-header) .master-teaser-back > span {
 display:inline-block; border-bottom:1px solid var(--accent-red); padding-bottom:5px;
}
.master-teaser:has(.perspective-header) .perspective-header {
 display:block; grid-row:2; min-height:0; padding:0;
}
.master-teaser:has(.perspective-header) .perspective-header > h3 {
 font:400 20px/1.2 Bodoni,Georgia,serif; letter-spacing:.2px;
 text-transform:uppercase; color:var(--ink); margin:0;
}
.master-teaser:has(.perspective-header) .perspective-header::after {
 display:none;
}
.master-teaser:has(.perspective-header) .reader-shell {
 grid-row:3; min-width:0; min-height:0; border-top:0; border-bottom:1px solid #c8c3b9;
 padding:var(--reader-block-padding) 0; overflow:hidden;
}
.master-teaser:has(.perspective-header) .reader-scrollbar { top:9px; bottom:9px; right:-5px; }
.master-teaser:has(.perspective-header) .reader-scrollbar::before {
 left:10.5px; width:3px; border-radius:1.5px;
 background:rgba(78,91,97,.10);
 box-shadow:inset .5px 0 0 #ffffff80;
}
.master-teaser:has(.perspective-header) .reader-scroll-thumb {
 left:10.5px; width:3px; border-radius:1.5px;
 background:linear-gradient(90deg,#f5fbfdf2 0%,#aebacbb3 30%,#606f77c7 62%,#334048c2 100%);
 box-shadow:inset .5px 0 0 #ffffffb3,1px 0 1px #1c24221f;
}
.master-teaser:has(.perspective-header) .reader-scrollbar:hover .reader-scroll-thumb,
.master-teaser:has(.perspective-header) .reader-scrollbar:active .reader-scroll-thumb { filter:brightness(.88); }
.master-teaser:has(.perspective-header) .reader-scrollbar:focus-visible .reader-scroll-thumb,
.master-teaser:has(.perspective-header) .reader-shell > [role="region"]:focus-visible + .reader-scrollbar .reader-scroll-thumb {
 box-shadow:inset .5px 0 0 #ffffffb3,0 0 0 1px #3f515d80;
}

.master-teaser:has(.perspective-header) .master-essay-scroll { padding-left:6px; padding-right:22px; }
.master-teaser:has(.perspective-header) .perspective-reader-body { font-size:13px; line-height:20.7px; }
.master-teaser:has(.perspective-header) .perspective-reader-body p { margin:0 0 12px; }
.master-teaser:has(.perspective-header) .perspective-reader-body > .perspective-opening {
 font:inherit; margin-bottom:12px;
}
.master-teaser:has(.perspective-header) .perspective-reader-body h3 {
 clear:both; display:flex; align-items:center; gap:10px; font:400 17px/1.15 Bodoni,Georgia,serif;
 margin:22px 0 9px; color:var(--ink);
}
.master-teaser:has(.perspective-header) .perspective-reader-body h3::before {
 content:''; flex:0 0 24px; height:1px; background:var(--accent-red);
}
.master-teaser:has(.perspective-header) .perspective-quote {
 margin:12px 0 12px 24px; padding:0 4px; border:0;
 color:var(--accent-red); font-size:24px; line-height:1;
}
@media(max-width:600px) {
 .master-teaser:has(.perspective-header) .master-teaser-inside { padding:10px 9px 16px; }
 .master-teaser:has(.perspective-header) .perspective-header > h3 { font-size:17px; line-height:1.2; }
 .master-teaser:has(.perspective-header) .perspective-reader-body { font-size:14px; line-height:21.5px; }
 .master-teaser:has(.perspective-header) .perspective-reader-body > .perspective-opening { font:inherit; }
 .master-teaser:has(.perspective-header) .perspective-reader-body h3 { font-size:17px; }
 .master-teaser:has(.perspective-header) .perspective-quote { font-size:22px; }
}

.master-teaser:has(.perspective-header) .perspective-quote-list { margin:0 0 12px 24px; }
.master-teaser:has(.perspective-header) .perspective-quote-list > p { margin:0; line-height:1.2; }
.master-teaser:has(.perspective-header) .perspective-quote span + span { margin-left:0; }
.master-teaser:has(.perspective-header) .perspective-reader-body > .perspective-friend-intro { margin-bottom:4px; }
.master-teaser:has(.perspective-header) .perspective-friend-quote {
 margin:0 0 12px 63px; padding:0 4px; border:0; line-height:1;
}
@media(max-width:600px) {
 .master-teaser:has(.perspective-header) .perspective-friend-quote { margin-left:68px; }
}

.master-teaser:has(.perspective-header) .perspective-header > .perspective-main-title {
 clear:both; display:flex; align-items:center; gap:12px; margin:0; padding:0 0 8px; text-transform:none;
 border-bottom:1px solid #c8c3b9; font:400 18px/1.25 Bodoni,Georgia,serif; color:var(--ink);
}
.master-teaser:has(.perspective-header) .perspective-header > .perspective-main-title::before {
 content:''; display:block; flex:0 0 84px; width:84px; height:1px; margin:0;
 background:var(--accent-red);
}
.perspective-reader-body::after { content:''; display:block; clear:both; }

/* The Experiment: a compact essay link and a full-card artwork viewer. */
.perspective-circuit { position:absolute; top:3px; right:38px; z-index:0; width:126px; height:22px; pointer-events:none; opacity:.5; }
.perspective-circuit path,.perspective-circuit circle { vector-effect:non-scaling-stroke; }
.experiment-feature {
 display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); align-items:start;
 gap:12px; margin:0 0 12px; padding:0; border-bottom:0;
}
.experiment-visual { margin:0; min-width:0; }
.perspective-section-art { display:block; float:right; width:42%; max-width:220px; height:auto; max-height:none; object-fit:contain; margin:0 0 12px 18px; }
.perspective-section-art.art-left { float:left; margin:0 18px 12px 0; }
.experiment-preview { display:block; width:100%; padding:0; border:1px solid #939797; background:#111312; color:var(--paper); cursor:zoom-in; }
.experiment-preview > img { display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; }
.experiment-open-link { display:block; width:max-content; max-width:100%; margin:6px 0 0; padding:0 0 3px; border:0; border-bottom:1px solid currentColor; background:transparent; color:var(--ink); font:500 12px/1.3 Montserrat,Arial,sans-serif; cursor:pointer; }
.experiment-open-link > span { padding-right:5px; }
.experiment-caption h4 { margin:0 0 5px; color:var(--ink); font:400 25px/1.1 Bodoni,Georgia,serif; }
.master-teaser:has(.perspective-header) .experiment-caption p { font:400 11px/1.45 Montserrat,Arial,sans-serif; margin:0 0 6px; }
.master-teaser:has(.perspective-header) .experiment-caption .experiment-credit { margin:0 0 13px; font:500 10px/1.3 Montserrat,Arial,sans-serif; letter-spacing:.35px; color:var(--accent-red); }
.master-teaser:has(.perspective-header) .experiment-feature > .experiment-provenance { grid-column:1 / -1; margin:-6px 0 0; font:400 12px/1.35 Montserrat,Arial,sans-serif; color:#5c6060; }
.experiment-viewer-credit { text-align:center; }
.experiment-viewer-credit p { margin:5px 0 0; font:400 9px/1.3 Montserrat,Arial,sans-serif; color:#5c6060; }
#experiment-afterthought .experiment-toolbar h2 { font-size:21px; }
.experiment-afterthought-link { padding:2px 0; border:0; border-bottom:1px solid var(--accent-red); background:transparent; color:var(--accent-red); font:500 11px/1.3 Montserrat,Arial,sans-serif; cursor:pointer; }
.experiment-afterthought-link > span { padding-left:8px; }
#experiment-viewer, #experiment-afterthought {
 position:fixed; padding:0; border:1px solid #b8bab6; overflow:visible;
 background:#101110; color:var(--ink); box-shadow:0 18px 42px #0008;
}
#experiment-viewer[open], #experiment-afterthought[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
#experiment-viewer::after, #experiment-afterthought::after { content:''; position:absolute; inset:-20px; border:1px solid var(--selected-glass-border); box-shadow:var(--selected-glass-shadow); pointer-events:none; }
#experiment-viewer::backdrop, #experiment-afterthought::backdrop { background:#06080bca; backdrop-filter:blur(5px); }
.experiment-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 18px; background:var(--paper-surface); border-bottom:1px solid #b51f2a; }
.experiment-toolbar h2 { margin:0; font:400 24px/1.1 Bodoni,Georgia,serif; }
.experiment-toolbar button { border:0; padding:3px 0; background:transparent; color:var(--accent-red); font:500 11px/1.3 Montserrat,Arial,sans-serif; cursor:pointer; white-space:nowrap; }
.experiment-viewer-actions { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.experiment-viewer-actions .experiment-afterthought-link { border-bottom:1px solid var(--accent-red); }
#experiment-viewer :focus-visible, #experiment-afterthought :focus-visible { outline:2px solid var(--accent-red); outline-offset:3px; }
.experiment-image-frame { min-width:0; min-height:0; width:100%; height:100%; margin:0; overflow:auto; display:grid; scrollbar-width:thin; scrollbar-color:#b8bab6 #171918; }
.experiment-image-frame img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
#experiment-viewer.is-zoomed .experiment-image-frame { display:block; }
#experiment-viewer.is-zoomed .experiment-image-frame img { width:200%; height:auto; max-width:none; }
/* Landscape artwork: wide frame, 40px shorter than the former 3:2 image. */
@media (min-width:501px) and (orientation:landscape) {
 .experiment-feature { container-type:inline-size; grid-template-columns:minmax(0,61%) minmax(0,1fr); }
 .experiment-preview > img { height:max(120px,calc(34.146341cqw - 45.430894px)); aspect-ratio:auto; object-fit:cover; object-position:center; }
}
@media (min-width:501px) and (orientation:portrait) {
 .experiment-feature { grid-template-columns:minmax(0,min(377px,60%)) minmax(0,1fr); }
 .experiment-preview > img { height:clamp(160px,28.367vw,211.05px); aspect-ratio:auto; object-fit:cover; }
}
@media(max-width:500px) {
 .experiment-feature { grid-template-columns:minmax(0,1fr); gap:14px; }
 #experiment-viewer, #experiment-afterthought { }
 .experiment-toolbar { gap:8px; padding:14px 12px; }
 .experiment-toolbar h2 { font-size:21px; }
}

#experiment-afterthought { background:var(--paper-surface); }
.afterthought-conversation { min-height:0; overflow:auto; padding:22px 28px; color:var(--ink); font:400 14px/1.55 Montserrat,Arial,sans-serif; scrollbar-width:thin; scrollbar-color:var(--accent-red) var(--paper); }
.afterthought-conversation section + section { margin-top:22px; }
.afterthought-conversation h3 { margin:0 0 10px; font:500 10px/1.3 Montserrat,Arial,sans-serif; letter-spacing:1px; text-transform:uppercase; color:var(--accent-red); }
.afterthought-conversation p { margin:0 0 14px; }
.afterthought-user { padding:0 0 0 14px; border-left:2px solid var(--accent-red); }
.afterthought-user blockquote { margin:0; font:400 20px/1.4 Bodoni,Georgia,serif; }
@media(max-width:500px) { .afterthought-conversation { padding:20px; font-size:15px; } }

/* Blank backs apply only to unfinished cards 02–05. */
/* Shared blank shells for all five opened cards. */
#details:has(.blank-card) {
 --card-label-size:12px;
 position:fixed; padding:0; box-sizing:border-box;
 border:1px solid #b8bab6; border-radius:0; overflow:visible; isolation:isolate;
 background:var(--paper-surface); color:var(--ink); box-shadow:0 18px 42px #0008;
}
#details:has(.blank-card)::after {
 content:''; position:absolute; inset:-20px; border:1px solid var(--selected-glass-border); border-radius:0;
 background:transparent; pointer-events:none;
 box-shadow:var(--selected-glass-shadow);
}
#details:has(.blank-card)::backdrop { background:#06080b89; backdrop-filter:blur(5px); }
#details:has(.blank-card) #detail-content { width:100%; height:100%; padding:0; overflow:hidden; }
#details:has(.blank-card) .close {
 position:absolute; top:7px; right:7px; z-index:10; display:grid; place-items:center;
 width:30px; height:30px; padding:0; border:0; border-radius:0;
 background:transparent; color:var(--ink); font:27px/1 Arial,sans-serif; cursor:pointer;
}
#details:has(.blank-card) .close:focus-visible { outline:2px solid var(--accent-red); outline-offset:2px; }
.blank-card { width:100%; height:100%; margin:0; padding:0; background:var(--paper-surface); }
.blank-card-heading {
 position:static; inset:auto; height:auto; display:grid; grid-template-columns:24px 44px minmax(0,1fr);
 align-items:center; gap:14px; padding:24px 46px 24px 20px; pointer-events:auto;
}
.blank-card-number,.blank-card-heading h2,.blank-card-heading h3 {
 margin:0; font:500 var(--card-label-size)/1.4 Montserrat,Arial,sans-serif;
 letter-spacing:1px; text-transform:uppercase; color:var(--ink);
}
.blank-card-heading i { display:block; width:44px; height:1px; background:var(--accent-red); }
.master-teaser[hidden] { display:none; }
@media(min-width:501px) and (max-width:600px) {
 #details:has(.blank-card) { }
}
@media(max-width:500px) {
 #details:has(.blank-card) { }
 .blank-card-heading { padding:22px 42px 22px 16px; gap:12px; }
}

/* Core competencies: three topics, with a separate reading area for each. */
.core-landscape-header,.core-landscape-sections { display:none; }
@media (min-width:601px) {
 #details:has(.core-landscape) { }
 .core-compact-heading { display:none; }
 .core-landscape { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); padding:20px 24px; min-height:0; overflow:hidden; background:var(--paper-surface); color:var(--ink); }
 .core-landscape-header { display:block; position:relative; inset:auto; height:auto; z-index:auto; pointer-events:auto; grid-column:1; grid-row:1; margin:0; padding:0 26px 13px 0; border-bottom:1px solid var(--accent-red); min-width:0; }
 .core-landscape-header h2 { position:relative; display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0; padding:0 22px 0 0; border:0; color:var(--ink); font:500 11px/1.4 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1.3px; }
 .core-landscape-header h2 > span { display:inline; }
 .core-landscape-header .core-title-second { display:inline; flex:none; width:auto; max-width:100%; margin:0; padding:0; border:0; color:var(--ink); font:inherit; letter-spacing:inherit; }
 .core-title-second i { flex:1; height:1px; background:#a8aaa5; }
 .core-landscape-header > p { margin:8px 0 0; color:var(--ink); font:400 14px/1.4 Georgia,serif; }
 .core-landscape-sections { display:grid; grid-column:1; grid-row:2; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; min-width:0; min-height:0; margin:13px 0 0; }
 .core-landscape-section { display:flex; flex-direction:column; min-width:0; min-height:0; }
 .core-image-space { position:relative; flex:none; width:100%; aspect-ratio:4 / 3; min-height:0; }
 .core-image-space img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
 .core-topic-heading { flex:none; display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:start; gap:10px; min-height:0; margin:4px 0 8px; padding:0; }
 .core-section-number { display:block; min-width:2ch; margin:0; color:var(--accent-red); font:400 22px/1.1 Bodoni,Georgia,serif; font-variant-numeric:lining-nums tabular-nums; }
 .core-section-text { display:flex; flex-direction:column; flex:1; min-width:0; min-height:0; }
 .core-landscape-section + .core-landscape-section .core-section-text { border-left:1px solid #b8bab6; padding-left:9px; margin-left:-9px; }
 .core-topic-heading h3 { margin:0; padding-bottom:5px; border-bottom:1px solid var(--accent-red); color:var(--ink); font:400 14px/1.1 Bodoni,Georgia,serif; text-transform:none; }
 .core-topic-heading h3 > span { display:block; margin-top:3px; font:400 10.5px/1.25 Montserrat,Arial,sans-serif; letter-spacing:-.1px; }
 .core-section-copy { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:var(--accent-red) #c8c3b944; padding:0 7px 3px 0; border-bottom:1px solid #c8c3b9; }
 .core-section-copy:focus-visible { outline:1px solid var(--accent-red); outline-offset:2px; }
 .core-section-copy > p { margin:0; color:var(--ink); font:400 15px/1.45 Georgia,serif; }
}
@media (max-width:600px) {
 #details:has(.core-landscape) { }
 .core-landscape { display:block; padding:22px 20px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--accent-red) transparent; }
 .core-compact-heading { display:none; }
 .core-landscape-header { display:block; position:relative; inset:auto; height:auto; padding:0; margin:0; pointer-events:auto; }
 .core-landscape-header h2 { position:relative; display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0; padding:0 22px 0 0; border:0; color:var(--ink); font:500 11px/1.4 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1.3px; }
 .core-landscape-header h2 > span { display:inline; }
 .core-landscape-header .core-title-second { display:inline; flex:none; width:auto; max-width:100%; margin:0; padding:0; border:0; color:var(--ink); font:inherit; letter-spacing:inherit; }
 .core-title-second i { display:none; }
 .core-landscape-header > p { margin:12px 0 0; font:400 15px/1.45 Georgia,serif; color:var(--ink); }
 .core-landscape-sections { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; margin:18px 0 0; padding-top:16px; border-top:1px solid var(--accent-red); }
 .core-landscape-section { display:block; min-width:0; }
 .core-image-space { position:relative; width:100%; aspect-ratio:4 / 3; }
 .core-image-space img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
 .core-topic-heading { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:start; gap:10px; margin:12px 0; padding:0; }
 .core-section-number { display:block; min-width:2ch; margin:0; color:var(--accent-red); font:400 24px/1.1 Bodoni,Georgia,serif; font-variant-numeric:lining-nums tabular-nums; }
 .core-section-text { display:block; }
 .core-topic-heading h3 { margin:0; padding-bottom:6px; border-bottom:1px solid var(--accent-red); color:var(--ink); font:400 22px/1.1 Bodoni,Georgia,serif; text-transform:none; }
 .core-topic-heading h3 > span { display:block; margin-top:4px; font:400 12px/1.35 Montserrat,Arial,sans-serif; letter-spacing:.2px; }
 .core-section-copy { padding:0; margin:0; border:0; overflow:visible; }
 .core-section-copy > p { margin:0; color:var(--ink); font:400 15px/1.5 Georgia,serif; }
}


 .additional-desktop-heading { display:none; }
/* Additional Background: paired editorial timelines, stacked on portrait screens. */
#details:has(.additional-background) {
}
.additional-background {
 container-type:inline-size; display:flex; flex-direction:column; min-height:0;
 padding:2.6%; background:var(--paper-surface); color:var(--ink);
}
.additional-header { position:relative; inset:auto; height:auto; z-index:auto; display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; column-gap:12px; flex:none; padding:0; pointer-events:auto; }
.additional-index { display:flex; align-items:center; gap:12px; font:400 11px/1.4 Georgia,serif; }
.additional-index i { display:block; width:40px; height:1px; background:var(--accent-red); }
.additional-header h2 { position:relative; z-index:1; max-width:100%; margin:0; padding-right:22px; font:500 11px/1.4 Montserrat,Arial,sans-serif; letter-spacing:1.3px; text-transform:uppercase; }
.additional-header h2 span { display:inline; }
.additional-header h2 span + span::before { content:" "; }
.additional-kicker { grid-column:1 / -1; position:relative; z-index:1; margin:1.4cqw 0 0; font:400 clamp(8px,1.3cqw,14px)/1.4 Montserrat,Arial,sans-serif; letter-spacing:.16cqw; text-transform:uppercase; }
.additional-kicker b { padding:0 1cqw; color:var(--accent-red); }
.additional-circuit { position:absolute; right:2cqw; top:0; width:44%; height:100%; pointer-events:none; }
.additional-circuit-red { color:var(--accent-red); }
.additional-columns { display:grid; grid-template-columns:1.05fr 1fr; gap:4.2cqw; flex:1; min-height:0; margin-top:2.4cqw; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--accent-red) transparent; }
.additional-column { display:flex; flex-direction:column; min-width:0; min-height:0; }
.additional-education { border-left:1px solid #b8bab6; padding-left:2.1cqw; margin-left:-2.1cqw; }
.additional-section-title { flex:none; margin:0 0 1.3cqw; font:400 3cqw/1.08 Bodoni,Georgia,serif; }
.additional-section-title::after { content:''; display:block; width:3cqw; height:1px; background:var(--accent-red); margin-top:.8cqw; }
.additional-timeline { position:relative; display:grid; grid-template-rows:repeat(3,minmax(0,1fr)); gap:1.3cqw; flex:1; min-height:0; margin:0; padding:0; list-style:none; }
.additional-timeline::before { content:''; position:absolute; top:7px; bottom:0; left:calc(34% + 12px); width:1px; background:#c8c6bf; }
.additional-timeline li { display:grid; grid-template-columns:34% minmax(0,1fr); grid-template-rows:minmax(0,1fr); gap:24px; min-width:0; min-height:0; align-items:start; }
.additional-image-slot { display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; background:#a6a8a30d; border:1px solid #a6a8a350; }
.additional-timeline-copy { position:relative; min-width:0; height:100%; padding-bottom:.7cqw; border-bottom:1px solid #c8c6bf55; }
.additional-timeline li:last-child .additional-timeline-copy { border-bottom:0; padding-bottom:0; }
.additional-timeline-copy::before { content:''; position:absolute; left:-15px; top:4px; width:7px; height:7px; border-radius:50%; background:var(--accent-red); }
.additional-timeline-copy h4 { margin:0 0 .6cqw; font:400 clamp(12px,1.95cqw,23px)/1.12 Bodoni,Georgia,serif; }
.additional-timeline-copy p { margin:0; font:400 clamp(10px,1.35cqw,15px)/1.35 Montserrat,Arial,sans-serif; }
.additional-timeline-copy p + p { margin-top:.25cqw; }
.additional-timeline-copy .additional-organization { font-weight:500; }
.additional-timeline-copy .additional-location { font-size:clamp(9px,1.2cqw,14px); line-height:1.3; }
.additional-location span { padding:0 .25em; color:var(--accent-red); }
@media (max-width:600px) {
 #details:has(.additional-background) { }
 .additional-background { padding:18px; }
 .additional-header h2 { position:relative; z-index:1; max-width:100%; margin:0; padding-right:22px; font:500 11px/1.4 Montserrat,Arial,sans-serif; letter-spacing:1.3px; text-transform:uppercase; }
 .additional-index { display:flex; align-items:center; gap:12px; font:400 11px/1.4 Georgia,serif; }
 .additional-index i { display:block; width:40px; height:1px; background:var(--accent-red); }
 .additional-kicker { max-width:100%; margin-top:8px; font-size:9px; line-height:1.5; letter-spacing:.8px; }
 .additional-circuit { width:36%; right:12px; opacity:.65; }
 .additional-columns { display:block; margin-top:22px; padding-right:4px; }
 .additional-column { min-height:0; }
 .additional-education { margin:22px 0 0; padding:0; border-left:0; }
 .additional-section-title { margin-bottom:14px; font-size:26px; }
 .additional-section-title::after { width:24px; margin-top:8px; }
 .additional-timeline { display:grid; grid-template-rows:none; gap:16px; flex:none; }
 .additional-timeline::before { left:calc(31% + 12px); }
 .additional-timeline li { grid-template-columns:31% minmax(0,1fr); min-height:92px; }
 .additional-timeline-copy { padding-bottom:12px; }
 .additional-timeline-copy h4 { margin-bottom:6px; font-size:clamp(15px,4.2cqw,20px); line-height:1.15; }
 .additional-timeline-copy p { font-size:12px; line-height:1.4; }
 .additional-timeline-copy p + p { margin-top:3px; }
 .additional-timeline-copy .additional-location { font-size:11px; line-height:1.4; }
}
@media (max-width:500px) {
 #details:has(.additional-background) { }
 .additional-background { padding:18px 16px 16px; }
}



/* Silver traces, ruby junctions, and occasional bright metal highlights. */
.editorial-circuit { position:absolute; top:0; right:0; width:180px; height:72px; pointer-events:none; opacity:.65; }
.editorial-glints { filter:drop-shadow(0 0 1.3px #fff); }
.core-landscape-header > .core-kicker { margin:6px 0 0; font:400 10px/1.5 Montserrat,Arial,sans-serif; letter-spacing:.8px; text-transform:uppercase; }
.core-kicker b { padding:0 5px; color:var(--accent-red); }
.core-card-number { flex:none; margin-right:6px; font:400 11px/1.4 Georgia,serif; letter-spacing:0; }
.core-card-line { flex:none; width:40px; height:1px; margin-right:6px; background:var(--accent-red); }
.core-landscape-header .editorial-circuit { top:-14px; right:4px; width:115px; height:47px; opacity:.5; }
.research-desktop-heading { display:none; }
.research-content { display:flex; flex-direction:column; height:100%; min-height:0; overflow:hidden; padding:24px 16px 16px; }
.editorial-card-header { position:relative; inset:auto; height:auto; z-index:auto; display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; column-gap:12px; margin:0; padding:0 0 10px; border-bottom:1px solid #aeb6b8; pointer-events:auto; }
.editorial-card-index { display:flex; align-items:center; gap:12px; margin:0; font:400 11px/1.4 Georgia,serif; }
.editorial-card-index i { display:block; width:40px; height:1px; background:var(--accent-red); }
.editorial-card-header h2 { position:relative; z-index:1; width:auto; max-width:100%; margin:0; padding:0 22px 0 0; border:0; color:var(--ink); font:500 11px/1.4 Montserrat,Arial,sans-serif; letter-spacing:1.3px; text-transform:uppercase; }
.editorial-card-header h2 span { display:inline; color:inherit; }
.editorial-card-header h2 span::before { content:" "; }
.editorial-card-header > p { grid-column:1 / -1; position:relative; z-index:1; margin:12px 0 0; font:400 10px/1.5 Montserrat,Arial,sans-serif; letter-spacing:1px; text-transform:uppercase; }
.editorial-card-header > p b { padding:0 6px; color:var(--accent-red); }
.editorial-entry-number { color:var(--accent-red); font:400 44px/.95 Bodoni,Georgia,serif; font-variant-numeric:lining-nums; }
.selected-research .editorial-card-header { flex:none; padding-bottom:10px; }
.selected-research .editorial-card-header > p { margin-top:8px; }
.selected-research .editorial-card-header > .research-title-note { margin-top:8px; max-width:100%; color:#4d5557; font:400 11px/1.45 Georgia,serif; letter-spacing:0; text-transform:none; }
 .research-projects { display:grid; flex:1; min-height:0; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:16px; margin-top:14px; }
 .research-project { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:stretch; gap:10px; min-width:0; min-height:0; overflow:hidden; padding-bottom:12px; border-bottom:1px solid #bec3c2; }
 .research-project > img { align-self:start; display:block; width:100%; height:auto; border:1px solid #aeb6b8; }
 .research-project-text { display:flex; flex-direction:column; min-width:0; min-height:0; }
 .research-project-heading { flex:none; display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:start; gap:10px; padding-bottom:6px; border-bottom:1px solid var(--accent-red); }
 .research-project .editorial-entry-number { min-width:2ch; font-size:18px; line-height:1.1; font-variant-numeric:lining-nums tabular-nums; }
 .research-project h3 { margin:0; font:400 14px/1.15 Bodoni,Georgia,serif; }
 .research-project .reader-shell { min-height:0; margin:8px 0; padding:8px 0; border-block:1px solid #c8c3b9; overflow:hidden; }
 .research-project-copy { flex:1; min-width:0; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; padding-right:22px; font:400 14px/1.45 Georgia,serif; }
 .research-project-copy > p { margin:0; }
 .research-project .reader-scrollbar { top:8px; bottom:8px; right:-5px; }
 .research-project button { flex:none; align-self:flex-start; padding:3px 0; border:0; border-bottom:1px solid var(--accent-red); color:var(--accent-red); background:transparent; font:500 11px/1.4 Montserrat,Arial,sans-serif; cursor:pointer; }
 .research-project button:focus-visible { outline:2px solid var(--accent-red); outline-offset:3px; }

 #details:has(.business-experience),#details:has(.selected-research) { }
 .business-desktop-heading { display:none; }
 .business-content { display:block; height:100%; min-height:0; overflow-y:auto; padding:22px 24px; scrollbar-width:thin; scrollbar-color:var(--accent-red) transparent; }
 .business-body { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; margin-top:18px; }
 .business-art { margin:0; min-width:0; }
 .business-art img { display:block; width:100%; height:auto; border:1px solid #aeb6b8; }
 .business-art figcaption { display:flex; align-items:center; justify-content:space-between; gap:7px; padding:11px 0; border-bottom:1px solid #aeb6b8; font:400 8px/1.4 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:.4px; }
 .business-art figcaption i { width:1px; height:12px; background:var(--accent-red); }
 .business-roles { display:grid; gap:22px; margin:0; padding:0 0 0 18px; border-left:1px solid #aeb6b8; list-style:none; }
 .business-roles li { display:grid; grid-template-columns:42px minmax(0,1fr); gap:10px; margin:0; padding:0 0 18px; border-bottom:1px solid #bec3c2; }
 .business-roles li:last-child { border:0; padding-bottom:0; }
 .business-date { margin:0 0 7px; color:#4d5557; font:400 10px/1.4 Montserrat,Arial,sans-serif; letter-spacing:.8px; text-transform:uppercase; }
 .business-roles h3 { margin:0 0 9px; padding-bottom:8px; border-bottom:1px solid var(--accent-red); font:400 23px/1.08 Bodoni,Georgia,serif; }
 .business-employer { margin:0; font:500 12px/1.4 Montserrat,Arial,sans-serif; }
 .business-location { margin:3px 0 0; color:#535a5a; font:400 11px/1.4 Montserrat,Arial,sans-serif; }
 .business-description { margin:12px 0 0; font:400 15px/1.5 Georgia,serif; }


@media(max-width:600px) {
 .core-landscape-header .editorial-circuit { top:1px; right:-10px; width:88px; height:40px; opacity:.42; }
 .business-content { padding:22px 20px; }
 .research-content { padding:24px 14px 16px; }
 .editorial-card-header .editorial-circuit { width:132px; height:52px; top:3px; right:7px; opacity:.55; }
 .business-body { grid-template-columns:minmax(0,1fr); gap:22px; }
 .business-roles { border-left:1px solid #aeb6b8; padding-left:12px; }
 .business-roles li { grid-template-columns:43px minmax(0,1fr); gap:12px; }
 .research-projects { grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(4,minmax(0,1fr)); gap:12px; }
 .research-project { grid-template-columns:64px minmax(0,1fr); gap:8px; padding-bottom:8px; }
 .research-project > img { width:100%; }
 .research-project-heading { grid-template-columns:max-content minmax(0,1fr); gap:10px; align-items:start; margin-top:8px; }
 .research-project .editorial-entry-number { font-size:20px; }
 .research-project h3 { font-size:18px; }
 .research-project-copy { font-size:15px; line-height:1.5; }
 .research-project button { font-size:12px; }
}
@media(max-width:500px) {
 #details:has(.business-experience),#details:has(.selected-research) { }
}
#research-detail { padding:0; border:1px solid #aeb6b8; background:var(--paper-surface); color:var(--ink); box-shadow:0 18px 42px #0008; overflow:hidden; }
#research-detail[open] { display:flex; flex-direction:column; }
#research-detail::backdrop { background:#06080bba; backdrop-filter:blur(5px); }
.research-detail-toolbar { display:flex; align-items:center; justify-content:space-between; flex:none; gap:8px; padding:12px 18px; border-bottom:1px solid var(--accent-red); }
.research-detail-toolbar button { border:0; padding:0; background:transparent; color:var(--accent-red); font:500 11px/1.4 Montserrat,Arial,sans-serif; cursor:pointer; }
.research-detail-toolbar button:last-child { font:24px/1 Arial,sans-serif; }
.research-detail-toolbar > span { font:400 9px/1.4 Montserrat,Arial,sans-serif; letter-spacing:.6px; text-transform:uppercase; }
#research-detail-content { overflow-y:auto; min-height:0; scrollbar-width:thin; scrollbar-color:var(--accent-red) transparent; }
.research-detail-article { padding:14px; }
.research-detail-header { position:static; inset:auto; height:auto; pointer-events:auto; }
.research-detail-header h2 { margin:0 0 12px; font:400 22px/1.15 Bodoni,Georgia,serif; }
.research-detail-article > img { display:block; width:100%; max-height:260px; object-fit:contain; margin:0 0 18px; }
.research-detail-article > h3 { margin:16px 0 8px; padding-left:8px; border-left:1px solid var(--accent-red); color:var(--accent-red); font:400 18px/1.2 Bodoni,Georgia,serif; }
.research-detail-article > p { margin:0 0 12px; font:400 16px/1.5 Georgia,serif; }
.research-detail-article > .research-confidentiality { padding-top:16px; border-top:1px solid #aeb6b8; font:400 11px/1.45 Montserrat,Arial,sans-serif; }
@media(max-width:500px) { #research-detail { height:calc(100dvh - 56px); } .research-detail-toolbar { padding:12px; } .research-detail-toolbar > span { display:none; } }

/* Keep this paragraph's continuation together beneath the portrait artwork. */
@media (min-width:501px) and (orientation:portrait) {
 .perspective-reader-body .portrait-research-wrap { display:block; clear:left; }
}

/* Portrait-only kicker placement trial; retain the existing landscape introduction. */
.profile-biography-kicker { display:none; }
@media (min-width:501px) and (orientation:portrait) {
 .profile-reference .profile-identity > .profile-personal-kicker,
 .profile-reference .profile-biography-opening { display:none; }
 .profile-reference .profile-biography-kicker {
  display:block; grid-column:1; grid-row:2; align-self:end; z-index:3;
  margin:0 0 8px; color:#595b57; font:400 14px/1.25 Montserrat,Arial,sans-serif;
  letter-spacing:.7px; text-transform:uppercase;
 }
}

/* Indent only the opening paragraph of full writings, never short summaries. */
.profile-biography-opening,
.perspective-reader-body > .perspective-opening,
.research-detail-article > img + p { text-indent:1.5em; }
@media (min-width:501px) and (orientation:portrait) {
 .profile-reference .profile-biography-opening + p { text-indent:1.5em; }
}

/* Shared editorial details for the remaining opened cards. */
:root { --card-section-title-size:17px; --card-body-font:Montserrat,Arial,sans-serif; }
.core-landscape-header > p:not(.core-kicker),
.core-section-copy > p,
.research-project-copy,
.business-description,
.research-detail-article > p { font-family:var(--card-body-font); }
.core-landscape-header > p:not(.core-kicker) { font-size:15px; line-height:1.45; }
.core-topic-heading h3,
.research-project h3,
.business-roles h3,
.additional-section-title { font-size:var(--card-section-title-size); line-height:1.2; }
.core-topic-heading h3 > span { font-size:12px; line-height:1.3; }
.research-project-copy { font-size:15px; line-height:1.45; }
.selected-research .editorial-card-header > .research-title-note { font:400 12px/1.45 var(--card-body-font); }
.core-landscape-header > .core-kicker,
.editorial-card-header > p:not(.research-title-note),
.additional-kicker { font-size:11px; line-height:1.4; letter-spacing:.8px; }
.additional-timeline-copy h4 { font-size:17px; line-height:1.2; }
.additional-timeline-copy p { font-size:13px; line-height:1.4; }
.additional-timeline-copy .additional-location { font-size:12px; line-height:1.4; }
:is(.core-section-copy,.core-landscape,.business-content,.additional-columns,#research-detail-content,.afterthought-conversation) {
 scrollbar-width:thin; scrollbar-color:#7c8a90 #7c8a901a;
}
/* Research artwork and heading sit above a full-width summary reader. */
.research-project {
 grid-template-columns:96px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto;
 gap:8px 12px;
}
.research-project > img { grid-column:1; grid-row:1; }
.research-project-text { display:contents; }
.research-project-heading { grid-column:2; grid-row:1; }
.research-project .reader-shell { grid-column:1 / -1; grid-row:2; margin:0; padding:6px 0; }
.research-project button { grid-column:1 / -1; grid-row:3; justify-self:start; width:max-content; max-width:100%; text-align:left; }
/* Compact corner ornament stays clear of the header copy. */
:is(.core-landscape-header,.editorial-card-header) > .editorial-circuit,
.additional-header > .additional-circuit { top:0; right:32px; width:100px; height:24px; opacity:.4; }
@media(min-width:601px) {
 .core-landscape,.business-content,.research-content,.additional-background { padding:20px 24px; }
}
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape,.business-content,.research-content,.additional-background { padding-inline:32px; }
 .core-card-number,.editorial-card-index > span,.additional-index > span { font-size:22px; line-height:1; }
}
@media(max-width:600px) {
 .research-project { grid-template-columns:80px minmax(0,1fr); }
}
.blank-card .reader-scrollbar::before {
 left:10.5px; width:3px; border-radius:1.5px;
 background:rgba(78,91,97,.10);
 box-shadow:inset .5px 0 0 #ffffff80;
}
.blank-card .reader-scroll-thumb {
 left:10.5px; width:3px; border-radius:1.5px;
 background:linear-gradient(90deg,#f5fbfdf2 0%,#aebacbb3 30%,#606f77c7 62%,#334048c2 100%);
 box-shadow:inset .5px 0 0 #ffffffb3,1px 0 1px #1c24221f;
}
.blank-card .reader-scrollbar:hover .reader-scroll-thumb,
.blank-card .reader-scrollbar:active .reader-scroll-thumb { filter:brightness(.88); }
.blank-card .reader-scrollbar:focus-visible .reader-scroll-thumb,
.blank-card .reader-shell > [role="region"]:focus-visible + .reader-scrollbar .reader-scroll-thumb {
 box-shadow:inset .5px 0 0 #ffffffb3,0 0 0 1px #3f515d80;
}

/* Match the numbered section markers used by Core Analytical Competencies. */
.research-project .editorial-entry-number,
.business-roles .editorial-entry-number { font-size:22px; line-height:1.1; }
@media(min-width:501px) and (orientation:portrait) {
 .editorial-card-header > .editorial-card-index { font-size:22px; line-height:1; }
}

/* Core: compact framed artwork, a short rule, and an editorial two-line heading. */
.core-landscape-header { border-bottom:0; padding-bottom:0; }
.core-landscape-header > .core-kicker { margin-top:10px; font-size:12px; line-height:1.4; }
.core-landscape-sections { gap:12px; border-top:0; padding-top:0; }
.core-image-space {
 align-self:center; width:80%; max-width:190px; margin-inline:auto;
 aspect-ratio:4 / 3; padding:6px; border:1px solid #a9b5bc9c;
 background:linear-gradient(135deg,#ffffff99,#dce4e535 55%,#ffffffb3);
 box-shadow:inset 0 0 0 1px #ffffffb3,inset 0 0 8px #edf8ff80,0 2px 6px #2630351c;
}
.core-image-space img { inset:6px; width:calc(100% - 12px); height:calc(100% - 12px); }
.core-topic-heading {
 grid-template-columns:max-content minmax(0,1fr); align-items:center;
 column-gap:6px; row-gap:8px; margin:12px 0 10px;
}
.core-topic-heading::before {
 content:''; grid-column:1 / -1; grid-row:1; display:block;
 width:36px; height:1px; background:var(--accent-red);
}
.core-topic-heading .core-section-number { grid-column:1; grid-row:2; align-self:center; }
.core-topic-heading h3 { grid-column:2; grid-row:2; padding:0; border:0; }
.core-topic-heading h3 > .core-title-primary { display:block; margin:0; font:inherit; white-space:nowrap; }
.core-topic-heading h3 > .core-title-secondary { white-space:nowrap; }
.core-landscape-section + .core-landscape-section .core-section-text { padding-left:3px; margin-left:-3px; }
#details .core-section-copy { padding-right:4px; scrollbar-color:#7c8a90 #7c8a901a; }
#details .core-landscape { scrollbar-color:#7c8a90 #7c8a901a; }
#details .core-section-copy::-webkit-scrollbar,
#details .core-landscape::-webkit-scrollbar { width:3px; }
#details .core-section-copy::-webkit-scrollbar-thumb,
#details .core-landscape::-webkit-scrollbar-thumb { background:#7c8a90; border-radius:2px; }
#details .core-section-copy::-webkit-scrollbar-track,
#details .core-landscape::-webkit-scrollbar-track { background:#7c8a901a; }
@media (min-width:501px) and (orientation:portrait) {
 .core-landscape { padding-inline:24px; }
}

/* Phone topic headings use more of their available width without extra leading. */
@media(max-width:500px) {
 .core-topic-heading h3 { font-size:19px; line-height:1.05; }
 .core-topic-heading h3 > span:not(.core-title-primary) { margin-top:2px; font-size:14px; line-height:1.1; }
}

/* Stronger editorial separators without widening the approved text layouts. */
:is(.core-kicker,.additional-kicker,.editorial-card-header > p) > b,
:is(.profile-personal-kicker,.profile-biography-kicker) > span[aria-hidden="true"],
.editorial-separator {
 display:inline-block; color:var(--accent-red); font-weight:600;
 transform:scale(2); transform-origin:center;
}
.core-landscape-header { padding-right:0; }
.core-landscape-header > .core-introduction { margin-top:12px; padding-bottom:12px; border-bottom:1px solid #c8c3b9; }
.core-landscape-header > .core-kicker {
 display:flex; align-items:center; justify-content:space-between;
 width:100%; margin:12px 0 0; font-size:15px; font-weight:500; letter-spacing:.7px;
}
.core-topic-heading::before { width:72px; }
.core-landscape-sections { margin-top:20px; }
.core-inline-art { display:none; }
#details .core-section-copy { padding-top:6px; padding-bottom:10px; }
/* Portrait tablet: one image column, with three matching text rows. */
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape-header > .core-kicker { font-size:16px; }
 .core-landscape-sections {
  grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(3,minmax(0,1fr));
  gap:18px;
 }
 .core-landscape-section {
  display:grid; grid-template-columns:38% minmax(0,1fr); gap:18px;
  padding-bottom:14px; border-bottom:1px solid #c8c3b9;
 }
 .core-landscape-section:last-child { border-bottom:0; padding-bottom:0; }
 .core-landscape-section > .core-image-space { width:100%; max-width:230px; margin:0; align-self:start; }
 .core-landscape-section .core-section-text { height:100%; border:0; margin:0; padding:0; }
 .core-topic-heading { margin:0 0 8px; row-gap:10px; }
 #details .core-section-copy { border-bottom:0; padding-top:6px; padding-bottom:8px; }
}
/* Phone: preserve readable width and alternate artwork beside the prose. */
@media(max-width:500px) {
 .core-landscape-header > .core-kicker { font-size:15px; letter-spacing:.3px; }
 .core-landscape-sections { gap:24px; }
 .core-landscape-section > .core-image-space { display:none; }
 .core-section-text { border:0; padding:0; margin:0; }
 .core-topic-heading { margin:0 0 12px; }
 #details .core-section-copy { padding:0; border:0; }
 .core-section-copy > .core-inline-art {
  display:block; float:right; width:52%; max-width:200px;
  margin:4px 0 8px 12px;
 }
 
 .core-section-copy::after { content:''; display:block; clear:both; }
}

@media(min-width:501px) and (orientation:portrait), (max-width:500px) {
 .core-landscape-section + .core-landscape-section .core-section-text { border:0; padding:0; margin:0; }
}

/* A consistent, more pronounced title for each of the three competencies. */
.core-topic-heading h3 { font:400 19px/1.12 Bodoni,Georgia,serif; color:#171918; }
.core-topic-heading h3 > span:not(.core-title-primary) { margin-top:2px; font:inherit; letter-spacing:0; }
.core-section-copy > p { color:#424742; }
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape-section { grid-template-columns:minmax(0,1fr) 38%; }
 .core-landscape-section > .core-image-space { grid-column:2; grid-row:1; justify-self:end; }
 .core-landscape-section > .core-section-text { grid-column:1; grid-row:1; }
}
@media(max-width:500px) {
 .core-topic-heading h3 { font-size:21px; line-height:1.06; }
 .core-topic-heading h3 > span:not(.core-title-primary) { font:inherit; margin-top:2px; }
 .core-section-copy > p { font-size:14px; line-height:1.45; }
 .core-section-copy > .core-inline-art { float:right; width:50%; margin:4px 0 8px 12px; }
}

.core-introduction { color:#424742; }
.core-introduction > .core-intro-lead { color:#171918; font-size:calc(1em + 2px); font-weight:700; -webkit-text-stroke:.2px currentColor; line-height:inherit; }

/* Let the kicker read as one centered group at its natural word spacing. */
.core-landscape-header > .core-kicker { justify-content:center; gap:12px; font-size:17px; }
.core-landscape-header > .core-kicker > b { padding:0; }
/* Tablet portrait rows have equal space inside their red/gray boundaries. */
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape-header > .core-kicker { font-size:18px; }
 .core-landscape-section {
  grid-template-rows:1px minmax(0,1fr); column-gap:18px; row-gap:12px;
  align-items:center; padding:0 0 12px;
 }
 .core-landscape-section::before {
  content:''; display:block; grid-column:1 / -1; grid-row:1;
  width:72px; height:1px; background:var(--accent-red);
 }
 .core-landscape-section > .core-image-space { grid-row:2; align-self:center; }
 .core-landscape-section > .core-section-text {
  grid-row:2; align-self:center; height:auto; max-height:100%; min-height:0;
 }
 .core-landscape-section .core-topic-heading { grid-template-rows:auto; row-gap:0; margin:0 0 10px; }
 .core-landscape-section .core-topic-heading::before { display:none; }
 .core-landscape-section .core-topic-heading h3,
 .core-landscape-section .core-topic-heading .core-section-number { grid-row:1; }
 .core-landscape-section .core-section-copy { flex:0 1 auto; padding-top:0; padding-bottom:0; }
 .core-landscape-section:last-child { padding-bottom:12px; }
}
@media(min-width:501px) and (orientation:landscape) {
 .core-topic-heading { column-gap:3px; }
 .core-topic-heading h3 { font-size:18px; }
}
@media(max-width:500px) {
 .core-landscape-header > .core-kicker { font-size:15px; gap:8px; }
}

/* Core: shared editorial rhythm, with orientation-specific image placement. */
.core-landscape-header > .core-kicker {
 justify-content:flex-start; text-align:left; font-size:22px; gap:12px;
}
.core-landscape-section::before,
.core-landscape-section .core-topic-heading::before { display:none; }
.core-landscape-section > .core-section-text,
.core-landscape-section + .core-landscape-section .core-section-text {
 border:0; border-left:1px solid var(--accent-red);
 padding:0 0 0 12px; margin:0; height:auto; max-height:none; min-height:0;
}
.core-landscape-section .core-topic-heading {
 grid-template-rows:auto; margin:0 0 12px; row-gap:0; column-gap:6px;
}
.core-landscape-section .core-topic-heading h3,
.core-landscape-section .core-topic-heading .core-section-number { grid-row:1; }
@media(min-width:501px) {
 .core-landscape-sections {
  display:flex; flex-direction:column; gap:14px; min-height:0;
  overflow-y:auto; overflow-x:hidden; padding-right:4px;
  scrollbar-width:thin; scrollbar-color:#7c8a90 #7c8a901a;
 }
 .core-landscape-section {
  display:grid; flex:0 0 auto; grid-template-columns:minmax(0,1fr) 38%;
  grid-template-rows:auto; column-gap:18px; row-gap:0;
  align-items:start; padding:0 0 14px; border-bottom:1px solid #c8c3b9;
 }
 .core-landscape-section > .core-image-space {
  grid-column:2; grid-row:1; width:100%; max-width:230px;
  justify-self:end; align-self:start; margin:0;
 }
 .core-landscape-section > .core-section-text,
 .core-landscape-section + .core-landscape-section .core-section-text {
  grid-column:1; grid-row:1; display:block; align-self:start;
 }
 #details .core-landscape-section .core-section-copy { overflow:visible; padding:0; margin:0; border:0; }
 .core-landscape-section:last-child { padding-bottom:0; border-bottom:0; }
}
@media(min-width:501px) and (orientation:landscape) {
 .core-landscape-section { grid-template-columns:22% minmax(0,1fr); }
 .core-landscape-section > .core-image-space { grid-column:1; max-width:170px; justify-self:start; }
 .core-landscape-section > .core-section-text,
 .core-landscape-section + .core-landscape-section .core-section-text { grid-column:2; }
}
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape { padding-right:12px; }
 .core-landscape-sections { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:none; grid-auto-rows:1fr; flex:none; }
 /* Preserve the approved divider positions while balancing each image/text pair. */
 .core-landscape-header > .core-introduction { min-height:102.7px; }
 .core-landscape-section { position:relative; grid-template-columns:160px minmax(0,1fr); grid-template-rows:max-content; align-content:center; border-bottom-color:transparent; }
 .core-landscape-section::before {
  content:''; display:block; position:absolute; top:-14.8px; left:0;
  width:min(398px,100%); height:1px; background:#c8c3b9;
 }
 .core-landscape-section > .core-image-space { grid-column:1; max-width:160px; justify-self:start; }
 .core-landscape-section > .core-section-text,
 .core-landscape-section + .core-landscape-section .core-section-text { grid-column:2; }
 .core-landscape-section:nth-child(1) .core-section-copy { padding-right:88px; }
 .core-landscape-section:nth-child(2) .core-section-copy { padding-right:40px; }
 #details .core-landscape-section:nth-child(1) .core-section-copy { padding-right:88px; }
 #details .core-landscape-section:nth-child(2) .core-section-copy { padding-right:40px; }
}
@media(max-width:500px) {
 .core-landscape-header > .core-kicker { font-size:15px; letter-spacing:0; gap:8px; }
 .core-landscape-sections { gap:20px; }
 .core-landscape-section { border:0; padding:0; }
 .core-landscape-section:nth-child(-n+2) .core-section-copy > p { padding-top:6px; }
}
/* Additional Background: compact image/text groups, not stretched timeline cells. */
.additional-timeline { flex:0 0 auto; grid-template-rows:none; gap:18px; }
.additional-timeline::before,
.additional-timeline-copy::before { display:none; }
.additional-timeline li {
 grid-template-columns:36% minmax(0,1fr); gap:18px; align-items:center;
 padding:0 0 12px; border-bottom:1px solid #c8c6bf;
}
.additional-timeline li:last-child { padding-bottom:0; border-bottom:0; }
.additional-timeline-copy { height:auto; padding:0; border:0; }
.additional-timeline li:last-child .additional-timeline-copy { padding:0; }
.additional-image-slot {
 padding:5px; border:1px solid #a9b5bc9c;
 background:linear-gradient(135deg,#ffffff99,#dce4e535 55%,#ffffffb3);
 box-shadow:inset 0 0 0 1px #ffffffb3,0 2px 5px #2630351c;
}
.additional-header > .additional-kicker { font-size:15px; line-height:1.4; letter-spacing:.5px; text-align:center; }
.additional-section-title { font-size:19px; line-height:1.15; margin-bottom:16px; }
.additional-section-title::after { width:48px; margin-top:8px; }
@media(min-width:601px) {
 .additional-column { justify-content:center; }
 .additional-columns { gap:36px; }
 .additional-education { border:0; padding:0; margin:0; }
}

/* Selected Research: vertical rules and larger artwork wrapped by each summary. */
.selected-research .editorial-card-header { border-bottom:0; }
.selected-research .editorial-card-index > i { width:45px; height:1px; }
.selected-research .research-project {
 display:flex; flex-direction:column; gap:0; padding:0 0 0 12px;
 border:0;
}
.selected-research .research-project-text { display:flex; flex:1; flex-direction:column; min-height:0; }
.selected-research .research-project-heading {
 display:grid; grid-template-columns:max-content minmax(0,1fr);
 align-items:center; gap:7px; margin:0 0 10px; padding:0; border:0;
}
.selected-research .research-project .editorial-entry-number { font-size:11px; line-height:1.1; }
.selected-research .research-project .reader-shell {
 flex:1; min-height:0; margin:0 0 10px; padding:0; border:0;
}
.selected-research .research-project-copy { padding:0 16px 0 0; }
.selected-research .research-summary-art {
 display:block; float:left; width:44%; min-width:120px; max-width:170px;
 height:auto; margin:0 12px 8px 0; border:1px solid #a9b5bc9c;
 padding:4px; background:#f8fafacc; box-shadow:0 2px 5px #2630351c;
}
.selected-research .research-project-copy::after { content:''; display:block; clear:both; }
.selected-research .research-project .reader-scrollbar { top:0; bottom:0; }
@media(max-width:600px) {
 .selected-research .research-content { overflow-y:auto; }
 .selected-research .research-projects { flex:none; grid-template-rows:none; grid-auto-rows:auto; gap:24px; }
 .selected-research .research-project .reader-shell { flex:none; overflow:visible; }
 .selected-research .research-project-copy { overflow:visible; padding-right:0; }
}

/* Research overview and opened writings follow the same editorial structure. */
.selected-research .editorial-card-header > .research-title-note {
 font-size:13px; line-height:1.45; text-align:left; max-width:100%;
}
.selected-research .research-title-note > span { display:block; }
.selected-research .research-project-heading {
 border-left:1px solid var(--accent-red); padding-left:8px;
}
@media(min-width:601px) {
 .selected-research .research-projects { margin-top:102px; margin-bottom:0; }
}
.research-detail-article { display:flow-root; padding:20px 24px; }
.research-detail-header { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.research-detail-header .editorial-card-index { flex:none; }
.research-detail-header .editorial-card-index > span { font-size:18px; }
.research-detail-header h2 { font-size:18px; line-height:1.2; margin-bottom:0; }
.research-detail-article > img {
 float:left; width:38%; max-width:230px; max-height:none; height:auto;
 object-fit:contain; margin:0 18px 12px 0;
 padding:4px; border:1px solid #a9b5bc9c; background:#f8fafacc;
 box-shadow:0 2px 5px #2630351c;
}
.research-detail-article > p { font-size:15px; line-height:1.45; text-indent:0; }
.research-detail-article > img + p { text-indent:1.5em; }
.research-detail-article > h3 {
 clear:both; font-size:17px; line-height:1.2; margin:16px 0 8px;
 padding-left:8px; border-left:1px solid var(--accent-red);
}
@media(max-width:500px) {
 .research-detail-article { padding:16px; }
 .research-detail-article > img { width:44%; margin-right:12px; }
 .selected-research .research-title-note > span { display:inline; }
 .selected-research .research-title-note > span + span::before { content:' '; }
}

/* Research overview heading and nearby reading links. */
.selected-research .editorial-card-header { grid-template-columns:max-content minmax(0,1fr); column-gap:12px; }
.selected-research .editorial-card-header > p { grid-column:1 / 3; }
.selected-research .research-project .reader-shell { flex:0 1 auto; margin-bottom:3px; }
.selected-research .research-project button { margin-top:0; padding-top:0; }
.selected-research .research-projects { row-gap:24px; }
/* Fixed introduction; artwork and section writing share the scrolling body. */
#research-detail-content { display:flex; flex:1; overflow:hidden; }
.research-detail-article { display:flex; flex-direction:column; width:100%; height:100%; min-height:0; }
.research-detail-header,.research-detail-opening { flex:none; }
.research-detail-opening { display:flow-root; }
.research-detail-body > img { float:left; width:42%; max-width:260px; height:auto; margin:0 18px 12px 0; padding:4px; border:1px solid #a9b5bc9c; background:#f8fafacc; box-shadow:0 2px 5px #2630351c; }
.research-detail-opening > p { margin:0 0 12px; font:400 13px/1.45 var(--card-body-font); text-indent:1.5em; }
.research-detail-body { flex:1; min-height:0; overflow-y:auto; padding-right:10px; scrollbar-width:thin; scrollbar-color:#7c8a90 #7c8a901a; overscroll-behavior:contain; }
.research-detail-body > p { margin:0 0 12px; font:400 15px/1.45 var(--card-body-font); text-indent:0; }
.research-detail-body > h3 { margin:16px 0 8px; padding-left:8px; border-left:1px solid var(--accent-red); color:var(--accent-red); font:400 17px/1.2 Bodoni,Georgia,serif; }
.research-detail-body > h3:first-child { margin-top:0; }
.research-detail-body > .research-confidentiality { margin-top:16px; font-size:11px; }
@media(max-width:500px) { .research-detail-body > img { width:44%; margin-right:12px; } }

.research-detail-body { scrollbar-gutter:stable; }
.research-detail-body::-webkit-scrollbar { width:3px; }
.research-detail-body::-webkit-scrollbar-track { background:#7c8a901a; }
.research-detail-body::-webkit-scrollbar-thumb { background:#7c8a90; border-radius:2px; }

.research-detail-reader.reader-shell { flex:1; min-height:0; padding:0; }
.research-detail-reader > .research-detail-body { scrollbar-width:none; padding-right:24px; }
.research-detail-reader .reader-scrollbar::before { left:10.5px; width:3px; border-radius:1.5px; background:#7c8a901a; }
.research-detail-reader .reader-scroll-thumb { left:10.5px; width:3px; border-radius:1.5px; background:linear-gradient(90deg,#687b86,#d7e1e5 40%,#8fa0aa 76%,#62747f); box-shadow:inset .5px 0 0 #ffffffb3,0 0 1px #52616c80; }

/* Research writing: compact upper-left title, introduction below, then wrapped artwork. */
.research-detail-article { padding:10px 14px 14px; }
.research-detail-header { margin-bottom:8px; }
.research-detail-body > h3 { clear:both; color:var(--ink); margin:22px 0 9px; }
.research-detail-body > img + h3 { clear:none; display:flow-root; margin-top:0; }
.research-detail-body::after { content:''; display:block; clear:both; }
@media(max-width:500px) { .research-detail-article { padding:10px 14px 14px; } }

/* Artwork stays in place above the text as each research reader scrolls. */
.selected-research .research-summary-art,
.research-detail-body > img {
 position:sticky; top:0; z-index:2;
 border:1px solid #9da8ae; background:var(--paper); padding:4px;
}

.research-detail-reader .reader-scrollbar:focus-visible .reader-scroll-thumb,
.research-detail-reader > .research-detail-body:focus-visible + .reader-scrollbar .reader-scroll-thumb {
 box-shadow:inset .5px 0 0 #ffffffb3,0 0 0 1px #64768066;
}

/* First research essay: wider left inset and an opaque gutter around fixed artwork. */
.research-detail-article.research-detail-01 { padding:8px 40px 24px; }
.research-detail-01 .research-fixed-art {
 position:sticky; top:0; z-index:2; float:left;
 width:calc(42% + 20px); max-width:280px; padding:10px; margin:0;
 background:var(--paper);
}
.research-detail-01 .research-fixed-art > img {
 display:block; width:100%; height:auto; padding:4px;
 border:1px solid #9da8ae; background:var(--paper);
}
.research-detail-01 .research-fixed-art + h3 { clear:none; display:flow-root; margin-top:0; }
@media(max-width:500px) { .research-detail-01 .research-fixed-art { width:calc(44% + 20px); } }

/* Keep the title group near the upper-left edge while the writing has wider gutters. */
.research-detail-01 .research-detail-header {
 padding:0; margin:0 -26px 8px; justify-content:flex-start;
}
.research-detail-01 .research-detail-opening > p { font-size:14px; }
@media(max-width:500px) {
 .research-detail-article.research-detail-01 { padding:8px 24px 20px; }
 .research-detail-01 .research-detail-header { margin-inline:-10px; }
}

/* Match the first essay introduction to the text column beside its scrollbar. */
.research-detail-01 .research-detail-opening { padding-right:24px; }

/* Selected Research reference: broad landscape grid and four portrait editorial rows. */
.selected-research.research-reference .research-content { padding:20px 24px; }
.research-reference-header {
 position:relative; display:block; flex:none; padding:0 0 14px; margin:0 0 14px;
 height:auto; inset:auto; border-bottom:1px solid #c8c3b9; min-width:0; isolation:isolate;
}
.research-reference-header > :not(.research-reference-art) { position:relative; z-index:1; }
.research-reference-eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.research-reference-eyebrow > span:first-child { font:400 18px/1.1 Bodoni,Georgia,serif; }
.research-reference-eyebrow > i { flex:none; width:45px; height:1px; background:var(--accent-red); }
.research-reference-eyebrow > span:last-child { font:500 10px/1.3 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1.2px; }
.research-reference-header > h2 { margin:0 0 8px; padding:0; border:0; font:400 40px/1.05 Bodoni,Georgia,serif; letter-spacing:-.7px; }
.research-reference-kicker { margin:0 0 8px; font:400 10.5px/1.4 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1px; }
.research-reference-kicker > b { display:inline-block; color:var(--accent-red); margin:0 8px; font-size:14px; }
.research-reference-header > .research-title-note { margin:0; max-width:100%; font:400 13px/1.45 Montserrat,Arial,sans-serif; color:#424742; text-align:left; }
.research-reference-header > .research-title-note > span { display:block; }
.research-reference-header .research-reference-art {
 position:absolute; inset:0 12px 0 auto; width:44%; height:100%; object-fit:cover;
 opacity:.27; z-index:0; border:0; padding:0;
 mask-image:linear-gradient(to right,transparent 0%,#000 68%);
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 68%);
}
.selected-research.research-reference .research-projects {
 display:grid; flex:1; min-height:0; grid-template-columns:repeat(2,minmax(0,1fr));
 grid-template-rows:repeat(2,minmax(0,1fr)); gap:16px 24px; margin:0; padding:0;
}
.selected-research.research-reference .research-project {
 display:grid; grid-template-columns:150px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto;
 gap:6px 14px; min-height:0; padding:0 0 12px; border:0; border-bottom:1px solid #c8c3b9;
}
.selected-research.research-reference .research-project-text { display:contents; }
.selected-research.research-reference .research-project-heading {
 grid-column:1 / -1; grid-row:1; display:grid; grid-template-columns:max-content minmax(0,1fr);
 align-items:center; gap:8px; border:0; border-left:1px solid var(--accent-red);
 padding:0 0 0 8px; margin:0 0 2px;
}
.selected-research.research-reference .research-project h3 { font:400 17px/1.15 Bodoni,Georgia,serif; margin:0; color:var(--ink); }
.selected-research.research-reference .research-project .editorial-entry-number { font:400 11px/1.1 Bodoni,Georgia,serif; }
.selected-research.research-reference .research-summary-art {
 grid-column:1; grid-row:2 / 4; position:static; float:none; display:block;
 align-self:start; width:100%; min-width:0; max-width:none; height:auto; aspect-ratio:4 / 3;
 object-fit:cover; margin:0; padding:4px; border:1px solid #a6afb2; background:var(--paper);
}
.selected-research.research-reference .research-project .reader-shell {
 grid-column:2; grid-row:2; display:flex; height:100%; min-height:0; flex:none;
 margin:0; padding:0; border:0; overflow:hidden;
}
.selected-research.research-reference .research-project-copy {
 flex:1; min-height:0; overflow-y:auto; padding:0 20px 0 0;
 font:400 13px/1.45 Montserrat,Arial,sans-serif;
}
.selected-research.research-reference .research-project-copy > p { margin:0; }
.selected-research.research-reference .research-project button {
 grid-column:2; grid-row:3; justify-self:start; align-self:start; margin:0; padding:0 0 2px;
 width:max-content; max-width:100%; font:500 12px/1.3 Montserrat,Arial,sans-serif;
}
.selected-research.research-reference .research-project:nth-last-child(-n+2) { border-bottom:0; padding-bottom:0; }
@media(min-width:501px) and (orientation:portrait) {
 .selected-research.research-reference .research-content { padding:20px 28px; }
 .research-reference-header > h2 { font-size:34px; }
 .selected-research.research-reference .research-projects { grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(4,minmax(0,1fr)); gap:12px; }
 .selected-research.research-reference .research-project { grid-template-columns:140px minmax(0,1fr); padding-bottom:10px; border-bottom:1px solid #c8c3b9; }
 .selected-research.research-reference .research-project:last-child { border-bottom:0; padding-bottom:0; }
}
@media(max-width:500px) {
 .selected-research.research-reference .research-content { padding:20px 18px; overflow-y:auto; }
 .research-reference-header > h2 { font-size:30px; }
 .research-reference-eyebrow { gap:8px; }
 .research-reference-eyebrow > i { width:32px; }
 .research-reference-eyebrow > span:last-child { font-size:9px; letter-spacing:.8px; }
 .research-reference-kicker { font-size:9px; letter-spacing:.5px; }
 .research-reference-kicker > b { margin-inline:4px; }
 .research-reference-header > .research-title-note > span { display:inline; }
 .selected-research.research-reference .research-projects { flex:none; grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(4,210px); gap:14px; }
 .selected-research.research-reference .research-project { grid-template-columns:110px minmax(0,1fr); padding-bottom:10px; border-bottom:1px solid #c8c3b9; gap:6px 12px; }
 .selected-research.research-reference .research-project h3 { font-size:17px; }
 .selected-research.research-reference .research-project:last-child { border-bottom:0; padding-bottom:0; }
}

/* Core uses the same page-heading hierarchy as Selected Research. */
.core-page-eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.core-page-eyebrow > span:first-child { font:400 18px/1.1 Bodoni,Georgia,serif; }
.core-page-eyebrow > i { flex:none; width:45px; height:1px; background:var(--accent-red); }
.core-page-eyebrow > span:last-child { font:500 10px/1.3 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1.2px; }
.core-landscape-header > .core-page-title {
 display:block; max-width:100%; margin:0 0 8px; padding:0; border:0;
 font:400 40px/1.05 Bodoni,Georgia,serif; text-transform:none; letter-spacing:-.7px;
}
.core-landscape-header > .core-introduction { min-height:0; }
@media(min-width:501px) and (orientation:portrait) {
 .core-landscape-header > .core-page-title { font-size:34px; }
}
@media(max-width:500px) {
 .core-landscape-header > .core-page-title { font-size:30px; }
 .core-page-eyebrow { gap:8px; }
 .core-page-eyebrow > i { width:32px; }
 .core-page-eyebrow > span:last-child { font-size:9px; letter-spacing:.8px; }
}

/* Card refinement 193: one editorial frame, content-specific compositions. */
#details { --portfolio-gutter:24px; --portfolio-heading:40px; --portfolio-rule:#c8c3b9; border:1px solid #b8bab6; }
#details .portfolio-header {
 position:relative; display:block; inset:auto; height:auto; flex:none; min-width:0;
 margin:0 0 14px; padding:0 0 14px; border:0; border-bottom:1px solid var(--portfolio-rule);
 pointer-events:auto; isolation:isolate;
}
#details .portfolio-eyebrow { display:flex; align-items:center; gap:12px; margin:0 30px 4px 0; }
#details .portfolio-eyebrow > span:first-child { font:400 18px/1.1 Bodoni,Georgia,serif; }
#details .portfolio-eyebrow > i { display:block; flex:none; width:45px; height:1px; background:var(--accent-red); }
#details .portfolio-eyebrow > span:last-child { font:500 10px/1.3 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1.2px; }
#details .portfolio-header > h2 {
 display:block; position:relative; margin:0 24px 8px 0; padding:0; max-width:100%;
 border:0; color:var(--ink); font:400 var(--portfolio-heading)/1.05 Bodoni,Georgia,serif;
 letter-spacing:-.7px; text-transform:none;
}
#details .portfolio-header > .portfolio-kicker { margin:0 0 8px; font:400 10.5px/1.4 Montserrat,Arial,sans-serif; text-transform:uppercase; letter-spacing:1px; color:var(--ink); }
#details .portfolio-kicker > b { display:inline-block; color:var(--accent-red); margin:0 8px; font-size:14px; }
#details .portfolio-header > .core-introduction { margin:8px 0 0; font:400 13px/1.45 Montserrat,Arial,sans-serif; color:#424742; }
#details :is(.core-landscape,.business-content,.additional-background),
#details .selected-research.research-reference .research-content { padding:20px var(--portfolio-gutter); }
#details .business-content { display:flex; flex-direction:column; height:100%; min-height:0; }
#details .business-body { flex:1; min-height:0; }
#details :is(.business-description,.additional-timeline-copy p,.core-section-copy) { font:400 13px/1.45 Montserrat,Arial,sans-serif; }
#details :is(.business-roles h3,.additional-timeline-copy h4,.core-topic-heading h3) { font:400 17px/1.15 Bodoni,Georgia,serif; }
#details .additional-columns { margin-top:0; }
#details .additional-section-title { font:400 22px/1.15 Bodoni,Georgia,serif; }
#details .additional-education { border-left-color:var(--portfolio-rule); }

/* Profile uses the whole card: compact identity/artwork row, then broad reading space. */
#details .profile-reference {
 display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);
 grid-template-rows:auto auto minmax(0,1fr) auto; gap:0 24px;
 width:100%; height:100%; min-height:0; padding:20px var(--portfolio-gutter);
 background:var(--paper-surface); overflow:hidden;
}
#details .profile-reference > .portfolio-header { grid-column:1 / -1; grid-row:1; }
#details .profile-reference .profile-circuit { display:none; }
#details .profile-reference .master-profile-text { display:contents; }
#details .profile-reference .profile-identity { grid-column:1; grid-row:2; align-self:center; width:auto; min-width:0; padding:0; container-type:normal; }
#details .profile-reference .profile-owner { margin:0 0 12px; padding:0; width:100%; border:0; white-space:normal; font:400 32px/1.08 Bodoni,Georgia,serif; letter-spacing:-.3px; }
#details .profile-reference .profile-personal-kicker,
#details .profile-reference .profile-biography-kicker { display:none; }
#details .profile-reference .profile-contact { display:flex; flex-direction:column; align-items:flex-start; gap:5px; margin:0; padding:0 0 0 10px; border-left:1px solid var(--accent-red); font:400 13px/1.45 Montserrat,Arial,sans-serif; }
#details .profile-reference .profile-contact-row { display:contents; }
#details .profile-reference .profile-blend-art {
 position:relative; grid-column:2; grid-row:2; inset:auto; display:block;
 width:100%; height:auto; aspect-ratio:1672 / 941; max-width:none; margin:0;
 background:none; border:0; align-self:center; overflow:hidden;
}
#details .profile-reference .profile-theme-art { position:static; display:block; width:100%; height:100%; object-fit:contain; object-position:center; transform:none; filter:none; mask-image:none; -webkit-mask-image:none; }
#details .profile-reference .reader-shell { grid-column:1 / -1; grid-row:3; width:100%; min-height:0; margin:16px 0 0; padding:12px 0; border-block:1px solid var(--portfolio-rule); background:none; }
#details .profile-reference .master-profile-bio { font:400 13px/1.45 Montserrat,Arial,sans-serif; padding-right:20px; }
#details .profile-reference .profile-biography-opening { display:block; }
#details .profile-reference .master-profile-bio p { margin:0 0 12px; font:inherit; text-indent:0; }
#details .profile-reference .reader-scrollbar { right:-5px; }
#details .profile-reference .master-explore { grid-column:1 / -1; grid-row:4; margin:8px 0 0; padding:0; width:max-content; max-width:100%; font:500 12px/1.3 Montserrat,Arial,sans-serif; text-align:left; }

/* Restore natural image color early, reaching an entirely clear right edge. */
#details .research-reference-header .research-reference-art {
 opacity:1; width:44%; object-fit:cover;
 mask-image:linear-gradient(to right,transparent 0%,#0004 14%,#000b 34%,#000 62%),linear-gradient(to bottom,#000 0%,#000 68%,transparent 100%);
 mask-composite:intersect;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,#0004 14%,#000b 34%,#000 62%),linear-gradient(to bottom,#000 0%,#000 68%,transparent 100%);
 -webkit-mask-composite:source-in;
}
#details .research-reference-header > :not(.research-reference-art) { z-index:1; }
#details .research-reference-header > .research-title-note { position:relative; max-width:64%; font:400 13px/1.45 Montserrat,Arial,sans-serif; }
#details .research-reference-header > .research-title-note > span { display:inline; }

/* The essay leads; its artwork remains a compact companion. */
#details .perspective-header > .perspective-main-title { margin-bottom:14px; }
#details .experiment-feature { display:grid; grid-template-columns:minmax(0,28%) minmax(0,1fr); gap:8px 14px; align-items:center; margin:0 0 14px; }
#details .experiment-visual { grid-column:1; grid-row:1; }
#details .experiment-caption { grid-column:2; grid-row:1; }
#details .experiment-preview > img { height:auto; aspect-ratio:3 / 2; object-fit:contain; }
#details .experiment-caption h4 { font-size:17px; }
#details .master-teaser .experiment-caption p { font-size:11px; line-height:1.45; }
#details .experiment-feature > .experiment-provenance { grid-column:1 / -1; margin:0; font-size:9px; }
.afterthought-art { float:right; width:38%; margin:0 0 16px 22px; }
.afterthought-art img { display:block; width:100%; height:auto; padding:4px; border:1px solid #a6afb2; }
@media(min-width:501px) and (orientation:portrait) {
 #details { --portfolio-gutter:28px; --portfolio-heading:34px; }
 #details .profile-reference { grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr); gap:0 18px; }
 #details .profile-reference .profile-owner { font-size:30px; }
 #details .core-landscape { display:flex; flex-direction:column; }
 #details .core-landscape-sections { flex:1; min-height:0; margin-top:0; }
}
@media(max-width:500px) {
 #details { --portfolio-gutter:18px; --portfolio-heading:30px; }
 #details .portfolio-eyebrow { gap:8px; }
 #details .portfolio-eyebrow > i { width:32px; }
 #details .portfolio-eyebrow > span:last-child { font-size:9px; letter-spacing:.8px; }
 #details .portfolio-header > .portfolio-kicker { font-size:9px; letter-spacing:.5px; }
 #details .portfolio-kicker > b { margin-inline:4px; }
 #details .profile-reference { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 12px; }
 #details .profile-reference .profile-owner { font-size:26px; }
 #details .profile-reference .profile-contact { font-size:11px; padding-left:6px; }
 #details .research-reference-header .research-reference-art { width:48%; }
 #details .research-reference-header > .research-title-note { max-width:100%; padding-top:8px; }
 #details .research-reference-header .research-reference-art { height:80px; }
 #details .experiment-feature { grid-template-columns:minmax(0,33%) minmax(0,1fr); gap:8px 10px; }
 #details .experiment-visual { grid-column:1; grid-row:1; }
 #details .experiment-caption { grid-column:2; grid-row:1; }
 #details .experiment-caption .experiment-credit { margin-bottom:6px; }
 .afterthought-art { float:none; width:65%; margin:0 0 18px auto; }
}
/* Keep timelines anchored to the shared divider rather than vertically centered. */
#details .additional-column { justify-content:flex-start; }
#details .additional-columns { padding-top:4px; }
/* Six larger image groups: experience above education on wide screens. */
@media (min-width:901px) and (orientation:landscape) {
 #details .additional-columns {
  grid-template-columns:minmax(0,1fr); gap:20px; padding-top:0;
 }
 #details .additional-column { min-height:auto; }
 #details .additional-education { border:0; padding:0; margin:0; }
 #details .additional-section-title { margin-bottom:10px; }
 #details .additional-section-title::after { margin-top:6px; }
 #details .additional-timeline {
  grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; gap:22px;
 }
 #details .additional-timeline li {
  grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto;
  align-content:start; align-items:start; gap:9px; padding:0; border:0;
 }
 #details .additional-image-slot {
  aspect-ratio:2.65 / 1; object-fit:cover; padding:0;
 }
 #details .additional-timeline-copy h4 { margin-bottom:4px; }
 #details .additional-timeline-copy p + p { margin-top:2px; }
}
#details .business-body { margin-top:0; }
#details .business-roles { border-left-color:var(--portfolio-rule); }
#details .business-roles h3 { padding:0 0 0 8px; border:0; border-left:1px solid var(--accent-red); }
@media(max-width:500px) {
 #details .business-body { flex:none; }
 #details .research-reference-header .research-reference-art { width:35%; }
}

