/* ==========================================================================
   COMPANY – page built with UX Builder. Layout/colours are UX options; this
   file only draws the decorative circle and the network diagram.
   ========================================================================== */

/* Decorative circle on the "WHAT WE BELIEVE" panel (column class ag-circle-deco) */
.ag-circle-deco > .col-inner { overflow: hidden; }
.ag-circle-deco > .col-inner:after {
	content: ""; position: absolute; top: 169px; right: -125px; width: 563px; height: 563px; pointer-events: none;
	border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%;
}

.ag-company-name { margin: 18px 0 0; font-size: clamp(28px, 3vw, 43px); line-height: 1; font-weight: 700; }
.ag-license .ag-num { font-size: 11px; }
/* Licensed services: frame + lines between the cards (as the original grid with 1px gaps).
   Desktop: cards side by side, vertical lines. Tablet/phone (stacked): horizontal lines. */
.ag-license > .col { border: 0 solid var(--ag-line); border-width: 1px 0 1px 1px; }
.ag-license > .col:last-child { border-right-width: 1px; }
@media (max-width: 849px) {
	.ag-license > .col { border-width: 1px 1px 0 1px; }
	.ag-license > .col:last-child { border-bottom-width: 1px; }
}

/* Headings per panel (sample sizes) */
.ag-company .ag-h2-belief { font-size: clamp(38px, 5vw, 76px); line-height: .92; letter-spacing: -.065em; font-weight: 900; }
.ag-company .ag-h2-network { font-size: clamp(36px, 4.8vw, 70px); line-height: .93; }
.ag-company .ag-h2-cta { font-size: clamp(42px, 5vw, 74px); line-height: .91; letter-spacing: -.065em; }
.ag-company .ag-text-sm { margin: 32px 0 0; line-height: 1.9; }
.ag-company .ag-cta-actions .ag-text-sm { margin-bottom: 0; line-height: 1.85; }
.ag-company .ag-license-title { font-size: 29px; line-height: normal; }
.ag-company .ag-license .ag-small { margin-bottom: 12px; line-height: 1.7; }

/* Network diagram (Text element: <div class="ag-network">) */
.ag-network { position: relative; min-height: 410px; }
.ag-network:before, .ag-network:after {
	content: ""; position: absolute; left: 50%; width: 40%; height: 42%; border: 1px solid #575757;
}
.ag-network:before { top: 8%; border-right: 0; border-bottom: 0; transform: skewY(-13deg); }
.ag-network:after { bottom: 8%; border-left: 0; border-top: 0; transform: translateX(-100%) skewY(-13deg); }
.ag-network .node, .ag-network .hub { position: absolute; z-index: 2; display: flex; flex-direction: column; margin: 0; }
.ag-network span { font-size: 8px; line-height: normal; letter-spacing: .16em; font-weight: 800; color: #888; }
.ag-network b { margin-top: 7px; font-size: clamp(23px, 2.5vw, 38px); line-height: normal; letter-spacing: -.04em; font-weight: 700; color: #fff; }
.ag-network .japan { top: 5%; left: 0; }
.ag-network .asean { right: 0; bottom: 5%; text-align: right; }
.ag-network .hub {
	top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 185px; height: 185px; align-items: center; justify-content: center;
	background: #191919; border: 1px solid var(--ag-red); border-radius: 50%; box-shadow: 0 0 0 18px rgba(244, 59, 79, .055);
}
.ag-network .hub b { color: var(--ag-red); }
.ag-network .hub i { margin-top: 7px; font-size: 8px; line-height: normal; font-style: normal; letter-spacing: .13em; color: #aaa; }

@media (max-width: 1180px) and (min-width: 850px) {
	.ag-company .ag-h2-network { font-size: 3.9vw; }
}
@media (max-width: 849px) {
	.ag-company .ag-h2-sub { font-size: clamp(34px, 10.4vw, 39px); }
	.ag-company .ag-h2-belief { font-size: clamp(30px, 10.5vw, 54px); }
	.ag-company .ag-h2-cta { font-size: clamp(36px, 11vw, 58px); }
	.ag-network { min-height: 300px; }
	.ag-network .hub { width: 145px; height: 145px; }
	/* CTA buttons full width */
	.ag-company .ag-cta-actions .button.ag-btn { display: flex; width: 100%; min-width: 0; margin-right: 0; line-height: 50px; min-height: 50px; }
}
@media (max-width: 549px) {
	.ag-network { min-height: 250px; }
	.ag-network .hub { width: 125px; height: 125px; }
	.ag-network b { font-size: 22px; }
	.ag-company .ag-table th { width: 92px; }
}
