/* ==========================================================================
   About page (about.html)
   Editorial layout: photographic hero, company introduction, the product
   portfolio table with the memory-connectivity note, the red application
   band, engineering practice and the milestone timeline. Palette matches the
   rest of the redesign (#a70811 red).
   Artwork:
     ../image/about/about-us-banner.jpg    hero (glass towers)
   ========================================================================== */

body.about-page {
  background: #fff;
  color: #1a1a1a;
}

.about-wrap {
  width: min(945px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- shared type ---------- */
.about-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111;
}

.about-sub {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #8a8d93;
}

/* ---------- hero ---------- */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  background: #0a1526;
}

.about-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 18, 36, 0.74) 0%,
    rgba(5, 18, 36, 0.55) 42%,
    rgba(5, 18, 36, 0.18) 78%,
    rgba(5, 18, 36, 0.06) 100%
  );
}

.about-hero .about-wrap {
  position: relative;
  z-index: 2;
}

.about-hero__title {
  max-width: 620px;
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.about-hero__nowrap {
  white-space: nowrap;
}

.about-hero__sub {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- introduction ---------- */
.about-intro {
  padding: 64px 0 84px;
  background: #fff;
}

.about-copy {
  margin-top: 26px;
}

.about-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #5c6067;
}

.about-copy p + p {
  margin-top: 22px;
}

/* ---------- what we build ---------- */
.about-build {
  padding: 72px 0 80px;
  background: #f5f6f8;
}

.about-portfolio {
  margin-top: 32px;
  overflow-x: auto;
  background: #fff;
}

.about-portfolio table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
}

.about-portfolio thead th {
  padding: 16px 22px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  color: #6b6f76;
  border-bottom: 2px solid #111;
}

.about-portfolio tbody th,
.about-portfolio tbody td {
  padding: 22px;
  vertical-align: top;
  text-align: left;
  color: #5c6067;
  border-bottom: 1px solid #e6e7ea;
}

.about-portfolio tbody tr:last-child th,
.about-portfolio tbody tr:last-child td {
  border-bottom: 0;
}

.about-portfolio tbody th {
  width: 19%;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.about-portfolio__family {
  width: 21%;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.about-portfolio__family a {
  color: #a70811;
  text-decoration: none;
}

.about-portfolio__family a:hover {
  text-decoration: underline;
}

.about-memory {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid #e2e4e8;
}

.about-memory__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.about-memory__body {
  max-width: 780px;
  margin-top: 16px;
}

.about-memory__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #5c6067;
}

.about-memory__body p + p {
  margin-top: 16px;
}

.about-memory__note {
  margin: 24px 0 0;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #3d4149;
  border-left: 3px solid #c00b14;
}

/* ---------- where our silicon goes ---------- */
.about-silicon {
  padding: 60px 0 72px;
  color: #fff;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      transparent 1px 84px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      transparent 1px 84px
    ),
    linear-gradient(90deg, #950b18 0%, #b9131b 38%, #d11725 72%, #e0394a 100%);
}

.about-silicon .about-title {
  color: #fff;
}

.about-silicon .about-sub {
  color: rgba(255, 255, 255, 0.9);
}

.about-silicon__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.about-silicon__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-silicon__icon {
  align-self: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-silicon__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.about-silicon__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- how we work ---------- */
.about-work {
  padding: 80px 0 72px;
  background: #f5f6f8;
}

.about-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  background: #fff;
}

.about-work__item {
  padding: 34px 38px;
}

.about-work__item:nth-child(2n) {
  border-left: 1px solid #ecedf0;
}

.about-work__item:nth-child(n + 3) {
  border-top: 1px solid #ecedf0;
}

.about-work__name {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.about-work__name::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  background: #c00b14;
}

.about-work__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5c6067;
}

.about-work__note {
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3d4149;
}

.about-work__note a {
  color: #a70811;
  text-decoration: none;
}

.about-work__note a:hover {
  text-decoration: underline;
}

/* ---------- milestones ---------- */
.about-milestones {
  padding: 80px 0 96px;
  background: #fff;
}

.about-timeline {
  margin: 40px 0 0;
  padding: 2px 0 0 32px;
  list-style: none;
  border-left: 1px solid #dfe1e6;
}

.about-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 36px;
}

.about-timeline__item:last-child {
  padding-bottom: 0;
}

.about-timeline__item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -37px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c00b14;
}

.about-timeline__period {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #a70811;
}

.about-timeline__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
}

.about-timeline__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: #a70811;
  border: 1px solid rgba(167, 8, 17, 0.4);
  border-radius: 2px;
}

.about-timeline__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5c6067;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .about-hero {
    min-height: 380px;
  }

  .about-hero::before {
    background: linear-gradient(
      180deg,
      rgba(5, 18, 36, 0.5) 0%,
      rgba(5, 18, 36, 0.62) 55%,
      rgba(5, 18, 36, 0.45) 100%
    );
  }

  .about-hero__title {
    font-size: 31px;
  }

  .about-hero__sub {
    font-size: 17px;
  }

  .about-intro,
  .about-build,
  .about-silicon,
  .about-work,
  .about-milestones {
    padding: 56px 0;
  }

  .about-title {
    font-size: 26px;
  }

  .about-sub {
    font-size: 16px;
  }

  .about-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  .about-silicon__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    margin-top: 36px;
  }

  .about-work__grid {
    margin-top: 32px;
  }

  .about-work__item {
    padding: 26px 24px;
  }

  .about-work__note {
    margin-top: 30px;
    font-size: 15px;
  }

  .about-timeline {
    margin-top: 32px;
  }

  .about-timeline__item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  .about-portfolio {
    overflow: visible;
  }

  .about-portfolio table {
    min-width: 0;
  }

  .about-portfolio thead {
    display: none;
  }

  .about-portfolio tbody,
  .about-portfolio tr,
  .about-portfolio tbody th,
  .about-portfolio tbody td {
    display: block;
    width: auto;
  }

  .about-portfolio tbody tr {
    padding: 22px;
    border-bottom: 1px solid #e6e7ea;
  }

  .about-portfolio tbody tr:last-child {
    border-bottom: 0;
  }

  .about-portfolio tbody th,
  .about-portfolio tbody td {
    padding: 0;
    border: 0;
  }

  .about-portfolio tbody th {
    font-size: 16px;
  }

  .about-portfolio tbody td {
    margin-top: 14px;
  }

  .about-portfolio tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6f76;
  }

  .about-memory__title {
    font-size: 20px;
  }

  .about-work__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-work__item:nth-child(2n) {
    border-left: 0;
  }

  .about-work__item:nth-child(n + 2) {
    border-top: 1px solid #ecedf0;
  }
}

@media (max-width: 575.98px) {
  .about-hero {
    min-height: 300px;
  }

  .about-hero__title {
    font-size: 25px;
  }

  .about-hero__sub {
    font-size: 15px;
  }

  .about-silicon__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .about-silicon__icon {
    align-self: flex-start;
  }

  .about-timeline {
    padding-left: 24px;
  }

  .about-timeline__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-bottom: 30px;
  }

  .about-timeline__item::before {
    left: -29px;
  }

  .about-work__name {
    font-size: 16px;
  }
}
