/* Company page */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.fact dt {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.fact dd strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.value-block {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  height: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.value-block:hover {
  border-color: rgba(31, 80, 97, 0.4);
  box-shadow: var(--shadow-1);
}

.value-block h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.value-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.about-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-figure figcaption {
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.history {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.history .year {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand);
}

.history p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

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

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .history li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
