
/* ========================================
   ABOUT - COMMON
======================================== */

.about-page {
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.about-inner {
  width: 100%;
  max-width: var(--inner);
  margin: 0 auto;

}

/* ========================================
   COMPANY OVERVIEW
======================================== */

.overview-section {
  padding: 110px 0 0;
}

.overview-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

.overview-text h3 {
  margin: 0 0 32px;
  font-size: var(--font-visual);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.overview-text p {
  max-width: 550px;
  margin: 0;

  font-size: var(--font-base);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.overview-image {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.overview-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========================================
   COMPANY INFORMATION
======================================== */

.company-info {
  position: relative;
  margin-top: 130px;
}

.company-bg-title {
  position: absolute;
  left: 50%;
  top: -110px;
  transform: translateX(-50%);

  width: 100%;
  text-align: center;

  font-size: var(--font-decorative);
  font-weight: 700;

  line-height: 1;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.company-table {
  position: relative;
  z-index: 1;

  overflow: hidden;
  border-radius: 16px;

  background:
    linear-gradient(
      115deg,
      var(--color-blue-nav) 0%,
      var(--color-blue-panel) 50%,
      var(--color-blue-dark) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.12);
}

.company-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 30px;

  padding: 24px 30px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.1);
}

.company-row:last-child {
  border-bottom: none;
}

.company-row strong {
  font-size: var(--font-base);
  font-weight: 600;
}

.company-row p {
  margin: 0;
  font-size: var(--font-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   OVERSEAS H.Q.
======================================== */

.overseas-section {
  position: relative;
  padding: 100px 0 120px;

  background:
    url('/images/about_worldmap.png')
    center center / cover no-repeat;
}

.overseas-title {
  margin: 0 0 100px;
  text-align: center;

  font-size: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.overseas-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.overseas-card {
  position: relative;

  min-height: 320px;
  padding: 90px 40px 40px;

  border-radius: 16px;

  background: rgba(0, 57, 105, 0.85);
  border: 1px solid rgba(0, 116, 212, 0.35);
}

.overseas-flag {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);

  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
}

.overseas-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overseas-card h4 {
  margin: 0 0 30px;

  font-size: var(--font-title-sm);
  font-weight: 700;
  line-height: 1.4;
}

.overseas-card h4 span {
  font-size: var(--font-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.overseas-card dl {
  margin: 0;
}

.overseas-card dt {
  margin-top: 22px;
  font-size: var(--font-base);
  font-weight: 700;
}

.overseas-card dd {
  font-size: var(--font-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

  .overview-section {
    padding-top: 80px;
  }

  .overview-top {
    gap: 50px;
  }

  .overview-text h3 {
    font-size: var(--font-title-md);
  }

  .overview-text p {
    font-size: var(--font-sm);
  }

  .company-row {
    grid-template-columns: 180px 1fr;
  }

  .overseas-card {
    padding: 80px 30px 35px;
  }

  .overseas-card h4 {
    font-size: var(--font-base);
  }

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .about-inner {
    padding: 0 20px;
  }

  .overview-section {
    padding-top: 60px;
  }

  .overview-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .overview-text h3 {
    margin-bottom: 20px;
    font-size: var(--font-title-sm);
  }

  .overview-text p {
    font-size: var(--font-sm);
    line-height: 1.8;
  }

  .overview-image {
    border-radius: 10px;
  }

  .company-info {
    margin-top: 100px;
  }

  .company-bg-title {
    top: -55px;
    font-size: var(--font-decorative);
  }

  .company-table {
    border-radius: 10px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .company-row strong {
    font-size: var(--font-sm);
  }

  .company-row p {
    font-size: var(--font-xs);
  }

  .overseas-section {
    padding: 70px 0 90px;
    background-size: auto 100%;
  }

  .overseas-title {
    margin-bottom: 90px;
    font-size: var(--font-title-sm);
  }

  .overseas-list {
    grid-template-columns: 1fr;
    gap: 90px;
  }

  .overseas-card {
    min-height: auto;
    padding: 75px 25px 35px;
    border-radius: 12px;
  }

  .overseas-flag {
    width: 90px;
    height: 90px;
    top: -45px;
  }

  .overseas-card h4 {
    margin-bottom: 25px;
    font-size: var(--font-base);
  }

  .overseas-card h4 span {
    font-size: var(--font-xs);
  }

  .overseas-card dt,
  .overseas-card dd {
    font-size: var(--font-xs);
  }

}

/* ========================================
   ABOUT MOBILE TEXT FIX
======================================== */

@media (max-width: 767px) {

  .overview-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-text,
  .company-row,
  .overseas-card {
    min-width: 0;
  }

  .about-page h3,
  .about-page h4,
  .about-page p,
  .about-page dd,
  .about-page dt {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
  }

}

/* ========================================
   SUBPAGE SCROLL REVEAL (ADDED ONLY)
   Existing layout / hover / responsive styles preserved.
======================================== */
@media (prefers-reduced-motion: no-preference) {
  .cs-motion-ready .cs-reveal {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .85s ease, translate .85s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--cs-delay, 0ms);
  }
  .cs-motion-ready .cs-reveal.cs-from-left { translate: -48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-right { translate: 48px 0; }
  .cs-motion-ready .cs-reveal.cs-from-scale { scale: .96; transition-property: opacity, translate, scale; }
  .cs-motion-ready .cs-reveal.cs-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1 !important; translate: none !important; scale: 1 !important; }
}
