/* ==========================================================================
   HR — people first, AI in support.   (page styles, accent: mint)
   01 hero mosaic   02 manifesto   03 panels   04 journey line   05 film
   06 assistant chat + hiring desk   07 consulting (bone)   08 end
   Motion states are keyed on classes hr.js adds (.is-live), so everything is
   visible with JS off / reduced motion.
   ========================================================================== */

.hr-key {
  display: inline-block; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  vertical-align: middle;
}
.hr-key--people { background: var(--fg); }
.hr-key--ai { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* 01 — HERO MOSAIC -------------------------------------------------------- */
.hr-hero { --mos-w: min(47vw, 900px); }
.hr-hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 46vmax at 78% 38%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%),
    radial-gradient(70vmax 50vmax at 0% 100%, color-mix(in srgb, var(--ultra) 13%, transparent), transparent 60%);
}
.hr-hero .hero__inner { z-index: 3; }
.hr-hero__title { font-size: clamp(3.2rem, 12.6vw, 7.5rem); }
.hr-hero .hero__lead { max-width: 27ch; }

.hr-mosaic {
  position: absolute; z-index: 1;
  top: calc(var(--nav-h) + 4px); left: var(--gutter); right: var(--gutter);
  height: 42svh;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  align-items: start;
  overflow: hidden;
  border-radius: var(--r-m);
}
.hr-mosaic::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0) 48%, var(--ink) 99%);
}
.hr-mosaic__col { display: grid; gap: 8px; will-change: transform; }
.hr-mosaic__col--1 { margin-top: -6%; }
.hr-mosaic__col--2 { margin-top: -34%; }
.hr-mosaic__col--3 { margin-top: -18%; }

.hr-cell {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: var(--ratio, 1 / 1);
  border-radius: clamp(10px, 1.1vw, 18px);
  background: var(--ink-3);
}
.hr-face img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%);
  transition: filter 1.5s var(--ease-out), transform 2.4s var(--ease-out);
}
.hr-face::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
/* depth of field — only once hr.js is driving the focus */
.hr-mosaic.is-live .hr-face img { filter: grayscale(.75) brightness(.72) blur(4px); transform: scale(1.08); }
.hr-mosaic.is-live .hr-face.is-focus img { filter: grayscale(0) brightness(1) blur(0); transform: scale(1.01); }

/* autofocus reticle */
.hr-face__ret { position: absolute; inset: 22px; z-index: 2; opacity: 0; transition: opacity .5s, inset .9s var(--ease-out); pointer-events: none; }
.hr-face__ret i { position: absolute; inset: 0; }
.hr-face__ret i::before, .hr-face__ret i::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent); }
.hr-face__ret i:first-child::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hr-face__ret i:first-child::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hr-face__ret i:last-child::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hr-face__ret i:last-child::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hr-face.is-target .hr-face__ret { opacity: 1; inset: 10px; }

.hr-cell--spot { display: grid; place-items: center; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.hr-cell__dot { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 55%, transparent); animation: hr-breathe 4.5s var(--ease-io) infinite; }
@keyframes hr-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.hr-cell__lbl {
  position: absolute; left: 12%; bottom: 10%;
  font-family: var(--font-mono); font-size: clamp(.5625rem, .62vw, .6875rem); letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.hr-cell--note { background: var(--ink-2); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); }
.hr-cell--note .hr-cell__lbl { bottom: auto; top: 10%; }
.hr-cell--note em { color: var(--accent); }
.hr-cell__big {
  position: absolute; left: 12%; right: 8%; bottom: 10%;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2.1vw, 2.5rem); line-height: .92; letter-spacing: -.035em;
}
.hr-cell__big em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.08em; }

@media (min-width: 600px) and (max-width: 899px) {
  .hr-mosaic { height: 42svh; gap: 12px; }
  .hr-mosaic__col { gap: 12px; }
  .hr-mosaic__col--1 { margin-top: -30%; }
  .hr-mosaic__col--2 { margin-top: -62%; }
  .hr-mosaic__col--3 { margin-top: -44%; }
}

@media (min-width: 900px) {
  .hr-hero__title { font-size: clamp(4rem, 7.9vw, 9.4rem); max-width: calc(100% - var(--mos-w) + 3vw); }
  .hr-mosaic {
    top: 0; bottom: 0; left: auto; right: 0;
    width: var(--mos-w); height: auto;
    gap: clamp(10px, 1vw, 16px);
    border-radius: 0;
    padding-right: clamp(10px, 1vw, 16px);
  }
  .hr-mosaic::after {
    background:
      linear-gradient(180deg, var(--ink) 0, rgba(7, 7, 10, 0) 15%),
      linear-gradient(0deg, var(--ink) 5%, rgba(7, 7, 10, .86) 19%, rgba(7, 7, 10, 0) 38%),
      linear-gradient(90deg, var(--ink) 0, rgba(7, 7, 10, 0) 11%);
  }
  .hr-mosaic__col { gap: clamp(10px, 1vw, 16px); }
  .hr-mosaic__col--1 { margin-top: 19vh; }
  .hr-mosaic__col--2 { margin-top: 4vh; }
  .hr-mosaic__col--3 { margin-top: 11vh; }
}

/* 02 — MANIFESTO ---------------------------------------------------------- */
.hr-manifesto__grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.hr-manifesto__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 4.75rem); line-height: 1.04; letter-spacing: -.032em;
  max-width: 21ch; text-wrap: balance;
}
.hr-manifesto__text em { font-size: 1.05em; line-height: 1; color: var(--accent); }
.hr-manifesto__text .hw { transition: opacity .2s linear; }
.hr-manifesto__foot { display: grid; gap: var(--s-5); align-items: end; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hr-manifesto__sig { display: inline-flex; align-items: center; gap: 1em; color: var(--fg); }
@media (min-width: 900px) {
  .hr-manifesto__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .hr-manifesto__side { grid-column: 1 / span 3; padding-top: .9em; }
  .hr-manifesto__text { grid-column: 4 / -1; }
  .hr-manifesto__foot { grid-column: 4 / -1; grid-template-columns: 1fr auto; }
}

/* 03 — PANELS ------------------------------------------------------------- */
.hr-panels { display: grid; gap: var(--gap); }
.hr-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7);
  min-height: clamp(340px, 86vw, 460px);
  padding: clamp(20px, 2vw, 32px);
  border-radius: var(--r-l);
  background: var(--ink-3);
  color: var(--bone);
  outline-offset: 4px;
}
.hr-panel__media { position: absolute; inset: 0; z-index: -1; }
.hr-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: filter 1s var(--ease-out), transform 1.6s var(--ease-out); }
.hr-panel__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, .5) 0, rgba(7, 7, 10, .08) 34%, rgba(7, 7, 10, .9) 100%), var(--noise);
  background-blend-mode: normal, overlay;
}
.hr-panel__top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; }
.hr-panel__top .spot { width: 10px; height: 10px; }
.hr-panel__title {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 96;
  font-size: clamp(1.75rem, 2.5vw, 2.6rem); line-height: .98; letter-spacing: -.03em;
  max-width: 11ch; text-wrap: balance;
}
.hr-panel__more { display: grid; gap: var(--s-4); margin-top: var(--s-4); }
.hr-panel__note { color: rgba(244, 241, 234, .82); max-width: 30ch; }
.hr-panel .chip { border-color: rgba(244, 241, 234, .3); background: rgba(7, 7, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

@media (min-width: 1000px) {
  .hr-panels { display: flex; height: clamp(480px, 42vw, 700px); }
  .hr-panel { flex: 1 1 0; min-width: 0; min-height: 0; cursor: pointer; transition: flex-grow .95s var(--ease-out); }
  .hr-panel.is-active { flex-grow: 2.7; }
  .hr-panel__media img { filter: grayscale(.85) brightness(.5); transform: scale(1.06); }
  .hr-panel.is-active .hr-panel__media img { filter: none; transform: none; }
  .hr-panel__top .spot { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .4s, box-shadow .4s; }
  .hr-panel.is-active .hr-panel__top .spot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
  .hr-panel__title { font-size: clamp(1.5rem, 2.15vw, 2.5rem); transition: font-size .8s var(--ease-out); }
  .hr-panel.is-active .hr-panel__title { font-size: clamp(2.2rem, 3.6vw, 4rem); max-width: 12ch; }
  /* the note keeps a fixed measure so it never reflows while the panel grows */
  .hr-panel__more {
    width: min(34vw, 520px);
    max-height: 0; margin-top: 0; opacity: 0; overflow: hidden;
    transition: max-height .8s var(--ease-out), opacity .3s, margin-top .8s var(--ease-out);
  }
  .hr-panel.is-active .hr-panel__more { max-height: 260px; margin-top: var(--s-5); opacity: 1; transition-delay: 0s, .28s, 0s; }
}

/* 04 — JOURNEY LINE ------------------------------------------------------- */
.hr-legend { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); color: var(--fg); }
.hr-legend span { display: inline-flex; align-items: center; gap: .9em; }
.hr-journey .sec-head { margin-bottom: clamp(28px, 3vw, 48px); }

.hr-line {
  --node: 26px;
  position: relative;
  display: grid; gap: clamp(64px, 9vw, 150px);
  margin-top: clamp(44px, 6vw, 96px);
  padding-block: clamp(8px, 3vw, 48px) clamp(8px, 2vw, 32px);
}
/* static fallback line; hr.js swaps it for the drawn SVG path */
.hr-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--node) / 2); width: 1px; background: var(--line-strong); }
.hr-line.has-path::before { display: none; }
.hr-line__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.hr-line__svg path { fill: none; stroke-linecap: round; }
.hr-line__base { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 7; }
.hr-line__draw { stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 70%, transparent)); }
.hr-line__head { fill: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); }

.hr-step { position: relative; z-index: 1; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: clamp(16px, 4vw, 28px); row-gap: var(--s-6); align-items: start; }
.hr-step__node {
  grid-column: 1; grid-row: 1;
  width: var(--node); height: var(--node); margin-top: 1.9em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .5s, background .5s;
}
.hr-step__node i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transition: transform .6s var(--ease-back); }
.hr-step__body { grid-column: 2; grid-row: 1; min-width: 0; transition: opacity .8s var(--ease-out); }
.hr-step__media { grid-column: 2; grid-row: 2; min-width: 0; }
.hr-step__no { margin-bottom: 1em; }
.hr-step__title {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 96;
  font-size: clamp(3rem, 7.2vw, 7.5rem); line-height: .9; letter-spacing: -.04em;
}
.hr-roles { display: grid; margin-top: clamp(20px, 2.4vw, 36px); max-width: 560px; }
.hr-role { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45em; padding-block: 16px; border-top: 1px solid var(--line); }
.hr-role:last-child { border-bottom: 1px solid var(--line); }
.hr-role dt { display: inline-flex; align-items: center; gap: .9em; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.hr-role dd { margin: 0; text-wrap: pretty; }
.hr-role--people dd { font-size: var(--fs-lead); line-height: 1.25; letter-spacing: -.015em; color: var(--fg); }
.hr-role--ai dd { color: var(--fg-mute); }
.hr-role--ai dt { color: var(--accent); }

/* progress states (only when the line is live) */
.hr-line.is-live .hr-step:not(.is-on) .hr-step__body { opacity: .45; }
.hr-line.is-live .hr-step:not(.is-on) .hr-step__node i { transform: scale(0); }
.hr-step.is-on .hr-step__node { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 7px color-mix(in srgb, var(--accent) 14%, transparent); }

@media (min-width: 520px) {
  .hr-role { grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--s-4); align-items: baseline; }
}
@media (min-width: 900px) {
  .hr-line { --node: 30px; }
  .hr-line::before { left: 50%; }
  .hr-step { grid-template-columns: minmax(0, 1fr) clamp(90px, 12vw, 200px) minmax(0, 1fr); column-gap: 0; align-items: center; }
  .hr-step__node { grid-column: 2; justify-self: center; margin-top: 0; }
  .hr-step__body { grid-column: 1; justify-self: end; width: min(100%, 560px); }
  .hr-step__media { grid-column: 3; grid-row: 1; width: min(100%, 520px); }
  .hr-step:nth-of-type(even) .hr-step__body { grid-column: 3; justify-self: start; }
  .hr-step:nth-of-type(even) .hr-step__media { grid-column: 1; justify-self: end; }
}

/* 05 — FILM --------------------------------------------------------------- */
.hr-film {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(92svh, 920px);
  padding-block: clamp(96px, 10vw, 160px) clamp(32px, 5vw, 80px);
  background: var(--ink-2);
}
.hr-film__media { position: absolute; inset: -8% 0; z-index: -1; }
.hr-film__media video { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hr-film__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0, rgba(7, 7, 10, 0) 22%, rgba(7, 7, 10, 0) 44%, rgba(7, 7, 10, .92) 100%),
    linear-gradient(90deg, rgba(7, 7, 10, .78), rgba(7, 7, 10, 0) 64%);
}
.hr-film__inner { display: grid; gap: clamp(20px, 2.4vw, 36px); width: 100%; }
.hr-film__title { max-width: 10ch; }
.hr-film__list { display: flex; flex-wrap: wrap; gap: 10px; padding-top: clamp(18px, 2vw, 28px); border-top: 1px solid var(--line); color: var(--fg); }
.hr-film__list li { display: inline-flex; align-items: center; gap: .8em; padding: .8em 1.15em; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(7, 7, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); line-height: 1; }
.hr-film__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* 06 — ASSIST: CHAT + DESK ------------------------------------------------ */
.hr-demos { display: grid; gap: var(--gap); }
.hr-demo {
  display: grid; align-content: space-between; gap: clamp(28px, 3.4vw, 56px);
  padding: clamp(20px, 2.6vw, 44px);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  min-width: 0;
}
.hr-demo__copy { display: grid; gap: var(--s-4); max-width: 30em; }
.hr-demo__copy h3 { max-width: 15ch; text-wrap: balance; }
.hr-demo__copy .mute { max-width: 34ch; }
@media (min-width: 1000px) {
  .hr-demos { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
}

.hr-chat__tag {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  padding: .55em .8em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--fg-mute); white-space: nowrap;
}
.hr-chat {
  display: grid; width: 100%; max-width: 620px; justify-self: center;
  border-radius: var(--r-m);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8);
  font-size: .9375rem; line-height: 1.4;
}
.hr-chat__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.hr-chat__who { display: inline-flex; align-items: center; gap: .9em; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.hr-chat__log { display: flex; flex-direction: column; gap: 10px; padding: clamp(14px, 1.6vw, 22px); }
.hr-msg { position: relative; max-width: 84%; padding: 11px 15px; border-radius: 18px; }
.hr-msg--me { align-self: flex-end; background: var(--bone); color: var(--ink); border-bottom-right-radius: 5px; }
.hr-msg--ai { align-self: flex-start; background: var(--ink-3); color: var(--bone); border-bottom-left-radius: 5px; display: grid; gap: 10px; }
.hr-plan { display: grid; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(7, 7, 10, .5); min-width: min(100%, 250px); }
.hr-plan li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; transition: color .4s; }
.hr-plan li + li { box-shadow: 0 -1px 0 var(--line); }
.hr-plan i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background .4s, box-shadow .4s; }
.hr-plan .is-done { color: var(--mute); }
.hr-plan .is-done i { background: var(--accent); box-shadow: none; }
.hr-plan .is-done i::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 1.6px 1.6px 0; transform: rotate(40deg); }
.hr-handoff {
  justify-self: start; display: inline-flex; align-items: center; gap: .8em;
  padding: .7em 1em; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.hr-handoff .spot { width: 6px; height: 6px; min-width: 6px; min-height: 6px; background: var(--ink); }
.hr-chat__input { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin: 0 12px 12px; padding: 8px 8px 8px 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); font-size: .875rem; }
.hr-chat__input span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-chat__input i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.hr-chat__input i::after { content: ""; position: absolute; left: 11px; top: 11.5px; width: 7px; height: 7px; border: solid var(--ink); border-width: 1.6px 1.6px 0 0; transform: rotate(-45deg) translate(-1px, 1px); }

/* chat sequence (hr.js) */
.hr-chat.is-live .hr-msg { opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; }
.hr-chat.is-live .hr-msg--me { transform-origin: 100% 100%; }
.hr-chat.is-live .hr-msg.is-in { opacity: 1; transform: none; transition: opacity .5s, transform .7s var(--ease-out); }
.hr-chat.is-live .hr-msg--ai.is-typing { opacity: 1; transform: none; background: transparent; }
.hr-chat.is-live .hr-msg--ai.is-typing > * { visibility: hidden; }
.hr-msg--ai.is-typing::before {
  content: ""; position: absolute; left: 0; top: 0; width: 54px; height: 34px; border-radius: 18px 18px 18px 5px;
  background:
    radial-gradient(circle 3px at 17px 50%, var(--mute) 98%, transparent) ,
    radial-gradient(circle 3px at 27px 50%, var(--mute) 98%, transparent),
    radial-gradient(circle 3px at 37px 50%, var(--mute) 98%, transparent),
    var(--ink-3);
  animation: hr-typing 1s steps(2) infinite;
}
@keyframes hr-typing { 50% { opacity: .6; } }

/* hiring desk — a stack of role cards */
.hr-desk { display: grid; gap: var(--s-5); justify-items: center; width: 100%; }
.hr-desk__stack { position: relative; width: min(100%, 440px); display: grid; padding-top: 34px; }
.hr-card {
  --p: var(--i);
  grid-area: 1 / 1;
  display: grid; gap: clamp(14px, 1.4vw, 20px); align-content: start;
  padding: clamp(18px, 1.8vw, 26px);
  border-radius: var(--r-m);
  background: var(--bone); color: var(--ink);
  --fg: var(--ink); --fg-mute: #5F5D69; --line: rgba(7, 7, 10, .14); --line-strong: rgba(7, 7, 10, .32);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform-origin: 50% 0;
  transform: translateY(calc(var(--p) * -17px)) scale(calc(1 - var(--p) * .055));
  filter: brightness(calc(1 - var(--p) * .2));
  z-index: calc(10 - var(--p));
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out), opacity .4s;
}
.hr-card.is-out { transform: translate(60%, 6%) rotate(9deg); opacity: 0; transition: transform .5s var(--ease-io), opacity .45s; }
.hr-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.hr-card__lbl { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); min-width: 0; }
.hr-card__role { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: .98; letter-spacing: -.03em; min-height: 1.96em; max-width: 11ch; }
.hr-card__list { display: grid; }
.hr-card__list li { display: flex; align-items: center; gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); font-size: .9375rem; }
.hr-card .hr-key--ai { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hr-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--bone); }
.hr-card__foot span { display: inline-flex; align-items: center; gap: .9em; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hr-card__foot .hr-key--people { background: var(--accent); }
.hr-card__foot strong { font-weight: 550; letter-spacing: -.01em; }
.hr-desk__next {
  display: inline-flex; align-items: center; gap: .9em;
  padding: .95em 1.3em; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--fg);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.hr-desk__next svg { width: 1em; height: 1em; }
.hr-desk__next:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* 07 — CONSULTING (bone, editorial serif) --------------------------------- */
.hr-consult { margin-inline: clamp(0px, 1vw, 16px); }
.hr-consult__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-strong); }
.hr-consult__title {
  margin-block: clamp(36px, 6vw, 104px) clamp(40px, 6.5vw, 112px);
  font-family: var(--font-serif); font-weight: 400; font-variation-settings: normal;
  font-size: clamp(3.4rem, 11.2vw, 12.5rem); line-height: .86; letter-spacing: -.035em;
  max-width: 9.5ch; text-wrap: balance;
}
.hr-consult__title em { font-size: 1em; letter-spacing: -.03em; line-height: inherit; }
.hr-consult__grid { display: grid; gap: clamp(32px, 4vw, 64px); }
.hr-consult__fig { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.hr-consult__fig img { width: 100%; height: 100%; object-fit: cover; }
.hr-consult__cols { display: grid; align-content: end; }
.hr-pillar { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); column-gap: var(--s-4); row-gap: .5em; padding-block: clamp(20px, 2.2vw, 34px); border-top: 1px solid var(--line-strong); align-items: baseline; }
.hr-pillar:last-child { border-bottom: 1px solid var(--line-strong); }
.hr-pillar__no { grid-row: span 2; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--fg-mute); }
.hr-pillar__title { font-family: var(--font-serif); font-weight: 400; font-variation-settings: normal; font-size: clamp(2.2rem, 3.9vw, 4.25rem); line-height: .95; letter-spacing: -.025em; }
.hr-pillar p { grid-column: 2; color: var(--fg-mute); max-width: 32ch; }
@media (min-width: 900px) {
  .hr-consult__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; }
  .hr-consult__fig { grid-column: 1 / span 5; aspect-ratio: auto; min-height: 100%; }
  .hr-consult__cols { grid-column: 7 / -1; }
  .hr-consult__title { margin-left: -.04em; max-width: 15ch; font-size: clamp(5rem, 10.4vw, 12rem); }
}

.hr-rules { margin-top: clamp(72px, 10vw, 168px); display: grid; gap: clamp(32px, 4vw, 64px); }
.hr-rules__head { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.hr-rules__head h3 { max-width: 14ch; }
.hr-rules .principles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.hr-rules .principle { min-height: clamp(250px, 23vw, 380px); }
.hr-rules .principle__title { font-size: clamp(1.85rem, 2.9vw, 3.1rem); }
@media (min-width: 900px) {
  .hr-rules__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .hr-rules__head .eyebrow { grid-column: 1 / span 3; padding-top: .9em; }
  .hr-rules__head h3 { grid-column: 4 / -1; }
}

/* 08 — END ---------------------------------------------------------------- */
.hr-end { padding-top: var(--section-tight); }

@media (prefers-reduced-motion: reduce) {
  .hr-cell__dot { animation: none; }
}

@media (min-width: 900px) {
  .hr-legend { padding-left: calc((100% + var(--gap)) / 4); }
}

@media (max-width: 899px) {
  .hr-film { min-height: min(86svh, 760px); }
  .hr-film__media::after {
    background: linear-gradient(180deg, var(--ink) 0, rgba(7, 7, 10, 0) 18%, rgba(7, 7, 10, .1) 34%, rgba(7, 7, 10, .9) 62%, var(--ink) 100%);
  }
  .hr-film__media video { object-position: 82% 50%; }
}

@media (max-width: 999px) {
  .hr-panel__media img { filter: brightness(.74) saturate(.9); }
}
