.company-heading {
  background: linear-gradient(115deg, #f8faff 14%, var(--pale) 100%);
  border-block-end: 1px solid var(--line);
}

.company-heading__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(45px, 6.5vw, 96px) clamp(38px, 5.5vw, 78px);
}

.company-heading .page-title {
  margin-block: 12px 0;
}

.company-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  border-bottom: 1px solid currentColor;
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.company-source:hover {
  color: var(--ink);
}

.company-source span[aria-hidden] {
  font-size: 1.05rem;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5.5vw, 84px);
  padding-block: clamp(39px, 5.6vw, 80px) clamp(56px, 7.8vw, 112px);
}

.company-records h2 {
  margin: 0 0 23px;
  color: var(--ink);
  font-size: clamp(1.43rem, 2.3vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.company-fields {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-fields > div {
  display: grid;
  grid-template-columns: minmax(8.6rem, 0.85fr) minmax(0, 1.75fr);
  align-items: center;
  gap: 5px 12px;
  min-height: 64px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.company-fields dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.company-fields dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.company-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1px 12px;
}

#company-credit-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
}

.company-address {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid #223476;
  border-radius: 18px;
  background: radial-gradient(ellipse at 115% 115%, #2b43bb, transparent 68%), var(--navy);
  color: white;
}

.company-address::before,
.company-address::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.company-address::before {
  right: -22%;
  bottom: -52%;
  width: clamp(255px, 31vw, 490px);
  aspect-ratio: 1;
  border: 1px solid rgb(162 180 255 / 35%);
  border-radius: 27%;
  box-shadow: 0 0 0 22px rgb(162 180 255 / 11%), 0 0 0 46px rgb(162 180 255 / 6%), 0 0 0 72px rgb(162 180 255 / 4%);
  transform: rotate(-39deg);
}

.company-address::after {
  inset: 0;
  background: linear-gradient(100deg, var(--navy), rgb(17 25 54 / 0%) 90%);
}

.company-address h2 {
  margin: 0 0 11px;
  color: #cbd4ff;
  font-size: 0.94rem;
  font-weight: 650;
}

.company-address__region {
  margin: 0 0 13px;
  font-size: clamp(1.85rem, 3.65vw, 3.32rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.company-address__street {
  max-width: 23em;
  margin: 0 0 21px;
  color: #eff3ff;
  font-size: 0.98rem;
  line-height: 1.8;
}

.company-address__unit {
  white-space: nowrap;
}

.company-copy[hidden] {
  display: none;
}

.company-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--brand);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

.company-copy:hover {
  background: var(--pale);
}

.company-copy--address {
  padding-inline: 14px;
  border-color: #8a9ce3;
  background: rgb(16 25 68 / 49%);
  color: white;
}

.company-copy--address:hover {
  background: #334895;
}

.company-copy--address:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.company-copy__icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.company-copy__icon::before,
.company-copy__icon::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  content: "";
}

.company-copy__icon::before {
  inset: 0 auto auto 0;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 30% 30%, 30% 100%, 0 100%);
}

.company-copy__icon::after {
  inset: auto 0 0 auto;
}

.company-copy-status {
  margin: 3px 0 0;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 500;
}

.company-copy-status:empty {
  margin: 0;
}

.company-copy-status--address {
  color: #dbe3ff;
}

.company-copy-status--address:not(:empty) {
  margin-top: 10px;
}

.company-only-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .company-heading__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .company-fields > div {
    grid-template-columns: 1fr;
    padding-block: 13px;
  }

  .company-records h2 {
    margin-bottom: 18px;
  }

  .company-address {
    min-height: 0;
    border-radius: 12px;
  }
}
