/* NEXTZHEN Company subpages (shared) */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Mrs+Saint+Delafield&display=swap");

/* Hero */

.company-hero {
  --company-hero-reveal-duration: 850ms;
  --company-hero-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --company-hero-reveal-distance: 18px;
  position: relative;
  width: 100%;
  min-height: clamp(320px, 35.21vw, 676px);
  overflow: hidden;
  isolation: isolate;
}

.company-hero__media {
  position: absolute;
  inset: 0;
  background-color: #0a1428;
  background-image: url("/assets/images/company/company-hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 68%;
}

.company-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.company-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: clamp(48px, 4.17vw, 80px) 24px;
  text-align: center;
}

.company-hero__title {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 3.28125vw, 63px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translate3d(0, var(--company-hero-reveal-distance), 0);
  animation: company-hero-text-reveal var(--company-hero-reveal-duration) var(--company-hero-reveal-ease) forwards;
  animation-delay: 120ms;
  will-change: opacity, transform;
}

.company-hero__subtitle {
  max-width: min(100%, 1200px);
  margin: clamp(16px, 1.67vw, 26px) 0 0;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(16px, 1.40625vw, 27px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translate3d(0, var(--company-hero-reveal-distance), 0);
  animation: company-hero-text-reveal var(--company-hero-reveal-duration) var(--company-hero-reveal-ease) forwards;
  animation-delay: 260ms;
  will-change: opacity, transform;
}

@keyframes company-hero-text-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, var(--company-hero-reveal-distance), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Navigation + page heading */

.company-nav {
  background-color: #ffffff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 11.7px 1px rgba(185, 185, 185, 0.08);
}

.company-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 2.6vw, 50px);
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(56px, 5.21vw, 100px) 24px clamp(36px, 2.6vw, 50px);
}

.company-nav__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 210px));
  justify-content: center;
  gap: clamp(12px, 1.04vw, 20px);
  width: 100%;
  max-width: 920px;
}

.company-nav__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid #004aea;
  border-radius: 999px;
  color: #004aea;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.company-nav__tab.is-active {
  background-color: #004aea;
  border-color: #004aea;
  color: #ffffff;
}

.company-nav__tab:not(.is-active):hover {
  background-color: rgba(0, 74, 234, 0.06);
}

.company-nav__tab:focus-visible {
  outline: 2px solid #004aea;
  outline-offset: 2px;
}

.company-nav__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.04vw, 20px);
  width: min(100%, 1340px);
  text-align: center;
}

.company-nav__title {
  margin: 0;
  color: #333333;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(32px, 2.760416vw, 53px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.company-nav__subtitle {
  max-width: 1340px;
  margin: 0;
  color: rgba(51, 51, 51, 0.8);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(16px, 1.197916vw, 23px);
  font-weight: 400;
  line-height: clamp(24px, 1.5625vw, 30px);
}

@media (min-width: 1200px) {
  #company-about .company-nav__subtitle,
  #rnd-certifications .company-nav__subtitle {
    max-width: none;
    white-space: nowrap;
  }
}

.company-nav__subtitle-emphasis {
  color: #004aea;
}

.company-nav__subtitle-emphasis--dark {
  color: #333333;
}

#company-history .company-nav__subtitle {
  max-width: 820px;
  line-height: clamp(24px, 1.5625vw, 30px);
}

#company-location .company-nav__subtitle {
  max-width: 620px;
  line-height: clamp(24px, 1.5625vw, 30px);
}

/* Responsive */

@media (max-width: 1199px) {
  .company-hero {
    min-height: clamp(300px, 42vw, 580px);
  }

  .company-hero__media {
    background-position: center 66%;
  }
}

@media (max-width: 899px) {
  .company-hero {
    min-height: clamp(280px, 52vw, 460px);
    --company-hero-reveal-distance: 14px;
  }

  .company-hero__title {
    animation-delay: 80ms;
  }

  .company-hero__subtitle {
    animation-delay: 180ms;
  }

  /* .company-nav__tabs pill 2×2 layout is replaced by the
     shared subnav dropdown below 950px (see bottom of this file). */
}

@media (max-width: 599px) {
  .company-hero {
    min-height: clamp(240px, 58vw, 360px);
    --company-hero-reveal-distance: 10px;
  }

  .company-hero__content {
    padding-inline: 20px;
  }

  .company-nav__inner {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-hero__title,
  .company-hero__subtitle {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

/* About Introduction */

#company-about {
  --about-portrait-drop: clamp(28px, 3.2vw, 52px);
  --about-philosophy-lift: clamp(24px, 2.8vw, 40px);
  --about-philosophy-nudge: 13px;
}

.about-intro {
  padding: clamp(64px, 7.8125vw, 150px) clamp(20px, 4vw, 24px) 0;
  background-color: #ffffff;
  overflow: visible;
}

.about-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 290fr) minmax(0, 600fr) minmax(0, 402fr);
  column-gap: clamp(24px, 3.26vw, 42px);
  align-items: start;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  overflow-x: clip;
}

.about-intro__label {
  margin: 0;
  color: #211c1c;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(28px, 1.927083vw, 37px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-intro__main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  min-width: 0;
}

.about-intro__highlight {
  max-width: 600px;
  margin: 0;
  color: #004aea;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(20px, 1.40625vw, 27px);
  font-weight: 700;
  line-height: clamp(28px, 1.875vw, 36px);
  letter-spacing: -0.01em;
}

.about-intro__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 571px;
  margin-top: clamp(20px, 2.33vw, 30px);
}

.about-intro__body p {
  margin: 0;
  color: #444444;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
}

.about-intro__body p + p {
  margin-top: 26px;
}

.about-intro__body strong {
  font-weight: 700;
}

.about-intro__signature {
  max-width: 600px;
  margin: clamp(24px, 2.6vw, 40px) 0 0;
  color: #444444;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
}

.about-intro__signature-role {
  color: #444444;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 26px;
}

.about-intro__signature-name {
  margin-left: 0.35em;
  color: #000000;
  font-family: "Mrs Saint Delafield", cursive;
  font-size: clamp(28px, 1.927083vw, 37px);
  font-weight: 400;
  line-height: 26px;
  vertical-align: baseline;
}

.about-intro__portrait {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: end;
  min-width: 0;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}

.about-intro__portrait-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  transform: scale(1.45) translateY(var(--about-portrait-drop));
  transform-origin: bottom right;
  pointer-events: none;
}

@media (max-width: 1199px) and (min-width: 900px) {
  .about-intro__inner {
    grid-template-columns: minmax(160px, 290fr) minmax(280px, 600fr) minmax(160px, 402fr);
    column-gap: clamp(20px, 2.5vw, 32px);
  }
}

@media (max-width: 899px) and (min-width: 750px) {
  .about-intro {
    padding-top: clamp(48px, 8vw, 96px);
    padding-bottom: 0;
  }

  .about-intro__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "label label"
      "content portrait";
    column-gap: clamp(16px, 2.5vw, 24px);
    row-gap: clamp(28px, 4vw, 40px);
  }

  .about-intro__label {
    grid-area: label;
  }

  .about-intro__main {
    grid-area: content;
    align-self: start;
    max-width: none;
  }

  .about-intro__portrait {
    grid-area: portrait;
    align-self: end;
    justify-content: flex-end;
    margin-top: 0;
  }

  .about-intro__highlight,
  .about-intro__body,
  .about-intro__signature {
    max-width: none;
  }

  .about-intro__highlight-break {
    display: none;
  }

  #company-about {
    --about-portrait-drop: clamp(20px, 2.8vw, 40px);
    --about-philosophy-lift: clamp(18px, 2.4vw, 32px);
    --about-philosophy-nudge: 13px;
  }

  .about-intro__portrait-image {
    transform: scale(1.3) translateY(var(--about-portrait-drop));
    transform-origin: bottom right;
  }
}

@media (max-width: 749px) {
  #company-about {
    --about-portrait-drop: clamp(14px, 3.5vw, 24px);
    --about-philosophy-lift: clamp(12px, 3vw, 20px);
    --about-philosophy-nudge: 13px;
  }

  .about-intro {
    padding-top: clamp(40px, 10vw, 64px);
    padding-bottom: 0;
  }

  .about-intro__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 32px);
  }

  .about-intro__highlight,
  .about-intro__body,
  .about-intro__signature {
    max-width: none;
  }

  .about-intro__highlight-break {
    display: none;
  }

  .about-intro__main {
    max-width: none;
  }

  .about-intro__portrait {
    align-self: center;
    width: 100%;
    margin-top: 0;
  }

  .about-intro__portrait-image {
    width: 100%;
    max-width: min(100%, 420px);
    margin-inline: auto;
    transform: scale(1.12) translateY(var(--about-portrait-drop));
    transform-origin: bottom center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #company-about {
    --about-portrait-drop: 0px;
    --about-philosophy-lift: 0px;
    --about-philosophy-nudge: 0px;
  }

  .about-intro__portrait-image {
    transform: none;
  }
}


/* About Philosophy */

.about-philosophy {
  margin-top: calc(var(--about-portrait-drop) + var(--about-philosophy-lift) - var(--about-philosophy-nudge));
  background-color: rgba(235, 241, 253, 0.7);
  padding: 0 clamp(20px, 4vw, 24px) clamp(64px, 7.8125vw, 150px);
}

.about-philosophy__inner {
  display: grid;
  grid-template-columns: minmax(0, 290fr) minmax(0, 945fr);
  column-gap: clamp(24px, 3.26vw, 42px);
  align-items: center; /* 세로 중앙 정렬 */
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding-top: clamp(64px, 7.8125vw, 150px);
}

.about-philosophy__label {
  margin: 0;
  color: #211c1c;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(28px, 1.927083vw, 37px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-philosophy__items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0; /* gap을 제거하여 원과 점선 사이의 불필요한 공백을 없앱니다 */
  width: 100%;
}

.about-philosophy__item {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}




/* 원형 컨테이너 (텍스트를 품기 위해 relative 설정) */
.about-philosophy__circle {
  position: relative;
  width: 240px;     /* 가로 크기 고정 */
  height: 240px;    /* 세로 크기 고정 추가 */
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;   /* 크기가 줄어들거나 늘어나는 것 방지 */
}

/* 배경 그라데이션 원 이미지 */
.about-philosophy__circle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 원 내부 콘텐츠 래퍼 */
.about-philosophy__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

/* Vision / Mission / Motto 타이틀 */
.about-philosophy__circle-label {
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 1.197916vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* 원과 원 사이 연결선 (가로 점선) */
.about-philosophy__connector {
  flex: 1;
  height: 0;
  border-top: 2px dotted #8eb4f9;
  min-width: 40px;
  /* max-width 속성을 제거하여 공간에 맞춰 끝까지 늘어나도록 합니다 */
}

/* 상세 설명 텍스트 */
.about-philosophy__desc {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
}




/* About Core Value */

.about-core-value {
  background-color: #ffffff;
  padding: clamp(64px, 7.8125vw, 150px) clamp(20px, 4vw, 24px);
}

.about-core-value__inner {
  display: grid;
  grid-template-columns: minmax(0, 254fr) minmax(0, 976fr);
  column-gap: clamp(24px, 4.65vw, 60px);
  align-items: start;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
}

.about-core-value__label {
  margin: 0;
  color: #211c1c;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(28px, 1.927083vw, 37px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-core-value__items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 4.65vw, 60px);
  min-width: 0;
  width: 100%;
}

.about-core-value__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 344px;
  gap: 10px;
}

.about-core-value__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 63px;
  border-radius: 50%;
  background-color: #ebf1fd;
  flex-shrink: 0;
}

.about-core-value__icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 49px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.about-core-value__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.about-core-value__title {
  margin: 0;
  padding-bottom: 10px;
  color: #161414;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.about-core-value__desc {
  margin: 0;
  width: 100%;
  max-width: 344px;
  color: #8b8b8b;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
}

@media (max-width: 1199px) and (min-width: 750px) {
  .about-philosophy__inner {
    grid-template-columns: minmax(120px, 220fr) minmax(0, 945fr);
    column-gap: clamp(16px, 2vw, 28px);
  }

  .about-philosophy__items {
    gap: clamp(12px, 2vw, 32px);
  }

  .about-philosophy__item {
    max-width: none;
  }

  .about-philosophy__circle {
    width: min(100%, clamp(170px, 17vw, 220px));
  }

  .about-core-value__inner {
    grid-template-columns: minmax(110px, 200fr) minmax(0, 976fr);
    column-gap: clamp(16px, 2.5vw, 36px);
  }

  .about-core-value__items {
    gap: clamp(12px, 2.5vw, 40px);
  }

  .about-core-value__item {
    max-width: none;
  }

  .about-core-value__desc {
    max-width: 100%;
  }
}

@media (max-width: 899px) and (min-width: 750px) {
  .about-philosophy__inner {
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 3.5vw, 36px);
  }

  .about-philosophy__items {
    gap: clamp(10px, 1.6vw, 18px);
  }

  .about-philosophy__circle {
    width: min(100%, clamp(140px, 18vw, 190px));
  }

  .about-philosophy__circle-label {
    font-size: clamp(16px, 1.8vw, 19px);
  }

  .about-philosophy__desc-break {
    display: none;
  }

  .about-core-value__inner {
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 3.5vw, 36px);
  }

  .about-core-value__items {
    gap: clamp(10px, 1.8vw, 20px);
  }

  .about-core-value__icon-wrap {
    width: clamp(54px, 7.5vw, 64px);
    height: clamp(53px, 7.5vw, 63px);
  }

  .about-core-value__icon-bg {
    width: clamp(40px, 5.6vw, 48px);
    height: clamp(41px, 5.7vw, 49px);
  }

  .about-core-value__icon {
    max-width: clamp(28px, 4vw, 36px);
    max-height: clamp(28px, 4vw, 36px);
  }
}

@media (max-width: 749px) {
  .about-philosophy {
    margin-top: calc(var(--about-portrait-drop) + var(--about-philosophy-lift) - var(--about-philosophy-nudge));
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .about-philosophy__inner {
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 5vw, 32px);
    padding-top: clamp(40px, 10vw, 64px);
  }

  .about-philosophy__items {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(28px, 6vw, 40px);
  }

  .about-philosophy__item {
    flex: none;
    width: 100%;
    max-width: 300px;
  }

  .about-philosophy__circle {
    width: min(100%, 200px);
    flex-shrink: 0;
  }

  .about-philosophy__desc-break {
    display: none;
  }

  .about-core-value {
    padding-block: clamp(40px, 10vw, 64px);
  }

  .about-core-value__inner {
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 5vw, 32px);
  }

  .about-core-value__items {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(32px, 7vw, 48px);
  }

  .about-core-value__item {
    flex: none;
    width: 100%;
    max-width: 320px;
  }

  .about-core-value__desc {
    max-width: none;
  }
}

/* Company Award page heading */

#company-award .company-nav__subtitle {
  max-width: 740px;
  line-height: clamp(24px, 1.5625vw, 30px);
}

/* Award grid */

.award-grid-section {
  background-color: #ffffff;
  padding: clamp(48px, 5.21vw, 80px) clamp(20px, 4vw, 24px) clamp(64px, 7.8125vw, 150px);
}

.award-grid-section__inner {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 41px;
  row-gap: clamp(32px, 3.1vw, 50px);
  width: 100%;
}

.award-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.award-card__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 293 / 410;
  background-color: #ffffff;
  border: 1px solid #f2f2f2;
  overflow: hidden;
}

.award-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.award-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}

.award-grid-empty {
  margin: 0;
  text-align: center;
  color: #666666;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.award-card__title {
  margin: clamp(18px, 1.56vw, 24px) 0 0;
  color: #333333;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  text-align: center;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="5"] {
  transition-delay: 450ms;
}

.reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="6"] {
  transition-delay: 540ms;
}

.reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="7"] {
  transition-delay: 630ms;
}

.reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="8"] {
  transition-delay: 720ms;
}

@media (max-width: 1199px) and (min-width: 900px) {
  .award-grid {
    column-gap: clamp(24px, 2.8vw, 36px);
    row-gap: clamp(28px, 2.8vw, 44px);
  }
}

@media (max-width: 899px) and (min-width: 600px) {
  .award-grid-section {
    padding-top: clamp(40px, 6vw, 56px);
    padding-bottom: clamp(48px, 8vw, 96px);
  }

  .award-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 4vw, 32px);
    row-gap: clamp(28px, 4.5vw, 40px);
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="1"] {
    transition-delay: 50ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="2"] {
    transition-delay: 100ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="3"] {
    transition-delay: 150ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="4"] {
    transition-delay: 200ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="5"] {
    transition-delay: 250ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="6"] {
    transition-delay: 300ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="7"] {
    transition-delay: 350ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="8"] {
    transition-delay: 400ms;
  }
}

@media (max-width: 599px) {
  .award-grid-section {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .award-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: clamp(28px, 7vw, 36px);
  }

  .award-card {
    width: 100%;
    max-width: min(100%, 320px);
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="1"] {
    transition-delay: 40ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="2"] {
    transition-delay: 80ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="3"] {
    transition-delay: 120ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="4"] {
    transition-delay: 160ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="5"] {
    transition-delay: 200ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="6"] {
    transition-delay: 240ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="7"] {
    transition-delay: 280ms;
  }

  .reveal-section.is-revealed .award-grid .award-card.reveal-item[data-reveal-delay="8"] {
    transition-delay: 320ms;
  }
}

/* History timeline */

.history-section {
  background-color: #ffffff;
  padding: clamp(48px, 5.21vw, 80px) clamp(20px, 4vw, 24px) clamp(64px, 7.8125vw, 150px);
}

.history-section__inner {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
}

.history-list {
  --history-year-width: clamp(140px, calc(515 / 1290 * 100%), 515px);
  --history-axis-gap: 70px;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.history-list__timeline {
  position: absolute;
  top: 0;
  left: var(--history-year-width);
  z-index: 1;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.history-list__track {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  transform: translateX(-50%);
}

.history-list__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  border-radius: 5px;
}

.history-list__line--track {
  height: 100%;
  background-color: #d9d9d9;
}

.history-list__line--progress {
  height: 0;
  background-color: #004aea;
  transition: height 600ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.history-list__marker {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #004aea;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(0);
  transition:
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.history-list__timeline.is-engaged .history-list__marker {
  opacity: 1;
}

.history-list__marker-arrow {
  display: block;
  width: 13px;
  height: 9px;
}

@media (prefers-reduced-motion: reduce) {
  .history-list__marker,
  .history-list__line--progress {
    transition: none;
    will-change: auto;
  }
}

.history-entry {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--history-year-width) minmax(0, 1fr);
  column-gap: var(--history-axis-gap);
  align-items: start;
  min-width: 0;
}

.history-entry__year {
  padding-right: 50px;
  color: #004aea;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(24px, 1.71875vw, 33px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: right;
  white-space: nowrap;
}

.history-entry__content {
  min-width: 0;
  padding-top: 3px;
}

.history-entry__content p {
  margin: 0;
  color: #444444;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(16px, 0.989583vw, 19px);
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
}

.reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="5"] {
  transition-delay: 450ms;
}

.history-list-empty {
  margin: 0;
  text-align: center;
  color: #666666;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 1199px) and (min-width: 900px) {
  .history-list {
    --history-axis-gap: clamp(48px, 5.5vw, 60px);
  }

  .history-entry__year {
    padding-right: clamp(28px, 4vw, 50px);
  }
}

@media (max-width: 899px) and (min-width: 600px) {
  .history-section {
    padding-top: clamp(40px, 6vw, 56px);
    padding-bottom: clamp(48px, 8vw, 96px);
  }

  .history-list {
    --history-year-width: clamp(88px, 28%, 220px);
    --history-axis-gap: clamp(32px, 5vw, 50px);
    gap: clamp(40px, 6vw, 56px);
  }

  .history-entry__year {
    padding-right: clamp(16px, 3vw, 32px);
    font-size: clamp(24px, 3.2vw, 30px);
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="1"] {
    transition-delay: 50ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="2"] {
    transition-delay: 100ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="3"] {
    transition-delay: 150ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="4"] {
    transition-delay: 200ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="5"] {
    transition-delay: 250ms;
  }
}

@media (max-width: 599px) {
  .history-section {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .history-list {
    gap: clamp(32px, 8vw, 48px);
  }

  .history-list__timeline {
    display: none;
  }

  .history-entry {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2.5vw, 14px);
  }

  .history-entry__year {
    padding-right: 0;
    font-size: clamp(24px, 6.5vw, 30px);
    text-align: left;
  }

  .history-entry__content {
    padding-top: 0;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="1"] {
    transition-delay: 40ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="2"] {
    transition-delay: 80ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="3"] {
    transition-delay: 120ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="4"] {
    transition-delay: 160ms;
  }

  .reveal-section.is-revealed .history-list .history-entry.reveal-item[data-reveal-delay="5"] {
    transition-delay: 200ms;
  }
}

/* Location map + contact */

.location-section {
  background-color: #ffffff;
  padding: clamp(48px, 5.21vw, 80px) clamp(20px, 4vw, 24px) clamp(64px, 7.8125vw, 150px);
}

.location-section__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.125vw, 60px);
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
}

.location-map {
  width: 100%;
  min-width: 0;
}

.location-map__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1290 / 693;
  min-height: clamp(220px, 42vw, 693px);
  overflow: hidden;
  background-color: #f3f6fc;
  border: 1px solid #dde8ff;
}

.location-map__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-contact {
  width: 100%;
  min-width: 0;
}

.location-contact__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background-color: #ffffff;
}

.location-contact__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.location-contact__header-cell,
.location-contact__data-cell {
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
}

.location-contact__header-cell {
  min-height: 60px;
  background-color: #ebf1fd;
  color: #444444;
  font-family: "Inter", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 26px;
}

.location-contact__header-cell:not(:last-child) {
  border-right: 1px solid #dde8ff;
}

.location-contact__data-cell {
  min-height: 88px;
  color: #444444;
  font-family: "Inter", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 26px;
}

.location-contact__data-cell:not(:last-child) {
  border-right: 1px solid #ebf1fd;
}

.location-contact tbody tr {
  border-bottom: 1px solid #dde8ff;
}

.location-contact__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.location-contact__link:hover,
.location-contact__link:focus-visible {
  color: #004aea;
  text-decoration: underline;
}

.location-contact__link:focus-visible {
  outline: 2px solid #004aea;
  outline-offset: 2px;
}

.location-contact__col--address {
  width: 61.24%;
}

.location-contact__col--tel {
  width: 15.5%;
}

.location-contact__col--email {
  width: 23.26%;
}

@media (max-width: 1199px) and (min-width: 900px) {
  .location-map__canvas {
    min-height: clamp(260px, 36vw, 520px);
  }

  .location-contact__header-cell,
  .location-contact__data-cell {
    padding: 10px;
    font-size: clamp(15px, 1.2vw, 19px);
  }
}

@media (max-width: 899px) {
  .location-section {
    padding-top: clamp(40px, 6vw, 56px);
    padding-bottom: clamp(48px, 8vw, 96px);
  }

  .location-map__canvas {
    min-height: clamp(240px, 34vw, 420px);
  }

  .location-contact__col--address {
    width: 56%;
  }

  .location-contact__col--tel {
    width: 18%;
  }

  .location-contact__col--email {
    width: 26%;
  }

  .location-contact__header-cell,
  .location-contact__data-cell {
    padding: 8px 6px;
    font-size: 14px;
    line-height: 22px;
  }

  .location-contact__header-cell {
    min-height: 48px;
  }

  .location-contact__header-cell:nth-child(2),
  .location-contact__data-cell:nth-child(2) {
    white-space: nowrap;
  }
}

@media (max-width: 599px) {
  .location-section {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(40px, 10vw, 64px);
  }

  .location-map__canvas {
    aspect-ratio: auto;
    min-height: clamp(220px, 56vw, 320px);
  }

  .location-contact__col--address {
    width: 54%;
  }

  .location-contact__col--tel {
    width: 20%;
  }

  .location-contact__col--email {
    width: 26%;
  }

  .location-contact__header-cell,
  .location-contact__data-cell {
    padding: 8px 4px;
    font-size: 13px;
    line-height: 20px;
  }

  .location-contact__header-cell {
    min-height: 44px;
  }
}

@media (max-width: 430px) {
  .location-contact__col--address {
    width: 52%;
  }

  .location-contact__col--tel {
    width: 22%;
  }

  .location-contact__col--email {
    width: 26%;
  }

  .location-contact__header-cell:nth-child(2),
  .location-contact__data-cell:nth-child(2) {
    font-size: 12px;
  }

  .location-contact__data-cell:nth-child(3) {
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* =============================================================
   Shared Subpage Navigation Dropdown
   Applies to Company / Technology / R&D / Product subpage nav.

   >= 950px  →  existing pill tabs visible, dropdown hidden
   <  950px  →  pill tabs hidden, dropdown shown
   ============================================================= */

/* Desktop default: dropdown is invisible */
.subnav-dropdown {
  display: none;
}

@media (max-width: 949px) {
  /* ── Hide all pill-tab nav rows ── */
  .company-nav__tabs {
    display: none !important;
  }

  /* ── Dropdown wrapper ──
     z-index here creates a stacking context so the absolutely-positioned
     panel rises above sibling flex items (.company-nav__heading) that
     come later in DOM order. */
  .subnav-dropdown {
    display: block;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
  }

  /* ── Trigger button ── */
  .subnav-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    background-color: #ffffff;
    border: 1.5px solid #004aea;
    border-radius: 999px;
    color: #004aea;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .subnav-dropdown__trigger:hover {
    background-color: rgba(0, 74, 234, 0.05);
  }

  .subnav-dropdown__trigger:focus-visible {
    outline: 2px solid #004aea;
    outline-offset: 2px;
    border-radius: 999px;
  }

  /* ── Label text inside trigger ── */
  .subnav-dropdown__label {
    flex: 1;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  /* ── Chevron SVG ── */
  .subnav-dropdown__chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 210ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .subnav-dropdown.is-open .subnav-dropdown__chevron {
    transform: rotate(180deg);
  }

  /* ── Dropdown panel ── */
  .subnav-dropdown__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 200;
    margin: 0;
    padding: 8px;
    list-style: none;
    background-color: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 16px;
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.04),
      0 10px 24px rgba(0, 0, 0, 0.09);
  }

  .subnav-dropdown.is-open .subnav-dropdown__panel {
    display: block;
    animation: subnav-panel-reveal 210ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* ── Option links ── */
  .subnav-dropdown__option {
    display: block;
    padding: 13px 16px;
    border-radius: 10px;
    color: #333333;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    transition:
      background-color 0.15s ease,
      color 0.15s ease;
  }

  .subnav-dropdown__option.is-active {
    background-color: rgba(0, 74, 234, 0.08);
    color: #004aea;
    font-weight: 700;
  }

  .subnav-dropdown__option:not(.is-active):hover {
    background-color: #f3f4f6;
    color: #1d1d1d;
  }

  .subnav-dropdown__option:focus-visible {
    outline: 2px solid #004aea;
    outline-offset: -2px;
    border-radius: 10px;
  }
}

@keyframes subnav-panel-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .subnav-dropdown__chevron {
    transition: none;
  }

  .subnav-dropdown.is-open .subnav-dropdown__panel {
    animation: none;
  }
}
