﻿.company-page {
  background: #fff;
  color: #1a1a1a;
  overflow: visible;
  --company-visual-position: 50% 82%;
  --company-visual-mobile-position: 50% 74%;
}

.company-header {
  position: relative;
  top: auto;
  height: 85px;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #d9d9d9;
}

.company-header .brand,
.company-header .header-nav,
.company-header .header-actions {
  color: #111;
}

.company-header .shop-pill {
  background: #ff522f;
  color: #fff;
}

.company-header .globe-light {
  display: none;
}

.company-header .globe-dark {
  display: block;
}

.company-header .globe {
  border-color: #111;
}

.company-header .globe::before {
  border-left-color: #111;
  border-right-color: #111;
}

.company-header .globe::after {
  border-top-color: #111;
  border-bottom-color: #111;
}

.company-header .chevron {
  border-top-color: #111;
}

.company-hero {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px 54px;
}

.company-hero h1 {
  margin: 0;
  font-size: clamp(72px, 8.4vw, 126px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: 0;
}

.company-hero p {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.company-hero span,
.company-section-title span {
  margin: 0 12px;
  color: #909090;
}

.company-visual {
  position: relative;
  min-height: 448px;
  background: #cfc7bc;
  overflow: hidden;
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.03));
}

.company-visual-image {
  width: 100%;
  height: 448px;
  object-fit: cover;
  object-position: var(--company-visual-position);
  display: block;
}

.company-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.company-intro {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 86px;
  padding: 150px 0 132px;
}

.company-section-title {
  align-self: center;
}

.company-section-title h2,
.solution-copy h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 400;
}

.company-section-title p {
  margin: 18px 0 0;
  font-size: 14px;
}

.company-copy,
.solution-copy {
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.company-copy p,
.solution-copy p {
  margin: 0 0 20px;
  font-weight: 300;
}

.company-solution {
  width: 100%;
  display: grid;
  grid-template-columns: 48% minmax(360px, 520px);
  gap: 88px;
  align-items: center;
  padding-bottom: 130px;
}

.solution-image {
  min-height: 336px;
  background: #e7e7e3;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 336px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.solution-copy {
  padding-right: 24px;
}

.solution-copy h2 {
  margin-bottom: 52px;
  font-size: 48px;
}

.company-history {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 72px;
  align-items: stretch;
  padding: 0 0 180px;
}

.history-heading {
  position: sticky;
  top: 120px;
  align-self: start;
  min-height: 260px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.history-heading h2 {
  margin: 0;
  font-size: 96px;
  line-height: 1.2;
  font-weight: 400;
}

.history-heading span {
  color: #df4439;
}

.history-list {
  border-top: 1px solid #dedede;
}

.history-item {
  display: grid;
  grid-template-columns: 130px 66px 1fr;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid #dedede;
}

.history-item strong {
  font-family: 'GmarketSans', sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.history-item span {
  font-family: 'GmarketSans', sans-serif;
  color: #c8c8c8;
  font-size: 24px;
  font-weight: 700;
}

.history-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .company-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 120;
  }
  
  .company-header .header-inner {
    width: calc(100% - 28px);
    grid-template-columns: 22px 1fr auto;
    gap: 12px;
  }

  .company-header .mobile-menu-icon {
    display: block;
  }

  .company-header .header-nav {
    display: none;
  }

  .company-hero {
    min-height: 230px;
  }

  .company-hero h1 {
    font-size: 58px;
  }

  .company-visual {
    min-height: 270px;
  }

  .company-visual-image {
    height: 270px;
    object-position: var(--company-visual-mobile-position);
  }

  .company-intro,
  .company-solution,
  .company-history {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .company-intro {
    padding: 70px 0 70px;
  }

  .company-solution {
    padding-bottom: 70px;
  }

  .solution-copy {
    padding-right: 0;
  }

  .company-history {
    min-height: auto;
    padding-bottom: 90px;
  }

  .history-heading {
    position: static;
    min-height: auto;
    justify-content: flex-start;
  }

  .history-heading h2 {
    font-size: 64px;
  }
}

@media (max-width: 560px) {
  .company-header,
  .company-header.is-scrolled,
  .company-header:has(.nav-dropdown:hover),
  .company-header.is-scrolled:has(.nav-dropdown:hover) {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 120;
  }

  .company-header .header-inner {
    width: calc(100% - 20px);
    grid-template-columns: 18px 1fr auto;
    gap: 10px;
  }

  .company-header .brand {
    gap: 5px;
    font-size: 18px;
  }

  .company-header .brand-mark {
    width: 22px;
    height: 22px;
  }

  .company-header .shop-pill {
    min-width: 36px;
    height: 20px;
    padding: 0 12px;
    border: 1px solid #4a4a4a;
    background: #fff;
    color: #2f2f2f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.01em;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
  }

  .company-header .globe {
    width: 22px;
    height: 22px;
  }

  .company-hero {
    min-height: 123px;
    padding: 34px 14px 28px;
  }

  .company-hero h1 {
    font-size: 48px;
    line-height: .95;
  }

  .company-hero p {
    margin-top: 4px;
    font-size: 10px;
  }

  .company-visual {
    min-height: 215px;
  }

  .company-visual-image {
    height: 215px;
    object-position: var(--company-visual-mobile-position);
  }

  .company-section {
    width: calc(100% - 20px);
  }

  .company-intro {
    padding: 49px 0 43px;
    gap: 22px;
  }

  .company-section-title h2,
  .solution-copy h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .company-section-title p {
    margin-top: 10px;
    font-size: 12px;
  }

  .company-hero span,
  .company-section-title span {
    margin: 0 7px;
  }

  .company-copy,
  .solution-copy {
    line-height: 1.55;
  }

  .company-copy p,
  .solution-copy p {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .company-solution {
    width: calc(100% - 20px);
    gap: 42px;
    padding-bottom: 73px;
  }

  .solution-image,
  .solution-image img {
    min-height: 132px;
    height: 132px;
  }

  .solution-image img {
    object-position: center;
  }

  .solution-copy h2 {
    margin-bottom: 28px;
    font-size: 33px;
  }

  .company-history {
    width: calc(100% - 38px);
    gap: 34px;
    padding-bottom: 107px;
  }

  .history-heading {
    justify-content: center;
  }

  .history-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    border-top: none;
  }

  .history-item {
    grid-template-columns: 77px 48px 1fr;
    min-height: 73px;
  }

  .history-item strong {
    font-size: 25px;
  }

  .history-item span {
    font-size: 16px;
  }

  .history-item p {
    font-size: 12px;
    line-height: 1.45;
  }
}

