/*
 * Signature Navy — presentation only, for the Thai and English Home page.
 * Keep the original template, translated copy, assets, links, native details
 * and existing interactions. This stylesheet is not loaded by Admin or by
 * other public pages. No content is replaced by the shortened design concept.
 */
body[data-page="home"] {
  --signature-navy: #071b3a;
  --signature-line: #dce4eb;
  --signature-space: clamp(52px, 6vw, 88px);
  background: #fff;
}

body[data-page="home"] .container {
  width: min(1280px, calc(100% - 64px));
}

/* A quieter, full-width masthead; the existing language and menu remain. */
body[data-page="home"] .site-header {
  background: #fff;
  border-bottom: 1px solid var(--signature-line);
  box-shadow: none;
}

body[data-page="home"] .nav-shell {
  min-height: 86px;
  margin-top: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .site-header .brand {
  flex: 0 0 250px;
  width: 250px;
  min-width: 250px;
  height: 56px;
}

body[data-page="home"] .site-nav {
  gap: 16px;
}

body[data-page="home"] .site-nav a {
  padding-inline: 2px;
  font-size: 12px;
  font-weight: 600;
}

body[data-page="home"] .site-nav a:not(.nav-cta)::after {
  left: 2px;
  right: 2px;
  height: 2px;
}

body[data-page="home"] .site-nav .nav-cta {
  min-height: 42px;
  margin-left: 3px;
  padding: 8px 15px;
  border-radius: 2px;
  background: var(--gold);
}

body[data-page="home"] .site-nav .nav-cta::after {
  color: var(--signature-navy);
}

body[data-page="home"] .site-header.is-compact .nav-shell {
  min-height: 70px;
  margin-top: 0;
  padding-block: 7px;
  box-shadow: none;
}

body[data-page="home"] .site-header.is-compact .brand {
  height: 46px;
}

/* Preserve the supplied artwork, glitch, pointer trails and all Hero copy. */
body[data-page="home"] .hero--home {
  min-height: 640px;
  padding-top: 86px;
  display: flex;
  align-items: center;
  background: var(--signature-navy);
}

body[data-page="home"] .hero__media.smh {
  /* Keep the S below the masthead when wide screens crop the artwork. */
  --smh-object-position: 65% 18%;
}

@media (max-aspect-ratio: 1 / 1) {
  body[data-page="home"] .hero__media.smh {
    /* Keep both edges of the S inside the narrower portrait frame. */
    --smh-object-position: 75% 18%;
    top: 12px;
  }
}

body[data-page="home"] .hero__shade {
  background:
    linear-gradient(90deg, #071b3af5 0%, #071b3ade 29%, #071b3a73 54%, #071b3a0d 82%),
    linear-gradient(0deg, #071b3a59, transparent 38%);
}

body[data-page="home"] .hero__content {
  padding: 60px 0 76px;
}

body[data-page="home"] .hero .eyebrow {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 600;
}

body[data-page="home"] .hero h1 {
  max-width: 720px;
  color: var(--gold);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-shadow: none;
}

body[data-page="home"] .hero h1::first-line {
  color: #fff;
}

body[data-page="home"] .hero h1::after {
  width: 68px;
  height: 2px;
  margin-top: 26px;
}

body[data-page="home"] .hero__lead {
  max-width: 560px;
  margin-top: 22px;
  color: #e5edf7;
  font-size: 16px;
  line-height: 1.85;
}

body[data-page="home"] .hero__actions {
  gap: 14px;
  margin-top: 28px;
}

body[data-page="home"] .hero .button {
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  box-shadow: none;
}

body[data-page="home"] .hero .button--ghost {
  border-color: #d4dfefb3;
  background: #071b3a4d;
}

/* A continuous navy trust band, with all four original icons and descriptions. */
body[data-page="home"] .trust-strip {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid #ffffff24;
  background: var(--signature-navy);
}

body[data-page="home"] .trust-strip__grid {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .trust-strip__grid div {
  min-height: 120px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 6px;
  padding: 25px 24px;
  border-right-color: #ffffff24;
}

body[data-page="home"] .trust-strip__grid div:first-child {
  padding-left: 0;
}

body[data-page="home"] .trust-strip__grid div:last-child {
  padding-right: 0;
}

body[data-page="home"] .trust-strip__grid div::before {
  width: 36px;
  height: 40px;
  border: 1px solid #f5b85c66;
  border-radius: 2px;
  background: transparent;
  font-size: 13px;
}

/* The visible SVG badges replace the old generated IT / AI / IoT / 24 text. */
body[data-page="home"] .trust-strip .trust-strip__grid > div::before {
  content: none;
}

body[data-page="home"] .trust-strip .trust-strip__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 36px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid #f5b85c66;
  border-radius: 2px;
  color: var(--gold);
  background: transparent;
}

body[data-page="home"] .home-feature-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  pointer-events: none;
}

body[data-page="home"] .trust-strip .home-feature-icon {
  width: 22px;
  height: 22px;
}

body[data-page="home"] .trust-strip strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .035em;
}

body[data-page="home"] .trust-strip span {
  margin: 0;
  color: #bfccdc;
  font-size: 12px;
  line-height: 1.65;
}

/* All eleven brands still use the original moving, pause-on-hover track. */
body[data-page="home"] .brand-partners {
  padding: 42px 0 34px;
  border-bottom: 1px solid var(--signature-line);
  background: #fff;
}

body[data-page="home"] .brand-partners__inner {
  gap: 22px;
}

body[data-page="home"] .brand-partners__heading {
  align-items: center;
}

body[data-page="home"] .brand-partners__heading .eyebrow {
  margin: 0;
  color: #526378;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

body[data-page="home"] .brand-partners__heading h2 {
  max-width: none;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.5;
}

body[data-page="home"] .brand-partners__logos {
  --brand-card-width: 180px;
  --brand-gap: 28px;
}

body[data-page="home"] .brand-partners__logo-card {
  height: 78px;
  min-height: 78px;
  padding: 12px 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="home"] .brand-partners__logo-card img {
  height: 48px;
}

body[data-page="home"] .brand-partners__logo-card--artwork {
  padding: 0;
}

body[data-page="home"] .brand-partners__logo-card--artwork img {
  height: 100%;
}

body[data-page="home"] .section {
  padding-block: var(--signature-space);
}

body[data-page="home"] .section__heading {
  max-width: 1280px;
  margin-bottom: 36px;
  text-align: left;
}

body[data-page="home"] .section__heading .eyebrow {
  margin-bottom: 12px;
  color: #68778a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

body[data-page="home"] .section__heading h2 {
  max-width: 940px;
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1.4;
}

body[data-page="home"] .section__heading p:not(.eyebrow) {
  max-width: 880px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
}

body[data-page="home"] .section__heading.sss-gold-line > .sss-gold-line__stroke {
  left: 0;
  transform: scaleX(0);
}

body[data-page="home"] .section__heading.sss-gold-line.is-line-drawn > .sss-gold-line__stroke,
html.sss-motion-off body[data-page="home"] .section__heading.sss-gold-line > .sss-gold-line__stroke {
  transform: scaleX(1);
}

/* One large editorial row for each existing solution; no tabs hide the others. */
body[data-page="home"] .solution-detail-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

body[data-page="home"] .solution-detail-card,
body[data-page="home"] .solution-detail-card:nth-child(4),
body[data-page="home"] .solution-detail-card:nth-child(5) {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--signature-line);
}

body[data-page="home"] .solution-detail-card:nth-child(even) .solution-detail-card__media {
  order: 2;
}

body[data-page="home"] .solution-detail-card__media {
  height: 100%;
  min-height: 320px;
  flex-basis: auto;
  border: 0;
  border-radius: 2px;
  background: var(--signature-navy);
  box-shadow: none;
}

body[data-page="home"] .solution-detail-card__content {
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="home"] .solution-detail-card .card-icon {
  width: 42px;
  height: 36px;
  border: 1px solid #d2a15070;
  border-radius: 2px;
  color: var(--signature-navy);
  background: #fbf1df;
  font-weight: 600;
}

body[data-page="home"] .solution-detail-card h3 {
  min-height: 0;
  margin: 16px 0 13px;
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.4;
}

body[data-page="home"] .solution-detail-card__intro {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
}

body[data-page="home"] .solution-card-details {
  margin-top: auto;
}

body[data-page="home"] .solution-card-details summary,
body[data-page="home"] .solution-detail-card__content > a {
  color: var(--signature-navy);
  font-size: 14px;
  font-weight: 600;
}

/* Retain the original three product groups and every line of explanatory copy. */
body[data-page="home"] .section--alt {
  background: #f2f5f8;
  border-block: 1px solid var(--signature-line);
}

body[data-page="home"] .split-layout {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 66px;
}

body[data-page="home"] .split-layout .section__heading {
  margin: 0;
}

body[data-page="home"] .split-layout .section__heading .button {
  margin-top: 24px;
  border-radius: 2px;
  background: var(--signature-navy);
  font-weight: 600;
}

body[data-page="home"] .product-list {
  gap: 0;
  border-top: 1px solid #b8c7d6;
}

body[data-page="home"] .product-card {
  min-height: 156px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 7px 18px;
  align-content: center;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #b8c7d6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .product-card > span {
  width: 32px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  color: #92703c;
  font-weight: 600;
}

body[data-page="home"] .product-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

body[data-page="home"] .product-card p {
  font-size: 15px;
  line-height: 1.85;
}

/* Six original vertical photographs and their raised icons, on a navy canvas. */
body[data-page="home"] main > .section:has(> .industry-grid--visual) {
  color: #fff;
  background: var(--signature-navy);
}

body[data-page="home"] .section:has(> .industry-grid--visual) .section__heading h2 {
  color: #fff;
}

body[data-page="home"] .section:has(> .industry-grid--visual) .eyebrow {
  color: var(--gold);
}

body[data-page="home"] .industry-grid--visual {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px 24px;
  padding-top: 34px;
}

body[data-page="home"] .industry-grid--visual .industry-card {
  min-height: 252px;
  border-radius: 2px;
  box-shadow: none;
}

body[data-page="home"] .industry-grid--visual .industry-card img {
  height: 252px;
  border-radius: 2px;
}

body[data-page="home"] .industry-card__icon {
  top: -32px;
  width: 60px;
  height: 60px;
  border-color: var(--signature-navy);
  background: #124f76;
  box-shadow: none;
}

body[data-page="home"] .industry-card__icon svg {
  width: 32px;
  height: 32px;
}

body[data-page="home"] .industry-card__label {
  align-items: flex-start;
  padding: 42px 20px 19px;
  border-radius: 0 0 2px 2px;
  text-align: left;
}

body[data-page="home"] .industry-card__label strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .035em;
}

body[data-page="home"] .industry-card__label span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
}

/* Three live news cards remain connected to the original content API. */
body[data-page="home"] .article-grid--home-news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

body[data-page="home"] .article-grid--home-news .article-card--news {
  border: 0;
  border-bottom: 1px solid #b8c7d6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .article-grid--home-news .article-card__media {
  border-radius: 2px;
}

body[data-page="home"] .article-grid--home-news .article-card__content {
  padding: 23px 0;
}

body[data-page="home"] .article-grid--home-news .article-card__content h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
}

body[data-page="home"] .article-grid--home-news .article-card__content p {
  font-size: 15px;
  line-height: 1.85;
}

body[data-page="home"] .article-grid--home-news .article-card__content a {
  color: var(--signature-navy);
  font-weight: 600;
}

@media (max-width: 1199px) {
  body[data-page="home"] .site-header .brand {
    flex-basis: 220px;
    width: 220px;
    min-width: 220px;
  }
  body[data-page="home"] .site-nav { gap: 10px; }
  body[data-page="home"] .site-nav a { font-size: 11px; }
  body[data-page="home"] .trust-strip__grid div { padding-inline: 16px; }
  body[data-page="home"] .solution-detail-card { gap: 28px; }
}

@media (max-width: 1023px) {
  body[data-page="home"] .nav-shell { min-height: 72px; padding-block: 10px; }
  body[data-page="home"] .site-header .brand { height: 50px; }
  body[data-page="home"] .site-nav { top: 108px; gap: 2px; }
  body[data-page="home"] .site-nav a { min-height: 44px; padding: 10px; font-size: 13px; }
  body[data-page="home"] .site-nav .nav-cta { margin: 4px 0 0; }
  body[data-page="home"] .site-header.is-compact .nav-shell { min-height: 60px; padding-block: 7px; }
  body[data-page="home"] .site-header.is-compact .brand { height: 44px; }
  body[data-page="home"] .site-header.is-compact .site-nav { top: 96px; }
  body[data-page="home"] .hero--home { min-height: 650px; padding-top: 108px; }
  body[data-page="home"] .hero__content { padding-block: 52px 70px; }
  body[data-page="home"] .hero__lead { max-width: 540px; }
  body[data-page="home"] .trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .trust-strip__grid div { padding: 22px; border-bottom: 1px solid #ffffff24; }
  body[data-page="home"] .trust-strip__grid div:first-child { padding-left: 22px; }
  body[data-page="home"] .trust-strip__grid div:last-child { padding-right: 22px; }
  body[data-page="home"] .trust-strip__grid div:nth-child(even) { border-right: 0; }
  body[data-page="home"] .trust-strip__grid div:nth-last-child(-n+2) { border-bottom: 0; }
  body[data-page="home"] .split-layout { grid-template-columns: 1fr; gap: 34px; }
  body[data-page="home"] .solution-detail-card,
  body[data-page="home"] .solution-detail-card:nth-child(4),
  body[data-page="home"] .solution-detail-card:nth-child(5) { gap: 26px; }
  body[data-page="home"] .solution-detail-card__media { min-height: 330px; }
  body[data-page="home"] .solution-detail-card__intro { font-size: 15px; }
  body[data-page="home"] .industry-grid--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .article-grid--home-news { grid-template-columns: 1fr; gap: 26px; }
  body[data-page="home"] .article-grid--home-news .article-card--news { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  body[data-page="home"] .article-grid--home-news .article-card__media { height: 100%; min-height: 220px; aspect-ratio: auto; }
  body[data-page="home"] .article-grid--home-news .article-card__content { padding-block: 0 22px; }
}

@media (max-width: 700px) {
  body[data-page="home"] .container { width: calc(100% - 40px); }
  body[data-page="home"] .hero--home { min-height: 660px; }
  body[data-page="home"] .hero h1 { font-size: clamp(34px, 7.6vw, 50px); }
  body[data-page="home"] .hero__lead { max-width: 450px; font-size: 15px; }
  body[data-page="home"] .hero__shade { background: linear-gradient(90deg, #071b3af2, #071b3ab8 62%, #071b3a6b); }
  body[data-page="home"] .hero .eyebrow { font-size: 13px; }
  body[data-page="home"] .trust-strip__grid div { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 20px 14px; }
  body[data-page="home"] .trust-strip__grid div:first-child { padding-left: 0; }
  body[data-page="home"] .trust-strip__grid div:last-child { padding-right: 0; }
  body[data-page="home"] .trust-strip__grid div::before { width: 30px; height: 34px; font-size: 11px; }
  body[data-page="home"] .trust-strip .trust-strip__icon { width: 30px; height: 34px; }
  body[data-page="home"] .trust-strip .home-feature-icon { width: 20px; height: 20px; }
  body[data-page="home"] .trust-strip strong { font-size: 11px; letter-spacing: 0; }
  body[data-page="home"] .trust-strip span { font-size: 12px; }
  body[data-page="home"] .brand-partners { padding-block: 30px 23px; }
  body[data-page="home"] .brand-partners__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  body[data-page="home"] .brand-partners__heading h2 { font-size: 24px; }
  body[data-page="home"] .brand-partners__logos { --brand-card-width: 152px; --brand-gap: 20px; }
  body[data-page="home"] .section__heading { margin-bottom: 28px; }
  body[data-page="home"] .section__heading h2 { font-size: 28px; }
  body[data-page="home"] .section__heading p:not(.eyebrow) { font-size: 15px; }
  body[data-page="home"] .solution-detail-grid { gap: 28px; }
  body[data-page="home"] .solution-detail-card,
  body[data-page="home"] .solution-detail-card:nth-child(4),
  body[data-page="home"] .solution-detail-card:nth-child(5) { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
  body[data-page="home"] .solution-detail-card:nth-child(even) .solution-detail-card__media { order: 0; }
  body[data-page="home"] .solution-detail-card__media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  body[data-page="home"] .solution-detail-card__content { padding: 0; }
  body[data-page="home"] .solution-detail-card h3 { font-size: 24px; }
  body[data-page="home"] .industry-grid--visual { gap: 62px 16px; }
  body[data-page="home"] .industry-card__label { padding-inline: 14px; }
  body[data-page="home"] .industry-card__label strong { font-size: 14px; }
  body[data-page="home"] .industry-card__label span { font-size: 12px; }
  body[data-page="home"] .article-grid--home-news .article-card--news { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body[data-page="home"] .article-grid--home-news .article-card__media { height: auto; min-height: 0; aspect-ratio: 1202 / 674; }
  body[data-page="home"] .article-grid--home-news .article-card__content { padding-block: 20px; }
}

@media (max-width: 380px) {
  body[data-page="home"] .site-header .brand { flex-basis: 205px; width: 205px; min-width: 0; }
  body[data-page="home"] .hero__content { padding-block: 46px 58px; }
  body[data-page="home"] .hero .button { padding-inline: 18px; font-size: 13px; }
  body[data-page="home"] .trust-strip__grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .trust-strip__grid div,
  body[data-page="home"] .trust-strip__grid div:first-child,
  body[data-page="home"] .trust-strip__grid div:last-child { min-height: 96px; padding: 18px 0; border-right: 0; border-bottom: 1px solid #ffffff24; }
  body[data-page="home"] .trust-strip__grid div:last-child { border-bottom: 0; }
  body[data-page="home"] .industry-grid--visual { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .home-news-heading span:first-child { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .section__heading.sss-gold-line > .sss-gold-line__stroke {
    transform: scaleX(1);
    transition: none;
  }
}
