/* [db8dd01c] Khối «Chủ đầu tư & Đối tác» (#chu-dau-tu, giữa cảnh Phim và Form) — Ken chọn phương án 1 «Đêm vàng» (design/mockups/partners-1-*.jpg).
   Bố cục co giãn theo khung nhìn (không dùng sân khấu 1672×941 vì nhiều chữ + logo); logo trôi chậm, rê chuột thì dừng, khuất màn thì dừng (partners.js). */
.ip { --gold: linear-gradient(120deg, #F6DDB0, #A8744A 45%, #E9C48A); --ink: #F3E2CC; --muted: #CDB596; --line: rgba(233, 196, 138, .35);
  position: relative; min-height: 100vh; overflow: hidden; box-sizing: border-box; color: var(--ink); font: 400 16px/1.6 "Be Vietnam Pro", sans-serif;
  padding: clamp(40px, 6vh, 76px) clamp(20px, 6vw, 112px) clamp(28px, 4vh, 48px); background: #071a2e; }
.ip *, .ip *::before, .ip *::after { box-sizing: border-box; }
.ip__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(5, 18, 34, .9), rgba(5, 18, 34, .78) 45%, rgba(4, 14, 28, .96)), url(assets/b/eco-night.webp) center 70% / cover; }
.ip > :not(.ip__bg) { position: relative; z-index: 1; }
.ip__top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 88px); align-items: center; max-width: 1440px; margin: 0 auto; }
.ip__kicker { display: flex; align-items: center; gap: 18px; margin: 0; font: 500 15px/1 "EB Garamond", serif; letter-spacing: .32em; text-transform: uppercase; color: #E9C9A6; }
.ip__kicker::after { content: ""; width: 64px; border-top: 1px solid currentColor; opacity: .7; }
.ip__title { margin: 18px 0 6px; font: italic 500 clamp(40px, 4.4vw, 68px)/1.05 "EB Garamond", serif; background: linear-gradient(#FBE3C8, #E2B28A 60%, #B98262); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ip__logo { display: block; height: clamp(34px, 3.2vw, 46px); width: auto; margin: 18px 0 20px; }
.ip__lead { max-width: 560px; margin: 0 0 22px; color: var(--muted); }
.ip__lead b { color: var(--ink); font-weight: 500; }
.ip__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 0 0 20px; padding: 0; list-style: none; max-width: 600px; }
.ip__fields li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ip__fields svg { flex: none; width: 30px; height: 30px; fill: none; stroke: #DDB27E; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ip__proj { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 600px; }
.ip__proj li { font: italic 500 17px/1.2 "EB Garamond", serif; color: #E9C9A6; }
.ip__proj li:not(:last-child)::after { content: "·"; margin: 0 14px; color: #A8744A; } /* dấu ngăn đi theo chữ → xuống dòng không mồ côi vạch ở đầu dòng */
.ip__proj li.is-here { color: #FFF1DC; } .ip__proj li.is-here small { font: 400 12px "Be Vietnam Pro", sans-serif; color: #D9AE78; }
.ip__arch { position: relative; aspect-ratio: 5 / 6; max-height: 54vh; width: 100%; margin: 0 0 0 auto; border-radius: 50% 50% 26px 26px / 34% 34% 26px 26px; overflow: hidden;
  border: 1.5px solid transparent; background: var(--gold) border-box; box-shadow: 0 0 40px rgba(250, 207, 113, .25), 0 30px 60px rgba(0, 0, 0, .45); }
.ip__arch img { position: absolute; inset: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); border-radius: inherit; object-fit: cover; object-position: 50% 60%; }
.ip__arch figcaption { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; padding: 7px 18px; border-radius: 99px; white-space: nowrap; font: italic 500 16px "EB Garamond", serif; color: #FFF1DC;
  background: rgba(6, 24, 44, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.ip__band { max-width: 1440px; margin: clamp(22px, 3.5vh, 44px) auto 0; }
.ip__row { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 28px; padding: 14px 0; border-top: 1px solid var(--line); }
.ip__row h3 { margin: 0; font: 500 21px/1.2 "EB Garamond", serif; color: #FFF1DC; } .ip__row h3 small { display: block; margin-top: 4px; font: italic 500 15px "EB Garamond", serif; color: var(--muted); }
/* dải logo: mép tan (không cắt cụt nửa logo ở mép), trôi vòng liền mạch (nội dung nhân đôi trong partners.js → dịch -50%) */
.ip__track { --fade: 14%; --clear: 3%; overflow: hidden; /* --clear: dải trong suốt hẳn sát mép → không lộ nửa logo mờ */
  -webkit-mask: linear-gradient(90deg, transparent var(--clear), #000 var(--fade), #000 calc(100% - var(--fade)), transparent calc(100% - var(--clear))); mask: linear-gradient(90deg, transparent var(--clear), #000 var(--fade), #000 calc(100% - var(--fade)), transparent calc(100% - var(--clear))); }
.ip__run { display: flex; align-items: center; gap: 46px; width: max-content; padding-right: 46px; margin: 0; list-style: none; animation: ip-run 60s linear infinite; }
.ip__run--rev { animation-direction: reverse; animation-duration: 70s; }
.ip__track:hover .ip__run, .ip.is-off .ip__run { animation-play-state: paused; }
@keyframes ip-run { to { translate: -50% 0; } }
.ip__p { display: block; height: 38px; width: auto; opacity: .82; transition: opacity .3s; } .ip__p:hover { opacity: 1; }
.ip__a { display: grid; justify-items: center; gap: 8px; width: 104px; text-align: center; font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.ip__a img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1.5px solid transparent; background: var(--gold) border-box; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: translate .35s, box-shadow .35s; }
.ip__a:hover img { translate: 0 -3px; box-shadow: 0 10px 22px rgba(0, 0, 0, .4), 0 0 16px rgba(250, 207, 113, .35); }
.ip__runs { display: grid; gap: 14px; }
.ip__run--rev { display: none; } /* PC: đại lý 1 hàng; mobile: chia 2 hàng ngược chiều (partners.js) */
/* PC (nền bản A: các chương nối bằng dải chuyển cảnh .xb): khối nằm TRÊN dải trời của Form (thò ~24vh lên trên mép Form) để không phủ hàng đại lý;
   nền tan 12vh hai đầu: trên — đè nhẹ đáy cảnh Phim (lề âm), dưới — lộ dần dải trời của Form → không có đường cắt ngang */
@media (min-width: 761px) {
  .ip { z-index: 2; margin-top: -12vh; padding-top: calc(clamp(40px, 6vh, 76px) + 12vh); min-height: calc(100vh + 12vh); background: none; }
  .ip__bg { -webkit-mask: linear-gradient(transparent, #000 12vh, #000 calc(100% - 12vh), transparent); mask: linear-gradient(transparent, #000 12vh, #000 calc(100% - 12vh), transparent); }
}
@media (prefers-reduced-motion: reduce) { .ip__run { animation: none; } .ip__track { overflow-x: auto; } }
@media (max-width: 760px) {
  .ip { padding: 56px 18px 34px; font-size: 15px; } .ip__top { grid-template-columns: 1fr; gap: 26px; }
  .ip__arch { order: -1; max-height: none; aspect-ratio: 4 / 3; border-radius: 48% 48% 20px 20px / 40% 40% 20px 20px; }
  .ip__arch figcaption { font-size: 14px; }
  .ip__title { font-size: 36px; text-wrap: balance; }
  .ip__proj { flex-direction: column; gap: 6px; } .ip__proj li:not(:last-child)::after { content: none; } /* mỗi dự án 1 dòng: bỏ dấu ngăn treo cuối dòng */
  .ip__fields { gap: 10px 14px; } .ip__fields li { font-size: 13.5px; } .ip__fields svg { width: 26px; height: 26px; }
  .ip__row { grid-template-columns: 1fr; gap: 12px; } .ip__row h3 { font-size: 19px; }
  .ip__track { --fade: 28%; --clear: 7%; } /* mép tan rộng: màn hẹp, logo vào/ra mép từ từ — không lộ nửa huy hiệu rõ nét */
  .ip__p { height: 30px; } .ip__a { width: 86px; font-size: 11.5px; } .ip__a img { width: 60px; height: 60px; }
  .ip__run--rev { display: flex; }
}
