/* BHI Construction case study — project-scoped styles */
:root {
  --bhi-blue: #17417c;
  --bhi-green: #5ec238;
  --bhi-light-blue: #309cdd;
  --bhi-ink: #10243d;
  --bhi-muted: #6b7784;
  --bhi-paper: #f5f7f4;
  --bhi-line: rgba(16, 36, 61, 0.14);
  --bhi-radius: 12px;
}

body[data-bhi-project="true"] .case__study__slices,
body[data-bhi-project="true"] .case__study__info,
body[data-bhi-project="true"] .case__study__slices *,
body[data-bhi-project="true"] .case__study__info * {
  box-sizing: border-box;
}

body[data-bhi-project="true"] .case__study__slices,
body[data-bhi-project="true"] .case__study__info {
  min-width: 0;
}

body[data-bhi-project="true"] .case__study__gallery__item {
  width: 100%;
  min-width: 0;
  margin: 0 0 8px;
}

body[data-bhi-project="true"] .case__study__gallery__item__inner {
  width: 100%;
  min-width: 0;
}

body[data-bhi-project="true"] .page__card {
  border-radius: var(--bhi-radius);
}

body[data-bhi-project="true"] .bhi-scene,
body[data-bhi-project="true"] .bhi-scene *,
body[data-bhi-project="true"] .case__study__media__texts2,
body[data-bhi-project="true"] .case__study__media__texts2 *,
body[data-bhi-project="true"] .case__study__info,
body[data-bhi-project="true"] .case__study__info * {
  animation: none !important;
  transition: none !important;
}

body[data-bhi-project="true"] .bhi-scene {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  color: var(--bhi-ink);
  background: var(--bhi-paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

body[data-bhi-project="true"] .bhi-scene img {
  display: block;
  max-width: 100%;
}

body[data-bhi-project="true"] .bhi-scene-head {
  position: absolute;
  z-index: 12;
  top: clamp(28px, 3.2vw, 52px);
  left: clamp(28px, 3.2vw, 52px);
  max-width: min(670px, 72%);
}

body[data-bhi-project="true"] .bhi-scene-head > span {
  display: block;
  margin-bottom: 14px;
  color: currentColor;
  font-size: clamp(10px, 0.72vw, 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
}

body[data-bhi-project="true"] .bhi-scene-head h1,
body[data-bhi-project="true"] .bhi-scene-head h2 {
  margin: 0;
  color: currentColor;
  font-weight: 650;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

body[data-bhi-project="true"] .bhi-scene-head h1 {
  font-size: clamp(34px, 4.25vw, 64px);
  line-height: 1.06;
}

body[data-bhi-project="true"] .bhi-scene-head h2 {
  font-size: clamp(27px, 3.15vw, 48px);
  line-height: 1.12;
}

body[data-bhi-project="true"] .bhi-scene-foot {
  position: absolute;
  z-index: 12;
  left: clamp(28px, 3.2vw, 52px);
  bottom: clamp(25px, 2.6vw, 42px);
  margin: 0;
  font-size: clamp(9px, 0.66vw, 11px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
}

/* Narrative text cards */
body[data-bhi-project="true"] .case__study__media__texts2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  background: transparent;
}

body[data-bhi-project="true"] .case__study__media__text__text2 {
  min-width: 0;
  min-height: 246px;
  padding: clamp(24px, 2.7vw, 42px);
  border: 1px solid rgba(16, 36, 61, 0.06);
  background: #f1f2f0;
  color: #172333;
}

body[data-bhi-project="true"] .case__study__media__text__text2 h2 {
  margin: 0 0 28px;
  max-width: 24em;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

body[data-bhi-project="true"] .case__study__media__text__text__text2 p {
  margin: 0;
  max-width: 42em;
  color: #3a4653;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 430;
  line-height: 1.72;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

/* 01 — problem */
body[data-bhi-project="true"] .bhi-hero {
  color: #0e2744;
  background:
    linear-gradient(118deg, transparent 0 68%, rgba(48, 156, 221, 0.11) 68% 70%, transparent 70%),
    #eaf0f2;
}

body[data-bhi-project="true"] .bhi-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -11%;
  bottom: -54%;
  width: 63%;
  aspect-ratio: 1;
  border-radius: 48% 52% 0 0;
  background: var(--bhi-green);
  transform: rotate(-12deg);
}

body[data-bhi-project="true"] .bhi-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 10%;
  bottom: 15%;
  width: 30%;
  height: 11px;
  background: var(--bhi-blue);
  transform: rotate(-10deg);
  transform-origin: right center;
}

body[data-bhi-project="true"] .bhi-hero-copy {
  max-width: 74%;
}

body[data-bhi-project="true"] .bhi-hero-axis {
  position: absolute;
  z-index: 8;
  right: clamp(34px, 4.2vw, 68px);
  bottom: clamp(52px, 5vw, 82px);
  left: clamp(34px, 4.2vw, 68px);
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(120px, 0.45fr) minmax(300px, 1.05fr);
  align-items: end;
  gap: clamp(22px, 3vw, 48px);
}

body[data-bhi-project="true"] .bhi-hero-before,
body[data-bhi-project="true"] .bhi-hero-after {
  min-width: 0;
}

body[data-bhi-project="true"] .bhi-hero-before span,
body[data-bhi-project="true"] .bhi-hero-after span {
  display: block;
  margin-bottom: 12px;
  color: #4d5c68;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

body[data-bhi-project="true"] .bhi-hero-before strong {
  display: block;
  color: rgba(14, 39, 68, 0.28);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(70px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.09em;
}

body[data-bhi-project="true"] .bhi-hero-after {
  padding: clamp(14px, 1.7vw, 24px);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 36px rgba(16, 42, 74, 0.12);
}

body[data-bhi-project="true"] .bhi-hero-after img {
  width: min(100%, 390px);
}

body[data-bhi-project="true"] .bhi-hero-bridge {
  position: relative;
  height: 48px;
  margin-bottom: 8px;
}

body[data-bhi-project="true"] .bhi-hero-bridge i {
  position: absolute;
  top: 23px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(23, 65, 124, 0.45);
}

body[data-bhi-project="true"] .bhi-hero-bridge b {
  position: absolute;
  top: 18px;
  right: 0;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--bhi-blue);
  border-right: 1px solid var(--bhi-blue);
  transform: rotate(45deg);
}

/* 02 — inherited assets */
body[data-bhi-project="true"] .bhi-inheritance {
  color: #fff;
  background: var(--bhi-blue);
}

body[data-bhi-project="true"] .bhi-inheritance::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -36%;
  width: 53%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
  background: rgba(94, 194, 56, 0.95);
  transform: rotate(-12deg);
}

body[data-bhi-project="true"] .bhi-inheritance-stage {
  position: absolute;
  z-index: 6;
  right: clamp(36px, 4vw, 64px);
  bottom: 23%;
  left: clamp(36px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1.35fr 0.42fr 0.72fr;
  align-items: center;
  gap: 3.5%;
}

body[data-bhi-project="true"] .bhi-inheritance-wordmark,
body[data-bhi-project="true"] .bhi-inheritance-symbol {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

body[data-bhi-project="true"] .bhi-inheritance-wordmark > span,
body[data-bhi-project="true"] .bhi-inheritance-symbol > span {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(23, 65, 124, 0.74);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

body[data-bhi-project="true"] .bhi-inheritance-wordmark img {
  width: min(88%, 420px);
}

body[data-bhi-project="true"] .bhi-inheritance-symbol img {
  width: min(64%, 150px);
}

body[data-bhi-project="true"] .bhi-inheritance-direction {
  position: relative;
  height: 88px;
}

body[data-bhi-project="true"] .bhi-inheritance-direction i {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 82%;
  height: 2px;
  background: rgba(255, 255, 255, 0.65);
  transform-origin: left center;
}

body[data-bhi-project="true"] .bhi-inheritance-direction i:nth-child(1) { transform: translateY(-18px) rotate(-10deg); }
body[data-bhi-project="true"] .bhi-inheritance-direction i:nth-child(2) { transform: rotate(-10deg); }
body[data-bhi-project="true"] .bhi-inheritance-direction i:nth-child(3) { transform: translateY(18px) rotate(-10deg); }

body[data-bhi-project="true"] .bhi-inheritance-keys {
  position: absolute;
  z-index: 7;
  right: clamp(36px, 4vw, 64px);
  bottom: clamp(30px, 3.2vw, 50px);
  left: clamp(36px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body[data-bhi-project="true"] .bhi-inheritance-keys div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

body[data-bhi-project="true"] .bhi-inheritance-keys dt,
body[data-bhi-project="true"] .bhi-inheritance-keys dd {
  margin: 0;
}

body[data-bhi-project="true"] .bhi-inheritance-keys dt {
  color: var(--bhi-green);
  font-size: 11px;
  font-weight: 800;
}

body[data-bhi-project="true"] .bhi-inheritance-keys dd {
  color: #fff;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* 03 — candidates */
body[data-bhi-project="true"] .bhi-exploration {
  background: #f6f7f5;
}

body[data-bhi-project="true"] .bhi-candidate-grid {
  position: absolute;
  z-index: 5;
  top: 29%;
  right: clamp(28px, 3.2vw, 52px);
  bottom: 14%;
  left: clamp(28px, 3.2vw, 52px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-bhi-project="true"] .bhi-candidate-grid figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 61, 0.09);
  border-radius: 9px;
  background: #fff;
}

body[data-bhi-project="true"] .bhi-candidate-grid figure > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

body[data-bhi-project="true"] .bhi-candidate-grid img {
  width: 92%;
  max-height: 90px;
  object-fit: contain;
}

body[data-bhi-project="true"] .bhi-candidate-grid figcaption {
  display: flex;
  width: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(16, 36, 61, 0.08);
  background: #f0f3f3;
}

body[data-bhi-project="true"] .bhi-candidate-grid figcaption b {
  color: var(--bhi-blue);
  font-size: 22px;
  line-height: 1;
}

body[data-bhi-project="true"] .bhi-candidate-grid figcaption span {
  margin-top: 12px;
  color: rgb(101, 112, 124);
  font-size: 8px;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-align: center;
}

body[data-bhi-project="true"] .bhi-decision-strip {
  position: absolute;
  z-index: 8;
  right: clamp(28px, 3.2vw, 52px);
  bottom: clamp(23px, 2.6vw, 40px);
  left: clamp(28px, 3.2vw, 52px);
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: #41505f;
}

body[data-bhi-project="true"] .bhi-decision-strip span {
  color: var(--bhi-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body[data-bhi-project="true"] .bhi-decision-strip strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

body[data-bhi-project="true"] .bhi-decision-strip i {
  height: 1px;
  background: rgba(16, 36, 61, 0.18);
}

/* Motion-ready fixed frames — current state remains static */
body[data-bhi-project="true"] .bhi-motion-frame {
  position: absolute;
  z-index: 8;
  overflow: hidden;
}

body[data-bhi-project="true"] .bhi-motion-fallback,
body[data-bhi-project="true"] .bhi-motion-mount {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-bhi-project="true"] .bhi-motion-mount {
  visibility: hidden;
}

body[data-bhi-project="true"] .bhi-motion-frame.has-motion .bhi-motion-fallback {
  visibility: hidden;
}

body[data-bhi-project="true"] .bhi-motion-frame.has-motion .bhi-motion-mount {
  visibility: visible;
}

body[data-bhi-project="true"] .bhi-motion-mount > * {
  width: 100%;
  height: 100%;
}

/* 04 — approved signature */
body[data-bhi-project="true"] .bhi-approved-signature {
  color: #fff;
  background: var(--bhi-blue);
}

body[data-bhi-project="true"] .bhi-approved-signature::before {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -62%;
  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bhi-green);
}

body[data-bhi-project="true"] .bhi-approved-signature::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 26%;
  width: 46%;
  height: 14px;
  background: #fff;
  transform: rotate(-10deg);
}

body[data-bhi-project="true"] .bhi-slot-one {
  right: clamp(36px, 5vw, 82px);
  bottom: clamp(82px, 8vw, 126px);
  width: min(56%, 570px);
  aspect-ratio: 1.9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(8, 26, 51, 0.24);
}

body[data-bhi-project="true"] .bhi-slot-one .bhi-motion-fallback {
  padding: 9%;
}

body[data-bhi-project="true"] .bhi-slot-one img {
  width: 100%;
}

/* 05 — anatomy */
body[data-bhi-project="true"] .bhi-anatomy {
  color: #173150;
  background: #ecf1f3;
}

body[data-bhi-project="true"] .bhi-anatomy::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 100%;
  background: rgba(48, 156, 221, 0.09);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

body[data-bhi-project="true"] .bhi-anatomy-stage {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 8%;
  width: 58%;
  height: 70%;
}

body[data-bhi-project="true"] .bhi-anatomy-stage > img {
  position: absolute;
  top: 15%;
  left: 33%;
  width: 39%;
  max-height: 72%;
}

body[data-bhi-project="true"] .bhi-note {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(23, 65, 124, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--bhi-blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

body[data-bhi-project="true"] .bhi-note::after {
  content: "";
  position: absolute;
  height: 1px;
  background: rgba(23, 65, 124, 0.42);
}

body[data-bhi-project="true"] .note-direction {
  top: 8%;
  right: 0;
}

body[data-bhi-project="true"] .note-direction::after {
  top: 50%;
  right: 100%;
  width: 90px;
  transform: rotate(-12deg);
  transform-origin: right center;
}

body[data-bhi-project="true"] .note-overlap {
  top: 47%;
  left: 0;
}

body[data-bhi-project="true"] .note-overlap::after {
  top: 50%;
  left: 100%;
  width: 94px;
  transform: rotate(-8deg);
  transform-origin: left center;
}

body[data-bhi-project="true"] .note-space {
  right: 1%;
  bottom: 9%;
}

body[data-bhi-project="true"] .note-space::after {
  right: 100%;
  bottom: 50%;
  width: 82px;
  transform: rotate(12deg);
  transform-origin: right center;
}

body[data-bhi-project="true"] .bhi-anatomy-legend {
  position: absolute;
  z-index: 8;
  bottom: clamp(30px, 3vw, 48px);
  left: clamp(28px, 3.2vw, 52px);
  display: flex;
  width: 35%;
  align-items: center;
  gap: 12px;
}

body[data-bhi-project="true"] .bhi-anatomy-legend b {
  color: var(--bhi-blue);
  font-size: 10px;
  letter-spacing: 0.14em;
}

body[data-bhi-project="true"] .bhi-anatomy-legend i {
  flex: 1;
  height: 1px;
  background: rgba(23, 65, 124, 0.3);
}

/* 06 — grid */
body[data-bhi-project="true"] .bhi-grid-system {
  color: #fff;
  background: #122f57;
}

body[data-bhi-project="true"] .bhi-slot-two {
  right: clamp(32px, 4vw, 64px);
  bottom: clamp(70px, 6vw, 96px);
  width: min(58%, 600px);
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

body[data-bhi-project="true"] .bhi-grid-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

body[data-bhi-project="true"] .bhi-grid-lines {
  position: absolute;
  inset: 9%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(48, 156, 221, 0.27) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 156, 221, 0.27) 1px, transparent 1px);
  background-size: 8.333% 12.5%, 8.333% 12.5%, 33.333% 50%, 33.333% 50%;
}

body[data-bhi-project="true"] .bhi-grid-field img {
  position: absolute;
  top: 19%;
  left: 35%;
  width: 31%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

body[data-bhi-project="true"] .bhi-grid-field .axis-x,
body[data-bhi-project="true"] .bhi-grid-field .axis-y {
  position: absolute;
  color: rgba(255, 255, 255, 0.58);
  font-family: Arial, sans-serif;
  font-size: 8px;
  line-height: 2.5;
  letter-spacing: 0.13em;
}

body[data-bhi-project="true"] .bhi-grid-field .axis-x {
  right: 10%;
  bottom: 4%;
  left: 10%;
  text-align: center;
  word-spacing: 3vw;
}

body[data-bhi-project="true"] .bhi-grid-field .axis-y {
  top: 18%;
  bottom: 18%;
  left: 4%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 07 — colors */
body[data-bhi-project="true"] .bhi-colors {
  color: #fff;
  background: #0f315c;
}

body[data-bhi-project="true"] .bhi-color-board {
  position: absolute;
  z-index: 4;
  top: 33%;
  right: clamp(30px, 3.6vw, 58px);
  bottom: 7%;
  left: clamp(30px, 3.6vw, 58px);
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  overflow: hidden;
  border-radius: 10px;
}

body[data-bhi-project="true"] .bhi-color-board article {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.5vw, 38px);
}

body[data-bhi-project="true"] .bhi-color-board article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

body[data-bhi-project="true"] .bhi-color-board .blue { background: var(--bhi-blue); color: #fff; }
body[data-bhi-project="true"] .bhi-color-board .green { background: var(--bhi-green); color: #0e3a16; }
body[data-bhi-project="true"] .bhi-color-board .light { background: var(--bhi-light-blue); color: #fff; }
body[data-bhi-project="true"] .bhi-color-board .neutral { background: #d6d5d0; color: #35404a; }

body[data-bhi-project="true"] .bhi-color-board span {
  position: absolute;
  top: 22px;
  left: clamp(20px, 2.5vw, 38px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

body[data-bhi-project="true"] .bhi-color-board strong {
  font-size: clamp(18px, 1.9vw, 29px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

body[data-bhi-project="true"] .bhi-color-board p {
  margin: 10px 0 0;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body[data-bhi-project="true"] .bhi-color-lockup {
  position: absolute;
  z-index: 7;
  top: 6%;
  right: 5%;
  width: min(25%, 260px);
  padding: 17px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

/* 08 — signatures */
body[data-bhi-project="true"] .bhi-signatures {
  background: #f2f4f2;
}

body[data-bhi-project="true"] .bhi-signature-family {
  position: absolute;
  z-index: 5;
  top: 31%;
  right: clamp(28px, 3.2vw, 52px);
  bottom: clamp(28px, 3.2vw, 52px);
  left: clamp(28px, 3.2vw, 52px);
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.72fr 0.72fr;
  gap: 8px;
}

body[data-bhi-project="true"] .bhi-signature-family figure {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 38px 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 61, 0.08);
  border-radius: 10px;
  background: #fff;
}

body[data-bhi-project="true"] .bhi-signature-family figure:nth-child(2),
body[data-bhi-project="true"] .bhi-signature-family figure:nth-child(4) {
  background: #e8eef2;
}

body[data-bhi-project="true"] .bhi-signature-family img {
  width: 87%;
  max-height: 61%;
  object-fit: contain;
}

body[data-bhi-project="true"] .bhi-signature-family .sig-stacked img,
body[data-bhi-project="true"] .bhi-signature-family .sig-light img {
  width: 76%;
}

body[data-bhi-project="true"] .bhi-signature-family figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  color: rgb(96, 108, 120);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

/* 09 — motif */
body[data-bhi-project="true"] .bhi-motif {
  background: #eff2ed;
}

body[data-bhi-project="true"] .bhi-motif-a,
body[data-bhi-project="true"] .bhi-motif-b {
  position: absolute;
  z-index: 4;
  bottom: 10%;
  width: 43%;
  height: 49%;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

body[data-bhi-project="true"] .bhi-motif-a { left: 5%; }
body[data-bhi-project="true"] .bhi-motif-b { right: 5%; }

body[data-bhi-project="true"] .bhi-motif-a i,
body[data-bhi-project="true"] .bhi-motif-b i {
  position: absolute;
  z-index: 3;
  top: 20%;
  right: 0;
  left: 0;
  height: 8px;
  background: var(--bhi-blue);
  transform: rotate(-5deg) scaleX(1.1);
}

body[data-bhi-project="true"] .bhi-motif-a b,
body[data-bhi-project="true"] .bhi-motif-b b {
  position: absolute;
  z-index: 2;
  right: -12%;
  bottom: -64%;
  width: 121%;
  aspect-ratio: 1.45;
  border-radius: 50% 50% 0 0;
  background: var(--bhi-green);
  transform: rotate(-7deg);
}

body[data-bhi-project="true"] .bhi-motif-b {
  background: #e6edf0;
}

body[data-bhi-project="true"] .bhi-motif-b i {
  top: 34%;
  height: 6px;
}

body[data-bhi-project="true"] .bhi-motif-b b {
  right: -39%;
  bottom: -38%;
  width: 105%;
}

body[data-bhi-project="true"] .bhi-motif-b img {
  position: absolute;
  z-index: 6;
  top: 23%;
  left: 10%;
  width: 54%;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

body[data-bhi-project="true"] .bhi-motif-labels {
  position: absolute;
  z-index: 8;
  right: 5%;
  bottom: 4.5%;
  left: 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
}

body[data-bhi-project="true"] .bhi-motif-labels span {
  color: #53616e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* 10 — applications */
body[data-bhi-project="true"] .bhi-applications {
  background: #f3f5f2;
}

body[data-bhi-project="true"] .bhi-application-layout {
  position: absolute;
  z-index: 4;
  top: 28%;
  right: clamp(24px, 2.7vw, 44px);
  bottom: clamp(24px, 2.7vw, 44px);
  left: clamp(24px, 2.7vw, 44px);
  display: grid;
  grid-template-columns: 0.92fr 1.5fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
}

body[data-bhi-project="true"] .bhi-application-layout figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 61, 0.08);
  border-radius: 9px;
  background: #fff;
}

body[data-bhi-project="true"] .bhi-application-layout .app-vehicle {
  grid-row: 1 / 3;
  grid-column: 2;
}

body[data-bhi-project="true"] .bhi-application-layout img {
  width: 100%;
  height: 100%;
  padding: 8%;
  object-fit: contain;
}

body[data-bhi-project="true"] .bhi-application-layout .app-vehicle img {
  padding: 7%;
}

body[data-bhi-project="true"] .bhi-application-layout figcaption,
body[data-bhi-project="true"] .bhi-field-layout figcaption {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 15px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--bhi-blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* 11 — field applications */
body[data-bhi-project="true"] .bhi-field-applications {
  color: #fff;
  background: #12325d;
}

body[data-bhi-project="true"] .bhi-field-layout {
  position: absolute;
  z-index: 4;
  top: 39%;
  right: clamp(28px, 3.2vw, 52px);
  bottom: clamp(28px, 3.2vw, 52px);
  left: clamp(28px, 3.2vw, 52px);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 9px;
}

body[data-bhi-project="true"] .bhi-field-layout figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
}

body[data-bhi-project="true"] .bhi-field-layout img {
  width: 100%;
  height: 100%;
  padding: 5%;
  object-fit: contain;
}

/* 12 — close */
body[data-bhi-project="true"] .bhi-closing {
  color: #102a4a;
  background: #e7eef0;
}

body[data-bhi-project="true"] .bhi-closing::before {
  content: "";
  position: absolute;
  right: -16%;
  bottom: -87%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bhi-green);
}

body[data-bhi-project="true"] .bhi-closing::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 21%;
  width: 49%;
  height: 12px;
  background: var(--bhi-blue);
  transform: rotate(-10deg);
}

body[data-bhi-project="true"] .bhi-slot-three {
  right: clamp(38px, 5vw, 82px);
  bottom: clamp(70px, 6.5vw, 108px);
  width: min(54%, 560px);
  aspect-ratio: 1.56;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(16, 42, 74, 0.15);
}

body[data-bhi-project="true"] .bhi-closing-card {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10%;
}

body[data-bhi-project="true"] .bhi-closing-card > img:first-child {
  width: 89%;
}

body[data-bhi-project="true"] .bhi-closing-card .bhi-closing-english {
  width: 69%;
  margin-top: 13%;
}

/* Project information */
body[data-bhi-project="true"] .case__study__info {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, 0.85fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

body[data-bhi-project="true"] .case__study__info__left,
body[data-bhi-project="true"] .case__study__info__right {
  min-width: 0;
}

body[data-bhi-project="true"] .case__study__info__project__information,
body[data-bhi-project="true"] .case__study__info__credits {
  height: 100%;
  min-height: 390px;
  padding: clamp(24px, 2.7vw, 42px);
  border: 1px solid rgba(16, 36, 61, 0.06);
  background: #f0f1ef;
  color: #182534;
}

body[data-bhi-project="true"] .case__study__info h2 {
  margin: 0 0 28px;
  color: #5a6671;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

body[data-bhi-project="true"] .case__study__info p {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.68;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

body[data-bhi-project="true"] .case__study__info__project__information__text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body[data-bhi-project="true"] .case__study__info__credits__inner h2:not(:first-child) {
  margin-top: 36px;
}

/* Responsive */
@media (max-width: 900px) {
  body[data-bhi-project="true"] .bhi-scene {
    aspect-ratio: auto !important;
    min-height: 0;
  }

  body[data-bhi-project="true"] .bhi-scene-head {
    top: 24px;
    right: 22px;
    left: 22px;
    max-width: none;
  }

  body[data-bhi-project="true"] .bhi-scene-head > span {
    margin-bottom: 11px;
    font-size: 11px;
  }

  body[data-bhi-project="true"] .bhi-scene-head h1 {
    font-size: clamp(31px, 9.4vw, 42px);
    line-height: 1.09;
  }

  body[data-bhi-project="true"] .bhi-scene-head h2 {
    font-size: clamp(25px, 7.3vw, 33px);
    line-height: 1.17;
  }

  body[data-bhi-project="true"] .bhi-scene-foot {
    right: 22px;
    bottom: 22px;
    left: 22px;
    font-size: 8px;
    line-height: 1.35;
  }

  body[data-bhi-project="true"] .case__study__media__texts2 {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-bhi-project="true"] .case__study__media__text__text2 {
    min-height: 0;
    padding: 26px 24px 30px;
  }

  body[data-bhi-project="true"] .case__study__media__text__text2 h2 {
    margin-bottom: 21px;
    font-size: 20px;
  }

  body[data-bhi-project="true"] .case__study__media__text__text__text2 p {
    font-size: 14px;
    line-height: 1.68;
  }

  body[data-bhi-project="true"] .bhi-hero {
    min-height: 560px;
  }

  body[data-bhi-project="true"] .bhi-hero::before {
    right: -42%;
    bottom: -25%;
    width: 105%;
  }

  body[data-bhi-project="true"] .bhi-hero::after {
    right: -4%;
    bottom: 20%;
    width: 74%;
    height: 8px;
  }

  body[data-bhi-project="true"] .bhi-hero-copy {
    max-width: none;
  }

  body[data-bhi-project="true"] .bhi-hero-axis {
    right: 22px;
    bottom: 74px;
    left: 22px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  body[data-bhi-project="true"] .bhi-hero-before span,
  body[data-bhi-project="true"] .bhi-hero-after span {
    margin-bottom: 8px;
    font-size: 8px;
  }

  body[data-bhi-project="true"] .bhi-hero-before strong {
    font-size: 73px;
    line-height: 0.8;
  }

  body[data-bhi-project="true"] .bhi-hero-bridge {
    width: 48%;
    height: 28px;
    margin: -2px 0 0;
  }

  body[data-bhi-project="true"] .bhi-hero-bridge i { top: 14px; }
  body[data-bhi-project="true"] .bhi-hero-bridge b { top: 9px; }

  body[data-bhi-project="true"] .bhi-hero-after {
    width: 95%;
    padding: 12px;
  }

  body[data-bhi-project="true"] .bhi-hero-after img {
    width: min(100%, 310px);
  }

  body[data-bhi-project="true"] .bhi-inheritance {
    min-height: 720px;
  }

  body[data-bhi-project="true"] .bhi-inheritance::after {
    right: -60%;
    bottom: -27%;
    width: 135%;
  }

  body[data-bhi-project="true"] .bhi-inheritance-stage {
    right: 22px;
    bottom: 152px;
    left: 22px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-bhi-project="true"] .bhi-inheritance-wordmark,
  body[data-bhi-project="true"] .bhi-inheritance-symbol {
    min-height: 145px;
    padding: 32px 24px 20px;
  }

  body[data-bhi-project="true"] .bhi-inheritance-direction {
    display: none;
  }

  body[data-bhi-project="true"] .bhi-inheritance-wordmark img { width: 88%; }
  body[data-bhi-project="true"] .bhi-inheritance-symbol img { width: 28%; }

  body[data-bhi-project="true"] .bhi-inheritance-keys {
    right: 22px;
    bottom: 28px;
    left: 22px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body[data-bhi-project="true"] .bhi-inheritance-keys div {
    padding-top: 8px;
  }

  body[data-bhi-project="true"] .bhi-exploration {
    min-height: 930px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid {
    top: 226px;
    right: 14px;
    bottom: 94px;
    left: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid figure {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid figure > div {
    padding: 12px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid img {
    width: 94%;
    max-height: 68px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid figcaption {
    width: 78px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid figcaption b {
    font-size: 18px;
  }

  body[data-bhi-project="true"] .bhi-candidate-grid figcaption span {
    margin-top: 8px;
    font-size: 11px;
  }

  body[data-bhi-project="true"] .bhi-decision-strip {
    right: 16px;
    bottom: 25px;
    left: 16px;
    grid-template-columns: auto 1fr;
    gap: 5px 9px;
  }

  body[data-bhi-project="true"] .bhi-decision-strip i { display: none; }
  body[data-bhi-project="true"] .bhi-decision-strip strong { font-size: 12px; }

  body[data-bhi-project="true"] .bhi-approved-signature {
    min-height: 520px;
  }

  body[data-bhi-project="true"] .bhi-approved-signature::before {
    right: -48%;
    bottom: -33%;
    width: 120%;
  }

  body[data-bhi-project="true"] .bhi-approved-signature::after {
    right: -14%;
    bottom: 23%;
    width: 86%;
    height: 8px;
  }

  body[data-bhi-project="true"] .bhi-slot-one {
    right: 22px;
    bottom: 80px;
    left: 22px;
    width: auto;
    aspect-ratio: 1.65;
  }

  body[data-bhi-project="true"] .bhi-anatomy {
    min-height: 690px;
  }

  body[data-bhi-project="true"] .bhi-anatomy::before {
    top: 38%;
    width: 100%;
    height: 62%;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  }

  body[data-bhi-project="true"] .bhi-anatomy-stage {
    right: 16px;
    bottom: 78px;
    left: 16px;
    width: auto;
    height: 410px;
  }

  body[data-bhi-project="true"] .bhi-anatomy-stage > img {
    top: 16%;
    left: 28%;
    width: 44%;
  }

  body[data-bhi-project="true"] .bhi-note {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  body[data-bhi-project="true"] .note-direction { top: 8%; right: 0; }
  body[data-bhi-project="true"] .note-direction::after { width: 52px; }
  body[data-bhi-project="true"] .note-overlap { top: 50%; left: 0; }
  body[data-bhi-project="true"] .note-overlap::after { width: 45px; }
  body[data-bhi-project="true"] .note-space { right: 0; bottom: 7%; }
  body[data-bhi-project="true"] .note-space::after { width: 46px; }

  body[data-bhi-project="true"] .bhi-anatomy-legend {
    right: 22px;
    bottom: 26px;
    left: 22px;
    width: auto;
  }

  body[data-bhi-project="true"] .bhi-anatomy-legend b { font-size: 8px; }

  body[data-bhi-project="true"] .bhi-grid-system {
    min-height: 640px;
  }

  body[data-bhi-project="true"] .bhi-slot-two {
    right: 18px;
    bottom: 79px;
    left: 18px;
    width: auto;
    aspect-ratio: 1.03;
  }

  body[data-bhi-project="true"] .bhi-grid-field img {
    top: 20%;
    left: 31%;
    width: 38%;
  }

  body[data-bhi-project="true"] .bhi-colors {
    min-height: 780px;
  }

  body[data-bhi-project="true"] .bhi-color-lockup {
    top: 195px;
    right: 22px;
    width: 47%;
    padding: 11px;
  }

  body[data-bhi-project="true"] .bhi-color-board {
    top: 300px;
    right: 18px;
    bottom: 22px;
    left: 18px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  body[data-bhi-project="true"] .bhi-color-board article + article {
    border-left: 0;
  }

  body[data-bhi-project="true"] .bhi-color-board article:nth-child(2),
  body[data-bhi-project="true"] .bhi-color-board article:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.34);
  }

  body[data-bhi-project="true"] .bhi-color-board article:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.34);
  }

  body[data-bhi-project="true"] .bhi-color-board article {
    padding: 18px;
  }

  body[data-bhi-project="true"] .bhi-color-board span {
    top: 16px;
    left: 18px;
    font-size: 11px;
  }

  body[data-bhi-project="true"] .bhi-color-board strong {
    font-size: 18px;
  }

  body[data-bhi-project="true"] .bhi-color-board p {
    font-size: 11px;
  }

  body[data-bhi-project="true"] .bhi-signatures {
    min-height: 880px;
  }

  body[data-bhi-project="true"] .bhi-signature-family {
    top: 235px;
    right: 16px;
    bottom: 18px;
    left: 16px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 7px;
  }

  body[data-bhi-project="true"] .bhi-signature-family figure {
    padding: 32px 14px;
  }

  body[data-bhi-project="true"] .bhi-signature-family .sig-korean,
  body[data-bhi-project="true"] .bhi-signature-family .sig-english {
    grid-column: 1 / 3;
  }

  body[data-bhi-project="true"] .bhi-signature-family .sig-english {
    grid-row: 2;
  }

  body[data-bhi-project="true"] .bhi-signature-family .sig-stacked,
  body[data-bhi-project="true"] .bhi-signature-family .sig-light {
    grid-row: 3;
  }

  body[data-bhi-project="true"] .bhi-signature-family {
    grid-template-rows: 0.85fr 0.85fr 1.15fr;
  }

  body[data-bhi-project="true"] .bhi-signature-family img {
    width: 83%;
    max-height: 58%;
  }

  body[data-bhi-project="true"] .bhi-signature-family figcaption {
    font-size: 11px;
  }

  body[data-bhi-project="true"] .bhi-motif {
    min-height: 660px;
  }

  body[data-bhi-project="true"] .bhi-motif-a,
  body[data-bhi-project="true"] .bhi-motif-b {
    right: 18px;
    left: 18px;
    width: auto;
    height: 170px;
  }

  body[data-bhi-project="true"] .bhi-motif-a {
    top: 245px;
    bottom: auto;
  }

  body[data-bhi-project="true"] .bhi-motif-b {
    top: 423px;
    bottom: auto;
  }

  body[data-bhi-project="true"] .bhi-motif-labels {
    display: none;
  }

  body[data-bhi-project="true"] .bhi-applications {
    min-height: 1120px;
  }

  body[data-bhi-project="true"] .bhi-application-layout {
    top: 248px;
    right: 14px;
    bottom: 16px;
    left: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-bhi-project="true"] .bhi-application-layout .app-vehicle {
    grid-row: auto;
    grid-column: auto;
  }

  body[data-bhi-project="true"] .bhi-application-layout img,
  body[data-bhi-project="true"] .bhi-application-layout .app-vehicle img {
    padding: 10%;
  }

  body[data-bhi-project="true"] .bhi-field-applications {
    min-height: 830px;
  }

  body[data-bhi-project="true"] .bhi-field-layout {
    top: 250px;
    right: 14px;
    bottom: 16px;
    left: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 7px;
  }

  body[data-bhi-project="true"] .bhi-field-layout img {
    padding: 7%;
  }

  body[data-bhi-project="true"] .bhi-closing {
    min-height: 560px;
  }

  body[data-bhi-project="true"] .bhi-closing::before {
    right: -55%;
    bottom: -31%;
    width: 142%;
  }

  body[data-bhi-project="true"] .bhi-closing::after {
    right: -20%;
    bottom: 20%;
    width: 92%;
    height: 8px;
  }

  body[data-bhi-project="true"] .bhi-slot-three {
    right: 22px;
    bottom: 78px;
    left: 22px;
    width: auto;
    aspect-ratio: 1.2;
  }

  body[data-bhi-project="true"] .bhi-closing-card {
    padding: 12%;
  }

  body[data-bhi-project="true"] .case__study__info {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-bhi-project="true"] .case__study__info__project__information,
  body[data-bhi-project="true"] .case__study__info__credits {
    min-height: 0;
    padding: 26px 24px 30px;
  }

  body[data-bhi-project="true"] .case__study__info h2 {
    margin-bottom: 22px;
    font-size: 19px;
  }

  body[data-bhi-project="true"] .case__study__info p {
    font-size: 14px;
  }

  body[data-bhi-project="true"] .case__study__info__project__information__text {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 430px) {
  body[data-bhi-project="true"] .bhi-scene-head h1 {
    font-size: 34px;
  }

  body[data-bhi-project="true"] .bhi-scene-head h2 {
    font-size: 27px;
  }

  body[data-bhi-project="true"] .bhi-inheritance {
    min-height: 750px;
  }

  body[data-bhi-project="true"] .bhi-exploration {
    min-height: 955px;
  }

  body[data-bhi-project="true"] .bhi-grid-system {
    min-height: 655px;
  }

  body[data-bhi-project="true"] .bhi-colors {
    min-height: 800px;
  }

  body[data-bhi-project="true"] .bhi-signatures {
    min-height: 900px;
  }

  body[data-bhi-project="true"] .bhi-applications {
    min-height: 1160px;
  }

  body[data-bhi-project="true"] .bhi-field-applications {
    min-height: 850px;
  }
}


/* Motion 1 — structural assembly. Slots 2 and 3 remain unchanged static fallbacks. */
body[data-bhi-project="true"] .bhi-motion-one {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

body[data-bhi-project="true"] .bhi-motion-one__canvas {
  position: absolute;
  inset: 9%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-one__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-one__guides line,
body[data-bhi-project="true"] .bhi-motion-one__load-lines line {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-one__guides line {
  stroke: rgba(23, 65, 124, 0.32);
  stroke-width: 0.58;
}

body[data-bhi-project="true"] .bhi-motion-one__guides circle {
  fill: #fff;
  vector-effect: non-scaling-stroke;
  stroke: rgba(23, 65, 124, 0.48);
  stroke-width: 0.52;
}

body[data-bhi-project="true"] .bhi-motion-one__word-baseline line {
  stroke: rgba(23, 65, 124, 0.25);
  stroke-width: 0.52;
}

body[data-bhi-project="true"] .bhi-motion-one__load-lines line {
  stroke: #17417c;
  stroke-width: 0.82;
}

body[data-bhi-project="true"] .bhi-motion-one__lock-points circle {
  fill: #17417c;
}

body[data-bhi-project="true"] .bhi-motion-one__assembly,
body[data-bhi-project="true"] .bhi-motion-one__approved,
body[data-bhi-project="true"] .bhi-motion-one__assembly path,
body[data-bhi-project="true"] .bhi-motion-one__assembly g {
  transform-box: view-box;
}

body[data-bhi-project="true"] .bhi-motion-one__replay {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 11px;
  display: inline-flex;
  min-width: 78px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(23, 65, 124, 0.15);
  border-radius: 999px;
  background: #17417c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

body[data-bhi-project="true"] .bhi-motion-one__replay:hover {
  background: #102f5b;
}

body[data-bhi-project="true"] .bhi-motion-one__replay:focus-visible {
  outline: 3px solid rgba(94, 194, 56, 0.62);
  outline-offset: 3px;
}

body[data-bhi-project="true"] .bhi-motion-one__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  body[data-bhi-project="true"] .bhi-motion-one__canvas {
    inset: 8% 7% 11%;
  }

  body[data-bhi-project="true"] .bhi-motion-one__replay {
    right: 10px;
    bottom: 9px;
    min-width: 82px;
    min-height: 44px;
    padding: 0 15px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-bhi-project="true"] .bhi-motion-one__replay {
    cursor: default;
  }
}

/* Motion 2 — benchmark, survey datum, coordinate set-out, and approved signature convergence. */
body[data-bhi-project="true"] .bhi-motion-two {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #122f57;
  isolation: isolate;
}

body[data-bhi-project="true"] .bhi-motion-two__canvas {
  position: absolute;
  inset: 3.5% 3% 8%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-two__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-two__grid line,
body[data-bhi-project="true"] .bhi-motion-two__survey line,
body[data-bhi-project="true"] .bhi-motion-two__survey rect,
body[data-bhi-project="true"] .bhi-motion-two__survey circle {
  vector-effect: non-scaling-stroke;
}

body[data-bhi-project="true"] .bhi-motion-two__grid line {
  stroke: rgba(255, 255, 255, 0.105);
  stroke-width: 0.38;
}

body[data-bhi-project="true"] .bhi-motion-two__survey text {
  fill: rgba(255, 255, 255, 0.66);
  font-family: Arial, sans-serif;
  font-size: 4.2px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body[data-bhi-project="true"] .bhi-motion-two__benchmark line {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.68;
}

body[data-bhi-project="true"] .bhi-motion-two__benchmark-ring {
  fill: none;
  stroke: #5ec238;
  stroke-width: 0.78;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-two__benchmark-core {
  fill: #5ec238;
  stroke: #122f57;
  stroke-width: 0.42;
}

body[data-bhi-project="true"] .bhi-motion-two__datum line {
  fill: none;
  stroke: rgba(48, 156, 221, 0.94);
  stroke-width: 0.68;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-two__coordinates line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.43);
  stroke-width: 0.48;
  stroke-dasharray: 2.2 2.1;
}

body[data-bhi-project="true"] .bhi-motion-two__coordinates rect,
body[data-bhi-project="true"] .bhi-motion-two__word-baseline rect {
  fill: #5ec238;
  stroke: #122f57;
  stroke-width: 0.35;
}

body[data-bhi-project="true"] .bhi-motion-two__setout > rect {
  fill: none;
  stroke: rgba(94, 194, 56, 0.92);
  stroke-width: 0.62;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-two__setout > line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 0.52;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-two__word-baseline line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 0.58;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-two__located,
body[data-bhi-project="true"] .bhi-motion-two__located path,
body[data-bhi-project="true"] .bhi-motion-two__located g {
  transform-box: view-box;
}

body[data-bhi-project="true"] .bhi-motion-two__replay {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 11px;
  display: inline-flex;
  min-width: 78px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #17417c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

body[data-bhi-project="true"] .bhi-motion-two__replay:hover {
  background: #eef5ea;
}

body[data-bhi-project="true"] .bhi-motion-two__replay:focus-visible {
  outline: 3px solid rgba(94, 194, 56, 0.82);
  outline-offset: 3px;
}

body[data-bhi-project="true"] .bhi-motion-two__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  body[data-bhi-project="true"] .bhi-motion-two__canvas {
    inset: 4% 2.5% 11%;
  }

  body[data-bhi-project="true"] .bhi-motion-two__survey text {
    font-size: 4px;
  }

  body[data-bhi-project="true"] .bhi-motion-two__replay {
    right: 10px;
    bottom: 9px;
    min-width: 82px;
    min-height: 44px;
    padding: 0 15px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-bhi-project="true"] .bhi-motion-two__replay {
    cursor: default;
  }
}

body[data-bhi-project="true"] .bhi-motion-two__approval-plane {
  fill: #fff;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}


/* Motion 3 — section inspection, concealed-layer verification, and approved signature record. */
body[data-bhi-project="true"] .bhi-motion-three {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f9f5;
  isolation: isolate;
}

body[data-bhi-project="true"] .bhi-motion-three__canvas {
  position: absolute;
  inset: 3.5% 3.5% 9%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-three__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body[data-bhi-project="true"] .bhi-motion-three__matte {
  fill: #fff;
  stroke: rgba(23, 65, 124, 0.12);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

body[data-bhi-project="true"] .bhi-motion-three__base line,
body[data-bhi-project="true"] .bhi-motion-three__base path,
body[data-bhi-project="true"] .bhi-motion-three__sections line,
body[data-bhi-project="true"] .bhi-motion-three__sections rect,
body[data-bhi-project="true"] .bhi-motion-three__record line,
body[data-bhi-project="true"] .bhi-motion-three__record rect {
  vector-effect: non-scaling-stroke;
}

body[data-bhi-project="true"] .bhi-motion-three__base line {
  stroke: rgba(23, 65, 124, 0.42);
  stroke-width: 0.55;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-three__base path {
  fill: none;
  stroke: rgba(23, 65, 124, 0.34);
  stroke-width: 0.48;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-three text {
  font-family: Arial, sans-serif;
  font-size: 4.15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: rgba(23, 65, 124, 0.62);
}

body[data-bhi-project="true"] .bhi-motion-three__sections [data-section-window] {
  fill: rgba(247, 249, 245, 0.48);
  stroke: rgba(23, 65, 124, 0.28);
  stroke-width: 0.48;
}

body[data-bhi-project="true"] .bhi-motion-three__sections [data-dimension] {
  fill: none;
  stroke: rgba(23, 65, 124, 0.68);
  stroke-width: 0.56;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-three__sections [data-lock] {
  fill: #5ec238;
  stroke: #fff;
  stroke-width: 0.32;
}

body[data-bhi-project="true"] .bhi-motion-three__record [data-record-baseline] {
  fill: none;
  stroke: rgba(23, 65, 124, 0.74);
  stroke-width: 0.55;
  stroke-linecap: square;
}

body[data-bhi-project="true"] .bhi-motion-three__record [data-record-pin] {
  fill: #5ec238;
  stroke: #fff;
  stroke-width: 0.32;
}

body[data-bhi-project="true"] .bhi-motion-three__staged,
body[data-bhi-project="true"] .bhi-motion-three__approved,
body[data-bhi-project="true"] .bhi-motion-three__staged path,
body[data-bhi-project="true"] .bhi-motion-three__approved path {
  transform-box: view-box;
}

body[data-bhi-project="true"] .bhi-motion-three__replay {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 11px;
  display: inline-flex;
  min-width: 78px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(23, 65, 124, 0.15);
  border-radius: 999px;
  background: #17417c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

body[data-bhi-project="true"] .bhi-motion-three__replay:hover {
  background: #102f5b;
}

body[data-bhi-project="true"] .bhi-motion-three__replay:focus-visible {
  outline: 3px solid rgba(94, 194, 56, 0.62);
  outline-offset: 3px;
}

body[data-bhi-project="true"] .bhi-motion-three__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  body[data-bhi-project="true"] .bhi-motion-three__canvas {
    inset: 5.5% 2.5% 12%;
  }

  body[data-bhi-project="true"] .bhi-motion-three text {
    font-size: 4px;
  }

  body[data-bhi-project="true"] .bhi-motion-three__replay {
    right: 10px;
    bottom: 9px;
    min-width: 82px;
    min-height: 44px;
    padding: 0 15px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-bhi-project="true"] .bhi-motion-three__replay {
    cursor: default;
  }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-lockup-deep.svg"],
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-lockup-light.svg"] { aspect-ratio: 49/12; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/candidate-large-deep-r2.png"],
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/candidate-large-light-r2.png"] { aspect-ratio: 1592/377; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/candidate-compact-deep.png"],
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/candidate-compact-light.png"] { aspect-ratio: 326/91; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-symbol.svg"] { aspect-ratio: 13/10; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-wordmark.svg"] { aspect-ratio: 101/60; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-lockup-english.png"] { aspect-ratio: 278/47; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-lockup-stacked-deep.png"] { aspect-ratio: 157/54; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/bhi-lockup-stacked-light.png"] { aspect-ratio: 394/135; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/application-signage.webp"] { aspect-ratio: 700/397; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/application-vehicles-r2.webp"] { aspect-ratio: 2524/1504; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/application-uniforms.webp"] { aspect-ratio: 375/227; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/application-safety-r2.webp"] { aspect-ratio: 2324/1295; }
img[src$="https://kangdesign-portfolio.pages.dev/bhi/assets/application-field-kit.webp"] { aspect-ratio: 1500/901; }

/* 11 색상규정 지면 — 화면에 실은 별색 셋의 근거.
   ⚠ `.bhi-scene img` 에는 폭·높이가 없다. 그대로 두면 **로드 전 상자가 0** 이 되고
   `loading="lazy"` 가 영영 발동하지 않는다. 칸을 격자로 먼저 확정한다.
   ⚠ 표제를 절대배치로 띄우고 그림을 `top: 27%` 로 밀면 **좁은 폭에서 넘친다**(390px 에서 +124px).
   장면 자체를 격자로 만들어 표제가 제 높이를 갖게 하면 고정 비율 가정이 사라진다. */
body[data-bhi-project="true"] .bhi-colour-plate {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 1.4cqw, 20px);
  padding: clamp(20px, 3.2vw, 52px);
}

body[data-bhi-project="true"] .bhi-colour-plate > .bhi-scene-head {
  position: static;
  max-width: none;
}

body[data-bhi-project="true"] .bhi-colour-plate > figure {
  position: static;
  margin: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(6px, 1cqw, 14px);
  justify-items: center;
}

body[data-bhi-project="true"] .bhi-colour-plate > figure img {
  aspect-ratio: 1600 / 1131;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid rgba(20, 40, 80, .14);
}

body[data-bhi-project="true"] .bhi-colour-plate > figure figcaption {
  font-size: clamp(11px, 1.05cqw, 13px);
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
  word-break: keep-all;
}
