:root {
  --black: #050505;
  --dark: #111111;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e9e9e9;
  --gray-300: #d9d9d9;
  --gray-500: #777777;
  --gray-700: #333333;
  --blue: #1f5eff;
  --cyan: #4fffc0;
  --max: 1580px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--black);
  word-break: keep-all;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1005;
  width: 100%;
  height: 86px !important;
  color: var(--white) !important;
  transition: 0.35s ease;
  background: transparent;
  border: 0;
}

#site-header.is-scrolled {
  height: 74px !important;
  color: var(--black) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.menu-open #site-header {
  background: transparent !important;
  color: var(--white) !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
}

.header-inner {
  width: min(100% - 64px, 1800px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: inherit !important;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  transition: 0.35s ease;
}

#site-header.is-scrolled .logo-mark {
  background: var(--black);
  color: var(--white);
}

.gnb {
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 18px;
  font-weight: 600;

}

.gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb a {
  position: relative;
  opacity: 0.86;
  transition: 0.25s;
  cursor: pointer;
  color: inherit !important;
  text-decoration: none !important;
}

.gnb a.is-active {
  opacity: 1;

}

.gnb a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: 0.25s;
}

.gnb a:hover::after,
.gnb-item:hover>a::after,
.gnb a.is-active::after {
  width: 100%;
}

.depth2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  padding: 14px 0;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s var(--ease);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gnb-item:hover .depth2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.depth2 a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700) !important;
  opacity: 0.7;
  white-space: nowrap;
}

.depth2 a:hover {
  opacity: 1;
  color: var(--blue) !important;
  background: var(--gray-50);
}

.depth2 a.is-active {
  opacity: 1;
  color: var(--blue) !important;
  font-weight: 800;
}

.depth2 a::after {
  display: none;
}

.header-util {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 10px;
}

.language li {
  position: relative;
  display: flex;
  align-items: center;
}

.language li+li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 15px;
  opacity: 0.5;
}

.language a {
  display: block;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: inherit !important;
  opacity: 0.46;
  transition: opacity 0.25s ease;
  text-decoration: none !important;
}

.language a.select {
  opacity: 1;
}

.language a.select::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: inherit !important;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 27px;
  height: 2px;
  background: currentColor;
  margin: 6px auto;
  transition: 0.3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--black);
  color: var(--white);
  padding: 120px 32px 40px;
  transform: translateX(100%);
  transition: 0.45s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a,
.m-depth1 {
  display: block;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.06em;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  text-decoration: none !important;
}

.mobile-menu a.is-active,
.m-depth1.is-active {
  color: var(--cyan) !important;
}

.m-depth2 {
  display: none;
  padding: 10px 0 20px 20px;
}

.m-depth2 a {
  padding: 12px 0;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
  border-bottom: 0;
}

.m-depth2 a:hover {
  opacity: 1;
  color: var(--cyan) !important;
}

.container {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
}

.reveal,
.reveal-left,
.reveal-right,
.mask-reveal {
  opacity: 0;
  transition: 1.1s var(--ease);
}

.reveal {
  transform: translateY(54px);
}

.reveal-left {
  transform: translateX(-64px);
}

.reveal-right {
  transform: translateX(64px);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.mask-reveal {
  opacity: 1;
  clip-path: inset(0 100% 0 0 round(14px));
  transform: scale(1.035);
  transition: clip-path 1.35s var(--ease), transform 1.35s var(--ease);
}

.mask-reveal.is-visible {
  clip-path: inset(0 0 0 0 round(14px));
  transform: scale(1);
}

.media-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31, 94, 255, 0.16), rgba(79, 255, 192, 0.13)), #dfe3ea;
}

.media-box::before {
  content: attr(data-label);
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.media-box.has-media::before {
  display: none;
}

.media-box img,
.media-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* Global Section Styles (from source.php) */
.section {
  padding: 150px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.eyebrow {
  display: block;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 54px;
  color: var(--black);
}

.section-dark .eyebrow,
.history .eyebrow {
  color: var(--white);
}

.big-title {
  font-size: clamp(50px, 5.4vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.075em;
  font-weight: 850;
}

.section-desc {
  margin-top: 34px;
  max-width: 760px;
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.65;
  color: var(--gray-700);
  letter-spacing: -0.035em;
}

.history {
  background: var(--black) !important;
  color: var(--white) !important;
}

.history .section-desc {
  color: rgba(255, 255, 255, 0.68);
}




/* FINAL HISTORY GALLERY LAYOUT */
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, 600px);
  gap: 80px;
  align-items: center;
}

.history-content {
  min-width: 0;
}

.history-gallery {
  width: 100%;
}


.history-img {
  overflow: hidden;
  border-radius: 6px;
  background: var(--gray-700);
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.history-img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Premium Stagger Delays */
.history-img.item-1.is-visible {
  transition-delay: 0.0s;
}

.history-img.item-2.is-visible {
  transition-delay: 0.15s;
}

.history-img.item-3.is-visible {
  transition-delay: 0.3s;
}

.history-img.item-4.is-visible {
  transition-delay: 0.45s;
}

.history-img.item-5.is-visible {
  transition-delay: 0.6s;
}

.history-img.item-1 {
  grid-column: 1;
  grid-row: 1;
}

.history-img.item-2 {
  grid-column: 3;
  grid-row: 1;
}

.history-img.item-3 {
  grid-column: 2;
  grid-row: 2;
}

.history-img.item-4 {
  grid-column: 1;
  grid-row: 3;
}

.history-img.item-5 {
  grid-column: 3;
  grid-row: 3;
}

/* ── History Responsive ── */

/* 1200px: thu nhỏ gallery column nhẹ */
@media (max-width: 1200px) {
  .history-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 540px);
    gap: 60px;
  }

  .history-gallery-grid {
    padding-top: 400px;
    grid-template-rows: repeat(3, 130px);
  }

  #history .big-title {
    font-size: clamp(38px, 4.2vw, 56px);
  }
}

/* --- COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS --- */

/* Luôn giữ mũi tên ngang (PC), ẩn mũi tên dọc (Mobile) */
.w_1530 .graph .only_mo {
  display: none !important;
}

.w_1530 .graph .only_web,
.w_1530 .graph .only_w {
  display: inline-block !important;
}

/* Ngăn Flexbox tự bóp méo tỷ lệ mũi tên trên màn hình 1600px -> 1280px */
.w_1530 .graph .arr_box.m_l,
.w_1530 .graph .arr_box.m_r {
  flex-shrink: 0 !important;
}

.w_1530 .graph .arr_box img.only_web,
.w_1530 .graph .arr_box img.only_w {
  height: 36px !important;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0 !important;
}

/* ── English: fix flowchart ở MỌI kích thước màn hình ──
   Tổng chiều rộng tối đa ~480px (circles 240 + arrows 160 + icons 80)
   để luôn vừa cột business-content (min ~540px ở viewport 1281px) ── */

/* Hình tròn: giảm từ 185px → 120px để nhường chỗ cho text dài hơn */
/* body.eng .w_1530 .graph .gr_box {
  max-width: 120px !important;
} */

/* Chữ trong hình tròn: wrap tại ranh giới từ, font nhỏ hơn */
body.eng .w_1530 .graph .gr_box span b {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  font-size: 18px;
  word-break: normal;
  overflow-wrap: normal;
  width: 85%;
  padding: 0 4px;
  box-sizing: border-box;
}

/* Margin mũi tên: giảm từ 20px → 10px */
/* body.eng .w_1530 .graph .arr_box.m_l {
  margin-left: 10px !important;
}

body.eng .w_1530 .graph .arr_box.m_r {
  margin-right: 10px !important;
} */

/* Kích thước ảnh mũi tên: giảm từ 36px → 24px */
/* body.eng .w_1530 .graph .arr_box img.only_web,
body.eng .w_1530 .graph .arr_box img.only_w {
  height: 24px !important;
  width: auto !important;
} */

/* Nhãn mũi tên: wrap tại ranh giới từ, giới hạn chiều rộng */
body.eng .w_1530 .graph .arr_box div {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-align: center;
  /* max-width: 80px;
  font-size: 13px; */
}

/* Margin ico_list: giảm từ 30px → 15px */
body.eng .w_1530 .graph .ico_list {
  margin: 0 15px !important;
}

/* Kích thước icon: giảm nhẹ */
/* body.eng .w_1530 .graph .ico_list li .img_box img {
  max-width: 40px !important;
  height: auto !important;
} */

/* Icon labels: wrap tại ranh giới từ */
body.eng .w_1530 .graph .ico_list li {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-align: center;
  /* max-width: 70px; */
  /* font-size: 12px; */
}

/* Business Flowchart (.graph_le) — scale down elements từ ≤ 1280px
   Container thực tế ≈ 45% viewport (nằm trong cột bên phải business-row 2 cột)
   nên dùng vw ≈ 10vw ≈ 22% container */
@media (max-width: 1280px) {

  /* Dùng contain để ảnh nền luôn vừa container, không bị cắt xén */
  .w_1530 .graph .graph_le {
    background-size: contain !important;
    background-position: center center !important;
    justify-content: center !important;
    min-height: clamp(100px, 14vw, 220px) !important;
  }

  /* Co giãn 2 hình tròn: 10vw ≈ 22% container */
  .w_1530 .graph .gr_box {
    max-width: clamp(65px, 10vw, 145px) !important;
  }

  .w_1530 .graph .gr_box span b {
    font-size: clamp(13px, 1.8vw, 24px) !important;
  }

  /* Thu nhỏ khoảng cách giữa các khối */
  .w_1530 .graph .ico_list {
    margin: 0 clamp(4px, 1.2vw, 20px) !important;
  }

  .w_1530 .graph .arr_box.m_l {
    margin-left: clamp(4px, 1.2vw, 15px) !important;
  }

  .w_1530 .graph .arr_box.m_r {
    margin-right: clamp(4px, 1.2vw, 15px) !important;
  }

  /* Co giãn 3 icon ở giữa */
  .w_1530 .graph .ico_list li .img_box img {
    max-width: clamp(28px, 3.8vw, 58px) !important;
    height: auto !important;
  }

  .w_1530 .graph .ico_list li {
    font-size: clamp(10px, 1.3vw, 15px) !important;
    white-space: nowrap !important;
  }

  /* Mũi tên */
  .w_1530 .graph .arr_box div {
    font-size: clamp(10px, 1.3vw, 15px) !important;
  }

  .w_1530 .graph .arr_box img.only_web,
  .w_1530 .graph .arr_box img.only_w {
    height: clamp(14px, 2vw, 34px) !important;
    width: auto !important;
    max-width: none !important;
  }

  /* History layout 1 cột từ 1280px để bỏ gallery grid */
  #history .history-layout,
  #history .history-content,
  #history .history-list,
  #history .history-row {
    width: 100%;
    max-width: 100%;
  }

  #history .history-layout {
    display: block !important;
  }

  #history .history-gallery,
  #history .history-gallery-grid {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
  }
}

/* ── English flowchart: cho phép text wrap ở ranh giới từ (không cắt giữa từ) ── */
@media (max-width: 1280px) {

  /* Chữ trong hình tròn: chỉ xuống dòng ở khoảng trắng giữa từ */
  body.eng .w_1530 .graph .gr_box span b {
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.15 !important;
    font-size: clamp(10px, 1.3vw, 16px) !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
  }

  /* Đảm bảo hình tròn đủ to để chứa chữ "Company" mà không bị tràn */
  body.eng .w_1530 .graph .gr_box {
    max-width: clamp(85px, 12vw, 120px) !important;
    min-width: 85px !important;
  }

  /* Nhãn mũi tên (Procurement / Demand Forecast) */
  body.eng .w_1530 .graph .arr_box div {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    max-width: clamp(65px, 8vw, 90px) !important;
    font-size: clamp(9px, 1.1vw, 12px) !important;
  }

  /* Thu nhỏ hình ảnh mũi tên thêm một chút ở màn nhỏ */
  body.eng .w_1530 .graph .arr_box img.only_web,
  body.eng .w_1530 .graph .arr_box img.only_w {
    height: clamp(16px, 2.5vw, 24px) !important;
  }

  /* Icon labels (Agency / Order Mgmt / Quality/Inv Mgmt) */
  body.eng .w_1530 .graph .ico_list li {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    max-width: clamp(55px, 7vw, 80px) !important;
    font-size: clamp(9px, 1.1vw, 12px) !important;
  }

  /* Giảm margin giữa các icon và mũi tên để tiết kiệm không gian ngang */
  body.eng .w_1530 .graph .ico_list {
    margin: 0 clamp(5px, 1vw, 15px) !important;
  }

  body.eng .w_1530 .graph .arr_box.m_l {
    margin-left: clamp(2px, 0.5vw, 10px) !important;
  }

  body.eng .w_1530 .graph .arr_box.m_r {
    margin-right: clamp(2px, 0.5vw, 10px) !important;
  }
}

/* ── English: màn hình di động (dưới 768px) ──
   Tiếp tục thu nhỏ thêm để vừa với màn hình 300px - 400px mà không bị tràn */
@media (max-width: 768px) {

  /* Hủy min-width 85px để hình tròn có thể co lại vừa màn hình */
  body.eng .w_1530 .graph .gr_box {
    min-width: 65px !important;
    max-width: clamp(65px, 18vw, 85px) !important;
  }

  body.eng .w_1530 .graph .gr_box span b {
    font-size: clamp(8.5px, 2.5vw, 11px) !important;
    padding: 0 1px !important;
    /* Ở màn hình quá nhỏ, nếu từ dài quá bắt buộc phải cắt chữ để không vỡ layout */
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  body.eng .w_1530 .graph .arr_box div {
    max-width: 50px !important;
    font-size: clamp(8px, 2vw, 10px) !important;
  }

  body.eng .w_1530 .graph .ico_list li {
    max-width: 45px !important;
    font-size: clamp(8px, 2vw, 10px) !important;
  }

  body.eng .w_1530 .graph .arr_box img.only_web,
  body.eng .w_1530 .graph .arr_box img.only_w {
    height: 12px !important;
  }
}

/* 1024px: layout 1 cột, gallery xuống dưới */
@media (max-width: 1024px) {
  .home-page .section {
    padding: 80px 0;
  }



  #history .big-title,
  .pin-story .pin-text-item h2 {
    font-size: clamp(34px, 4vw, 50px);
  }

  #history .history-list {
    margin-top: 48px;
  }

  /* Header adjustments for tablet/mobile */
  .gnb {
    display: none !important;
  }

  .menu-btn {
    display: block !important;
  }

  .header-util {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --max: 100%;
  }

  /* Header adjustments */
  .header-inner {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .header-util {
    gap: 8px !important;
    margin-left: auto;
    margin-right: 10px !important;
  }

  .language {
    gap: 10px !important;
  }

  .logo {
    font-size: 20px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  /* Hero Section */
  .home-page .hero-inner {
    text-align: center;
    padding-top: 140px;
  }

  .home-page .hero-title {
    font-size: 38px;
    line-height: 1.1;
  }

  .home-page .hero-desc {
    margin: 24px auto 0;
    font-size: 16px;
  }

  .home-page .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  /* .home-page .hero-actions .btn { width: 100%; } */


  /* Business Section */
  .home-page .business-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
  }

  .home-page .business-row,
  .home-page .business-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-page .business-img-wrap {
    height: 280px;
    min-height: 280px;
    order: 1 !important;
  }

  .home-page .business-content {
    padding-top: 0;
    order: 2 !important;
    text-align: center;
  }

  .home-page .business-no {
    margin-bottom: 20px;
    justify-content: center;
  }

  .home-page .business-no::after {
    display: none;
  }

  .home-page .business-content h3 {
    font-size: 32px;
  }

  .home-page .business-content h4 {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .home-page .business-content p {
    font-size: 15px;
  }

  .home-page .business-tags {
    justify-content: center;
  }



  /* Quality Section */
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quality-item {
    padding: 32px;
  }


  /* History Section ─ 768px */
  #history {
    padding: 72px 0 !important;
  }

  #history .big-title,
  #history .section-desc,
  #history .eyebrow {
    text-align: left;
    width: 100%;
  }

  #history .big-title,
  .pin-story .pin-text-item h2 {
    font-size: clamp(28px, 7vw, 42px);
    letter-spacing: -0.06em;
  }

  #history .eyebrow {
    margin-bottom: 32px;
  }

  #history .section-desc {
    font-size: 16px;
    margin-top: 18px;
  }

  #history .history-layout,
  #history .history-content,
  #history .history-list,
  #history .history-row {
    width: 100%;
    max-width: 100%;
  }

  #history .history-layout {
    display: block;
  }

  #history .history-gallery,
  #history .history-gallery-grid {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
  }

  #history .history-list {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  #history .history-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  #history .history-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  #history .history-year {
    font-size: 32px;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  #history .history-row ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
    padding-left: 20px;
    list-style-type: disc;
    list-style-position: outside;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-word;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
  }
}

/* ── History: 576px ── */
@media (max-width: 576px) {

  /* Intro Section */
  .flat-list {
    grid-template-columns: 1fr !important;
  }

  .flat-card {
    min-height: auto !important;
  }

  #history {
    padding: 60px 0 !important;
  }

  #history .big-title,
  .pin-story .pin-text-item h2 {
    font-size: clamp(26px, 7.5vw, 36px);
    letter-spacing: -0.05em;
  }

  #history .section-desc {
    font-size: 15px;
    line-height: 1.6;
  }

  #history .eyebrow {
    font-size: 14px;
    margin-bottom: 24px;
  }

  #history .history-list {
    margin-top: 36px;
  }

  #history .history-row {
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  #history .history-year {
    font-size: 28px;
    margin-bottom: 0;
  }

  #history .history-row ul {
    font-size: 14px;
    gap: 10px;
    padding-left: 18px;
  }

  .home-page .hero-title {
    font-size: 32px;
  }

  .big-title {
    font-size: 32px;
  }

  .section-desc {
    font-size: 15px;
  }

  .floating {
    right: 16px;
    bottom: 16px;
  }

  .floating a {
    width: 50px;
    height: 50px;
  }
}



/* ── History: 480px ── */
@media (max-width: 480px) {
  #history .history-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
  }

  #history .history-year {
    margin-bottom: 4px;
  }
}

/* ── History: 375px ── */
@media (max-width: 375px) {
  #history {
    padding: 48px 0 !important;
  }

  #history .big-title,
  .pin-story .pin-text-item h2 {
    font-size: 24px;
    letter-spacing: -0.04em;
  }

  #history .section-desc {
    font-size: 14px;
  }

  #history .eyebrow {
    font-size: 13px;
    margin-bottom: 20px;
  }

  #history .history-list {
    margin-top: 30px;
  }

  #history .history-row {
    gap: 8px;
    padding: 20px 0;
  }

  #history .history-year {
    font-size: 24px;
  }

  #history .history-row ul {
    font-size: 14px;
    gap: 8px;
    padding-left: 16px;
  }
}

/*logo*/
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 30px;
  width: auto;
  transition: opacity 0.25s ease;
}