/* About page. */

.about-page {
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 76% 2%, rgba(151, 93, 15, 0.14), transparent 24%),
    linear-gradient(180deg, #080807 0%, #0a0a09 42%, #070707 100%);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.about-icon,
.service-icon {
  display: block;
  color: #f6c657;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(245, 198, 90, 0.2));
}

.about-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-bottom: 0;
  background: #080807 url("../images/about/banner.webp") center / cover no-repeat;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.9) 31%, rgba(5, 5, 5, 0.52) 49%, rgba(5, 5, 5, 0) 68%);
}

.about-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 142px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 9, 0) 46%, #0a0a09 100%);
}

.about-hero-image {
  display: none;
}

.about-hero-inner,
.about-layout {
  width: calc(100% - 76px);
  margin: 0 auto;
}

.about-hero-inner {
  display: flex;
  align-items: center;
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 630px;
  padding: 38px 0 38px 23px;
}

.about-hero-copy > * {
  position: relative;
}

.about-hero .eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.about-hero h1 {
  margin: 0;
  color: #fff6df;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 900;
}

.about-hero strong {
  display: block;
  margin-top: 13px;
  color: #f5c65a;
  font-size: 21px;
  line-height: 31px;
  font-weight: 700;
}

.about-hero-copy > p:not(.eyebrow) {
  margin: 13px 0 0;
  color: rgba(255, 248, 232, 0.7);
  font-size: 15px;
  line-height: 27px;
}

.about-layout {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.about-section {
  overflow: hidden;
  padding: 15px 18px 16px;
  border: 1px solid rgba(245, 198, 90, 0.25);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 0%, rgba(245, 198, 90, 0.045), transparent 22%),
    linear-gradient(135deg, rgba(23, 23, 21, 0.98), rgba(12, 12, 11, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  color: #fff1d2;
  font-size: 24px;
  line-height: 30px;
  font-weight: 900;
}

.section-title p {
  margin: 0;
  color: rgba(255, 248, 232, 0.54);
  font-size: 13px;
  line-height: 20px;
}

.business-grid,
.experience-grid,
.member-grid {
  display: grid;
  gap: 14px;
}

.business-grid {
  grid-template-columns: repeat(6, 1fr);
}

.business-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 168px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 198, 90, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.14));
}

.business-grid .about-icon {
  display: block;
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
}

.business-grid .business-card-image {
  display: block;
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.business-section .business-grid h3 {
  font-size: 17px;
  line-height: 24px;
}

.business-section .business-grid p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 20px;
}

.business-grid h3,
.experience-grid h3,
.member-grid h3 {
  margin: 0;
  color: #fff0cc;
  font-size: 17px;
  line-height: 24px;
  font-weight: 800;
}

.business-grid p,
.experience-grid p,
.member-grid p {
  margin: 4px 0 0;
  color: rgba(255, 248, 232, 0.56);
  font-size: 14px;
  line-height: 20px;
}

.experience-grid {
  grid-template-columns: repeat(6, 1fr);
}

.experience-grid article {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.experience-grid .about-icon,
.member-grid .about-icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.experience-grid .experience-card-image {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.about-split {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 12px;
}

.service-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: end;
  min-height: 108px;
}

.service-section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 13px 16px;
}

.service-section .section-title {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.service-section .service-body {
  position: relative;
  z-index: 1;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  align-content: end;
  padding: 6px 0 2px;
}

.service-list a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0;
}

.service-icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid rgba(245, 198, 90, 0.23);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(245, 198, 90, 0.17), rgba(0, 0, 0, 0.16));
}

.service-list a > span {
  display: grid;
  gap: 3px;
}

.service-list b {
  color: #fff0cc;
  font-size: 17px;
  line-height: 23px;
  font-weight: 800;
}

.service-list em {
  color: rgba(255, 248, 232, 0.56);
  font-size: 14px;
  line-height: 20px;
  font-style: normal;
}

.service-visual {
  position: static;
  min-height: 0;
}

.service-visual img {
  position: absolute;
  z-index: 2;
  right: -15px;
  bottom: -18px;
  display: block;
  height: 170px;
  width: auto;
  filter: drop-shadow(-12px 12px 18px rgba(0, 0, 0, 0.42));
}

.member-grid {
  display: flex;
  justify-content: space-between;
  min-height: 0;
  align-items: start;
  gap: 0;
}

.member-section {
  padding: 14px 18px 12px;
}

.member-section .section-title {
  margin-bottom: 8px;
}

.member-grid article {
  display: grid;
  grid-template-rows: 60px 24px auto;
  align-content: start;
  justify-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-align: center;
}

.member-grid .about-icon {
  margin-bottom: 4px;
  width: 60px;
  height: 60px;
}

.member-grid .member-card-image {
  display: block;
  margin-bottom: 4px;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.member-grid p {
  display: grid;
  gap: 1px;
  margin-top: 1px;
  line-height: 18px;
}

@media (max-width: 1280px) {
  .about-hero-inner,
  .about-layout {
    width: calc(100% - 76px);
  }

  .business-grid,
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .about-page {
    padding-bottom: 20px;
  }

  .about-hero-inner,
  .about-layout {
    width: calc(100% - 32px);
  }

  .about-hero-inner {
    position: relative;
    inset: auto;
    min-height: 460px;
    padding-top: 28px;
  }

  .about-hero {
    height: 460px;
    background: #080807 url("../images/about/banner.webp") center bottom / 100% auto no-repeat;
  }

  .about-hero-image {
    display: none;
  }

  .about-hero-copy {
    padding: 0;
  }

  .about-hero h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .about-hero strong {
    margin-top: 8px;
    font-size: 17px;
    line-height: 25px;
  }

  .about-hero-copy > p:not(.eyebrow) {
    margin-top: 10px;
    font-size: 13px;
    line-height: 22px;
  }

  .about-layout {
    gap: 10px;
    padding-top: 10px;
  }

  .about-section {
    padding: 14px;
    border-radius: 10px;
  }

  .section-title {
    display: grid;
    gap: 2px;
    margin-bottom: 12px;
  }

  .section-title h2 {
    font-size: 21px;
    line-height: 28px;
  }

  .business-grid,
  .experience-grid,
  .member-grid,
  .service-body,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-grid {
    display: grid;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .business-grid,
  .experience-grid,
  .member-grid {
    gap: 9px;
  }

  .business-grid article {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 192px;
    padding: 14px;
  }

  .business-grid article > div {
    width: 100%;
    text-align: center;
  }

  .business-grid .about-icon {
    align-self: center;
    flex-basis: 110px;
    width: 110px;
    height: 110px;
  }

  .business-grid .business-card-image {
    align-self: center;
    flex-basis: 110px;
    width: 110px;
    height: 110px;
  }

  .business-section .business-grid h3 {
    font-size: 17px;
    line-height: 23px;
  }

  .business-section .business-grid p {
    margin-top: 2px;
    font-size: 14px;
    line-height: 19px;
  }

  .business-grid h3,
  .experience-grid h3,
  .member-grid h3 {
    font-size: 17px;
    line-height: 23px;
  }

  .business-grid p,
  .experience-grid p,
  .member-grid p {
    font-size: 14px;
    line-height: 19px;
  }

  .experience-grid article {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 164px;
    padding: 14px 8px;
    text-align: center;
  }

  .experience-grid article > div {
    width: 100%;
  }

  .experience-grid .about-icon,
  .member-grid .about-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .member-grid .member-card-image {
    width: 34px;
    height: 34px;
  }

  .member-grid article {
    grid-template-rows: 72px 23px auto;
    min-height: 164px;
    padding: 14px 8px;
  }

  .member-grid .about-icon,
  .member-grid .member-card-image {
    width: 72px;
    height: 72px;
  }

  .experience-grid .experience-card-image {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .service-body {
    gap: 4px;
    min-height: 0;
  }

  .service-list {
    grid-column: 1 / -1;
  }

  .service-list a {
    min-height: 56px;
    padding: 0;
  }

  .service-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .service-visual {
    display: none;
  }

  .member-grid article {
    min-height: 72px;
  }

  .member-grid article:last-child {
    grid-column: 1 / -1;
  }
}
