/* Insan Pelangi Mandiri — public UI, consolidated v4.5.3 */

/* Public layout and motion layer. Shared fonts, colors, radii, and focus
   behavior live in design-system.css so the public and admin UIs stay aligned. */
:root {
  --container: min(1260px, calc(100% - 64px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);

  font-feature-settings: normal;
  font-variation-settings: normal;


}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  color: var(--navy-950);
  background: var(--yellow);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 11px 17px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 12px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* Header and navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(32, 37, 117, 0.08);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.site-header.is-sticky {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(20, 24, 72, 0.09);
}

.header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
}

.brand__logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
}

.brand__text {
  display: grid;
  line-height: 1.06;
}

.brand__text strong {
  color: var(--navy-800);


}

.brand__text small {
  margin-top: 6px;
  color: #686b80;


  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;

  color: #353851;


}

.main-nav > a:not(.button),
.nav-more > summary {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  list-style: none;
  white-space: nowrap;
}

.main-nav > a:not(.button)::after,
.nav-more > summary::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 22px;
  left: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
  transition: right 0.22s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.is-active::after,
.nav-more:hover > summary::after,
.nav-more.is-active > summary::after,
.nav-more[open] > summary::after {
  right: 0;
}

.nav-more {
  position: relative;
}

.nav-more > summary::-webkit-details-marker {
  display: none;
}

.nav-more > summary {
  gap: 6px;
}

.nav-more > summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-more[open] > summary svg {
  transform: rotate(180deg);
}

.nav-more__panel {
  position: absolute;
  top: calc(100% - 10px);
  right: -28px;
  width: 310px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.nav-more__panel a {
  display: grid;
  padding: 14px 15px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-more__panel a:hover {
  background: var(--surface);
  transform: translateX(3px);
}

.nav-more__panel strong {
  color: var(--navy-800);

}

.nav-more__panel small {
  margin-top: 2px;
  color: var(--muted);


}

.nav-search {

  justify-content: center;
}

.nav-search svg {
  width: 19px;
  height: 19px;
  color: var(--navy-800);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 0;
  border-radius: 14px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy-800);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Shared UI
   ========================================================================== */

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  color: var(--white);
  background: var(--navy-800);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;

}

.button:hover {
  color: var(--white);
  background: var(--navy-700);
  box-shadow: 0 14px 30px rgba(32, 37, 117, 0.2);
  transform: translateY(-2px);
}


.button--header span {
  font-size: 14px;
}

.button--sun,
.button--cream {
  color: var(--navy-950);
  background: var(--yellow);
}

.button--sun:hover,
.button--cream:hover {
  color: var(--navy-950);
  background: #ffdd67;
  box-shadow: 0 16px 34px rgba(255, 212, 61, 0.22);
}

.button--glass,
.button--ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.button--glass:hover,
.button--ghost-light:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.button--navy {
  color: var(--white);
  background: var(--navy-900);
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  color: var(--navy-800);
  border-bottom: 1px solid #b6bad6;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

.eyebrow,
.overline {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.eyebrow--light {
  color: #dde0ff;
}

.section {
  padding: clamp(86px, 9vw, 126px) 0;
}

.section--soft {
  background: var(--surface);
}


.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.68fr);
  align-items: end;

}

.section-heading--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.ipm-path__copy h2,
.faq-grid h2,
.governance-grid h2,
.decision-box h2,
.prose h2 {
  margin: 0;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.section-heading--split > div:last-child > p,
.section-heading--center > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.section-heading--center > p {
  max-width: 630px;
  margin: 20px auto 0;
}

.flash {
  position: relative;
  z-index: 5;
  padding: 12px 0;
  font-size: 13px;
}

.flash--success {
  color: var(--success);
  background: #e2f3e7;
}

.flash--error {
  color: var(--danger);
  background: #f9e1e4;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  animation: reveal-in 0.75s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal--delay {
  animation-delay: 0.15s;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Home hero
   ========================================================================== */

.ipm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 17% 15%,
      rgba(81, 103, 216, 0.55),
      transparent 31%
    ),
    radial-gradient(
      circle at 92% 10%,
      rgba(255, 212, 61, 0.18),
      transparent 25%
    ),
    linear-gradient(
      132deg,
      var(--navy-950) 0%,
      var(--navy-900) 45%,
      #242b83 100%
    );
}

.ipm-hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ipm-hero__aurora {
  position: absolute;
  z-index: -1;
  right: -22%;
  bottom: -55%;
  width: 920px;
  height: 920px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.018);
}

.ipm-hero__stage {
  position: relative;


  align-items: center;
  padding: 72px 0 78px;
}

.ipm-hero__copy {
  position: relative;
  z-index: 3;

}

.ipm-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: #e5e6ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ipm-kicker__dot {
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 212, 61, 0.12);
}

.ipm-hero h1 {

  margin: 0;

  font-weight: 600;


}

.ipm-hero__lower {

  display: grid;

  align-items: end;


}

.ipm-hero__lead {
  margin: 0 0 29px;
  color: #d6d8f2;
  font-size: 16px;
  line-height: 1.65;
}

.ipm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ipm-hero__signal {
  padding: 17px 0 5px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.ipm-hero__signal-pulse {
  width: 8px;
  height: 8px;
  display: block;
  margin-bottom: 16px;
  background: #83e098;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(131, 224, 152, 0.1);
}

.ipm-hero__signal p {
  margin: 0 0 3px;
  color: #aeb2dc;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ipm-hero__signal strong {
  display: block;
  min-height: 28px;
  color: var(--yellow);
  font-size: 19px;
  line-height: 1.25;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.ipm-hero__signal strong.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.ipm-hero__facts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.75fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ipm-hero__facts > * {
  min-height: 88px;
  margin: 0;
  padding: 20px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.ipm-hero__facts > *:last-child {
  border-right: 0;
}

.ipm-hero__facts > p,
.ipm-hero__facts > div {
  display: flex;
  align-items: center;
}

.ipm-hero__facts > p {
  gap: 10px;
  color: #c4c7e9;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ipm-hero__facts > p span {
  color: var(--yellow);
}

.ipm-hero__facts > div {
  gap: 11px;
}

.ipm-hero__facts strong {
  font-size: 28px;
  line-height: 1;
}

.ipm-hero__facts div span {
  color: #bfc2e4;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Home sections
   ========================================================================== */

.ipm-programs {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-grid--bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(21, 25, 73, 0.04);

}

.service-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(32, 37, 117, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.service-card:hover {
  z-index: 2;
  border-color: transparent;
  box-shadow: var(--shadow);

}

.service-grid--bento .service-card:nth-child(1) {
  grid-column: span 7;
  min-height: 470px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  border-color: transparent;
}

.service-grid--bento .service-card:nth-child(2) {
  grid-column: span 5;
  min-height: 470px;
  background: var(--yellow-soft);
  border-color: transparent;
}

.service-grid--bento .service-card:nth-child(n + 3) {
  grid-column: span 3;
}

.service-grid--bento .service-card:nth-child(3) {
  background: var(--coral-soft);
  border-color: transparent;
}
.service-grid--bento .service-card:nth-child(4) {
  background: var(--sky);
  border-color: transparent;
}
.service-grid--bento .service-card:nth-child(5) {
  background: var(--green-soft);
  border-color: transparent;
}
.service-grid--bento .service-card:nth-child(6) {
  background: var(--lilac);
  border-color: transparent;
}

.service-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.icon-chip {


  display: grid;
  place-items: center;
  color: var(--coral);
  background: var(--coral-soft);

}


.icon-chip--school {
  color: var(--navy-800);
  background: var(--sky);
}
.icon-chip--spark {
  color: #8b6b05;
  background: var(--yellow-soft);
}
.icon-chip--chat {
  color: var(--green);
  background: var(--green-soft);
}
.icon-chip--work {
  color: var(--navy-700);
  background: var(--lilac);
}
.icon-chip--family {
  color: var(--coral);
  background: var(--coral-soft);
}

.service-grid--bento .service-card:nth-child(1) .icon-chip {
  color: var(--navy-950);
  background: var(--yellow);
}

.service-card__number {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service-grid--bento .service-card:nth-child(1) .service-card__number {
  color: #dfe2ff;
}

.service-card__labels {
  position: relative;
  z-index: 1;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.service-card__eyebrow {
  margin: 0 0 9px;
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-grid--bento .service-card:nth-child(1) .service-card__eyebrow {
  color: #cfd2ff;
}

.mini-label {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 5px 0 14px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.service-grid--bento .service-card:nth-child(1) h3,
.service-grid--bento .service-card:nth-child(2) h3 {
  max-width: 520px;
  font-size: clamp(34px, 3.7vw, 49px);
}

.service-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card > p:not(.service-card__eyebrow) {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.service-grid--bento .service-card:nth-child(1) > p {
  max-width: 570px;
  color: #cfd2ec;
}

.service-card__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 21px;
}

.service-card__meta span,
.location-pill {
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(32, 37, 117, 0.12);
  border-radius: 999px;
  font-size: 9px;
}

.service-grid--bento .service-card:nth-child(1) .service-card__meta span {
  color: #e7e8ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card__link {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 17px;
  color: var(--navy-800);
  border-top: 1px solid rgba(32, 37, 117, 0.13);
  font-size: 11px;
  font-weight: 600;
}

.service-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

.service-grid--bento .service-card:nth-child(1) .service-card__link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.ipm-path {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
}

.ipm-path::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(23, 26, 67, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.12),
    0 0 0 140px rgba(255, 255, 255, 0.07);
}

.ipm-path__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
}

.ipm-path__copy {
  position: sticky;
  top: 126px;
  align-self: start;
}

.ipm-path__copy .eyebrow {
  color: #5d5424;
}

.ipm-path__copy p {
  max-width: 455px;
  margin: 24px 0 31px;
  color: #4e4b43;
}

.ipm-path__steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ipm-path__steps li {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  gap: 20px;
  padding: 29px 0;
  border-bottom: 1px solid rgba(23, 26, 67, 0.18);
}

.ipm-path__steps li:first-child {
  padding-top: 0;
}

.ipm-path__steps > li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
}

.ipm-path__steps small {
  color: #5e5527;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ipm-path__steps h3 {
  margin: 2px 0 5px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.ipm-path__steps p {
  margin: 0;
  color: #535049;
  font-size: 13px;
}

.ipm-branches {
  background: var(--white);
}

.branch-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.branch-network {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 20% 12%,
      rgba(82, 115, 218, 0.5),
      transparent 32%
    ),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.branch-network__heading {
  position: absolute;
  z-index: 3;
  top: 31px;
  left: 34px;
  display: grid;
}

.branch-network__heading span {
  color: #bfc3e8;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.branch-network__heading strong {
  margin-top: 2px;
  font-size: 22px;
}

.branch-network__orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.branch-network__orbit--one {
  inset: 80px 45px 35px;
}

.branch-network__orbit--two {
  inset: 145px 110px 100px;
  border-style: dashed;
}

.branch-network__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  background: var(--white);
  border: 7px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 24px 55px rgba(4, 7, 40, 0.35);
  transform: translate(-50%, -50%);
}

.branch-network__center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.branch-network__node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(5, 8, 44, 0.26);
  font-size: 9px;
  font-weight: 600;
  transition: transform 0.2s ease;
}


.branch-network__node i {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.branch-network__node--1 {
  top: 22%;
  left: 20%;
}
.branch-network__node--2 {
  top: 19%;
  right: 12%;
}
.branch-network__node--3 {
  top: 49%;
  right: 7%;
}
.branch-network__node--4 {
  bottom: 17%;
  right: 22%;
}
.branch-network__node--5 {
  bottom: 20%;
  left: 12%;
}

.branch-directory {
  padding: 24px 34px 28px;
  background: var(--white);
}

.branch-directory__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 17px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.branch-directory > a {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.2s ease,
    color 0.2s ease;
}

.branch-directory > a:hover {
  padding-left: 7px;
  color: var(--green);
}

.branch-directory > a > span {
  color: #5e6278;
  font-size: 10px;
  font-weight: 600;
}

.branch-directory > a > div {
  min-width: 0;
  display: grid;
}

.branch-directory strong {
  color: var(--navy-800);
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.branch-directory small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-directory svg {
  width: 18px;
  height: 18px;
}

.ipm-moments {
  background: var(--surface);
}


.moment-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.moment-card__visual {
  height: 270px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-soft);
}

.moment-card--2 .moment-card__visual {
  background: var(--yellow-soft);
}
.moment-card--3 .moment-card__visual {
  background: var(--sky);
}

.moment-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-card__placeholder {
  color: rgba(32, 37, 117, 0.17);
  font-size: 82px;
  font-weight: 600;
}

.moment-card > div:last-child {
  padding: 24px;
}

.moment-card h3 {
  margin: 8px 0 9px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.moment-card p:not(.overline) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.ipm-articles {
  background: var(--surface);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20, 24, 72, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.article-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.article-card__visual {
  position: relative;
  height: 238px;
  display: block;
  overflow: hidden;
  background: var(--sky);
}

.article-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__visual img {
  transform: scale(1.045);
}

.article-card__category,
.article-card__number {
  position: absolute;
  z-index: 2;
  top: 15px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card__category {
  left: 15px;
  color: var(--navy-800);
  background: var(--white);
}

.article-card__number {
  right: 15px;
  color: var(--white);
  background: rgba(20, 23, 70, 0.72);
  backdrop-filter: blur(8px);
}

.article-card__pattern {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--sky), var(--lilac));
}

.article-card__pattern i {
  position: absolute;
  border: 1px solid rgba(32, 37, 117, 0.16);
  border-radius: 50%;
}

.article-card__pattern i:nth-child(1) {
  width: 180px;
  height: 180px;
}
.article-card__pattern i:nth-child(2) {
  width: 112px;
  height: 112px;
  background: rgba(255, 255, 255, 0.28);
}
.article-card__pattern i:nth-child(3) {
  width: 43px;
  height: 43px;
  background: var(--yellow);
}

.article-card__body {
  padding: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: #5e6278;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 10px 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.article-card__body > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.article-grid--editorial {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.article-grid--editorial .article-card:first-child {
  grid-column: span 7;
  grid-row: span 2;
}

.article-grid--editorial .article-card:not(:first-child) {
  grid-column: span 5;
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
}

.article-grid--editorial .article-card:first-child .article-card__visual {
  height: 350px;
}

.article-grid--editorial .article-card:not(:first-child) .article-card__visual {
  height: auto;
  min-height: 270px;
}

.article-grid--editorial .article-card:not(:first-child) h3 {
  font-size: 21px;
}

.article-grid--editorial
  .article-card:not(:first-child)
  .article-card__body
  > p {
  display: none;
}

.ipm-faq {
  padding-bottom: clamp(40px, 4vw, 58px);
  background: #fff6cf;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 95px;
}

.faq-grid > div:first-child > p {
  margin: 22px 0;
  color: #625f56;
}

.accordion {
  border-bottom: 1px solid rgba(23, 26, 67, 0.17);
}

.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 23px 0;
  list-style: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
}

.accordion summary i::before,
.accordion summary i::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 3px;
  left: 3px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 999px;
}

.accordion summary i::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.accordion[open] summary i::after {
  transform: none;
}

.accordion > div {
  max-width: 680px;
  padding: 0 45px 23px 0;
  color: #625f56;
  font-size: 13px;
}

.accordion p {
  margin: 0;
}

/* Listing cards
   ========================================================================== */

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.branch-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20, 24, 72, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.branch-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.branch-card__visual {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--card-tone, var(--sky));
}

.branch-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.branch-card:hover .branch-card__visual img {
  transform: scale(1.04);
}

.branch-card__monogram {
  position: relative;
  z-index: 2;
  color: rgba(32, 37, 117, 0.2);
  font-size: 94px;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.branch-card__line {
  position: absolute;
  width: 175px;
  height: 175px;
  border: 1px solid rgba(32, 37, 117, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.14),
    0 0 0 68px rgba(255, 255, 255, 0.09);
}

.branch-card__badge {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 15px;
  padding: 7px 10px;
  color: var(--navy-800);
  background: var(--white);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.branch-card__body {
  padding: 25px;
}

.branch-card__body .overline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
}

.branch-card__body .overline svg {
  width: 13px;
  height: 13px;
}

.branch-card h3 {
  margin: 0 0 9px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.branch-card h3 a::after,
.professional-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.branch-card__body > p:not(.overline) {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.card-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-top: 21px;
}

.mini-action {
  padding: 6px 10px;
  color: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.mini-action:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}

.professional-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20, 24, 72, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.professional-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.professional-card__photo {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sky), var(--lilac));
}

.professional-card:nth-child(3n + 2) .professional-card__photo {
  background: linear-gradient(145deg, var(--yellow-soft), var(--coral-soft));
}

.professional-card:nth-child(3n + 3) .professional-card__photo {
  background: linear-gradient(145deg, var(--green-soft), var(--sky));
}

.professional-card__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professional-card__portrait {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 37, 117, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.18),
    0 0 0 76px rgba(255, 255, 255, 0.1);
}

.professional-card__portrait i {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50%;
}

.professional-card__portrait b {
  color: rgba(32, 37, 117, 0.28);
  font-size: 92px;
  font-weight: 600;
  line-height: 1;
}

.professional-card__body {
  padding: 21px;
}

.professional-card .overline {
  margin: 0 0 6px;
}

.professional-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.professional-card__body > p:not(.overline) {
  min-height: 20px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
}

/* Shared page heroes
   ========================================================================== */

.page-hero,
.detail-hero,
.profile-hero,
.article-hero {


  color: var(--white);
  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(82, 115, 218, 0.55),
      transparent 30%
    ),
    linear-gradient(132deg, var(--navy-950), var(--navy-800) 72%, #2a3493);
}


.page-hero {
  padding: 64px 0 88px;
}

.page-hero--compact {
  padding-bottom: 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 45px;
  color: #bfc3e8;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

.breadcrumb span[aria-current="page"] {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 90px;
}

.page-hero h1,
.detail-hero h1,
.profile-hero h1,
.article-hero h1,
.consultation-copy h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(56px, 6.8vw, 92px);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.page-hero__lead {
  margin: 0;
  color: #d2d5f0;
  font-size: 16px;
}

/* About page
   ========================================================================== */

.story-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 95px;
}

.story-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 28% 18%,
      rgba(82, 115, 218, 0.65),
      transparent 34%
    ),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
}

.story-visual::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.03),
    0 0 0 110px rgba(255, 255, 255, 0.018);
}

.story-visual__ring {
  position: absolute;
  top: 52px;
  left: 52px;
  width: 165px;
  height: 165px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.story-visual__ring span {
  color: #c4c8e9;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-visual__ring strong {
  color: var(--yellow);
  font-size: 44px;
  line-height: 1;
}

.story-visual__quote {
  position: absolute;
  right: 45px;
  bottom: 50px;
  left: 50px;
  font-size: clamp(33px, 4vw, 53px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.prose {
  color: var(--ink);
}

.prose--large > p {
  color: var(--muted);
  font-size: 16px;
}

.prose h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 4.4vw, 58px);
}

.prose h3 {
  margin: 34px 0 12px;
  color: var(--navy-800);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose a {
  color: var(--navy-800);
  text-decoration: underline;
  text-decoration-color: #b8bbd2;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article {
  min-height: 285px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-grid article:nth-child(1) {
  background: var(--coral-soft);
  border-color: transparent;
}
.value-grid article:nth-child(2) {
  background: var(--yellow-soft);
  border-color: transparent;
}
.value-grid article:nth-child(3) {
  background: var(--sky);
  border-color: transparent;
}
.value-grid article:nth-child(4) {
  background: var(--green-soft);
  border-color: transparent;
}

.value-grid article > span {
  color: rgba(32, 37, 117, 0.45);
  font-size: 10px;
  font-weight: 600;
}

.value-grid h3 {
  margin: 76px 0 9px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.governance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 90px;
}

.governance-grid > div:first-child > p {
  max-width: 480px;
  margin: 23px 0 0;
  color: var(--muted);
}

.checklist-card {
  padding: 12px 35px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist-card li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.checklist-card li:last-child {
  border-bottom: 0;
}

.checklist-card li > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}

.checklist-card strong {
  color: var(--navy-800);
  font-size: 17px;
}

.checklist-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Filters and directories
   ========================================================================== */

.directory-search,
.content-filter,
.hero-search {
  display: grid;
  align-items: end;
  gap: 13px;
  margin-top: 52px;
  padding: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(4, 7, 39, 0.22);
}

.directory-search,
.content-filter {
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.65fr) auto;
}

.hero-search {
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 780px;
}

.hero-search--small {
  max-width: 650px;
}

.directory-search label,
.content-filter label {
  display: grid;
  gap: 6px;
}

.directory-search label > span,
.content-filter label > span {
  padding-left: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-search input,
.directory-search select,
.content-filter input,
.content-filter select,
.hero-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
}

.directory-search input:focus,
.directory-search select:focus,
.content-filter input:focus,
.content-filter select:focus,
.hero-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(82, 115, 218, 0.11);
}

.filter-intro,
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 33px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.filter-intro > span {
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-intro p,
.listing-toolbar p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.listing-toolbar a {
  color: var(--navy-800);
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-grid--listing,
.article-grid--listing,
.professional-grid--listing {
  margin-top: 10px;
}

.decision-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 65px;
  padding: 54px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.decision-box h2 {
  max-width: 830px;
}

.decision-box p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
}

/* Detail pages
   ========================================================================== */

.detail-hero {
  padding: 62px 0 92px;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  align-items: center;
  gap: 90px;
}

.detail-hero__grid > div:first-child > p {
  max-width: 760px;
  margin: 25px 0 0;
  color: #d2d5ef;
  font-size: 16px;
}

.detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.detail-hero__card,
.location-card {
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 26px 65px rgba(4, 7, 39, 0.27);
}

.icon-chip--large {
  width: 66px;
  height: 66px;
  margin-bottom: 25px;
  color: var(--navy-950);
  background: var(--yellow);
}

.detail-hero__card dl {
  margin: 0;
}

.detail-hero__card dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-hero__card dl > div:last-child {
  border-bottom: 0;
}

.detail-hero__card dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-hero__card dd {
  margin: 0;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 600;
}

.content-sidebar,
.branch-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 90px;
}

.article-prose {
  max-width: 780px;
  font-size: 16px;
}

.article-prose > *:first-child {
  margin-top: 0;
}

.article-prose p {
  margin: 0 0 22px;
}

.article-prose li {
  margin-bottom: 8px;
}

.sticky-card {
  position: sticky;
  top: 122px;
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sticky-card h2 {
  margin: 0;
  color: var(--navy-800);
  font-size: 31px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.sticky-card > p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.contact-line {
  display: block;
  margin-top: 18px;
  color: var(--navy-800);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.notice-box,
.article-disclaimer {
  margin-top: 42px;
  padding: 22px 24px;
  background: #fff8d8;
  border-left: 4px solid var(--yellow);
  border-radius: 0 17px 17px 0;
}

.notice-box strong,
.article-disclaimer strong {
  color: var(--navy-800);
  font-size: 13px;
}

.notice-box p,
.article-disclaimer p {
  margin: 5px 0 0;
  font-size: 12px;
}

.location-card__map {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: -16px -16px 22px;
  background: linear-gradient(145deg, var(--sky), var(--green-soft));
  border-radius: 20px;
}

.location-card__map span,
.location-card__map i {
  position: absolute;
  border: 1px solid rgba(32, 37, 117, 0.16);
  border-radius: 50%;
}

.location-card__map span {
  width: 155px;
  height: 155px;
}
.location-card__map i {
  width: 92px;
  height: 92px;
}

.location-card__map b {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 50%;
}

.location-card strong {
  display: block;
  color: var(--navy-800);
  font-size: 27px;
  line-height: 1.1;
}

.location-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.branch-detail-grid > div > h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.info-grid article {
  min-height: 230px;
  padding: 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 21px;
}

.info-grid article > span {
  color: #5e6278;
  font-size: 9px;
  font-weight: 600;
}

.info-grid h3 {
  margin: 52px 0 9px;
  color: var(--navy-800);
  font-size: 19px;
  line-height: 1.1;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

/* Professional profile
   ========================================================================== */

.profile-hero {
  padding: 62px 0 90px;
}

.profile-hero__grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: center;
  gap: 85px;
}

.profile-hero__photo {
  height: 510px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sky), var(--lilac));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46% 46% 28px 28px;
}

.profile-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero__photo > span {
  color: rgba(32, 37, 117, 0.28);
  font-size: 150px;
  font-weight: 600;
}

.profile-credentials {
  margin: 25px 0 0;
  color: #d0d3ee;
  font-size: 16px;
}

.license-line {
  color: #bfc3e7;
  font-size: 11px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.expertise-tags span {
  padding: 7px 10px;
  color: #e8e9fc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  font-size: 9px;
}

.profile-location {
  max-width: 540px;
  display: grid;
  margin-top: 28px;
  padding: 17px 19px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.profile-location span {
  color: #bfc3e7;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-location strong {
  margin-top: 3px;
  font-size: 13px;
}

/* Activities and articles
   ========================================================================== */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.activity-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.activity-card:nth-child(3n) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.activity-card__visual {
  position: relative;
  height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-soft), var(--sky));
}

.activity-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card__placeholder {
  position: relative;
  z-index: 2;
  color: rgba(32, 37, 117, 0.2);
  font-size: 88px;
  font-weight: 600;
}

.activity-card__visual > i {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(32, 37, 117, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.15);
}

.activity-card > div:last-child {
  padding: 28px;
}

.activity-card h2 {
  margin: 8px 0 11px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.activity-card p:not(.overline) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.article-hero {
  padding: 61px 0 115px;
  text-align: center;
}

.article-hero__inner {
  max-width: 980px;
}

.article-hero .breadcrumb {
  justify-content: center;
}

.article-hero h1 {
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(54px, 6.2vw, 84px);
}

.article-hero__inner > p {
  max-width: 720px;
  margin: 25px auto 0;
  color: #d2d5ef;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  color: #bfc3e7;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cover {
  position: relative;
  z-index: 3;
  height: min(620px, 55vw);
  margin-top: -65px;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-section {
  padding-top: 88px;
}

.article-layout {
  display: grid;
  grid-template-columns: 75px minmax(0, 780px);
  justify-content: center;
  align-items: start;
  gap: 45px;
}

.article-share {
  position: sticky;
  top: 122px;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.article-share > span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-share a,
.article-share button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
}

.article-share button {
  width: auto;
  padding-inline: 10px;
  border-radius: 999px;
}

/* Consultation, search, legal and empty states
   ========================================================================== */

.consultation-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 105px;
  background: var(--surface);
}

.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.82fr);
  align-items: start;
  gap: 80px;
}

.consultation-copy {
  position: sticky;
  top: 122px;
}

.consultation-copy .breadcrumb {
  color: var(--muted);
}

.consultation-copy h1 {
  color: var(--navy-900);
  font-size: clamp(49px, 5.4vw, 76px);
}

.consultation-copy > p {
  margin: 24px 0 0;
  color: var(--muted);
}

.privacy-points {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.privacy-points > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-points > div > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
}

.privacy-points p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.privacy-points strong {
  color: var(--navy-800);
  font-size: 13px;
}

.consultation-form-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-heading > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 7px 0;
  color: var(--navy-900);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.form-heading p {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span {
  color: var(--navy-800);
  font-size: 10px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(82, 115, 218, 0.11);
}

.field small {
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 10px;
}

.consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy-800);
}

.consent a {
  color: var(--navy-800);
  text-decoration: underline;
}

.form-footnote {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.search-results {
  display: grid;
  gap: 48px;
}

.result-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.result-summary h2 {
  margin: 2px 0 0;
  color: var(--navy-800);
  font-size: 45px;
  letter-spacing: -0.05em;
}

.search-results > section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--navy-800);
  font-size: 25px;
}

.search-results > section > h2 span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 10px;
}

.compact-results {
  border-top: 1px solid var(--line);
}

.compact-results a {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(220px, 0.8fr) minmax(250px, 1fr) 30px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.compact-results a > span {
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-results strong {
  color: var(--navy-800);
  font-size: 18px;
}

.compact-results p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.compact-results i {
  font-style: normal;
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 780px);
  justify-content: center;
  align-items: start;
  gap: 70px;
}

.legal-layout aside {
  position: sticky;
  top: 122px;
}

.legal-layout nav {
  display: grid;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-layout nav a {
  padding: 12px 13px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
}

.legal-layout nav a.is-active {
  color: var(--white);
  background: var(--navy-800);
}

.empty-state {
  padding: 58px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed #c8cad8;
  border-radius: var(--radius);
}

.empty-state > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--navy-800);
  background: var(--yellow-soft);
  border-radius: 50%;
  font-size: 23px;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 8px;
  color: var(--navy-800);
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
}

.pagination {
  margin-top: 48px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination a,
.pagination li.active a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 11px;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.pagination li.active a,
.pagination a:hover {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

/* Final CTA and footer
   ========================================================================== */

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 7vw, 88px) 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(82, 115, 218, 0.55),
      transparent 30%
    ),
    linear-gradient(132deg, var(--navy-950), var(--navy-800));
}

.final-cta__arc {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.final-cta__arc--one {
  top: -260px;
  right: -170px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.68fr);
  align-items: end;
  gap: clamp(54px, 7vw, 90px);
}

.final-cta h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(54px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 0.89;
  letter-spacing: -0.07em;
}

.final-cta__side > p {
  margin: 0 0 25px;
  color: #d1d4ef;
  font-size: 14px;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 70px 0 0;
  color: #c7cae2;
  background: #0d1038;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.65fr);

}

.brand--footer .brand__logo {
  padding: 2px;
}

.site-footer .brand__text strong,
.site-footer h3 {
  color: var(--white);
}

.site-footer .brand__text small {
  color: #9fa3c8;
}

.footer__brand > p,
.footer__contact p {
  max-width: 360px;

  color: #9fa3bc;

}

.footer__note {
  max-width: 390px;
  display: block;

  color: #8589a9;


}

.footer__grid > div:not(.footer__brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer h3 {
  margin: 5px 0 18px;

  letter-spacing: 0.02em;
}

.site-footer a {

  color: #b8bbd3;

  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;


}

.social-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer__bottom {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  color: #8589a9;
  border-top: 1px solid rgba(255, 255, 255, 0.1);

}

.footer__bottom p {
  margin: 0;
}

.footer__bottom > div {
  display: flex;
  gap: 18px;
}

.footer__bottom a {
  margin: 0;

}

/* Motion and interaction layer v4
   ========================================================================== */

.scroll-progress {
  position: fixed;
  z-index: 10020;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(
    90deg,
    var(--coral),
    var(--yellow) 38%,
    #55a968 70%,
    #6b86e1
  );
  box-shadow: 0 0 14px rgba(255, 212, 61, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
}

.page-intro {
  display: none;
}

.has-js .page-intro {
  position: fixed;
  z-index: 10010;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--white);
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(82, 115, 218, 0.34),
      transparent 30%
    ),
    var(--navy-950);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.has-js .page-intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-intro__mark {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 13px;
  background: var(--white);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(3, 6, 34, 0.46);
  animation: intro-mark 0.8s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.page-intro__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
}

.page-intro__mark > span {
  position: absolute;
  right: -17px;
  width: 10px;
  border-radius: 999px;
  transform-origin: bottom;
  animation: intro-bars 0.62s 0.18s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.page-intro__mark > span:nth-of-type(1) {
  bottom: 16px;
  height: 33px;
  background: var(--coral);
}
.page-intro__mark > span:nth-of-type(2) {
  right: -31px;
  bottom: 16px;
  height: 49px;
  background: var(--yellow);
  animation-delay: 0.25s;
}
.page-intro__mark > span:nth-of-type(3) {
  right: -45px;
  bottom: 16px;
  height: 66px;
  background: #55a968;
  animation-delay: 0.32s;
}

.page-intro > p {
  margin: 25px 0 0;
  color: #d8daf0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: reveal-in 0.65s 0.25s both;
}

@keyframes intro-mark {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.88) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-bars {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 32%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  opacity: 0;
  transform: skewX(-18deg);
  transition:
    left 0.55s ease,
    opacity 0.25s ease;
}

.button:hover::before {
  left: 115%;
  opacity: 1;
}

.button {
  translate: var(--magnet-x, 0) var(--magnet-y, 0);
  transition:
    translate 0.18s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.nav-more[open] .nav-more__panel {
  animation: nav-panel-in 0.28s both cubic-bezier(0.2, 0.75, 0.2, 1);
  transform-origin: top right;
}

@keyframes nav-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.has-js [data-reveal-item] {
  opacity: 0;
  translate: 0 30px;
  scale: 0.985;
  transition:
    opacity 0.72s var(--reveal-delay, 0ms) ease,
    translate 0.78s var(--reveal-delay, 0ms) cubic-bezier(0.2, 0.75, 0.2, 1),
    scale 0.78s var(--reveal-delay, 0ms) cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.28s ease;
}

.has-js [data-reveal-item].is-visible {
  opacity: 1;
  translate: 0;
  scale: 1;
}

main > section:first-child:not(.ipm-hero) {
  animation: page-section-in 0.72s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes page-section-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-hero,
.detail-hero,
.profile-hero,
.article-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before,
.detail-hero::before,
.profile-hero::before,
.article-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -280px;
  right: -230px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
  animation: hero-orbit-breathe 8s infinite alternate ease-in-out;
}

.ipm-hero {
  --pointer-x: 72%;
  --pointer-y: 18%;
}

.ipm-hero__spotlight {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    circle 430px at var(--pointer-x) var(--pointer-y),
    rgba(255, 212, 61, 0.13),
    transparent 72%
  );
  transition: background 0.12s linear;
  pointer-events: none;
}

.ipm-hero__noise {
  animation: noise-drift 11s infinite alternate linear;
}

.ipm-hero__aurora {
  animation: hero-orbit-breathe 8s infinite alternate ease-in-out;
}

.ipm-kicker__dot {
  animation: status-pulse 2s infinite ease-out;
}

.ipm-hero__signal-pulse {
  position: relative;
  animation: status-pulse 1.8s infinite ease-out;
}

@keyframes noise-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 32px;
  }
}

@keyframes hero-orbit-breathe {
  from {
    opacity: 0.6;
    transform: scale(0.96) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: scale(1.04) rotate(2deg);
  }
}

@keyframes spectrum-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(131, 224, 152, 0.42);
  }
  75%,
  100% {
    box-shadow: 0 0 0 11px rgba(131, 224, 152, 0);
  }
}

.service-card {
  --card-x: 50%;
  --card-y: 50%;
  --card-rx: 0deg;
  --card-ry: 0deg;
  transform: perspective(1100px) rotateX(var(--card-rx)) rotateY(var(--card-ry))
    translateY(0);
  transform-style: preserve-3d;
  transition:
    transform 0.2s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  will-change: transform;
}

.service-card:hover {
  transform: perspective(1100px) rotateX(var(--card-rx)) rotateY(var(--card-ry))
    translateY(-7px);
}

.service-card__spotlight {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    circle 230px at var(--card-x) var(--card-y),
    rgba(255, 255, 255, 0.58),
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-grid--bento .service-card:nth-child(1) .service-card__spotlight {
  background: radial-gradient(
    circle 260px at var(--card-x) var(--card-y),
    rgba(103, 130, 235, 0.32),
    transparent 70%
  );
}

.service-card.is-pointed .service-card__spotlight,
.service-card:hover .service-card__spotlight {
  opacity: 1;
}

.service-card__orbit {
  position: absolute;
  z-index: 0;
  top: -64px;
  right: -64px;
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(32, 37, 117, 0.15);
  border-radius: 50%;
  animation: spectrum-spin 18s infinite linear;
  pointer-events: none;
}

.service-card__orbit::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(21, 25, 73, 0.2);
}

.service-card .icon-chip {
  transition:
    transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.3s ease;
}

.service-card:hover .icon-chip {
  box-shadow: 0 13px 26px rgba(20, 24, 72, 0.13);
  transform: translateZ(24px) rotate(8deg) scale(1.08);
}

.service-card:hover h3,
.service-card:hover .service-card__labels {
  transform: translateZ(14px);
}

.service-card h3,
.service-card__labels {
  transition: transform 0.28s ease;
}

.ipm-path__steps li {
  opacity: 0.58;
  transform: translateX(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.ipm-path__steps li.is-current {
  opacity: 1;
  transform: translateX(9px);
}

.ipm-path__steps > li > span {
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.3s ease;
}

.ipm-path__steps li.is-current > span {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(79, 66, 3, 0.14);
  transform: scale(1.12) rotate(-5deg);
}

.branch-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 180px at 50% 50%,
    rgba(255, 212, 61, 0.12),
    transparent 75%
  );
  animation: branch-glow 5s infinite alternate ease-in-out;
}

.branch-network__orbit--one {
  animation: spectrum-spin 30s infinite linear;
}
.branch-network__orbit--two {
  animation: spectrum-spin 23s infinite reverse linear;
}
.branch-network__center {
  animation: branch-center-float 4.5s infinite alternate ease-in-out;
}

.branch-network__node {
  animation: branch-node-float 3.8s calc(var(--node-index, 0) * -0.45s) infinite
    alternate ease-in-out;
}

.branch-network__node:hover {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.04);
}

.branch-network__node i {
  animation: status-pulse 2s infinite ease-out;
}

@keyframes branch-glow {
  from {
    opacity: 0.4;
    transform: translate(-8%, -4%) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(8%, 5%) scale(1.12);
  }
}

@keyframes branch-center-float {
  from {
    transform: translate(-50%, calc(-50% - 6px)) rotate(-1deg);
  }
  to {
    transform: translate(-50%, calc(-50% + 7px)) rotate(1deg);
  }
}

@keyframes branch-node-float {
  from {
    translate: 0 -4px;
  }
  to {
    translate: 0 7px;
  }
}

.moment-carousel {
  position: relative;
}

.moment-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.moment-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.moment-strip {
  width: 100%;
  display: flex;
  grid-template-columns: none;
  gap: 20px;
}

.moment-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.moment-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.moment-carousel__controls {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;


  border-top: 1px solid var(--line);
}

.moment-carousel__controls > p {
  margin: 0;
  color: #5e6278;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.moment-carousel__controls > p span {
  color: var(--navy-800);
  font-size: 18px;
}

.moment-carousel__controls > div {
  display: flex;
  gap: 9px;
}

.moment-carousel__controls button {


  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.moment-carousel__controls button:hover {
  color: var(--white);
  background: var(--navy-800);
  transform: translateY(-2px);
}

.media-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
  text-align: left;
}

.media-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 13, 52, 0.42));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.media-trigger img {
  transition:
    transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.4s ease;
}

.media-trigger:hover img {
  filter: saturate(1.06);
  transform: scale(1.075);
}

.media-trigger:hover::after,
.media-trigger:focus-visible::after {
  opacity: 1;
}

.media-trigger__hint {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.93);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(10, 13, 52, 0.24);
  font-size: 9px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.media-trigger__hint svg {
  width: 15px;
  height: 15px;
}

.media-trigger:hover .media-trigger__hint,
.media-trigger:focus-visible .media-trigger__hint {
  opacity: 1;
  transform: none;
}

.activity-card[data-motion-card] {
  --card-rx: 0deg;
  --card-ry: 0deg;
  transform: perspective(1200px) rotateX(var(--card-rx)) rotateY(var(--card-ry));
  transform-style: preserve-3d;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.activity-card[data-motion-card]:hover {
  box-shadow: var(--shadow);
}

.accordion summary {
  transition:
    color 0.2s ease,
    padding-left 0.25s ease;
}

.accordion[open] summary {
  color: var(--green);
  padding-left: 8px;
}

.accordion > div {
  animation: accordion-content-in 0.32s both ease;
}

@keyframes accordion-content-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.consultation-widget {
  position: fixed;
  z-index: 1800;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.consultation-widget > * {
  pointer-events: auto;
}

.consultation-launcher {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: linear-gradient(145deg, #343ca0, var(--navy-900));

  border-radius: 25px;

  transition:
    transform 0.22s ease,
    border-radius 0.3s ease,
    background 0.3s ease;
}

.consultation-launcher:hover {
  transform: translateY(-4px) scale(1.035);
}

.consultation-widget.is-open .consultation-launcher {
  background: var(--navy-950);
  border-radius: 50%;
  transform: rotate(4deg);
}

.consultation-launcher svg {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  transition:
    opacity 0.24s ease,
    transform 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.consultation-launcher__close {
  opacity: 0;
  transform: rotate(-80deg) scale(0.65);
}

.consultation-widget.is-open .consultation-launcher__chat {
  opacity: 0;
  transform: rotate(80deg) scale(0.65);
}

.consultation-widget.is-open .consultation-launcher__close {
  opacity: 1;
  transform: none;
}

.consultation-launcher__ping,
.consultation-launcher__ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(48, 57, 152, 0.28);
  border-radius: 29px;
  animation: consultation-ping 2.2s infinite ease-out;
}

.consultation-launcher__ring {
  inset: -10px;
  border-color: rgba(48, 57, 152, 0.14);
  animation-delay: 0.65s;
}

.consultation-widget.is-open .consultation-launcher__ping,
.consultation-widget.is-open .consultation-launcher__ring {
  display: none;
}

.consultation-launcher__badge {
  position: absolute;
  z-index: 5;
  top: -8px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border: 3px solid var(--white);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  animation: notification-bounce 2.3s infinite ease-in-out;
}

.consultation-widget.has-been-opened .consultation-launcher__badge {
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

@keyframes consultation-ping {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes notification-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(-7px);
  }
  82% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-3px);
  }
}

.consultation-nudge {
  position: absolute;
  z-index: 2;
  right: 88px;
  bottom: 7px;
  width: 275px;
  display: grid;
  padding: 15px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(32, 37, 117, 0.1);
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 18px 48px rgba(18, 22, 66, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0.35s ease;
  text-align: left;
}

.consultation-nudge.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.consultation-widget.is-footer-visible .consultation-nudge {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px) scale(0.96);
}

.consultation-nudge span {
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.consultation-nudge strong {
  margin-top: 2px;
  color: var(--navy-800);
  font-size: 13px;
  line-height: 1.35;
}

.consultation-chat {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 88px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(660px, calc(100dvh - 125px));
  overflow: hidden auto;
  color: var(--ink);
  background: #f4f5fa;
  border: 1px solid rgba(32, 37, 117, 0.1);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(13, 17, 58, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.94);
  transform-origin: bottom right;
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0.28s ease;
}

.consultation-widget.is-open .consultation-chat {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.consultation-chat__header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: var(--white);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(82, 115, 218, 0.55),
      transparent 42%
    ),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.consultation-chat__avatar {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 5px;
  background: var(--white);
  border-radius: 17px;
}

.consultation-chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.consultation-chat__avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  background: #65c97b;
  border: 3px solid var(--navy-800);
  border-radius: 50%;
  animation: status-pulse 2s infinite ease-out;
}

.consultation-chat__header h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.consultation-chat__header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 0;
  color: #c9ccef;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.consultation-chat__header p span {
  width: 6px;
  height: 6px;
  background: #65c97b;
  border-radius: 50%;
}

.consultation-chat__header > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.consultation-chat__header > button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(6deg);
}

.consultation-chat__header > button svg {
  width: 17px;
  height: 17px;
}

.consultation-chat__body {
  padding: 21px 18px 18px;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(255, 212, 61, 0.11),
      transparent 27%
    ),
    #f4f5fa;
}

.consultation-chat__message {
  position: relative;
  max-width: 92%;
  padding: 16px 17px 25px;
  background: var(--white);
  border: 1px solid rgba(32, 37, 117, 0.08);
  border-radius: 5px 19px 19px 19px;
  box-shadow: 0 9px 26px rgba(19, 23, 70, 0.07);
  animation: chat-message-in 0.5s 0.16s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

.consultation-chat__message p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.consultation-chat__message p:first-child {
  margin-bottom: 5px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 600;
}

.consultation-chat__message time {
  position: absolute;
  right: 12px;
  bottom: 7px;
  color: var(--muted);
  font-size: 8px;
}

@keyframes chat-message-in {
  from {
    opacity: 0;
    transform: translateX(-10px) translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.consultation-chat__label {
  margin: 19px 0 9px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consultation-chat__choices {
  display: grid;
  gap: 8px;
}

.consultation-chat__choices a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(32, 37, 117, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(19, 23, 70, 0.045);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.consultation-chat__choices a:hover {
  border-color: rgba(32, 37, 117, 0.24);
  box-shadow: 0 13px 28px rgba(19, 23, 70, 0.1);
  transform: translateX(4px);
}

.consultation-chat__choices a > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--sky);
  border-radius: 10px;
  font-size: 8px;
  font-weight: 600;
}

.consultation-chat__choices a:nth-child(2) > span {
  color: var(--green);
  background: var(--green-soft);
}
.consultation-chat__choices a:nth-child(3) > span {
  color: #725a00;
  background: var(--yellow-soft);
}

.consultation-chat__choices a > div {
  min-width: 0;
  display: grid;
}

.consultation-chat__choices strong {
  color: var(--navy-800);
  font-size: 11px;
  line-height: 1.25;
}

.consultation-chat__choices small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-chat__choices svg {
  width: 18px;
  height: 18px;
  color: var(--navy-800);
}

.consultation-chat__choices a:nth-child(2) svg {
  color: var(--green);
}

.consultation-chat__footer {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid rgba(32, 37, 117, 0.08);
  font-size: 8px;
}

.consultation-chat__footer i {
  width: 6px;
  height: 6px;
  background: #65c97b;
  border-radius: 50%;
}

.media-lightbox {
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: visible;
  color: var(--white);
  background: transparent;
  border: 0;
}

.media-lightbox::backdrop {
  background: rgba(7, 9, 34, 0.88);
  backdrop-filter: blur(12px);
}

.media-lightbox[open] {
  animation: lightbox-in 0.38s both cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.965);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.media-lightbox__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
}

.media-lightbox__media {
  min-height: 570px;
  max-height: calc(100dvh - 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080b2f;
}

.media-lightbox__media img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 72px);
  object-fit: contain;
}

.media-lightbox__caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 30px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(82, 115, 218, 0.45),
      transparent 36%
    ),
    var(--navy-900);
}

.media-lightbox__caption span {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-lightbox__caption h2 {
  margin: 12px 0 10px;
  font-size: 29px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.media-lightbox__caption p {
  margin: 0;
  color: #bfc3e5;
  font-size: 10px;
}

.media-lightbox__close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(8, 11, 47, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.media-lightbox__close svg {
  width: 19px;
  height: 19px;
}

/* 404
   ========================================================================== */

.not-found {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 80px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(82, 115, 218, 0.55),
      transparent 31%
    ),
    linear-gradient(132deg, var(--navy-950), var(--navy-800));
}

.not-found__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: 80px;
}

.not-found__grid > div:first-child > p {
  max-width: 600px;
  margin: 24px 0 30px;
  color: #d1d4ee;
}

.not-found__grid > div:first-child > div {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.not-found__art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.not-found__art span {
  color: var(--white);
  font-size: 150px;
  font-weight: 600;
  line-height: 1;
}

.not-found__art i {
  width: 95px;
  height: 95px;
  border: 20px solid var(--yellow);
  border-radius: 50%;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1160px) {
  :root {
    --container: min(1080px, calc(100% - 44px));
  }

  .header__inner {
    gap: 22px;
  }
  .brand__text {
    display: none;
  }
  .main-nav {
    gap: 18px;
  }
  .ipm-hero__copy {
    width: 82%;
  }
  .service-grid--bento .service-card:nth-child(n + 3) {
    grid-column: span 6;
  }
  .branch-explorer {
    grid-template-columns: 1fr 0.9fr;
  }
  .professional-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__grid {
    grid-template-columns: 1.15fr repeat(3, 0.62fr);
    gap: 42px;
  }
}

@media (max-width: 940px) {
  :root {
    --container: min(820px, calc(100% - 36px));
  }

  .site-header {
    position: sticky;
  }
  .header__inner {
    min-height: 78px;
  }
  .brand__text {
    display: grid;
  }
  .brand__logo {
    width: 52px;
    height: 52px;
  }
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100dvh - 78px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 22px;
    overflow-y: auto;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.99);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
      opacity 0.22s ease,
      transform 0.28s cubic-bezier(0.2, 0.75, 0.2, 1),
      visibility 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .main-nav > a:not(.button),
  .nav-more > summary {
    min-height: 55px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .main-nav > a:not(.button)::after,
  .nav-more > summary::after {
    display: none;
  }

  .nav-more__panel {
    position: static;
    width: auto;
    padding: 8px 0 10px 15px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-search {
    width: auto;
    justify-content: flex-start !important;
  }
  .nav-search::before {
    content: "Pencarian";
  }
  .nav-search svg {
    margin-left: auto;
  }
  .main-nav .button--header {
    width: 100%;
    margin-top: 22px;
  }

  .section-heading--split,
  .page-hero__grid,
  .ipm-path__grid,
  .faq-grid,
  .governance-grid,
  .detail-hero__grid,
  .consultation-grid,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .section-heading--split,
  .page-hero__grid {
    gap: 35px;
  }

  .ipm-hero__stage {
    min-height: 720px;
    padding-top: 66px;
    align-items: flex-start;
  }
  .ipm-hero__copy {
    width: 100%;
  }
  .ipm-hero h1 {
    max-width: 770px;
    font-size: clamp(66px, 11vw, 94px);
  }
  .ipm-hero__lower {
    max-width: 680px;
  }
  .ipm-hero__facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .ipm-hero__facts > p {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid--bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .service-grid--bento .service-card:nth-child(1),
  .service-grid--bento .service-card:nth-child(2),
  .service-grid--bento .service-card:nth-child(n + 3) {
    grid-column: span 6;
  }
  .service-grid--bento .service-card:nth-child(1),
  .service-grid--bento .service-card:nth-child(2) {
    min-height: 430px;
  }

  .ipm-path__grid {
    gap: 58px;
  }
  .ipm-path__copy {
    position: static;
  }
  .branch-explorer {
    grid-template-columns: 1fr;
  }
  .branch-network {
    min-height: 530px;
  }
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .moment-card {
    grid-column: span 6;
  }

  .article-grid--editorial .article-card:first-child,
  .article-grid--editorial .article-card:not(:first-child) {
    grid-column: span 12;
  }
  .article-grid--editorial .article-card:not(:first-child) {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .story-visual {
    min-height: 530px;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .governance-grid {
    gap: 55px;
  }

  .content-sidebar,
  .branch-detail-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 45px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-grid article {
    min-height: 175px;
  }
  .info-grid h3 {
    margin-top: 32px;
  }

  .profile-hero__grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 50px;
  }
  .profile-hero__photo {
    height: 430px;
  }
  .activity-card:nth-child(3n) {
    display: block;
  }
  .consultation-grid {
    gap: 50px;
  }
  .consultation-copy {
    position: static;
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  :root {
    --container: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }
  .section {
    padding: 82px 0;
  }
  .header__inner {
    min-height: 72px;
  }
  .main-nav {
    top: 72px;
    height: calc(100dvh - 72px);
  }
  .brand__logo {
    width: 48px;
    height: 48px;
  }
  .brand__text strong {
    font-size: 15px;
  }
  .brand__text small {
    font-size: 7px;
  }

  .ipm-hero__stage {
    min-height: 750px;
    padding: 50px 0 58px;
  }
  .ipm-hero h1 {
    font-size: clamp(53px, 15vw, 76px);
    line-height: 0.91;
  }
  .ipm-kicker {
    font-size: 8px;
  }
  .ipm-hero__lower {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 32px;
  }
  .ipm-hero__lead {
    font-size: 14px;
  }
  .ipm-hero__signal {
    width: 210px;
    padding-top: 3px;
  }
  .ipm-hero__facts {
    grid-template-columns: 1fr;
  }
  .ipm-hero__facts > * {
    min-height: 69px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
  .ipm-hero__facts > *:last-child {
    border-bottom: 0;
  }
  .ipm-hero__facts > p {
    grid-column: auto;
  }

  .section-heading h2,
  .ipm-path__copy h2,
  .faq-grid h2,
  .governance-grid h2,
  .decision-box h2,
  .prose h2 {
    font-size: 40px;
  }

  .service-grid,
  .service-grid--bento,
  .branch-grid,
  .professional-grid,
  .activity-grid,
  .article-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-grid--bento .service-card:nth-child(1),
  .service-grid--bento .service-card:nth-child(2),
  .service-grid--bento .service-card:nth-child(n + 3) {
    grid-column: auto;
    min-height: 360px;
  }
  .service-grid--bento .service-card:nth-child(1) h3,
  .service-grid--bento .service-card:nth-child(2) h3 {
    font-size: 34px;
  }
  .service-card {
    min-height: 345px;
    padding: 25px;
  }

  .ipm-path__steps li {
    grid-template-columns: 49px 1fr;
    gap: 12px;
  }
  .ipm-path__steps > li > span {
    width: 39px;
    height: 39px;
  }
  .ipm-path__steps h3 {
    font-size: 22px;
  }
  .branch-network {
    min-height: 450px;
  }
  .branch-network__orbit--one {
    inset: 90px 20px 45px;
  }
  .branch-network__orbit--two {
    inset: 145px 75px 100px;
  }
  .branch-network__center {
    width: 105px;
    height: 105px;
  }
  .branch-network__node {
    font-size: 7px;
    padding: 7px 9px;
  }
  .branch-directory {
    padding: 18px 20px 24px;
  }
  .branch-directory > a {
    grid-template-columns: 27px 1fr 20px;
    gap: 10px;
    padding: 18px 0;
  }
  .branch-directory strong {
    font-size: 17px;
  }
  .branch-directory small {
    white-space: normal;
    line-height: 1.35;
  }

  .moment-card {
    grid-column: auto;
  }
  .article-grid--editorial {
    display: grid;
    grid-template-columns: 1fr;
  }
  .article-grid--editorial .article-card:first-child,
  .article-grid--editorial .article-card:not(:first-child) {
    grid-column: auto;
    display: block;
  }
  .article-grid--editorial .article-card:first-child .article-card__visual,
  .article-grid--editorial
    .article-card:not(:first-child)
    .article-card__visual {
    height: 235px;
    min-height: 0;
  }
  .article-grid--editorial
    .article-card:not(:first-child)
    .article-card__body
    > p {
    display: block;
  }

  .page-hero,
  .detail-hero,
  .profile-hero,
  .article-hero {
    padding: 45px 0 72px;
  }
  .breadcrumb {
    margin-bottom: 32px;
  }
  .page-hero h1,
  .detail-hero h1,
  .profile-hero h1,
  .article-hero h1,
  .consultation-copy h1,
  .not-found h1 {
    font-size: 49px;
  }

  .directory-search,
  .content-filter,
  .hero-search {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .directory-search .button,
  .content-filter .button,
  .hero-search .button {
    width: 100%;
  }
  .filter-intro,
  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .decision-box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  .decision-box .button {
    width: 100%;
  }

  .story-visual {
    min-height: 430px;
  }
  .story-visual__ring {
    top: 35px;
    left: 35px;
    width: 130px;
    height: 130px;
  }
  .story-visual__ring strong {
    font-size: 36px;
  }
  .story-visual__quote {
    right: 28px;
    bottom: 32px;
    left: 30px;
    font-size: 34px;
  }
  .value-grid article {
    min-height: 230px;
  }
  .value-grid h3 {
    margin-top: 45px;
  }
  .checklist-card {
    padding: 8px 22px;
  }

  .detail-hero__grid {
    gap: 45px;
  }
  .detail-hero__card,
  .location-card {
    padding: 24px;
  }
  .detail-hero__actions {
    flex-direction: column;
  }
  .detail-hero__actions .button {
    width: 100%;
  }
  .content-sidebar,
  .branch-detail-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .sticky-card {
    position: static;
  }

  .profile-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-hero__photo {
    height: 420px;
  }
  .activity-card:nth-child(3n) {
    grid-column: auto;
  }
  .article-cover {
    height: 330px;
    margin-top: -35px;
    border-width: 6px;
  }
  .article-hero {
    text-align: left;
  }
  .article-hero .breadcrumb,
  .article-byline {
    justify-content: flex-start;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-share {
    position: static;
    display: flex;
    justify-content: flex-start;
  }
  .article-share > span {
    align-self: center;
    margin: 0 4px 0 0;
  }

  .consultation-hero {
    padding: 48px 0 82px;
  }
  .consultation-grid {
    grid-template-columns: 1fr;
  }
  .consultation-form-card {
    padding: 24px;
    border-radius: 25px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field--full {
    grid-column: auto;
  }
  .compact-results a {
    grid-template-columns: 1fr 24px;
    gap: 7px 14px;
  }
  .compact-results a > span,
  .compact-results a > strong,
  .compact-results a > p {
    grid-column: 1;
  }
  .compact-results a > i {
    grid-column: 2;
    grid-row: 1 / 4;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .legal-layout aside {
    position: static;
  }
  .legal-layout nav {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta {
    padding: 72px 0;
  }
  .final-cta__inner {
    gap: 38px;
  }
  .final-cta h2 {
    font-size: 58px;
  }
  .final-cta__actions {
    flex-direction: column;
  }
  .final-cta__actions .button {
    width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
  }
  .footer__bottom > div {
    flex-wrap: wrap;
  }
  .not-found {
    min-height: 650px;
  }
  .not-found__grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .not-found__art span {
    font-size: 90px;
  }
  .not-found__art i {
    width: 58px;
    height: 58px;
    border-width: 12px;
  }
}

@media (max-width: 410px) {
  .brand__text {
    display: none;
  }
  .ipm-hero__actions {
    flex-direction: column;
  }
  .ipm-hero__actions .button {
    width: 100%;
  }
  .branch-network__node--2 {
    right: 3%;
  }
  .branch-network__node--3 {
    right: 1%;
  }
  .legal-layout nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .final-cta,
  .site-footer,
  .article-share {
    display: none !important;
  }

  body {
    color: #000;
  }
  .section {
    padding: 30px 0;
  }
  .container {
    width: 100%;
  }

  .page-hero,
  .detail-hero,
  .profile-hero,
  .article-hero {
    padding: 25px 0;
    color: #000;
    background: #fff;
  }

  .eyebrow--light,
  .page-hero__lead,
  .detail-hero__grid > div:first-child > p,
  .article-hero__inner > p {
    color: #333;
  }
}

/* v4 responsive and accessibility refinements
   ========================================================================== */

body:has(.media-lightbox[open]) {
  overflow: hidden;
}

@media (max-width: 940px) {
  .main-nav.is-open > * {
    animation: mobile-nav-item-in 0.38s both cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .main-nav.is-open > *:nth-child(2) {
    animation-delay: 0.04s;
  }
  .main-nav.is-open > *:nth-child(3) {
    animation-delay: 0.08s;
  }
  .main-nav.is-open > *:nth-child(4) {
    animation-delay: 0.12s;
  }
  .main-nav.is-open > *:nth-child(5) {
    animation-delay: 0.16s;
  }
  .main-nav.is-open > *:nth-child(6) {
    animation-delay: 0.2s;
  }

  @keyframes mobile-nav-item-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .moment-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .media-lightbox__frame {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .media-lightbox__media {
    min-height: 500px;
  }
}

@media (max-width: 700px) {
  .scroll-progress {
    height: 2px;
  }

  .page-intro__mark {
    width: 92px;
    height: 92px;
    border-radius: 28px;
  }

  .service-card,
  .service-card:hover,
  .activity-card[data-motion-card],
  .activity-card[data-motion-card]:hover {
    transform: none;
  }

  .service-card__spotlight {
    display: none;
  }

  .ipm-path__steps li,
  .ipm-path__steps li.is-current {
    transform: none;
  }

  .moment-card {
    flex-basis: 100%;
  }

  .moment-card:hover {
    transform: none;
  }

  .moment-carousel__controls {
    min-height: 58px;
    margin-top: 15px;
    padding-top: 14px;
  }

  .moment-carousel__controls button {
    width: 43px;
    height: 43px;
  }

  .media-trigger__hint {
    opacity: 1;
    transform: none;
  }

  .consultation-widget {
    right: max(13px, env(safe-area-inset-right));
    bottom: max(13px, env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
  }

  .consultation-launcher {
    width: 60px;
    height: 60px;
    border-width: 3px;
    border-radius: 21px;
  }

  .consultation-launcher svg {
    width: 26px;
    height: 26px;
  }

  .consultation-launcher__badge {
    top: -7px;
    right: -5px;
    min-width: 22px;
    height: 22px;
  }

  .consultation-nudge {
    right: 0;
    bottom: 75px;
    width: min(270px, calc(100vw - 28px));
    border-radius: 18px 18px 4px 18px;
  }

  .consultation-chat {
    bottom: 74px;
    width: calc(100vw - 26px);
    max-height: calc(100dvh - 101px);
    border-radius: 24px;
  }

  .consultation-chat__header {
    min-height: 82px;
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    padding: 15px;
  }

  .consultation-chat__avatar {
    width: 48px;
    height: 48px;
  }

  .consultation-chat__body {
    padding: 17px 14px 15px;
  }

  .consultation-chat__message {
    max-width: 96%;
  }

  .consultation-chat__choices a {
    padding: 11px;
  }

  .media-lightbox {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .media-lightbox__frame {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 22px;
  }

  .media-lightbox__media {
    min-height: 0;
    height: min(60dvh, 540px);
  }

  .media-lightbox__media img {
    max-height: 60dvh;
  }

  .media-lightbox__caption {
    min-height: 150px;
    padding: 27px 24px;
  }

  .media-lightbox__caption h2 {
    max-width: calc(100% - 35px);
    font-size: 24px;
  }
}

@media (max-width: 410px) {
  .consultation-nudge strong {
    font-size: 12px;
  }
  .consultation-chat__choices small {
    max-width: 190px;
  }
  .consultation-chat__footer {
    padding-inline: 10px;
  }
}

@media (hover: none) {
  .service-card:hover .icon-chip {
    box-shadow: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .page-intro {
    display: none !important;
  }

  .has-js [data-reveal-item] {
    opacity: 1;
    translate: 0;
    scale: 1;
  }

  .service-card,
  .service-card:hover,
  .activity-card[data-motion-card],
  .activity-card[data-motion-card]:hover {
    transform: none;
  }

  .ipm-path__steps li {
    opacity: 1;
    transform: none;
  }

  .consultation-launcher__ping,
  .consultation-launcher__ring {
    display: none;
  }
}

@media print {
  .scroll-progress,
  .page-intro,
  .consultation-widget,
  .media-lightbox,
  .moment-carousel__controls {
    display: none !important;
  }
}


.ipm-hero__stage {

  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: clamp(34px, 5vw, 74px);
}

.ipm-hero__copy {
  width: auto;
}


.ipm-hero__lower {
  max-width: 680px;
  grid-template-columns: minmax(0, 1fr) 185px;

}

.ipm-hero__media {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  z-index: 2;
  min-width: 0;

  margin: 0;
  overflow: visible;
  border-radius: 40px 40px 120px 40px;
  box-shadow: 0 40px 100px rgba(5, 8, 44, 0.42);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(1.2deg);
  transition: transform 0.24s ease-out;
}

.ipm-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
}

.ipm-hero__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 63, 0.48));
  border-radius: inherit;
}

.ipm-hero__media-orbit {
  position: absolute;
  z-index: -1;
  width: 235px;
  height: 235px;
  right: -64px;
  top: -54px;
  border: 2px solid rgba(255, 212, 61, 0.65);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(255, 212, 61, 0.05),
    0 0 0 64px rgba(255, 255, 255, 0.025);
}

.ipm-hero__media-card {
  position: absolute;
  z-index: 4;
  left: -34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  padding: 12px 16px 12px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.ipm-hero__media-card > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 12px;
}

.ipm-hero__media-card span {
  display: grid;
  gap: 3px;
}

.ipm-hero__media-card small {
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ipm-hero__media-card strong {
  color: var(--navy-800);
  font-size: 11px;
}

.media-disclosure {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 7px 10px;
  color: var(--white);
  background: rgba(10, 14, 63, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.media-disclosure--card {
  top: 12px;
  right: 12px;
  bottom: auto;
}

.profile-hero__photo {
  position: relative;
  margin: 0;
}

.branch-detail-media {
  position: relative;
  margin: 0 0 36px;
  overflow: hidden;
  background: var(--sky);
  border-radius: 28px 28px 88px 28px;
  box-shadow: var(--shadow-sm);
}

.branch-detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ipm-trust {
  background: var(--white);
}

.ipm-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.ipm-trust__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.ipm-trust__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 54%;
  aspect-ratio: 1;
  left: -7%;
  bottom: -12%;
  background: var(--yellow-soft);
  border-radius: 50%;
}

.ipm-trust__media img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 42px 42px 42px 130px;
  box-shadow: var(--shadow);
}

.ipm-trust__content h2 {
  max-width: 680px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.ipm-trust__content > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.ipm-trust__points {
  display: grid;
  gap: 0;
  margin: 32px 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ipm-trust__points li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ipm-trust__points li > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
}

.ipm-trust__points strong {
  color: var(--navy-800);
  font-size: 14px;
}

.ipm-trust__points p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.ipm-team {
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf6, var(--yellow-soft));
}

.professional-grid--home .professional-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(32, 37, 117, 0.1);
}

.ipm-testimonials {
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(82, 115, 218, 0.42),
      transparent 28%
    ),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.ipm-testimonials .eyebrow,
.ipm-testimonials .section-heading p {
  color: #c7cae8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  color: var(--yellow);
}

.testimonial-card__stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 24px 0 30px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card footer > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 600;
}

.testimonial-card footer div {
  display: grid;
}

.testimonial-card footer strong {
  font-size: 11px;
}

.testimonial-card footer small {
  color: #bfc2df;
  font-size: 9px;
}

.moment-card__visual {
  position: relative;
}

.moment-carousel__controls button svg {
  width: 18px;
  height: 18px;
}

.activity-card__gallery {
  position: relative;
  min-width: 0;
  height: 330px;
  overflow: hidden;
  background: var(--sky);
}

.activity-card__gallery .activity-card__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}

.activity-card__thumb {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 14px;
  width: 88px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(10, 14, 63, 0.24);
  cursor: zoom-in;
}

.activity-card__thumb:nth-of-type(2) {
  right: 112px;
}

.activity-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(10, 14, 63, 0.62);
  font-size: 17px;
  font-weight: 600;
}

.activity-card:nth-child(3n) .activity-card__gallery {
  height: 100%;
  min-height: 360px;
}

.media-lightbox__nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(8, 11, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(9px);
  transform: translateY(-50%);
}

.media-lightbox__nav--prev {
  left: 16px;
}
.media-lightbox__nav--next {
  right: 316px;
}

.media-lightbox__caption small {
  margin-top: 22px;
  color: #8f94c3;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cookie-consent {
  position: fixed;
  z-index: 5000;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(980px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(16, 19, 66, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(4, 6, 35, 0.38);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  font-size: 13px;
}

.cookie-consent p {
  margin: 3px 0 0;
  color: #c8cbea;
  font-size: 10px;
}

.cookie-consent > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent .button {
  min-height: 38px;
  padding-inline: 14px;
}

.cookie-consent a {
  margin-left: 4px;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 600;
}

.noscript-note {
  position: fixed;
  z-index: 9999;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 14px;
  font-size: 12px;
}

body[data-motion-level="subtle"] .branch-network__orbit,
body[data-motion-level="subtle"] .branch-network__center,
body[data-motion-level="subtle"] .branch-network__node,
body[data-motion-level="subtle"] .consultation-launcher__ping,
body[data-motion-level="subtle"] .consultation-launcher__ring {
  animation: none !important;
}

body[data-motion-level="off"] *,
body[data-motion-level="off"] *::before,
body[data-motion-level="off"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

body[data-motion-level="off"] .page-intro {
  display: none !important;
}

@media (max-width: 1160px) {
  .ipm-hero__stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    gap: 36px;
  }
  .ipm-hero h1 {
    font-size: clamp(54px, 6.4vw, 78px);
  }
  .ipm-hero__lower {
    grid-template-columns: 1fr;
  }
  .ipm-hero__signal {
    display: none;
  }
  .ipm-hero__media {
    height: 510px;
  }
  .ipm-trust__grid {
    gap: 52px;
  }
}

@media (max-width: 940px) {
  .ipm-hero__stage {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .ipm-hero__copy {
    max-width: 760px;
  }
  .ipm-hero h1 {
    max-width: 780px;
    font-size: clamp(52px, 10vw, 84px);
  }
  .ipm-hero__media {
    height: clamp(400px, 68vw, 610px);
    transform: none;
  }
  .ipm-hero__media-card {
    left: 24px;
  }
  .ipm-trust__grid {
    grid-template-columns: 1fr;
  }
  .ipm-trust__media {
    max-width: 760px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .activity-card:nth-child(3n) .activity-card__gallery {
    min-height: 320px;
  }
  .media-lightbox__nav--next {
    right: 16px;
  }
  .cookie-consent {
    grid-template-columns: 1fr;
  }
  .cookie-consent > div:last-child {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .ipm-hero__stage {
    padding-top: 46px;
  }
  .ipm-hero h1 {
    font-size: clamp(45px, 13vw, 65px);
  }
  .ipm-hero__media {
    height: 430px;
    border-radius: 28px 28px 80px 28px;
  }
  .ipm-hero__media > img {
    object-position: 70% center;
  }
  .ipm-hero__media-card {
    left: 12px;
    right: 12px;
    bottom: 18px;
    min-width: 0;
  }
  .ipm-hero__media .media-disclosure {
    top: 12px;
    right: 12px;
    bottom: auto;
  }
  .ipm-trust__media img {
    min-height: 360px;
    border-radius: 28px 28px 28px 86px;
  }
  .ipm-trust__content h2 {
    font-size: clamp(38px, 12vw, 58px);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    min-height: 260px;
  }
  .activity-card__gallery {
    height: 300px;
  }
  .activity-card__thumb {
    width: 76px;
    height: 58px;
  }
  .activity-card__thumb:nth-of-type(2) {
    right: 98px;
  }
  .media-lightbox__nav {
    top: auto;
    bottom: 128px;
    transform: none;
  }
  .media-lightbox__nav--prev {
    left: 18px;
  }
  .media-lightbox__nav--next {
    right: 18px;
  }
  .cookie-consent {
    padding: 17px;
    border-radius: 18px;
  }
  .cookie-consent > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cookie-consent .button {
    width: 100%;
  }
  .cookie-consent a {
    grid-column: 1 / -1;
    margin: 2px 0 0;
  }
}

@media print {
  .cookie-consent,
  .media-disclosure {
    display: none !important;
  }
}


/* Navigation is intentionally more legible than the former 12px treatment. */
.main-nav {

  font-size: 15px;

}

.main-nav > a:not(.button),
.nav-more > summary {
  letter-spacing: -0.012em;
}

.button--small {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 13px;
}

.nav-more__panel strong {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
}

.nav-more__panel small {
  font-size: 11px;
  font-weight: var(--font-weight-regular);
}

.brand__text strong {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);

}

.brand__text small {
  font-size: 9px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
}

/* Keep display type expressive without the previous ultra-heavy appearance. */
.ipm-hero h1,
.section-heading h2,
.ipm-path__copy h2,
.faq-grid h2,
.governance-grid h2,
.decision-box h2,
.prose h2,
.final-cta h2,
.page-hero h1,
.detail-hero h1,
.profile-hero h1,
.article-hero h1,
.consultation-copy h1,
.not-found h1 {
  font-weight: var(--font-weight-semibold);
}

/* Footer is shorter on desktop too, while preserving all important links. */
.site-footer {
  padding-top: 52px;
}

.site-footer .brand__text strong {
  font-size: 18px;
}

.site-footer .brand__text small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.footer__grid {
  gap: 44px;
}

.footer__brand > p,
.footer__contact p {
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.55;
}

.footer__note {
  margin: -2px 0 13px;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer h3 {
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
}

.site-footer a {
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.5;
}

.footer__bottom {
  min-height: 62px;
  margin-top: 36px;
  font-size: 12px;
}

.footer__bottom a {
  font-size: 12px;
}

.footer__legal-copy > span {
  margin-left: 4px;
}

.footer__legal-copy a {
  color: #d9dcf2;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}

/* Compact responsive rhythm for tablets. */
@media (max-width: 1160px) {
  .main-nav {
    gap: 18px;
    font-size: 14px;
  }

  .button--header {
    padding-inline: 17px;
  }
}

@media (max-width: 940px) {
  .main-nav {
    padding: 18px 22px 24px;
    font-size: 15px;
  }

  .main-nav > a:not(.button),
  .nav-more > summary {
    min-height: 52px;
    font-size: 15px;
  }

  .nav-more__panel a {
    padding: 11px 13px;
  }

  .main-nav .button--header {
    min-height: 49px;
    margin-top: 17px;
    font-size: 13px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading--split,
  .page-hero__grid {
    gap: 28px;
  }

  .page-hero,
  .detail-hero,
  .profile-hero,
  .article-hero {
    padding-block: 42px 58px;
  }

  .final-cta {
    padding: 58px 0;
  }

  .final-cta__inner {
    gap: 30px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer__grid {
    gap: 30px 34px;
  }

  .footer__note {
    display: none;
  }

  .footer__bottom {
    margin-top: 28px;
  }
}

/* Mobile pages use compact cards and sections so content does not feel endless. */
@media (max-width: 700px) {
  body {
    line-height: 1.58;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading--split,
  .page-hero__grid {
    gap: 22px;
  }

  .section-heading h2,
  .ipm-path__copy h2,
  .faq-grid h2,
  .governance-grid h2,
  .decision-box h2,
  .prose h2 {
    font-size: clamp(35px, 10vw, 43px);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .header__inner {
    min-height: 70px;
  }

  .main-nav {
    top: 70px;
    height: calc(100dvh - 70px);
    padding: 14px 18px 22px;
  }

  .main-nav > a:not(.button),
  .nav-more > summary {
    min-height: 50px;
    font-size: 15px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text small {
    margin-top: 4px;
    font-size: 8px;
  }

  .ipm-hero__stage {
    min-height: auto;
    padding: 34px 0 40px;
  }

  .ipm-hero h1 {
    font-size: clamp(43px, 12.5vw, 59px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .ipm-kicker {
    margin-bottom: 18px;
  }

  .ipm-hero__lower {
    gap: 20px;
    margin-top: 25px;
  }

  .ipm-hero__lead {
    margin-bottom: 22px;
  }

  .ipm-hero__media {
    height: 350px;
  }

  .ipm-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ipm-hero__facts > * {
    min-height: 60px;
    padding: 13px 14px;
  }

  .ipm-hero__facts > p {
    grid-column: 1 / -1;
  }


  .service-grid--bento .service-card:nth-child(1),
  .service-grid--bento .service-card:nth-child(2),
  .service-grid--bento .service-card:nth-child(n + 3),
  .service-card {
    min-height: 300px;
    padding: 22px;
  }

  .ipm-path__grid,
  .story-layout,
  .governance-grid,
  .content-sidebar,
  .branch-detail-grid,
  .detail-hero__grid {
    gap: 38px;
  }

  .ipm-path__steps h3 {
    font-size: 20px;
  }

  .branch-network {
    min-height: 380px;
  }

  .story-visual {
    min-height: 360px;
  }

  .profile-hero__photo {
    height: 350px;
  }

  .article-cover {
    height: 280px;
  }

  .consultation-hero {
    padding: 38px 0 56px;
  }

  .consultation-form-card,
  .detail-hero__card,
  .location-card,
  .decision-box {
    padding: 21px;
  }

  .page-hero,
  .detail-hero,
  .profile-hero,
  .article-hero {
    padding: 32px 0 48px;
  }

  .breadcrumb {
    margin-bottom: 22px;
  }

  .page-hero h1,
  .detail-hero h1,
  .profile-hero h1,
  .article-hero h1,
  .consultation-copy h1,
  .not-found h1 {
    font-size: clamp(40px, 12vw, 49px);
  }

  .final-cta {
    padding: 46px 0;
  }

  .final-cta__inner {
    gap: 24px;
  }

  .final-cta h2 {
    font-size: clamp(42px, 12vw, 50px);
    line-height: 0.94;
  }

  .final-cta__side > p {
    margin-bottom: 18px;
  }

  .final-cta__actions {
    gap: 8px;
  }

  .final-cta__actions .button {
    min-height: 48px;
  }

  .site-footer {
    padding-top: 35px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer__brand,
  .footer__contact {
    grid-column: 1 / -1;
  }

  .footer__brand > p {
    display: -webkit-box;
    margin: 10px 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .footer__contact p {
    margin: 8px 0 10px;
  }

  .site-footer h3 {
    margin: 0 0 10px;
  }

  .site-footer a {
    margin-bottom: 6px;
  }

  .social-links {
    gap: 10px 13px;
  }

  .footer__bottom {
    min-height: 0;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 0 18px;
    line-height: 1.55;
  }

  .footer__bottom > div {
    gap: 10px 16px;
  }

  .footer__legal-copy > span {
    display: block;
    margin: 2px 0 0;
  }
}

@media (max-width: 410px) {
  .section {
    padding: 44px 0;
  }

  .ipm-hero__media {
    height: 320px;
  }

  .footer__grid {
    gap-block: 21px;
  }

  .site-footer a {
    font-size: 12px;
  }
}


.home-flow {
  display: flex;
  flex-direction: column;
}
.home-flow > .section {
  order: var(--section-order, 50);
}

.section--compact {
  padding-block: 70px;
}

.footer__group {
  min-width: 0;
}
.footer__group > summary {
  display: none;
  list-style: none;
}
.footer__group > summary::-webkit-details-marker {
  display: none;
}
.footer__group > div {
  display: flex;
  flex-direction: column;
}
.footer__group h3,
.footer__group summary {
  color: var(--white);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
}

.page-hero--activity-detail {
  padding-bottom: 72px;
}
.activity-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}
.activity-detail-hero__copy h1 {
  max-width: 800px;
  margin: 0 0 22px;
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: var(--font-weight-semibold);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.activity-detail-hero__copy > p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}
.activity-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.activity-detail-meta span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.activity-detail-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.35;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(10, 13, 52, 0.28);
}
.activity-detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(42px, 7vw, 92px);
}
.activity-detail-copy {
  max-width: 820px;
}
.activity-detail-share {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #f4f3fb;
  border: 1px solid rgba(32, 37, 117, 0.1);
  border-radius: 20px;
}
.activity-detail-share strong {
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 15px;
}
.activity-detail-share > a:not(.button),
.activity-detail-share > button {
  width: 100%;
  padding: 10px 0;
  color: var(--navy-800);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(32, 37, 117, 0.12);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.activity-detail-share .button {
  margin-top: 8px;
}
.activity-detail-gallery {
  background: #f8f7fc;
}
.activity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.activity-gallery-item {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  background: var(--navy-900);
  border: 0;
  border-radius: 22px;
}
.activity-gallery-item:nth-child(5n + 1),
.activity-gallery-item:nth-child(5n + 5) {
  grid-column: span 8;
}
.activity-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.activity-gallery-item:hover img {
  transform: scale(1.025);
}
.activity-gallery-item > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(16, 20, 66, 0.72);
  border-radius: 12px;
  font-size: 11px;
  text-align: left;
  backdrop-filter: blur(10px);
}

.registration-success {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: 72px 0;
  background: linear-gradient(145deg, #f8f7fc 0%, #fff 55%, #f4f0db 100%);
}
.registration-success__grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 780px);
  justify-content: center;
  align-items: start;
  gap: 36px;
}
.registration-success__mark {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 32px;
  font-size: 48px;
  font-weight: 600;
  box-shadow: 0 20px 45px rgba(40, 42, 93, 0.14);
}
.registration-success__content h1 {
  margin: 6px 0 16px;
  color: var(--navy-950);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.registration-success__content > p {
  max-width: 680px;
  color: #626577;
}
.ticket-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0 20px;
  padding: 18px 20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 18px;
}
.ticket-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ticket-card strong {
  margin-right: auto;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.ticket-card button {
  padding: 9px 12px;
  color: var(--navy-950);
  background: var(--yellow);
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.registration-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
  border: 1px solid rgba(32, 37, 117, 0.1);
  border-radius: 18px;
  overflow: hidden;
}
.registration-summary > div {
  padding: 16px 18px;
}
.registration-summary > div + div {
  border-left: 1px solid rgba(32, 37, 117, 0.1);
}
.registration-summary dt {
  margin-bottom: 5px;
  color: #77798a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.registration-summary dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
}
.registration-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.registration-success__note {
  margin-top: 16px;
  font-size: 12px;
}
.branch-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}
.branch-service-list a {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--navy-800);
  background: rgba(32, 37, 117, 0.07);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.faq-list--search details {
  border-top: 1px solid rgba(32, 37, 117, 0.12);
}
.faq-list--search summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--navy-900);
  font-weight: 600;
  list-style: none;
}
.faq-list--search details > div {
  padding: 0 0 18px;
  color: #666979;
}

@media (max-width: 900px) {
  .activity-detail-hero,
  .activity-detail-layout {
    grid-template-columns: 1fr;
  }
  .activity-detail-hero__media {
    aspect-ratio: 1.5;
  }
  .activity-detail-share {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .activity-detail-share strong,
  .activity-detail-share .button {
    grid-column: 1 / -1;
  }
  .activity-gallery-item,
  .activity-gallery-item:nth-child(5n + 1),
  .activity-gallery-item:nth-child(5n + 5) {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  .section--compact {
    padding-block: 46px;
  }
  .ipm-programs .service-grid,
  .ipm-team .professional-grid,
  .ipm-articles .article-grid,
  .ipm-testimonials .testimonial-grid {
    display: flex;
    gap: 14px;
    margin-right: calc((100vw - var(--container)) / -2);
    padding-right: calc((100vw - var(--container)) / 2);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ipm-programs .service-grid::-webkit-scrollbar,
  .ipm-team .professional-grid::-webkit-scrollbar,
  .ipm-articles .article-grid::-webkit-scrollbar,
  .ipm-testimonials .testimonial-grid::-webkit-scrollbar {
    display: none;
  }
  .ipm-programs .service-card,
  .ipm-team .professional-card,
  .ipm-articles .article-card,
  .ipm-testimonials .testimonial-card {
    flex: 0 0 min(84vw, 340px);
    width: min(84vw, 340px);
    min-height: 290px;
    scroll-snap-align: start;
  }
  .ipm-programs .service-card {
    grid-area: auto !important;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__brand {
    grid-column: 1;
    padding-bottom: 20px;
  }
  .footer__group,
  .footer__contact {
    grid-column: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
  .footer__group > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #fff;
  }
  .footer__group > summary span {
    font-size: 19px;
    font-weight: 400;
    transition: transform 0.2s ease;
  }
  .footer__group[open] > summary span {
    transform: rotate(45deg);
  }
  .footer__group > div {
    padding: 0 0 14px;
  }
  .footer__group > div a,
  .footer__group > div p {
    font-size: 13px;
    line-height: 1.5;
  }
  .footer__contact p {
    margin-top: 0;
  }
  .footer__brand > p {
    font-size: 13px;
    line-height: 1.55;
  }
  .footer__note {
    font-size: 11.5px;
  }
  .footer__bottom,
  .footer__bottom a {
    font-size: 11.5px;
  }
  .activity-detail-hero__copy h1 {
    font-size: clamp(40px, 12vw, 54px);
  }
  .activity-detail-hero__copy > p {
    font-size: 15px;
  }
  .activity-detail-hero__media {
    aspect-ratio: 1.1;
    border-radius: 22px;
  }
  .activity-detail-share {
    grid-template-columns: 1fr;
  }
  .activity-detail-share strong,
  .activity-detail-share .button {
    grid-column: auto;
  }
  .activity-gallery-grid {
    display: flex;
    margin-right: calc((100vw - var(--container)) / -2);
    padding-right: calc((100vw - var(--container)) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .activity-gallery-item,
  .activity-gallery-item:nth-child(5n + 1),
  .activity-gallery-item:nth-child(5n + 5) {
    flex: 0 0 84vw;
    min-height: 330px;
    scroll-snap-align: start;
  }
  .registration-success {
    padding: 46px 0;
  }
  .registration-success__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .registration-success__mark {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 34px;
  }
  .registration-success__content h1 {
    font-size: clamp(40px, 12vw, 52px);
  }
  .ticket-card {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .ticket-card span {
    width: 100%;
  }
  .registration-summary {
    grid-template-columns: 1fr;
  }
  .registration-summary > div + div {
    border-top: 1px solid rgba(32, 37, 117, 0.1);
    border-left: 0;
  }
  .registration-success__actions .button {
    width: 100%;
  }
}

.preview-mode-banner {
  position: sticky;
  top: 88px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 20px;
  color: var(--navy-950);
  background: var(--yellow);
  border-bottom: 1px solid rgba(32, 37, 117, 0.18);
  font-size: 12px;
  font-weight: 600;
}
.preview-mode-banner a {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}
@media (max-width: 700px) {
  .preview-mode-banner {
    top: 70px;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    font-size: 10px;
  }
  .preview-mode-banner span {
    max-width: 70%;
  }
}


/* The supplied official logo is a horizontal lockup. Keep it intact instead of
   forcing it into the former square-logo treatment. */
.brand--official {
  gap: 0;
}
.brand__logo--official {

  height: auto;

  padding: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
}
.brand--footer .brand__logo--official {

  height: auto;
  max-height: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
}

/* Keep utility/square brand placements on the symbol mark. */
.page-intro__mark img,
.consultation-chat__avatar img,
.ipm-hero__media-card > img,
.branch-network__center img {
  object-fit: contain;
}

.button--outline {
  color: var(--navy-800);
  background: transparent;
  border-color: rgba(32, 37, 117, 0.28);
}
.button--outline:hover {
  color: var(--navy-950);
  background: var(--surface);
  border-color: rgba(32, 37, 117, 0.42);
  box-shadow: none;
}

/* About page: official history, vision/mission, ABA method, chairman message. */
.story-layout--official {
  align-items: stretch;
}
.story-visual--brand {
  min-height: 560px;
  background:
    radial-gradient(circle at 68% 20%, rgba(103, 159, 75, 0.28), transparent 30%),
    radial-gradient(circle at 12% 80%, rgba(239, 111, 121, 0.2), transparent 28%),
    linear-gradient(145deg, #101342, #242979 72%, #303998);
}
.story-visual--brand > img {
  position: absolute;
  top: 58px;
  right: 50px;
  width: 138px;
  height: 138px;
  padding: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 34px;
  box-shadow: 0 20px 44px rgba(2, 5, 38, 0.25);
}
.story-layout--official .prose .text-link {
  margin-top: 12px;
  text-decoration: none;
}

.profile-direction .section-heading > p {
  max-width: 560px;
  color: var(--muted);
}
.vision-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}
.vision-card {
  position: relative;
  min-height: 100%;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 212, 61, 0.22), transparent 26%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius);
}
.vision-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.03);
}
.vision-card__label,
.mission-list__label {
  display: inline-flex;
  align-items: center;


  font-weight: var(--font-weight-semibold);

  text-transform: uppercase;
}

.vision-card p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: clamp(70px, 9vw, 112px) 0 0;
  color: #f7f7ff;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: var(--font-weight-medium);
  line-height: 1.22;
  letter-spacing: -0.035em;
}
.mission-list {
  display: grid;


  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mission-list__label {
  width: fit-content;


}
.mission-list article {
  display: grid;


  align-items: start;

  background: #fafaff;
  border: 1px solid #ececf5;

}
.mission-list article > span {


  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--yellow-soft);

  font-size: 11px;
  font-weight: var(--font-weight-semibold);
}
.mission-list article p {
  margin: 1px 0 0;
  color: #4f5368;
  font-size: 14px;
  line-height: 1.62;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}
.method-layout__copy {
  position: sticky;
  top: 126px;
}
.method-layout__copy h2 {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--navy-950);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: var(--font-weight-semibold);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.method-layout__copy p {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--muted);
}
.method-layout__copy .method-lead {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.58;
}
.method-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.method-steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 19px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(19, 23, 70, 0.05);
}
.method-steps li:nth-child(2) {
  background: #fffaf0;
}
.method-steps li:nth-child(3) {
  background: #f3f8f0;
}
.method-steps li > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 18px;
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}
.method-steps small {
  color: var(--green);
  font-size: 9px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.method-steps h3 {
  margin: 3px 0 7px;
  color: var(--navy-950);
  font-size: 23px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.method-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.chair-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}
.chair-layout__identity {
  padding: 30px;
  color: var(--white);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius);
}
.chair-mark {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 48px 0 70px;
  padding: 12px;
  background: var(--white);
  border-radius: 28px;
}
.chair-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.chair-layout__identity h2 {
  margin: 0 0 8px;
  font-size: 31px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.chair-layout__identity > p {
  margin: 0;
  color: #c8cbea;
  font-size: 13px;
}
.chair-message {
  padding-top: 4px;
}
.chair-message > p,
.chair-message__more p {
  color: #4f5368;
  font-size: 16px;
  line-height: 1.78;
}
.chair-message > p:first-child {
  color: var(--navy-950);
  font-size: 20px;
  font-weight: var(--font-weight-medium);
}
.chair-message__more {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.chair-message__more > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  list-style: none;
}
.chair-message__more > summary::-webkit-details-marker {
  display: none;
}
.chair-message__more > summary span {
  font-size: 21px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.chair-message__more[open] > summary span {
  transform: rotate(45deg);
}
.chair-message__more > div {
  padding-bottom: 10px;
}
.chair-message__signature {
  display: grid;
  gap: 2px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.chair-message__signature span,
.chair-message__signature small {
  color: var(--muted);
  font-size: 11px;
}
.chair-message__signature strong {
  margin-top: 8px;
  color: var(--navy-950);
  font-size: 19px;
  font-weight: var(--font-weight-semibold);
}

/* Contact page */
.contact-directory__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
}
.contact-primary-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 4.4vw, 54px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 212, 61, 0.25), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(103, 159, 75, 0.23), transparent 26%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
}
.contact-primary-card::after {
  content: "IPM";
  position: absolute;
  top: 8px;
  right: 24px;
  color: rgba(255, 255, 255, 0.05);
  font-size: clamp(110px, 15vw, 210px);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  letter-spacing: -0.09em;
}
.contact-card__eyebrow {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-primary-card h2 {
  position: relative;
  z-index: 1;
  margin: 12px 0 13px;
  font-size: clamp(37px, 5vw, 62px);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  letter-spacing: -0.055em;
}
.contact-primary-card > p {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0;
  color: #d3d6ee;
  font-size: 14px;
}
.contact-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.contact-primary-card .button--navy {
  color: var(--navy-950);
  background: var(--yellow);
}
.contact-primary-card .button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.contact-primary-card .button--outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.contact-person-grid {
  display: grid;
  gap: 18px;
}
.contact-person-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;

  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-person-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-800);

  font-size: 20px;
  font-weight: var(--font-weight-semibold);
}

.contact-person-card small {
  color: var(--muted);
  font-size: 9px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-person-card h3 {
  margin: 3px 0 4px;
  color: var(--navy-950);
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.1;
}
.contact-person-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.contact-person-card > a {

  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}
.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.contact-channel-card {
  position: relative;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 23px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.contact-channel-card span {
  color: var(--green);
  font-size: 9px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.contact-channel-card strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--navy-950);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
}
.contact-location__card {
  display: grid;
  gap: 18px;
  padding: 32px;
}
.contact-location__card > img {
  width: min(320px, 100%);
  height: auto;
}
.contact-location__card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.contact-location__card .button {
  width: fit-content;
}

/* Footer details for official contact data. */
.footer__contact a span {
  display: block;
  margin-bottom: 1px;
  color: #8589a9;

}

@media (max-width: 1020px) {
  .brand__logo--official {
    width: 218px;
  }
  .vision-mission-grid,
  .method-layout,
  .chair-layout,
  .contact-directory__grid {
    grid-template-columns: 1fr;
  }
  .method-layout__copy {
    position: static;
  }
  .chair-layout__identity {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 24px;
    align-items: center;
  }
  .chair-layout__identity .eyebrow {
    grid-column: 1 / -1;
  }
  .chair-mark {
    grid-row: span 2;
    margin: 22px 0 0;
  }
  .chair-layout__identity h2 {
    align-self: end;
    margin-top: 22px;
  }
  .chair-layout__identity > p {
    align-self: start;
  }
  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .brand__logo--official {
    width: 194px;
    max-height: 56px;
  }
  .story-visual--brand {
    min-height: 330px;
  }
  .story-visual--brand > img {
    top: 30px;
    right: 28px;
    width: 88px;
    height: 88px;
    padding: 9px;
    border-radius: 23px;
  }
  .story-visual--brand .story-visual__ring {
    top: 28px;
    left: 28px;
    width: 118px;
    height: 118px;
  }
  .story-visual--brand .story-visual__quote {
    right: 28px;
    bottom: 30px;
    left: 28px;
    font-size: clamp(27px, 9vw, 37px);
  }
  .vision-card {
    min-height: 360px;
    padding: 27px;
  }
  .vision-card p {
    margin-top: 70px;
    font-size: 23px;
  }
  .mission-list {
    padding: 12px;
  }
  .mission-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 15px;
  }
  .mission-list article > span {
    width: 38px;
    height: 38px;
  }
  .mission-list article p {
    font-size: 13px;
  }
  .method-layout {
    gap: 30px;
  }
  .method-layout__copy h2 {
    font-size: clamp(37px, 10.5vw, 48px);
  }
  .method-layout__copy .method-lead {
    font-size: 16px;
  }
  .method-steps li {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 19px;
  }
  .method-steps li > span {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .method-steps h3 {
    font-size: 20px;
  }
  .chair-layout {
    gap: 28px;
  }
  .chair-layout__identity {
    display: block;
    padding: 25px;
  }
  .chair-mark {
    width: 88px;
    height: 88px;
    margin: 34px 0 42px;
    border-radius: 22px;
  }
  .chair-layout__identity h2 {
    margin-top: 0;
    font-size: 27px;
  }
  .chair-message > p,
  .chair-message__more p {
    font-size: 14px;
    line-height: 1.7;
  }
  .chair-message > p:first-child {
    font-size: 17px;
  }
  .contact-primary-card {
    min-height: 350px;
    padding: 26px;
    border-radius: 28px;
  }
  .contact-primary-card h2 {
    font-size: clamp(36px, 11vw, 48px);
  }
  .contact-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-card__actions .button {
    width: 100%;
  }
  .contact-person-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }
  .contact-person-card__icon {
    width: 52px;
    height: 52px;
  }
  .contact-person-card > a {
    grid-column: 2;
  }
  .contact-channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .contact-channel-card {
    min-height: 145px;
    padding: 18px;
  }
  .contact-channel-card strong {
    font-size: 13px;
  }
  .contact-location__card {
    padding: 23px;
  }
  .brand--footer .brand__logo--official {
    width: 225px;
  }
}

@media (max-width: 430px) {
  .brand__logo--official {
    width: 177px;
  }
  .contact-channel-grid {
    grid-template-columns: 1fr;
  }
  .contact-channel-card {
    min-height: 126px;
  }
}


.contact-card__eyebrow,
.contact-person-card small,
.contact-channel-card span {
  font-size: 10.5px;
}
.footer__contact a span {
  font-size: 11.5px;
}
@media (max-width: 430px) {
  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-channel-card {
    min-height: 122px;
    padding: 16px;
  }
  .contact-channel-card strong {
    font-size: 12.5px;
  }
}


html {
  font-size: 16px;
}
body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: var(--font-weight-regular);

  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  letter-spacing: 0;
}
p,
li,
dd,
dt,
label,
small,
span,
a {
  letter-spacing: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
.ipm-hero h1,
.page-hero h1,
.detail-hero h1,
.profile-hero h1,
.article-hero h1,
.consultation-copy h1,
.not-found h1,
.section-heading h2,
.ipm-path__copy h2,
.faq-grid h2,
.governance-grid h2,
.decision-box h2,
.prose h2,
.final-cta h2,
.contact-primary-card h2 {
  font-family: var(--font);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.012em;

}
.main-nav,
.main-nav > a:not(.button),
.nav-more > summary,
.nav-more__panel strong,
.button,
.button--small,
.brand__text strong,
.site-footer a,
.footer__bottom,
.footer__bottom a {
  letter-spacing: 0;
}
.main-nav {
  font-weight: var(--font-weight-semibold);
}
.brand__text strong {
  letter-spacing: -0.005em;
}
.brand__text small,
.site-footer .brand__text small,
.eyebrow,
.hero-eyebrow,
.contact-card__eyebrow,
.contact-person-card small,
.contact-channel-card span,
[class*="__eyebrow"] {
  letter-spacing: 0.055em;
}
.prose,
.prose p,
.article-body,
.article-body p,
.footer__brand > p,
.footer__contact p,
.footer__note,
.contact-primary-card > p,
.contact-person-card p,
.contact-location__card > p {
  line-height: 1.68;
}
@media (max-width: 700px) {
  body {
    line-height: 1.62;
  }
  h1,
  h2,
  h3,
  .ipm-hero h1,
  .page-hero h1,
  .detail-hero h1,
  .profile-hero h1,
  .article-hero h1,
  .consultation-copy h1,
  .section-heading h2,
  .contact-primary-card h2 {
    letter-spacing: -0.008em;
    line-height: 1.14;
  }
}


body {
  line-height: var(--leading-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.ipm-hero h1,
.page-hero h1,
.detail-hero h1,
.profile-hero h1,
.article-hero h1,
.consultation-copy h1,
.not-found h1,
.section-heading h2,
.ipm-path__copy h2,
.faq-grid h2,
.governance-grid h2,
.decision-box h2,
.prose h2,
.final-cta h2,
.contact-primary-card h2 {
  line-height: var(--leading-heading);
}

.ipm-hero__lead,
.prose,
.prose p,
.article-body,
.article-body p,
.contact-primary-card > p,
.contact-person-card p,
.contact-location__card > p,
.method-layout__copy .method-lead,
.mission-list article p,
.chair-message > p,
.chair-message__more p {
  line-height: var(--leading-copy);
}

.card p,
.program-card p,
.team-card p,
.article-card p,
.branch-card p,
.activity-card p,
.testimonial-card p,
.faq-item p,
.consultation-chat__message p {
  line-height: 1.48;
}

.site-footer,
.footer__brand > p,
.footer__contact p,
.footer__note,
.site-footer a,
.footer__bottom,
.footer__bottom a,
.footer__group > div a,
.footer__group > div p {
  line-height: var(--leading-compact);
}

/* The new three-line official lockup is taller than the previous artwork,
   so size it by visual balance rather than forcing the old dimensions. */
.brand__logo--official {
  width: clamp(222px, 19vw, 258px);
  max-height: 70px;
}
.brand--footer .brand__logo--official {
  width: min(278px, 100%);
}
.contact-location__card > img[src*="logo-insan-pelangi-mandiri"] {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1020px) {
  .brand__logo--official {
    width: 218px;
    max-height: 64px;
  }
}

@media (max-width: 700px) {
  body {
    line-height: 1.5;
  }
  h1,
  h2,
  h3,
  .ipm-hero h1,
  .page-hero h1,
  .detail-hero h1,
  .profile-hero h1,
  .article-hero h1,
  .consultation-copy h1,
  .section-heading h2,
  .contact-primary-card h2 {
    line-height: 1.1;
  }
  .prose,
  .prose p,
  .article-body,
  .article-body p,
  .chair-message > p,
  .chair-message__more p,
  .method-layout__copy .method-lead,
  .mission-list article p {
    line-height: 1.52;
  }
  .brand__logo--official {
    width: 190px;
    max-height: 58px;
  }
  .brand--footer .brand__logo--official {
    width: 242px;
  }
}

@media (max-width: 430px) {
  .brand__logo--official {
    width: 174px;
    max-height: 54px;
  }
  .brand--footer .brand__logo--official {
    width: 224px;
  }
}


/* Public-only rhythm values. The shared Content Studio design system remains
   untouched so these refinements are scoped to the website presentation. */
body {
  --leading-body: 1.48;
  --leading-copy: 1.5;
  --leading-compact: 1.4;
  --leading-heading: 1.03;
}

/* Large display copy needs a tighter leading than ordinary headings. */
.ipm-hero h1 {
  max-width: 720px;
  font-size: clamp(56px, 5.7vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.section-heading h2,
.ipm-path__copy h2,
.faq-grid h2,
.governance-grid h2,
.decision-box h2,
.prose h2,
.final-cta h2,
.contact-primary-card h2,
.page-hero h1,
.detail-hero h1,
.profile-hero h1,
.article-hero h1,
.consultation-copy h1,
.not-found h1 {
  line-height: 1.02;
}

h3,
.moment-card h3,
.article-card h3,
.service-card h3,
.team-card h3,
.branch-card h3,
.activity-card h2,
.activity-card h3 {
  line-height: 1.12;
}

.ipm-hero__lead,
.section-heading--split > div:last-child > p,
.section-heading--center > p,
.card p,
.program-card p,
.team-card p,
.article-card p,
.branch-card p,
.activity-card p,
.testimonial-card p,
.faq-item p,
.consultation-chat__message p {
  line-height: 1.46;
}

/* Reduce the double whitespace created when one padded section follows another. */
.section {
  padding-block: clamp(60px, 4.5vw, 76px);
}

.home-flow > .section {
  padding-block: clamp(54px, 4vw, 68px);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading--split {
  gap: clamp(36px, 4.5vw, 62px);
}

.eyebrow {
  margin-bottom: 11px;
}

.section-heading--split > div:last-child > p {
  margin-bottom: 16px;
}

/* Activity-to-article transition was visually the most spacious area on home. */
.ipm-moments {
  padding-bottom: clamp(34px, 2.6vw, 44px);
}

.ipm-articles {
  padding-top: clamp(38px, 3vw, 50px);
}

.moment-carousel__controls {
  min-height: 58px;
  margin-top: 18px;
  padding-top: 14px;
}

.moment-carousel__controls button {
  width: 44px;
  height: 44px;
}

/* Hero content is kept generous but no longer vertically stretched. */
.ipm-hero__stage {
  min-height: 650px;
  padding-block: 54px 60px;
}

.ipm-kicker {
  margin-bottom: 18px;
}

.ipm-hero__lower {
  gap: 30px;
  margin-top: 30px;
}

.ipm-hero__lead {
  margin-bottom: 23px;
}

.ipm-hero__media {
  height: min(520px, 68vw);
}

/* Keep text blocks close to their own headings without crowding them. */
.prose > * + *,
.article-body > * + * {
  margin-top: 0.9em;
}

.prose h2,
.prose h3,
.article-body h2,
.article-body h3 {
  margin-top: 1.35em;
  margin-bottom: 0.5em;
}

@media (max-width: 1160px) {
  .section,
  .home-flow > .section {
    padding-block: 56px;
  }

  .ipm-moments {
    padding-bottom: 34px;
  }

  .ipm-articles {
    padding-top: 38px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .ipm-hero h1 {
    font-size: clamp(54px, 7vw, 78px);
    line-height: 0.95;
  }
}

@media (max-width: 700px) {
  body {
    --leading-body: 1.46;
    --leading-copy: 1.48;
    --leading-compact: 1.38;
    --leading-heading: 1.04;
  }

  .section,
  .home-flow > .section {
    padding-block: 44px;
  }

  .ipm-moments {
    padding-bottom: 28px;
  }

  .ipm-articles {
    padding-top: 32px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading--split,
  .page-hero__grid {
    gap: 18px;
  }

  .section-heading h2,
  .ipm-path__copy h2,
  .faq-grid h2,
  .governance-grid h2,
  .decision-box h2,
  .prose h2,
  .contact-primary-card h2 {
    line-height: 1.03;
  }

  .ipm-hero__stage {
    padding-block: 30px 36px;
  }

  .ipm-hero h1 {
    font-size: clamp(42px, 11.8vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.008em;
  }

  .ipm-kicker {
    margin-bottom: 15px;
  }

  .ipm-hero__lower {
    gap: 17px;
    margin-top: 21px;
  }

  .ipm-hero__lead {
    margin-bottom: 19px;
    line-height: 1.46;
  }

  .ipm-hero__media {
    height: 330px;
  }

  .moment-carousel__controls {
    min-height: 52px;
    margin-top: 14px;
    padding-top: 11px;
  }

  .moment-carousel__controls button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 410px) {
  .section,
  .home-flow > .section {
    padding-block: 40px;
  }

  .ipm-moments {
    padding-bottom: 25px;
  }

  .ipm-articles {
    padding-top: 28px;
  }
}


/* Header: clearer information architecture after official profile material. */
.main-nav {
  gap: clamp(16px, 1.5vw, 24px);
}


.nav-more__panel a {
  border-radius: 15px;
}

.nav-more__panel a strong {
  line-height: 1.18;
}

.nav-more__panel a small {
  line-height: 1.35;
}

/* Homepage chairperson feature: editorial, compact and photo-led when available. */
.ipm-chair-home {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 212, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #f7f8ff 0%, #ffffff 48%, #f6f7fc 100%);
}

.chair-home {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 70px);
}

.chair-home__portrait {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.chair-home__portrait > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.chair-home__portrait--placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 212, 61, 0.2), transparent 26%),
    linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.chair-home__brandmark {
  width: min(48%, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(9, 13, 58, 0.22);
}

.chair-home__brandmark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chair-home__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chair-home__copy {
  align-self: center;
  max-width: 790px;
}

.chair-home__copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.01;
  letter-spacing: -0.012em;
}

.chair-home__copy blockquote {
  position: relative;
  margin: 24px 0 22px;
  padding: 0 0 0 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  border-left: 3px solid var(--yellow);
}

.chair-home__identity {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chair-home__identity > div {
  display: grid;
  gap: 3px;
}

.chair-home__identity strong {
  color: var(--navy-950);
  font-size: 16px;
}

.chair-home__identity span {
  color: var(--muted);
  font-size: 13px;
}

/* Compact home combines activity + articles to prevent excessive scrolling. */
.ipm-updates-compact {
  background: #f7f8fc;
}

.updates-compact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
}

.updates-compact__activity {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.updates-compact__media {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: var(--navy-900);
}

.updates-compact__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.updates-compact__activity:hover .updates-compact__media img {
  transform: scale(1.025);
}

.updates-compact__media > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.2);
  font-size: 84px;
  font-weight: 700;
}

.updates-compact__activity > div {
  padding: 22px 24px 24px;
}

.updates-compact__activity h3 {
  margin: 7px 0 8px;
  color: var(--navy-950);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.08;
}

.updates-compact__activity p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.46;
}

.updates-compact__articles {
  align-self: stretch;
  padding: 4px 0;
}

.updates-compact__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--line);
}

.updates-compact__head span {
  color: var(--navy-950);
  font-weight: 700;
}

.updates-compact__head a {
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 600;
}

.updates-compact__article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: start;
  padding: 18px 2px;
  color: inherit;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.updates-compact__article > span {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
}

.updates-compact__article small {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.updates-compact__article strong {
  display: block;
  color: var(--navy-950);
  font-size: 18px;
  line-height: 1.18;
}

.updates-compact__article p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.updates-compact__article svg {
  width: 18px;
  height: 18px;
  color: var(--navy-700);
  transition: transform var(--transition);
}

.updates-compact__article:hover svg {
  transform: translateX(4px);
}

/* Compact path: keep four steps but reduce vertical footprint. */
.ipm-path__steps {
  gap: 0;
}

.ipm-path__steps li {
  padding-block: 16px;
}

.ipm-path__steps p {
  margin-top: 4px;
  line-height: 1.42;
}

/* About page: photo-led chairperson presentation, closer to editorial profile sites. */
.chair-layout--editorial {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.chair-layout__portrait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.chair-layout__portrait > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.chair-layout__portrait--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 212, 61, .18), transparent 26%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
}

.chair-layout__brandmark {
  width: min(52%, 230px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: 38px;
  background: rgba(255,255,255,.96);
}

.chair-layout__brandmark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chair-layout__portrait-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(10,14,55,.14);
}

.chair-layout__portrait-caption strong {
  color: var(--navy-950);
  font-size: 15px;
}

.chair-layout__portrait-caption span {
  color: var(--muted);
  font-size: 12px;
}

.chair-message--editorial h2 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}

.chair-message--editorial > p {
  margin: 0 0 12px;
  line-height: 1.5;
}

/* Anchor links should not hide behind the sticky header. */
#profil-ipm,
#visi-misi,
#metode-aba,
#sambutan-ketua-yayasan,
#faq {
  scroll-margin-top: 110px;
}

/* The official profile page already carries a lot of content: keep its rhythm tighter. */
.about-story-section,
.profile-direction,
.method-section,
.chair-section {
  padding-block: clamp(52px, 4vw, 68px);
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 14px;
  }

  .chair-home,
  .chair-layout--editorial,
  .updates-compact {
    gap: 30px;
  }
}

@media (max-width: 940px) {
  .nav-more--profile .nav-more__panel {
    width: auto;
    grid-template-columns: 1fr;
  }

  .chair-home,
  .chair-layout--editorial,
  .updates-compact {
    grid-template-columns: 1fr;
  }

  .chair-home__portrait {
    min-height: 360px;
    max-height: 520px;
  }

  .chair-layout__portrait {
    min-height: 420px;
    max-height: 620px;
  }

  .chair-home__portrait > img,
  .chair-layout__portrait > img {
    min-height: inherit;
  }

  .updates-compact__activity {
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr;
  }
}

@media (max-width: 700px) {
  .chair-home__portrait,
  .chair-layout__portrait {
    min-height: 340px;
    border-radius: 24px;
  }

  .chair-home__copy h2,
  .chair-message--editorial h2 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.04;
  }

  .chair-home__copy blockquote {
    margin-block: 18px;
    padding-left: 17px;
  }

  .chair-home__identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .updates-compact__activity {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .updates-compact__media,
  .updates-compact__media img {
    min-height: 230px;
  }

  .updates-compact__article {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 10px;
    padding-block: 15px;
  }

  .about-story-section,
  .profile-direction,
  .method-section,
  .chair-section {
    padding-block: 44px;
  }
}

.branch-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.branch-compact-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.branch-compact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 37, 117, .2);
  box-shadow: var(--shadow-sm);
}

.branch-compact-card > span {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
}

.branch-compact-card div {
  display: grid;
  gap: 3px;
}

.branch-compact-card strong {
  color: var(--navy-950);
  font-size: 18px;
}

.branch-compact-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.branch-compact-card svg {
  width: 18px;
  height: 18px;
  color: var(--navy-700);
}

@media (max-width: 700px) {
  .branch-compact-grid {
    grid-template-columns: 1fr;
  }

  .branch-compact-card {
    min-height: 82px;
    padding: 15px 16px;
  }
}

.ipm-path--compact .ipm-path__grid {
  grid-template-columns: 1fr;
  gap: 28px;
}

.ipm-path--compact .ipm-path__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  column-gap: 44px;
  align-items: end;
  max-width: none;
}

.ipm-path--compact .ipm-path__copy .eyebrow,
.ipm-path--compact .ipm-path__copy h2 {
  grid-column: 1;
}

.ipm-path--compact .ipm-path__copy > p,
.ipm-path--compact .ipm-path__copy > .button {
  grid-column: 2;
}

.ipm-path--compact .ipm-path__copy > p {
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 0 54px;
}

.ipm-path--compact .ipm-path__copy > .button {
  align-self: end;
  justify-self: start;
}

.ipm-path--compact .ipm-path__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.ipm-path--compact .ipm-path__steps li {
  display: block;
  padding: 18px 18px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.ipm-path--compact .ipm-path__steps li:last-child {
  border-right: 0;
}

.ipm-path--compact .ipm-path__steps > li > span {
  display: inline-flex;
  margin-bottom: 12px;
}

.ipm-path--compact .ipm-path__steps h3 {
  font-size: 18px;
}

.ipm-path--compact .ipm-path__steps p {
  font-size: 12px;
}

@media (max-width: 900px) {
  .ipm-path--compact .ipm-path__copy {
    grid-template-columns: 1fr;
  }

  .ipm-path--compact .ipm-path__copy .eyebrow,
  .ipm-path--compact .ipm-path__copy h2,
  .ipm-path--compact .ipm-path__copy > p,
  .ipm-path--compact .ipm-path__copy > .button {
    grid-column: 1;
    grid-row: auto;
  }

  .ipm-path--compact .ipm-path__copy > p {
    margin: 0 0 4px;
  }

  .ipm-path--compact .ipm-path__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ipm-path--compact .ipm-path__steps li:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .ipm-path--compact .ipm-path__steps {
    grid-template-columns: 1fr;
  }

  .ipm-path--compact .ipm-path__steps li {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}


/* Keep the Tentang dropdown linear. The menu order now mirrors the page order. */
.nav-more--profile .nav-more__panel {
  width: min(410px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px;
}

.nav-more--profile .nav-more__panel a {
  min-height: 56px;
  padding: 10px 13px;
  align-content: center;
}

/* Compact in-page index: same sequence as Tentang dropdown. */
.about-section-nav {
  position: relative;
  z-index: 4;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(17, 22, 76, 0.035);
}

.about-section-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.about-section-nav__inner a {
  display: flex;
  align-items: center;

  min-width: 0;
  padding: 15px 12px;
  color: var(--navy-800);
  border-right: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease;
}

.about-section-nav__inner a:first-child {
  border-left: 1px solid var(--line);
}

.about-section-nav__inner a:hover,
.about-section-nav__inner a:focus-visible {
  color: var(--navy-950);
  background: var(--surface);
}

.about-section-nav__inner span {
  flex: 0 0 auto;


  font-weight: 700;

}

.about-section-nav__inner strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}

/* All anchor destinations use one offset so navigation never appears to jump erratically. */
#profil-ipm,
#sambutan-ketua-yayasan,
#visi-misi,
#metode-aba {
  scroll-margin-top: 104px;
}

/* Alternating sections make the reading order visually obvious without adding height. */
.about-story-section,
.chair-section,
.profile-direction,
.method-section {
  position: relative;
}

@media (max-width: 940px) {
  .nav-more--profile .nav-more__panel {
    width: auto;
    gap: 0;
    padding: 6px 0 8px 15px;
  }

  .nav-more--profile .nav-more__panel a {
    min-height: 48px;
    padding: 8px 10px;
  }

  .about-section-nav {
    overflow: hidden;
  }

  .about-section-nav__inner {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding-inline: 18px;
    scroll-snap-type: x proximity;
  }

  .about-section-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .about-section-nav__inner a {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 14px;
    border-left: 0;
    scroll-snap-align: start;
  }

  .about-section-nav__inner a:first-child {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .about-section-nav__inner {
    padding-inline: 12px;
  }

  .about-section-nav__inner a {
    padding: 11px 12px;
    font-size: 11.5px;
  }
}


.button svg,
.text-link svg,
.nav-search svg,
.social-links a svg,
.footer__contact a svg,
.contact-person-card__icon svg,
.vision-card__label svg,
.mission-list__label svg,
.contact-person-card > a svg {
  width: 17px;
  height: 17px;
}

.nav-search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--navy-900);
  background: rgba(32, 37, 117, 0.06);
  border: 1px solid rgba(32, 37, 117, 0.08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav-search:hover,
.nav-search:focus-visible {
  transform: translateY(-1px);
  background: rgba(32, 37, 117, 0.1);
  border-color: rgba(32, 37, 117, 0.14);
}

.icon-chip {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(32, 37, 117, 0.08);
  box-shadow: 0 10px 24px rgba(18, 24, 76, 0.08);
}
.icon-chip svg {
  width: 24px;
  height: 24px;
}

.vision-card__label,
.mission-list__label {
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(18, 24, 76, 0.08);
}
.vision-card__label {
  color: var(--navy-950);
  background: var(--yellow);
}
.mission-list__label {
  color: var(--green);
  background: #edf6e8;
  margin: 4px 6px 4px;
}
.vision-card__label svg,
.mission-list__label svg {
  width: 15px;
  height: 15px;
}
.vision-card p {
  margin-top: clamp(26px, 4vw, 38px);
}
.mission-list {
  gap: 12px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(17, 22, 76, 0.05);
}
.mission-list article {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(17, 22, 76, 0.04);
}
.mission-list article > span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 212, 61, 0.34);
}

.about-section-nav__inner a {
  gap: 12px;
}
.about-section-nav__inner span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green);
  background: rgba(103, 159, 75, 0.1);
  font-size: 10px;
  letter-spacing: 0;
}

.social-links {
  gap: 10px;
  flex-wrap: wrap;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f5f6ff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 18px rgba(17, 22, 76, 0.04);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  color: var(--yellow);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 12px 24px rgba(4, 7, 37, 0.16);
}

.footer__contact a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
.footer__contact a svg {
  margin-top: 2px;
  color: #d7daf4;
}
.footer__contact a div {
  display: grid;
  gap: 2px;
}
.footer__contact a strong {
  color: #f5f6ff;
  font-size: 13px;
}

.contact-person-card {
  gap: 16px;
}
.contact-person-card__icon {
  border-radius: 16px;
  border: 1px solid rgba(32, 37, 117, 0.08);
  box-shadow: 0 12px 24px rgba(17, 22, 76, 0.08);
}
.contact-person-card:nth-child(2) .contact-person-card__icon {
  background: linear-gradient(145deg, #679f4b, #4f8a38);
}
.contact-person-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(32, 37, 117, 0.1);
  background: #fff;
  color: var(--navy-900);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17, 22, 76, 0.04);
}
.contact-person-card > a:hover,
.contact-person-card > a:focus-visible {
  border-color: rgba(32, 37, 117, 0.18);
  box-shadow: 0 10px 20px rgba(17, 22, 76, 0.08);
}

.consultation-launcher {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(16, 21, 77, 0.24);
}


@media (max-width: 760px) {
  .vision-card__label,
  .mission-list__label {
    min-height: 38px;
    padding: 0 13px;
  }
  .social-links a {
    padding: 8px 11px;
  }
  .contact-person-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .contact-person-card > a {
    justify-self: start;
    margin-left: 68px;
  }
}


/* Shared icon presentation for public components. */
.contact-channel-card__icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--icon-radius);
}

.contact-channel-card__icon .ipm-icon {
  width: 19px;
  height: 19px;
}

.contact-channel-card__arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 17px;
  height: 17px;
  color: #8d92ad;
}

.location-card__map b .ipm-icon,
.empty-state > span .ipm-icon {
  width: 23px;
  height: 23px;
}

.registration-success__mark .ipm-icon {
  width: 46px;
  height: 46px;
}

.media-lightbox__nav .ipm-icon {
  width: 19px;
  height: 19px;
}

.profile-location strong .ipm-icon,
.contact-line .ipm-icon,
.moment-card__link .ipm-icon,
.updates-compact__head a .ipm-icon,
.contact-channel-card__arrow {
  vertical-align: -0.18em;
}

@media (max-width: 700px) {
  .registration-success__mark .ipm-icon {
    width: 32px;
    height: 32px;
  }
}


/* ==============================
   v4.5.5 visual polish & layout repair
   ============================== */

.header__inner {
  min-height: 78px;
  gap: 24px;
}

.brand--official .brand__logo--official {
  width: auto;
  height: 56px;
  max-width: min(270px, 34vw);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.main-nav {
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav > a:not(.button),
.nav-more > summary {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.button)::after,
.nav-more > summary::after {
  bottom: 8px;
  left: 12px;
  right: calc(100% - 12px);
  height: 2px;
}

.nav-more__panel {
  top: calc(100% + 8px);
  right: 0;
}

.nav-search {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
}

.button--header {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.section {
  padding-block: 72px;
}

.section-heading,
.section-heading--split {
  margin-bottom: 30px;
}

.section-heading--split {
  gap: 20px 42px;
  align-items: end;
}

.section-heading h2,
.ipm-path__copy h2,
.ipm-hero__copy h1,
.final-cta h2 {
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading h2 {
  max-width: 11ch;
}

.section-heading--split > div:last-child > p {
  max-width: 520px;
  margin-top: 8px;
}

.service-card,
.activity-card,
.article-card,
.branch-compact-card,
.faq-card,
.testimonial-card,
.contact-person-card {
  box-shadow: 0 16px 36px rgba(18, 24, 76, 0.06);
}

.ipm-path {
  padding-block: 68px 72px;
}

.ipm-path::before {
  top: -180px;
  right: -210px;
  width: 540px;
  height: 540px;
  opacity: 0.7;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.11), 0 0 0 120px rgba(255, 255, 255, 0.05);
}

.ipm-path--compact .ipm-path__grid {
  gap: 34px;
}

.ipm-path--compact .ipm-path__copy {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 14px 44px;
  align-items: end;
}

.ipm-path--compact .ipm-path__copy .eyebrow,
.ipm-path--compact .ipm-path__copy h2 {
  grid-column: 1;
}

.ipm-path--compact .ipm-path__copy h2 {
  max-width: 8.4ch;
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
}

.ipm-path--compact .ipm-path__copy > p,
.ipm-path--compact .ipm-path__copy > .button {
  grid-column: 2;
}

.ipm-path--compact .ipm-path__copy > p {
  grid-row: 1 / span 2;
  max-width: 430px;
  margin: 0 0 12px;
  align-self: end;
  font-size: 16px;
  line-height: 1.52;
}

.ipm-path--compact .ipm-path__copy > .button {
  align-self: start;
  justify-self: start;
  margin-top: 2px;
}

.ipm-path--compact .ipm-path__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(23, 26, 67, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.ipm-path--compact .ipm-path__steps li,
.ipm-path--compact .ipm-path__steps li:last-child {
  display: block;
  min-height: 210px;
  padding: 22px 20px 20px;
  border-right: 1px solid rgba(23, 26, 67, 0.1);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.ipm-path--compact .ipm-path__steps li:last-child {
  border-right: 0;
}

.ipm-path--compact .ipm-path__steps > li > span {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  font-size: 10px;
  background: rgba(32, 37, 117, 0.8);
  box-shadow: 0 8px 18px rgba(18, 24, 76, 0.14);
}

.ipm-path--compact .ipm-path__steps small {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.ipm-path--compact .ipm-path__steps h3 {
  margin: 4px 0 8px;
  font-size: 21px;
  line-height: 1.1;
}

.ipm-path--compact .ipm-path__steps p {
  font-size: 13px;
  line-height: 1.52;
}

.ipm-branches .section-heading h2 {
  max-width: 10ch;
}

.consultation-launcher {
  right: 24px;
  bottom: 24px;
}

.consultation-launcher__panel {
  max-width: min(300px, calc(100vw - 92px));
}

.site-footer {
  padding-top: 62px;
}

@media (max-width: 1180px) {
  .ipm-path--compact .ipm-path__copy {
    grid-template-columns: 1fr;
  }

  .ipm-path--compact .ipm-path__copy .eyebrow,
  .ipm-path--compact .ipm-path__copy h2,
  .ipm-path--compact .ipm-path__copy > p,
  .ipm-path--compact .ipm-path__copy > .button {
    grid-column: 1;
    grid-row: auto;
  }

  .ipm-path--compact .ipm-path__copy > p {
    max-width: 640px;
    margin: 0 0 6px;
  }

  .ipm-path--compact .ipm-path__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ipm-path--compact .ipm-path__steps li:nth-child(2) {
    border-right: 0;
  }

  .ipm-path--compact .ipm-path__steps li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 26, 67, 0.1);
  }
}

@media (max-width: 980px) {
  .header__inner {
    min-height: 74px;
    gap: 18px;
  }

  .brand--official .brand__logo--official {
    height: 48px;
    max-width: 210px;
  }
}

@media (max-width: 760px) {
  .section {
    padding-block: 58px;
  }

  .section-heading h2,
  .ipm-path--compact .ipm-path__copy h2 {
    max-width: none;
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-heading,
  .section-heading--split {
    margin-bottom: 24px;
  }

  .ipm-path {
    padding-block: 56px 60px;
  }

  .ipm-path--compact .ipm-path__steps {
    grid-template-columns: 1fr;
  }

  .ipm-path--compact .ipm-path__steps li {
    min-height: auto;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 26, 67, 0.1);
  }

  .ipm-path--compact .ipm-path__steps li:last-child {
    border-bottom: 0;
  }

  .consultation-launcher {
    right: 16px;
    bottom: 16px;
  }
}


/* ==============================
   v4.5.9 activity page visual repair
   ============================== */
.activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.activity-card,
.activity-card:nth-child(3n) {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-width: 0;
  min-height: 100%;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(17, 22, 76, 0.07);
}

.activity-card__gallery,
.activity-card__visual {
  height: 280px;
  border-bottom: 1px solid rgba(28, 33, 92, 0.06);
}

.activity-card__visual--placeholder {
  min-height: 280px;
}

.activity-card__gallery .activity-card__visual {
  border-bottom: 0;
}

.activity-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 24px 24px 22px;
}

.activity-card__meta {
  margin: 0;
  color: var(--green);
}

.activity-card h2 {
  margin: 0;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.activity-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: auto;
  padding: 11px 16px;
  color: var(--navy-900);
  background: rgba(32, 37, 117, 0.05);
  border: 1px solid rgba(32, 37, 117, 0.08);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.activity-card__detail:hover,
.activity-card__detail:focus-visible {
  transform: translateY(-1px);
  background: rgba(32, 37, 117, 0.08);
  border-color: rgba(32, 37, 117, 0.14);
  box-shadow: 0 10px 20px rgba(17, 22, 76, 0.08);
}

.activity-card__detail svg {
  width: 16px;
  height: 16px;
}

.activity-card__thumb {
  width: 84px;
  height: 64px;
  right: 16px;
  bottom: 16px;
  border-radius: 14px;
}

.activity-card__thumb:nth-of-type(2) {
  right: 108px;
}

.activity-card__more {
  font-size: 15px;
  font-weight: 700;
}

.page-hero--activities + .section {
  padding-top: 42px;
}

.activity-grid + .pager-nav {
  margin-top: 34px;
}

@media (max-width: 1180px) {
  .activity-card h2 {
    font-size: 28px;
  }
}

@media (max-width: 860px) {
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .activity-card,
  .activity-card:nth-child(3n) {
    grid-column: 1;
  }

  .activity-card__gallery,
  .activity-card__visual,
  .activity-card__visual--placeholder {
    height: 300px;
  }
}

@media (max-width: 700px) {
  .page-hero--activities + .section {
    padding-top: 30px;
  }

  .activity-card {
    border-radius: 24px;
  }

  .activity-card__gallery,
  .activity-card__visual,
  .activity-card__visual--placeholder {
    height: 260px;
  }

  .activity-card__content {
    padding: 20px 18px 18px;
  }

  .activity-card h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .activity-card__excerpt {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }

  .activity-card__detail {
    width: 100%;
    justify-content: center;
  }
}
