.about-page {
  background: var(--page);
}

.about-page-hero {
  position: relative;
  min-height: min(760px, calc(100dvh - var(--header-height)));
  overflow: hidden;
  background: #272c29;
  isolation: isolate;
}

.about-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 27, 25, 0.84) 0%, rgba(23, 27, 25, 0.5) 48%, rgba(23, 27, 25, 0.12) 76%),
    linear-gradient(0deg, rgba(23, 27, 25, 0.68) 0%, transparent 58%);
}

.about-page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.about-page-hero-copy {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(68px, 8vw, 112px);
}

.about-page-hero .eyebrow {
  margin-bottom: 22px;
  color: #ff6670;
}

.about-page-hero h1 {
  max-width: 1080px;
  margin-bottom: 24px;
  color: #f7f8f5;
  font-size: clamp(48px, 5.4vw, 74px);
  font-weight: 670;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.about-page-hero-copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(247, 248, 245, 0.82);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.about-page-profile {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.about-page-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(54px, 7vw, 108px);
}

.about-page-profile-copy {
  padding-left: clamp(0px, 2vw, 28px);
}

.about-page-profile-copy h2,
.about-page-standards-copy h2,
.about-page-quality-copy h2,
.about-page-section-heading h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 660;
}

.about-page-profile-copy h2 {
  max-width: 12ch;
  margin-bottom: 28px;
}

.about-page-profile-copy p {
  max-width: 52ch;
  margin-bottom: 18px;
  font-size: 17px;
}

.about-page-profile-media {
  position: relative;
  padding-bottom: 44px;
}

.about-page-profile-media > img {
  width: 100%;
  height: 590px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 56% center;
}

.about-page-media-brand {
  position: absolute;
  right: -18px;
  bottom: 0;
  display: grid;
  width: min(248px, 48%);
  min-height: 128px;
  place-items: center;
  padding: 26px 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 50px rgba(124, 18, 28, 0.18);
}

.about-page-media-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.about-page-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(62px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-page-facts article {
  display: grid;
  min-height: 126px;
  align-content: center;
  gap: 5px;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}

.about-page-facts article:last-child {
  border-right: 0;
}

.about-page-facts strong {
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.about-page-facts span {
  color: var(--ink-soft);
  font-size: 13px;
}

.about-page-standards {
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.about-page-standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(54px, 7vw, 102px);
}

.about-page-standards-media {
  position: relative;
  min-height: 640px;
  padding: 0 34px 42px 0;
}

.about-page-standards-media > img {
  width: 100%;
  height: 640px;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-page-standards-media aside {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  width: min(360px, 72%);
  min-height: 128px;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--brand-contrast);
  box-shadow: 0 22px 50px rgba(124, 18, 28, 0.2);
}

.about-page-standards-media aside div {
  display: grid;
  gap: 4px;
}

.about-page-standards-media aside strong {
  font-size: 17px;
  line-height: 1.3;
}

.about-page-standards-media aside span {
  color: rgba(255, 250, 250, 0.76);
  font-size: 13px;
}

.about-page-standards-copy > .eyebrow,
.about-page-quality-copy > .eyebrow {
  margin-bottom: 22px;
}

.about-page-standards-copy > h2,
.about-page-quality-copy > h2 {
  margin-bottom: 22px;
}

.about-page-standards-copy > p,
.about-page-quality-copy > p {
  max-width: 54ch;
  margin-bottom: 34px;
  font-size: 17px;
}

.about-page-principles {
  border-top: 1px solid var(--line);
}

.about-page-principles article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.about-page-principle-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
}

.about-page-principles h3 {
  margin-bottom: 7px;
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.about-page-principles p {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

.about-page-factory {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.about-page-section-heading {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.about-page-section-heading--centered {
  margin-inline: auto;
  text-align: center;
}

.about-page-section-heading--centered p {
  margin-inline: auto;
}

.about-page-section-heading h2 {
  margin-bottom: 22px;
}

.about-page-section-heading p {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 17px;
}

.about-page-factory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, 270px);
  grid-template-areas:
    "primary finished materials"
    "primary orders quality";
  gap: 16px;
}

.about-page-factory-item {
  min-width: 0;
  min-height: 0;
}

.about-page-factory-item.area-primary {
  grid-area: primary;
}

.about-page-factory-item.area-finished {
  grid-area: finished;
}

.about-page-factory-item.area-materials {
  grid-area: materials;
}

.about-page-factory-item.area-orders {
  grid-area: orders;
}

.about-page-factory-item.area-quality {
  grid-area: quality;
}

.about-page-factory-item figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.about-page-factory-item figure::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(0deg, rgba(22, 26, 24, 0.75), transparent);
  pointer-events: none;
}

.about-page-factory-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page-factory-item:hover img {
  transform: scale(1.035);
}

.about-page-factory-item figcaption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  color: #f7f8f5;
  font-size: 14px;
  font-weight: 750;
}

.about-page-quality {
  border-bottom: 1px solid var(--line);
  background-color: var(--page);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-page-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(56px, 8vw, 116px);
}

.about-page-quality-copy {
  align-self: center;
}

.about-page-quality-points {
  display: grid;
  gap: 14px;
}

.about-page-quality-points span {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}

.about-page-quality-points svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.about-page-workflow {
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.about-page-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-page-workflow-item {
  min-height: 270px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.about-page-workflow-item:last-child {
  border-right: 0;
}

.about-page-workflow-item > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-contrast);
}

.about-page-workflow-item h3 {
  margin-bottom: 14px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.about-page-workflow-item p {
  max-width: 30ch;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .about-page-profile-grid,
.about-page-standards-grid,
.about-page-quality-grid {
    gap: 54px;
  }

  .about-page-factory-grid {
    grid-template-rows: repeat(2, 240px);
  }

  .about-page-workflow-item {
    padding-inline: 22px;
  }
}

@media (max-width: 900px) {
  .about-page-hero {
    min-height: 680px;
  }

  .about-page-profile-grid,
.about-page-standards-grid,
.about-page-quality-grid {
    grid-template-columns: 1fr;
  }

  .about-page-profile-copy {
    max-width: 680px;
    padding-left: 0;
  }

  .about-page-profile-copy h2 {
    max-width: 15ch;
  }

  .about-page-profile-media > img {
    height: 540px;
  }

  .about-page-facts {
    grid-template-columns: 1fr 1fr;
  }

  .about-page-facts article:nth-child(2) {
    border-right: 0;
  }

  .about-page-facts article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-page-standards-grid {
    gap: 64px;
  }

  .about-page-standards-media {
    max-width: 720px;
  }

  .about-page-factory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 430px repeat(2, 240px);
    grid-template-areas:
      "primary primary"
      "finished materials"
      "orders quality";
  }

  .about-page-quality-copy {
    max-width: 680px;
  }

  .about-page-workflow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-page-workflow-item:nth-child(2) {
    border-right: 0;
  }

  .about-page-workflow-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 640px) {
  .about-page-hero {
    min-height: 620px;
  }

  .about-page-hero::after {
    background:
      linear-gradient(90deg, rgba(23, 27, 25, 0.86), rgba(23, 27, 25, 0.3)),
      linear-gradient(0deg, rgba(23, 27, 25, 0.78), transparent 68%);
  }

  .about-page-hero > img {
    object-position: 58% center;
  }

  .about-page-hero-copy {
    padding-bottom: 58px;
  }

  .about-page-hero h1 {
    max-width: 11ch;
    margin-bottom: 20px;
    font-size: 46px;
    line-height: 1.02;
  }

  .about-page-hero-copy > p:last-child {
    font-size: 16px;
  }

  .about-page-profile-copy h2,
.about-page-standards-copy h2,
.about-page-quality-copy h2,
.about-page-section-heading h2 {
    font-size: 38px;
  }

  .about-page-profile-copy p,
.about-page-standards-copy > p,
.about-page-quality-copy > p,
.about-page-section-heading p {
    font-size: 15px;
  }

  .about-page-profile-media {
    padding-bottom: 74px;
  }

  .about-page-profile-media > img {
    height: 390px;
  }

  .about-page-media-brand {
    right: 12px;
    width: min(220px, 72%);
    padding: 22px;
  }

  .about-page-facts {
    grid-template-columns: 1fr;
  }

  .about-page-facts article {
    min-height: 102px;
    padding: 20px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-page-facts article:last-child {
    border-bottom: 0;
  }

  .about-page-standards-media {
    min-height: 480px;
    padding: 0 14px 64px 0;
  }

  .about-page-standards-media > img {
    height: 430px;
  }

  .about-page-standards-media aside {
    width: min(315px, 88%);
    padding: 20px;
  }

  .about-page-factory-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .about-page-factory-grid::-webkit-scrollbar {
    display: none;
  }

  .about-page-factory-item {
    flex: 0 0 min(82vw, 340px);
    height: 390px;
    scroll-snap-align: start;
  }

  .about-page-workflow-grid {
    grid-template-columns: 1fr;
  }

  .about-page-workflow-item,
.about-page-workflow-item:nth-child(2) {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-page-workflow-item:last-child {
    border-bottom: 0;
  }

  .about-page-workflow-item > span {
    margin-bottom: 26px;
  }

}
