/*
 * Earned Glyphs — creator atlas.
 * Monograms are evidence surfaces: publication adds structure, repeat use
 * deepens the field, and remixes leave an orange registration line.
 */

html[data-design-system="halde"] .profiles-page{
  position:relative;
  padding:0 0 100px;
  gap:0;
  color:var(--text-primary);
  background-color:var(--bg-page);
  background-image:url("../assets/paper-grain.svg");
  background-size:420px 420px;
  background-blend-mode:multiply;
}

html[data-design-system="halde"] .profiles-page > .pnl{
  margin:0;
  padding-inline:var(--page-gutter);
  color:var(--text-primary);
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

html[data-design-system="halde"] .profiles-page > .pnl + .pnl{
  border-top:1px solid rgba(17,18,18,.14)!important;
}

html[data-design-system="halde"] .profiles-page > .pnl::before{
  display:none!important;
}

html[data-design-system="halde"] .profiles-page > .crumbs{
  margin:0;
  padding:11px var(--page-gutter);
  border:0;
  border-bottom:1px solid rgba(17,18,18,.14);
  border-radius:0!important;
  color:rgba(17,18,18,.52);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page :where(h1,h2,h3,h4,p,button,a){
  font-family:var(--font-editorial);
}

html[data-design-system="halde"] .profiles-page :where(.lab,.mono,small,code){
  font-family:var(--font-technical)!important;
}

/* Opening register */
html[data-design-system="halde"] .profiles-page .talent-hero{
  padding-top:clamp(48px,6vw,82px);
  padding-bottom:clamp(52px,7vw,96px);
}

html[data-design-system="halde"] .profiles-page .talent-hero > .lab{
  display:block;
  width:auto;
  margin:0;
  padding:0 0 13px;
  border:0;
  border-bottom:1px solid rgba(17,18,18,.2);
  border-radius:0!important;
  color:rgba(17,18,18,.56);
  background:transparent;
  box-shadow:none;
  text-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
  gap:clamp(42px,7vw,112px);
  align-items:end;
  margin:0;
  padding:clamp(36px,5vw,72px) 0 0;
  border:0;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-hero-grid > div{
  padding:0;
  border:0;
  border-radius:0!important;
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-hero h1{
  max-width:14ch;
  margin:0;
  color:var(--text-primary);
  font-family:var(--font-editorial);
  font-size:var(--type-page-title-size);
  font-variation-settings:"wght" 590;
  font-weight:590;
  letter-spacing:-.07em;
  line-height:.84;
  text-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-hero p{
  max-width:39ch;
  padding:0;
  color:rgba(17,18,18,.68);
  font-size:clamp(16px,1.3vw,20px);
  font-weight:430;
  line-height:1.5;
}

html[data-design-system="halde"] .profiles-page .talent-live{
  grid-template-columns:auto auto 1fr;
  margin-top:25px;
  padding:12px 0 0;
  border:0;
  border-top:1px solid rgba(17,18,18,.18);
  border-radius:0!important;
  color:rgba(17,18,18,.66);
  background:transparent;
  box-shadow:none;
}

/* Shared chapter register */
html[data-design-system="halde"] .profiles-page .talent-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:clamp(36px,6vw,96px);
  align-items:end;
  margin:0 0 clamp(30px,4vw,54px);
  padding:0 0 18px;
  border:0;
  border-bottom:1px solid rgba(17,18,18,.18);
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-section-head .lab{
  display:inline;
  padding:0;
  border:0;
  color:rgba(17,18,18,.52);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .talent-section-head h2{
  max-width:15ch;
  margin:8px 0 0;
  color:var(--text-primary);
  font-family:var(--font-editorial);
  font-size:var(--type-section-title-size);
  font-variation-settings:"wght" 590;
  font-weight:590;
  letter-spacing:-.06em;
  line-height:.88;
}

html[data-design-system="halde"] .profiles-page .talent-section-head > p{
  max-width:43ch;
  color:rgba(17,18,18,.65);
  font-size:14px;
  font-weight:430;
}

/* Creator field */
html[data-design-system="halde"] .profiles-page .maker-atlas{
  padding-block:clamp(60px,7vw,104px);
}

html[data-design-system="halde"] .profiles-page .atlas-guide{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:30px;
  margin-bottom:16px;
  color:rgba(17,18,18,.54);
}

html[data-design-system="halde"] .profiles-page .atlas-guide p{
  max-width:55ch;
  font-size:11px;
  line-height:1.5;
}

html[data-design-system="halde"] .profiles-page .maker-field{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(17,18,18,.24);
  border-left:1px solid rgba(17,18,18,.24);
}

html[data-design-system="halde"] .profiles-page .maker-tile{
  --tile-ink:var(--text-primary);
  position:relative;
  width:100%;
  min-height:310px;
  display:grid;
  grid-template-rows:minmax(180px,1fr) auto auto;
  gap:0;
  padding:18px;
  overflow:hidden;
  border:0;
  border-right:1px solid rgba(17,18,18,.24);
  border-bottom:1px solid rgba(17,18,18,.24);
  border-radius:0!important;
  color:var(--tile-ink);
  background:rgba(255,255,255,.055);
  box-shadow:none!important;
  text-align:left;
  cursor:pointer;
  transition:color .2s ease,background-color .2s ease;
}

html[data-design-system="halde"] .profiles-page .maker-tile::before{
  content:"";
  position:absolute;
  inset:auto auto 0 0;
  width:var(--remix-progress);
  height:3px;
  background:var(--accent);
  opacity:.9;
}

html[data-design-system="halde"] .profiles-page .maker-tile:hover,
html[data-design-system="halde"] .profiles-page .maker-tile.is-selected{
  --tile-ink:#f0efe9;
  color:var(--tile-ink);
  background:#292b2a;
}

html[data-design-system="halde"] .profiles-page .maker-tile:focus-visible{
  z-index:2;
  outline:2px solid var(--accent);
  outline-offset:-3px;
}

html[data-design-system="halde"] .profiles-page .maker-tile-mark{
  position:relative;
  display:grid;
  place-items:center;
  color:currentColor;
}

html[data-design-system="halde"] .profiles-page .maker-tile-mark .monogram{
  width:min(72%,170px);
  height:auto;
}

html[data-design-system="halde"] .profiles-page .maker-tile-mark > i{
  position:absolute;
  top:7px;
  right:7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#3a8c56;
  box-shadow:0 0 0 4px color-mix(in srgb,#3a8c56 18%,transparent);
}

/* Identity grammar: the symbol never changes as reputation changes.
   Person = circle, organization = square, agent = diamond. */
html[data-design-system="halde"] .profiles-page .identity-shape{
  width:7px;
  height:7px;
  display:inline-block;
  flex:none;
  margin-right:7px;
  border:1px solid currentColor;
  background:currentColor;
  vertical-align:1px;
}

html[data-design-system="halde"] .profiles-page .kind-human .identity-shape{
  border-radius:50%;
}

html[data-design-system="halde"] .profiles-page .kind-organization .identity-shape{
  border-radius:0;
}

html[data-design-system="halde"] .profiles-page .kind-agent .identity-shape{
  transform:rotate(45deg) scale(.82);
}

html[data-design-system="halde"] .profiles-page .maker-tile-record .lab{
  display:flex;
  align-items:center;
}

html[data-design-system="halde"] .profiles-page .maker-tile.kind-organization .maker-tile-mark::before,
html[data-design-system="halde"] .profiles-page .maker-tile.kind-organization .maker-tile-mark::after{
  content:"";
  position:absolute;
  width:28px;
  height:28px;
  border-color:currentColor;
  opacity:.38;
}

html[data-design-system="halde"] .profiles-page .maker-tile.kind-organization .maker-tile-mark::before{
  top:19px;
  left:19px;
  border-top:1px solid;
  border-left:1px solid;
}

html[data-design-system="halde"] .profiles-page .maker-tile.kind-organization .maker-tile-mark::after{
  right:19px;
  bottom:19px;
  border-right:1px solid;
  border-bottom:1px solid;
}

html[data-design-system="halde"] .profiles-page .maker-tile.kind-agent .maker-tile-mark::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:50%;
  height:1px;
  background:currentColor;
  opacity:.22;
  transform:rotate(-9deg);
}

html[data-design-system="halde"] .profiles-page .maker-tile.kind-agent .maker-tile-mark::after{
  content:"SIGNED KEY";
  position:absolute;
  left:12px;
  bottom:12px;
  color:currentColor;
  font:560 6px/1 var(--font-technical);
  letter-spacing:.1em;
  opacity:.46;
}

html[data-design-system="halde"] .profiles-page .maker-tile-record{
  display:flex;
  flex-direction:column;
  padding-top:15px;
  border-top:1px solid color-mix(in srgb,currentColor 23%,transparent);
}

html[data-design-system="halde"] .profiles-page .maker-tile-record .lab{
  color:color-mix(in srgb,currentColor 54%,transparent);
  font-size:7px;
}

html[data-design-system="halde"] .profiles-page .maker-tile-record b{
  margin-top:5px;
  font-size:clamp(20px,1.55vw,27px);
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1;
}

html[data-design-system="halde"] .profiles-page .maker-tile-record small{
  margin-top:7px;
  color:color-mix(in srgb,currentColor 55%,transparent);
  font-size:7px;
  letter-spacing:.05em;
}

html[data-design-system="halde"] .profiles-page .maker-density{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
  margin-top:14px;
}

html[data-design-system="halde"] .profiles-page .maker-density > i{
  height:2px;
  background:color-mix(in srgb,currentColor 16%,transparent);
}

html[data-design-system="halde"] .profiles-page .maker-density > i::after{
  content:"";
  display:block;
  width:var(--glyph-progress);
  height:100%;
  background:currentColor;
}

html[data-design-system="halde"] .profiles-page .maker-density small{
  color:color-mix(in srgb,currentColor 58%,transparent);
  font-size:6.5px;
  letter-spacing:.06em;
}

/* Selected maker specimen */
html[data-design-system="halde"] .profiles-page .maker-focus{
  scroll-margin-top:64px;
  padding-block:clamp(60px,7vw,104px);
}

html[data-design-system="halde"] .profiles-page .maker-specimen[hidden]{
  display:none;
}

html[data-design-system="halde"] .profiles-page .maker-specimen{
  display:grid;
  grid-template-columns:minmax(250px,3.4fr) minmax(330px,4.5fr) minmax(260px,4.1fr);
  min-height:540px;
  border:1px solid rgba(17,18,18,.34);
}

html[data-design-system="halde"] .profiles-page .specimen-glyph{
  position:relative;
  min-height:540px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  overflow:hidden;
  color:#efeee8;
  background:#292b2a;
}

html[data-design-system="halde"] .profiles-page .specimen-glyph > .lab{
  position:absolute;
  top:20px;
  left:20px;
  color:rgba(239,238,232,.56);
}

html[data-design-system="halde"] .profiles-page .specimen-glyph .monogram{
  width:min(76%,270px);
  height:auto;
}

html[data-design-system="halde"] .profiles-page .specimen-glyph-foot{
  position:absolute;
  right:20px;
  bottom:18px;
  left:20px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  padding-top:10px;
  border-top:1px solid rgba(239,238,232,.22);
  font:520 7px/1.3 var(--font-technical);
  letter-spacing:.06em;
}

html[data-design-system="halde"] .profiles-page .specimen-glyph-foot b{
  font-size:9px;
}

html[data-design-system="halde"] .profiles-page .specimen-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:clamp(26px,3vw,44px);
  border-right:1px solid rgba(17,18,18,.16);
}

html[data-design-system="halde"] .profiles-page .specimen-head .lab{
  color:rgba(17,18,18,.52);
}

html[data-design-system="halde"] .profiles-page .specimen-head h3{
  max-width:11ch;
  margin:12px 0 15px;
  font-size:var(--type-subsection-title-size);
  font-variation-settings:"wght" 600;
  font-weight:600;
  letter-spacing:-.065em;
  line-height:.86;
}

html[data-design-system="halde"] .profiles-page .specimen-head p{
  max-width:45ch;
  color:rgba(17,18,18,.67);
  font-size:13.5px;
  line-height:1.5;
}

html[data-design-system="halde"] .profiles-page .specimen-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:24px 0 0;
  padding:14px 0;
  border-top:1px solid rgba(17,18,18,.16);
  border-bottom:1px solid rgba(17,18,18,.16);
}

html[data-design-system="halde"] .profiles-page .specimen-stats span{
  display:flex;
  flex-direction:column;
  padding-right:10px;
  color:rgba(17,18,18,.55);
  font:520 7px/1.35 var(--font-technical);
  text-transform:uppercase;
}

html[data-design-system="halde"] .profiles-page .specimen-stats b{
  margin-bottom:5px;
  color:var(--text-primary);
  font:610 clamp(22px,2vw,30px)/1 var(--font-editorial);
}

html[data-design-system="halde"] .profiles-page .specimen-proof{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:18px;
  border-top:1px solid rgba(17,18,18,.14);
  border-left:1px solid rgba(17,18,18,.14);
}

html[data-design-system="halde"] .profiles-page .specimen-proof span{
  min-height:58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 12px;
  border-right:1px solid rgba(17,18,18,.14);
  border-bottom:1px solid rgba(17,18,18,.14);
}

html[data-design-system="halde"] .profiles-page .specimen-proof small{
  color:rgba(17,18,18,.48);
  font-size:6.5px;
  letter-spacing:.06em;
}

html[data-design-system="halde"] .profiles-page .specimen-proof b{
  margin-top:5px;
  font-size:11px;
  font-weight:600;
}

html[data-design-system="halde"] .profiles-page .specimen-open{
  width:max-content;
  margin-top:auto;
  padding-top:20px;
  color:var(--text-primary);
  font:600 8px/1 var(--font-technical);
  letter-spacing:.07em;
  text-decoration:none;
  border-bottom:1px solid currentColor;
}

html[data-design-system="halde"] .profiles-page .maker-signature{
  min-width:0;
  padding:clamp(24px,2.6vw,38px);
  background:rgba(17,18,18,.035);
}

html[data-design-system="halde"] .profiles-page .maker-signature > .lab{
  color:rgba(17,18,18,.5);
}

html[data-design-system="halde"] .profiles-page .signature-cover{
  position:relative;
  margin-top:14px;
}

html[data-design-system="halde"] .profiles-page .signature-cover .play-cover{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-areas:"top" "title" "activity" "foot";
  grid-template-rows:auto minmax(66px,1fr) auto auto;
  width:100%;
  aspect-ratio:3 / 2;
  padding:14px;
  overflow:hidden;
  color:#ecebe5;
  border:1px solid #666966;
  border-radius:4px!important;
  background-color:#292b2a;
  background-image:radial-gradient(circle at 2px 2px,rgba(255,255,255,.045) 0 .38px,transparent .6px);
  background-size:23px 23px;
  box-shadow:none!important;
}

html[data-design-system="halde"] .profiles-page .signature-cover .play-cover::before{
  content:"";
  position:absolute;
  inset:0;
  display:block;
  border:0;
  border-radius:4px!important;
  background:linear-gradient(#f04f23,#f04f23) calc(100% - 12px) 12px / 3px 22px no-repeat;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .play-cover::after{
  display:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .play-cover > *{
  position:relative;
  z-index:1;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-top{
  grid-area:top;
  padding:0 18px 7px 0;
  border-bottom:1px solid rgba(255,255,255,.13);
  color:#ecebe5;
  font:560 5px/1.15 var(--font-technical);
  text-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-title{
  grid-area:title;
  align-self:end;
  max-width:11ch;
  padding:12px 0 8px;
  color:#f5f4ed;
  font:570 clamp(20px,2vw,30px)/.84 var(--font-editorial);
  letter-spacing:-.06em;
  text-transform:uppercase;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  text-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity{
  grid-area:activity;
  height:30px;
  display:flex;
  align-items:flex-end;
  gap:1px;
  margin:0 0 6px;
  padding-top:7px;
  border-top:1px solid rgba(255,255,255,.58);
  border-bottom:0;
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity i{
  flex:1 1 0;
  min-width:1px;
  height:3px;
  aspect-ratio:auto;
  border:0;
  border-radius:0!important;
  background:rgba(236,235,229,.22);
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity .run-level-1{height:3px;background:rgba(236,235,229,.22)}
html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity .run-level-2{height:7px;background:rgba(236,235,229,.42)}
html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity .run-level-3{height:13px;background:rgba(236,235,229,.68)}
html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity .run-level-4{height:21px;background:#f3f2eb}
html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity i:nth-child(23){background:#f04f23}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-activity-meta{
  display:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-foot{
  grid-area:foot;
  margin:0;
  padding-top:6px;
  border-top:1px solid rgba(255,255,255,.16);
  color:#ecebe5;
  font:560 5px/1.1 var(--font-technical);
  text-shadow:none;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .signature-cover .cover-play{
  top:50%;
  right:11px;
  bottom:auto;
  width:32px;
  height:32px;
  margin-top:-16px;
  border:1px solid #ecebe5;
  border-radius:0!important;
  color:#292b2a;
  background:#ecebe5;
  box-shadow:none;
  font-size:10px;
}

html[data-design-system="halde"] .profiles-page .maker-signature h4{
  margin:18px 0 7px;
  font-size:clamp(22px,2vw,31px);
  font-weight:600;
  letter-spacing:-.045em;
  line-height:.95;
}

html[data-design-system="halde"] .profiles-page .maker-signature > p{
  color:rgba(17,18,18,.63);
  font-size:12px;
  line-height:1.5;
}

html[data-design-system="halde"] .profiles-page .signature-uri{
  display:grid;
  grid-template-columns:8ch minmax(0,1fr);
  gap:10px;
  align-items:center;
  margin-top:18px;
  padding-top:10px;
  border-top:1px solid rgba(17,18,18,.15);
}

html[data-design-system="halde"] .profiles-page .signature-uri .barcode{
  width:8ch;
  height:17px;
}

html[data-design-system="halde"] .profiles-page .signature-uri .mono{
  min-width:0;
  overflow:hidden;
  color:rgba(17,18,18,.58);
  font-size:7.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

html[data-design-system="halde"] .profiles-page .signature-empty{
  height:100%;
  min-height:390px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:20px;
  border:1px solid rgba(17,18,18,.18);
}

html[data-design-system="halde"] .profiles-page .signature-empty b{
  margin:18px 0;
  font-size:var(--type-subsection-title-size);
  font-weight:590;
  letter-spacing:-.06em;
  line-height:.87;
}

html[data-design-system="halde"] .profiles-page .signature-empty p{
  color:rgba(17,18,18,.58);
  font-size:12px;
}

/* Supporting evidence stays inside the atlas */
html[data-design-system="halde"] .profiles-page .atlas-support{
  display:grid;
  gap:clamp(56px,7vw,96px);
  margin-top:clamp(58px,7vw,102px);
  padding-top:clamp(50px,6vw,82px);
  border-top:1px solid rgba(17,18,18,.16);
}

html[data-design-system="halde"] .profiles-page .atlas-subhead{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:clamp(36px,6vw,96px);
  align-items:end;
  margin-bottom:24px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(17,18,18,.16);
}

html[data-design-system="halde"] .profiles-page .atlas-subhead h3{
  max-width:18ch;
  margin-top:7px;
  font-size:var(--type-subsection-title-size);
  font-weight:590;
  letter-spacing:-.055em;
  line-height:.9;
}

html[data-design-system="halde"] .profiles-page .atlas-subhead > p{
  max-width:45ch;
  color:rgba(17,18,18,.62);
  font-size:13px;
  line-height:1.5;
}

html[data-design-system="halde"] .profiles-page .atlas-live.now-playing,
html[data-design-system="halde"] .profiles-page .atlas-cohort.cohort-stage{
  padding:0;
  color:var(--text-primary);
  background:transparent;
}

html[data-design-system="halde"] .profiles-page .live-board{
  padding:0;
  border:0;
  border-top:1px solid rgba(17,18,18,.16);
  border-radius:0!important;
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .live-row{
  margin:0;
  padding:14px 4px;
  border:0;
  border-bottom:1px solid rgba(17,18,18,.13);
  border-radius:0!important;
  color:var(--text-primary);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .live-row:hover{
  padding-inline:12px;
  color:#efeee8;
  background:#292b2a;
}

html[data-design-system="halde"] .profiles-page .live-row .harness-mix em > b{
  background:rgba(17,18,18,.12);
}

html[data-design-system="halde"] .profiles-page .live-row .harness-mix em > b::after{
  background:var(--accent);
}

html[data-design-system="halde"] .profiles-page .pair-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:0;
  border-top:1px solid rgba(17,18,18,.2);
  border-left:1px solid rgba(17,18,18,.2);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .pair-card{
  min-height:290px;
  padding:20px;
  border:0!important;
  border-right:1px solid rgba(17,18,18,.2)!important;
  border-bottom:1px solid rgba(17,18,18,.2)!important;
  border-radius:0!important;
  color:var(--text-primary);
  background:rgba(255,255,255,.045);
  background-image:none;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .pair-mono{
  background:transparent;
  background-image:none;
  box-shadow:none;
}

/* Rising makers and the visible formation sequence */
html[data-design-system="halde"] .profiles-page .mark-evolution{
  padding-block:clamp(60px,7vw,104px);
}

html[data-design-system="halde"] .profiles-page .rising-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  padding:0;
  border-top:1px solid rgba(17,18,18,.2);
  border-left:1px solid rgba(17,18,18,.2);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .rising-card{
  min-height:190px;
  margin:0;
  padding:18px;
  border:0!important;
  border-right:1px solid rgba(17,18,18,.2)!important;
  border-bottom:1px solid rgba(17,18,18,.2)!important;
  border-radius:0!important;
  background:transparent;
  background-image:none;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .rising-card:hover{
  color:#efeee8;
  background:#292b2a;
  transform:none;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .rising-mono{
  background:transparent;
  background-image:none;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .ladder-studio{
  margin-top:clamp(62px,7vw,100px);
  padding:0;
}

/* The decoder belongs before the atlas: learn the invariant identity mark,
   then read how useful work gives the halftone more structure. */
html[data-design-system="halde"] .profiles-page .glyph-primer{
  padding-top:clamp(58px,7vw,104px);
  padding-bottom:clamp(58px,7vw,104px);
}

html[data-design-system="halde"] .profiles-page .identity-key{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-bottom:clamp(42px,5vw,70px);
  border-top:1px solid rgba(17,18,18,.24);
  border-bottom:1px solid rgba(17,18,18,.24);
}

html[data-design-system="halde"] .profiles-page .identity-key-item{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:18px;
  align-items:center;
  min-height:106px;
  padding:18px 22px;
  border-left:1px solid rgba(17,18,18,.2);
}

html[data-design-system="halde"] .profiles-page .identity-key-item:first-child{
  border-left:0;
}

html[data-design-system="halde"] .profiles-page .identity-key-item > i{
  width:28px;
  height:28px;
  display:block;
  border:1px solid var(--text-primary);
  background:var(--text-primary);
}

html[data-design-system="halde"] .profiles-page .identity-key-item.kind-human > i{
  border-radius:50%;
}

html[data-design-system="halde"] .profiles-page .identity-key-item.kind-organization > i{
  box-shadow:7px 7px 0 transparent,7px 7px 0 1px rgba(17,18,18,.28);
}

html[data-design-system="halde"] .profiles-page .identity-key-item.kind-agent > i{
  transform:rotate(45deg) scale(.78);
}

html[data-design-system="halde"] .profiles-page .identity-key-item span{
  display:flex;
  flex-direction:column;
  gap:5px;
}

html[data-design-system="halde"] .profiles-page .identity-key-item b{
  font-size:17px;
  font-weight:590;
  letter-spacing:-.02em;
}

html[data-design-system="halde"] .profiles-page .identity-key-item small{
  max-width:32ch;
  color:rgba(17,18,18,.58);
  font:430 11px/1.45 var(--font-editorial)!important;
}

html[data-design-system="halde"] .profiles-page .glyph-primer .ladder-studio{
  margin-top:0;
}

html[data-design-system="halde"] .profiles-page .glyph-primer .ladder-head{
  margin-bottom:18px;
}

html[data-design-system="halde"] .profiles-page .ladder-track{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:0;
  border:1px solid rgba(17,18,18,.24);
  border-radius:0!important;
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .ladder-rung{
  min-height:330px;
  padding:18px;
  border:0;
  border-left:1px solid rgba(17,18,18,.2);
  color:var(--text-primary);
  background:transparent;
  box-shadow:none;
}

html[data-design-system="halde"] .profiles-page .ladder-rung:first-child{
  border-left:0;
}

html[data-design-system="halde"] .profiles-page .ladder-mark{
  height:108px;
  display:grid;
  place-items:center;
  margin-top:15px;
}

html[data-design-system="halde"] .profiles-page .ladder-mark .monogram{
  width:92px;
  height:92px;
}

html[data-design-system="halde"] .profiles-page .ladder-rung h3{
  margin:17px 0 10px;
  font-size:var(--type-subsection-title-size);
  font-weight:600;
  letter-spacing:-.05em;
}

html[data-design-system="halde"] .profiles-page .ladder-rung p{
  min-height:62px;
  color:rgba(17,18,18,.62);
  font-size:12.5px;
}

html[data-design-system="halde"] .profiles-page .ladder-rung.rung-3{
  color:#efeee8;
  background:#292b2a;
}

html[data-design-system="halde"] .profiles-page .ladder-rung.rung-3 p{
  color:rgba(239,238,232,.62);
}

html[data-design-system="halde"] .profiles-page .ladder-close{
  padding-top:12px;
  color:rgba(17,18,18,.56);
  font-size:8px;
}

@media (max-width:1180px){
  html[data-design-system="halde"] .profiles-page .maker-field{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  html[data-design-system="halde"] .profiles-page .maker-specimen{
    grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);
  }

  html[data-design-system="halde"] .profiles-page .maker-signature{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);
    gap:24px;
    border-top:1px solid rgba(17,18,18,.16);
  }

  html[data-design-system="halde"] .profiles-page .signature-cover{
    grid-row:1 / span 4;
    margin:0;
  }
}

@media (max-width:820px){
  html[data-design-system="halde"] .profiles-page .talent-hero-grid,
  html[data-design-system="halde"] .profiles-page .talent-section-head,
  html[data-design-system="halde"] .profiles-page .atlas-subhead{
    grid-template-columns:1fr;
    gap:26px;
  }

  html[data-design-system="halde"] .profiles-page .talent-hero h1{
    font-size:var(--type-page-title-size);
  }

  html[data-design-system="halde"] .profiles-page .maker-field{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  html[data-design-system="halde"] .profiles-page .maker-specimen{
    grid-template-columns:1fr;
  }

  html[data-design-system="halde"] .profiles-page .specimen-glyph{
    min-height:390px;
  }

  html[data-design-system="halde"] .profiles-page .specimen-copy{
    border-right:0;
    border-bottom:1px solid rgba(17,18,18,.16);
  }

  html[data-design-system="halde"] .profiles-page .maker-signature{
    grid-column:auto;
    display:block;
  }

  html[data-design-system="halde"] .profiles-page .signature-cover{
    margin-top:14px;
  }

  html[data-design-system="halde"] .profiles-page .pair-grid,
  html[data-design-system="halde"] .profiles-page .ladder-track{
    grid-template-columns:1fr 1fr;
  }

  html[data-design-system="halde"] .profiles-page .identity-key{
    grid-template-columns:1fr;
  }

  html[data-design-system="halde"] .profiles-page .identity-key-item{
    border-top:1px solid rgba(17,18,18,.2);
    border-left:0;
  }

  html[data-design-system="halde"] .profiles-page .identity-key-item:first-child{
    border-top:0;
  }

  html[data-design-system="halde"] .profiles-page .ladder-rung:nth-child(odd){
    border-left:0;
  }

  html[data-design-system="halde"] .profiles-page .ladder-rung:nth-child(n+3){
    border-top:1px solid rgba(17,18,18,.2);
  }
}

@media (max-width:560px){
  html[data-design-system="halde"] .profiles-page .atlas-guide{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }

  html[data-design-system="halde"] .profiles-page .maker-field,
  html[data-design-system="halde"] .profiles-page .pair-grid,
  html[data-design-system="halde"] .profiles-page .rising-grid,
  html[data-design-system="halde"] .profiles-page .ladder-track{
    grid-template-columns:1fr;
  }

  html[data-design-system="halde"] .profiles-page .maker-tile{
    min-height:270px;
  }

  html[data-design-system="halde"] .profiles-page .specimen-stats{
    grid-template-columns:1fr;
    gap:12px;
  }

  html[data-design-system="halde"] .profiles-page .specimen-proof{
    grid-template-columns:1fr;
  }

  html[data-design-system="halde"] .profiles-page .live-row{
    grid-template-columns:auto 1fr auto;
  }

  html[data-design-system="halde"] .profiles-page .live-row .harness-mix{
    grid-column:2 / -1;
  }

  html[data-design-system="halde"] .profiles-page .ladder-rung,
  html[data-design-system="halde"] .profiles-page .ladder-rung:nth-child(odd){
    border-left:0;
    border-top:1px solid rgba(17,18,18,.2);
  }

  html[data-design-system="halde"] .profiles-page .ladder-rung:first-child{
    border-top:0;
  }
}

@media (prefers-reduced-motion:reduce){
  html[data-design-system="halde"] .profiles-page .maker-tile{
    transition:none;
  }
}

/* Route theme contract ----------------------------------------------------
   Atlas copy follows the active page palette. Monogram specimens and play
   covers retain their explicit artifact palettes. */
html[data-design-system="halde"] .profiles-page :is(
  .talent-hero p,
  .talent-section-head > p,
  .atlas-guide,
  .atlas-guide p,
  .specimen-head p,
  .maker-signature > p,
  .atlas-subhead > p,
  .identity-key-item small,
  .ladder-rung p,
  .live-row small,
  .pair-card p,
  .rising-card p
){
  color:var(--text-secondary)!important;
  opacity:1!important;
}

html[data-design-system="halde"] .profiles-page :is(
  .crumbs,
  .talent-hero > .lab,
  .talent-section-head .lab,
  .specimen-head .lab,
  .specimen-stats span,
  .specimen-proof small,
  .maker-signature > .lab,
  .ladder-close,
  .prototype-note
){
  color:var(--text-tertiary)!important;
  opacity:1!important;
}

html[data-design-system="halde"] .profiles-page .talent-live :is(b,span){
  color:var(--text-secondary)!important;
  opacity:1!important;
}

html[data-design-system="halde"] .profiles-page .specimen-stats b,
html[data-design-system="halde"] .profiles-page .specimen-proof b{
  color:var(--text-primary)!important;
}

html[data-design-system="halde"] .profiles-page :is(
  .crumbs,
  .talent-hero > .lab,
  .talent-live,
  .talent-section-head,
  .maker-field,
  .maker-tile,
  .maker-specimen,
  .specimen-copy,
  .specimen-stats,
  .specimen-proof,
  .specimen-proof span,
  .signature-uri,
  .atlas-support,
  .atlas-subhead,
  .live-board,
  .live-row,
  .pair-grid,
  .pair-card,
  .rising-grid,
  .rising-card,
  .identity-key,
  .identity-key-item,
  .ladder-track,
  .ladder-rung
){
  border-color:var(--border-default)!important;
}

html[data-design-system="halde"] .profiles-page .maker-signature{
  background:var(--bg-surface-muted)!important;
}

html[data-design-system="halde"] .profiles-page .signature-cover .play-cover :is(
  .cover-top,
  .cover-top span,
  .cover-title,
  .cover-foot,
  .cover-foot span,
  .cover-foot b
){
  color:var(--artifact-text)!important;
  opacity:1!important;
}

html[data-design-system="halde"] .profiles-page .signature-uri .mono{
  color:var(--command-text)!important;
}
