/* REV037 — quiet footer disclosures share the existing lower register. */
#stage .office-locations {
  position: absolute;
  z-index: 16;
  left: 50%;
  bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 420px);
  min-height: 44px;
  transform: translateX(-50%);
  color: #f5f2ea80;
  font: 400 9px/1.5 monospace;
  letter-spacing: .1em;
  pointer-events: auto;
}
#stage .office-location { position: relative; min-width: 0; }
#stage .office-location-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
#stage .office-location-trigger:hover,
#stage .office-location-trigger[aria-expanded="true"] { color: var(--gold, #d7b44a); }
#stage .office-location-trigger:focus-visible {
  outline: 2px solid var(--gold, #d7b44a);
  outline-offset: 3px;
}
#stage .office-locations > * + * {
  border-left: 0;
  padding-left: 16px;
  background-image: linear-gradient(rgb(245 242 234 / .2), rgb(245 242 234 / .2));
  background-position: left center;
  background-size: 1px .9em;
  background-repeat: no-repeat;
}
#stage .office-location-card {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  width: 258px;
  max-width: calc(100vw - 32px);
  padding: 16px 18px;
  border: 1px solid rgb(215 180 74 / .42);
  border-radius: 6px;
  background: rgb(9 11 11 / .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgb(0 0 0 / .25);
  transform: translateX(-50%);
  color: var(--editorial-paper, #e1ddcf);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.01em;
  text-align: left;
  white-space: normal;
}
#stage .office-location-card[hidden] { display: none; }
#stage .office-location-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgb(215 180 74 / .42);
  border-bottom: 1px solid rgb(215 180 74 / .42);
  background: #090b0b;
  transform: translateX(-50%) rotate(45deg);
}
#stage .office-location-card > p {
  margin: 0 0 7px;
  color: var(--gold, #d7b44a);
  font-size: 11px;
  font-weight: 550;
}
#stage .office-location-card address { margin: 0; font-style: normal; overflow-wrap: break-word; }
#stage .office-location-card address span {
  display: block;
  margin-top: 4px;
  color: rgb(245 242 234 / .55);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
#stage .meta-location { display: none; }

@media (min-width: 761px) and (max-width: 1100px) {
  #stage .office-locations { gap: 10px; }
  #stage .office-locations > * + * { padding-left: 10px; }
}
@media (min-width: 761px) and (max-width: 850px) {
  #stage .office-locations { left: calc(50% + 20px); max-width: calc(100% - 360px); gap: 7px; }
  #stage .office-locations > * + *,
  #stage .office-locations > .office-location-link { padding-left: 7px; }
}
@media (min-width: 761px) and (max-height: 850px) {
  #stage .office-locations { bottom: 9px; }
}

@media (max-width: 760px) {
  #stage .office-locations {
    bottom: max(72px, calc(env(safe-area-inset-bottom) + 68px));
    gap: 6px;
    width: max-content;
    max-width: calc(100% - 32px);
    font-size: 8px;
    letter-spacing: .06em;
  }
  #stage .office-locations > * + * { padding-left: 6px; }
  #stage .office-location-trigger { padding-right: 0; padding-left: 0; }
  #stage .office-locations > .office-location-link { padding-left: 6px; }
  #stage .office-location { position: static; }
  #stage .office-location-card {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: calc(100% + 8px);
    width: min(300px, calc(100vw - 32px));
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
    font-size: 12.5px;
  }
  #stage .office-location-card::after { display: none; }
}

/* Legacy prose rails reserve eight pixels above the new footer hit row. */
@media (max-width: 760px) and (orientation: portrait) {
  #stage[data-sitewide-revision="true"] :is(#vision, #identity).copy { padding-bottom: 124px; }
}

@media (min-width: 641px) and (max-width: 760px) and (max-height: 560px) and (orientation: landscape) {
  #stage .office-locations {
    left: 196px;
    right: 180px;
    bottom: max(6px, calc(env(safe-area-inset-bottom) + 6px));
    width: auto;
    max-width: none;
    transform: none;
  }
  #stage .office-location-card {
    bottom: calc(100% + 8px);
  }
}

/* One quiet footer capsule with three segments; disclosures remain outside its bounds. */
#stage[data-sitewide-revision="true"] nav.office-locations {
  box-sizing: border-box;
  gap: 0;
  width: max-content;
  max-width: calc(100% - 48px);
  height: 32px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid rgb(164 178 151 / .28);
  border-radius: 999px;
  background: rgb(12 15 13 / .9);
  box-shadow: 0 2px 8px rgb(0 0 0 / .12);
  overflow: visible;
  flex-wrap: nowrap;
  color: rgb(245 242 234 / .72);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .04em;
}
#stage[data-sitewide-revision="true"] nav.office-locations > * {
  min-width: 0;
  flex: 0 0 auto;
}
#stage[data-sitewide-revision="true"] nav.office-locations > * + *,
#stage[data-sitewide-revision="true"] nav.office-locations > .office-location-link {
  padding-left: 0;
  border-left: 0;
}
#stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger {
  box-sizing: border-box;
  height: 30px;
  min-height: 30px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  transition: color .2s ease, background-color .2s ease;
}
#stage[data-sitewide-revision="true"] nav.office-locations > * + *,
#stage[data-sitewide-revision="true"] nav.office-locations > .office-location-link {
  background-image: linear-gradient(rgb(194 204 181 / .24), rgb(194 204 181 / .24));
  background-position: left center;
  background-size: 1px 12px;
  background-repeat: no-repeat;
}
#stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger:hover,
#stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger[aria-expanded="true"] {
  border: 0;
  background-color: rgb(165 181 143 / .045);
  color: rgb(218 223 194);
}
#stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger:focus-visible {
  outline: 1px solid rgb(210 218 184 / .8);
  outline-offset: -3px;
}
@media (max-width: 760px) {
  #stage[data-sitewide-revision="true"] nav.office-locations {
    gap: 0;
    max-width: calc(100% - 24px);
    height: 28px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .01em;
  }
  #stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger {
    height: 26px;
    min-height: 26px;
    min-width: 0;
    padding: 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #stage[data-sitewide-revision="true"] nav.office-locations .office-location-trigger { transition: none; }
}
/* Copyright is a fourth, noninteractive segment inside the same capsule. */
#stage[data-sitewide-revision="true"] nav.office-locations > .office-copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 30px;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: rgb(222 228 213 / .5);
}
#stage[data-sitewide-revision="true"] nav.office-locations .office-copyright-short { display: none; }
#stage[data-sitewide-revision="true"] nav.office-locations .office-copyright-long { display: inline; }
@media (max-width: 760px) {
  #stage[data-sitewide-revision="true"] nav.office-locations > .office-copyright {
    height: 26px;
    padding: 0 6px;
    font-size: 7px;
  }
  #stage[data-sitewide-revision="true"] nav.office-locations .office-copyright-long { display: none; }
  #stage[data-sitewide-revision="true"] nav.office-locations .office-copyright-short { display: inline; }
}

/* Mobile disclosures are temporarily portalled above the navigation controls.
   The footer capsule itself keeps its original position and dimensions. */
.office-location-card[hidden]{display:none!important}
[data-office-mobile-popup="true"]{
 position:fixed;z-index:2400;left:50%;bottom:auto;right:auto;
 box-sizing:border-box;width:min(300px,calc(100vw - 32px));max-width:calc(100vw - 32px);
 margin:0;padding:16px 18px;transform:translateX(-50%);
 border:1px solid rgb(255 255 255 / .12);border-radius:6px;
 background:rgb(9 11 11 / .94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 box-shadow:0 8px 28px rgb(0 0 0 / .3);color:#e1ddcf;
 font:400 12.5px/1.7 Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;
 letter-spacing:-.01em;text-align:left;white-space:normal;overflow:auto;overscroll-behavior:contain;pointer-events:auto;
}
[data-office-mobile-popup="true"]::after{display:none}
[data-office-mobile-popup="true"]>p{margin:0 0 9px;color:var(--gold,#d7b44a);font-size:11px;font-weight:550}
[data-office-mobile-popup="true"] address{margin:0;font-style:normal;overflow-wrap:break-word}
[data-office-mobile-popup="true"] address span{display:block;margin-top:4px;color:rgb(245 242 234 / .55);font-size:11px;font-variant-numeric:tabular-nums}
.office-app-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.office-app-choices>a{display:flex;min-width:0;min-height:58px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 8px;border:1px solid rgb(255 255 255 / .12);border-radius:3px;background:rgb(18 20 18 / .68);color:#f5f2ea;text-decoration:none;font:inherit;text-align:center}
.office-app-choices>a>span{font-size:13px;font-weight:500}
.office-app-choices small{font-size:10px;color:#bfc6b6}
.office-app-choices>a:focus-visible{outline:2px solid #d7b44a;outline-offset:3px}
