.scroll-site .nav a.is-current:not(.nav-contact) { color: #174e95; font-weight: 500; }
.scroll-site .nav .nav-contact.is-current { background: #2563bb; border-color: #2563bb; }
.reading-progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #0686da;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress { display: none; }
}
.page-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: #1758a3; font-size: 16px; font-weight: 500; }
.page-link:hover { color: #061f48; text-decoration: underline; text-underline-offset: .22em; }
.page-link .icon { width: 17px; height: 17px; }
.home-service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.home-service-actions a:last-child { color: #435b78; }
.approach-intro > .page-link { margin: -10px 0 14px; }

.subhero { padding-block: clamp(25px, 3.4vw, 52px) clamp(62px, 8.6vw, 136px); background: #eaf3ff; }
.subhero--navy { background: #06152e; color: #f4f8ff; }
.breadcrumbs { color: #425d7c; margin-bottom: clamp(32px, 5.6vw, 79px); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px 11px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-right: 1px solid; border-top: 1px solid; transform: rotate(45deg); }
.breadcrumbs a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.breadcrumbs a:hover { text-decoration-thickness: 2px; }
.breadcrumbs li[aria-current='page'] { color: var(--navy); font-weight: 400; }
.subhero--navy .breadcrumbs, .contact-breadcrumbs .breadcrumbs { color: #c5d9f1; }
.subhero--navy .breadcrumbs li[aria-current='page'], .contact-breadcrumbs .breadcrumbs li[aria-current='page'] { color: #f4f8ff; }
.subhero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 6vw, 90px); }
.subhero-copy h1, .subpage .contact h1 { font: 500 clamp(2.65rem, 6.5vw, 6rem)/1.07 var(--thai); letter-spacing: -.032em; }
.subhero-copy h1 [lang='en'] { font-family: var(--latin); font-weight: 640; font-size: .96em; }
.subhero-copy .about-headline [lang='en'] { display: block; color: #9bd5ff; font-size: clamp(1.65rem,3.4vw,3.6rem); white-space: nowrap; }
.subhero-copy p { margin-top: 20px; max-width: 43ch; color: #425d7c; font-size: clamp(17px, 1.7vw, 22px); font-weight: 300; line-height: 1.57; }
.subhero--navy .subhero-copy p { color: #c5d9f1; }
.subhero-copy .button { margin-top: 23px; }
.subhero-art { min-width: 0; margin: 0; }
.catalog-art { aspect-ratio: 1.65; overflow: hidden; border-radius: 16px; background: #06152e; }
.catalog-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 74%; }
.about-hero-art { display: grid; place-items: center; min-height: 320px; border-radius: 16px; background: #eaf3ff; }
.about-hero-art img { width: clamp(110px, 14vw, 200px); height: auto; filter: drop-shadow(0 13px 20px #15395924); }

.site-section { padding: clamp(74px, 8.4vw, 136px) 0; background: #fff; }
.page-section-heading { margin-bottom: clamp(27px, 4vw, 53px); }
.page-section-heading h2, .page-close h2, .detail-example h2 { font-size: clamp(2rem, 4.25vw, 4rem); }
.catalog-list { margin: 0; padding: 0; border-top: 1px solid #cfdef0; list-style: none; }
.catalog-list li { border-bottom: 1px solid #cfdef0; }
.catalog-list a { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,1.2fr) 42px; align-items: center; gap: clamp(12px, 2.65vw, 38px); min-height: 114px; padding: 12px clamp(8px, 1.8vw, 25px); border-radius: 8px; transition: background-color .22s; }
.catalog-list a:hover { background: #eff6ff; }
.catalog-icon, .catalog-arrow { display: grid; place-items: center; color: #1758a3; background: #eaf3ff; }
.catalog-icon { width: 64px; height: 64px; border-radius: 10px; }
.catalog-icon .icon { width: 31px; height: 31px; }
.catalog-arrow { width: 42px; height: 42px; border-radius: 50%; transition: transform .22s; }
.catalog-list a:hover .catalog-arrow { transform: translate(2px,-2px); }
.catalog-name { display: grid; gap: 4px; }
.catalog-name strong { font: 650 clamp(1.45rem, 2.8vw, 2.6rem)/1.08 var(--latin); letter-spacing: -.032em; }
.catalog-name > span, .catalog-description { color: #425d7c; font-weight: 300; }
.catalog-description { font-size: 18px; }
.section-tail { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 25px; color: #425d7c; }

.detail-title-thai { display: block; color: #174e95; font-size: .56em; margin-top: 12px; }
.detail-art { display: grid; gap: clamp(16px, 2.5vw, 32px); padding: clamp(22px, 4.2vw, 61px); border-radius: 16px; background: #061f48; color: #f4f8ff; }
.detail-symbol { display: grid; place-items: center; background: #1a427a; border-radius: 12px; width: 64px; height: 64px; color: #b0defd; }
.detail-symbol .icon { width: 32px; height: 32px; }
.detail-art > p { font-size: clamp(1.4rem, 2.8vw, 2.9rem); line-height: 1.22; }
.detail-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; padding: 0; margin: 0; list-style: none; }
.detail-flow li { display: grid; place-items: center; min-height: 50px; padding: 8px 6px; border-radius: 6px; background: #123360; color: #e2efff; text-align: center; font-size: clamp(13px,1.32vw,17px); }
.scope-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px, 3vw, 48px); padding: 0; margin: 0; list-style: none; }
.scope-list li { padding-top: 22px; border-top: 2px solid #b7cfee; }
.scope-list h3 { font-size: clamp(1.25rem,2.1vw,1.85rem); font-weight: 500; line-height: 1.24; }
.scope-list p, .detail-example p, .page-close p { margin-top: 10px; color: #425d7c; max-width: 58ch; font-size: 18px; font-weight: 300; line-height: 1.59; }
.detail-example { background: #eaf3ff; }
.detail-example-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,.94fr); align-items: center; gap: clamp(22px, 7vw, 105px); }
.detail-example .demo-window { box-shadow: 0 16px 31px #17396020; }
.detail-example .demo-facts { padding: 10px 19px 17px; }
.detail-example .demo-facts > div:last-child { border-bottom: 0; }
.detail-example .demo-facts dd { text-align: right; }
.page-close { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.page-close .button { align-self: center; }
.related-services { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 15px 26px; border-top: 1px solid #cfdef0; }
.related-services p { color: #425d7c; }
.related-services ul { display: flex; flex-wrap: wrap; padding: 0; margin: 0; gap: 0 22px; list-style: none; }
.related-services .page-link { font-family: var(--latin); font-size: 15px; }

.subpage .contact { padding-top: clamp(26px,3.4vw,52px); }
.contact-breadcrumbs .breadcrumbs { margin-bottom: clamp(35px, 6vw, 82px); }
.subpage .contact h1 { color: #f7faff; }
.subpage .contact-intro > p:not(.contact-notice) { margin-top: 20px; }
.subpage #contact-form { scroll-margin-top: calc(var(--bar-height) + 16px); }
.contact-notes { background: #f0f6ff; }

.scroll-site {
  --text-body: clamp(1rem, 1.25vw, 1.1875rem);
  --text-caption: .875rem;
  --text-leading: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.scroll-site :is(h1, h2, h3, h4) { text-wrap: balance; }
.scroll-site :is(.story-copy, .subhero-copy) h1 { letter-spacing: -.02em; }
.scroll-site :is(.story-copy, .subhero-copy, .approach-intro, .approach-card, .detail-example, .page-close, .scope-list) p,
.scroll-site .section-heading > p,
.scroll-site .service-content > p,
.scroll-site .contact-intro > p:not(.contact-notice) {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--text-leading);
  text-wrap: pretty;
}
.story-intro .story-copy > p { text-wrap: balance; }
.scroll-site :is(.nav, .footer p, .service-name small, .catalog-name > span, .catalog-description, .contact-notice) {
  font-weight: 400;
}
.scroll-site :is(.breadcrumbs, .service-name small, .story-footer a, .story-cue) { font-size: var(--text-caption); }
.scroll-site :is(.demo-title > span, .demo-facts dd) { font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.breadcrumbs a, .page-link { text-underline-position: from-font; text-decoration-thickness: from-font; }
.scroll-site .contact-form :is(input, textarea, select) { font-size: 1rem; font-weight: 400; line-height: 1.5; }
.scroll-site .contact-form :is(input, textarea, select)[aria-invalid='true'] {
  border-color: #a3203e;
  scroll-margin-top: calc(var(--bar-height) + 28px);
}
.contact-form .field-error { margin-top: 6px; color: #9b2542; font-size: .875rem; line-height: 1.5; overflow-wrap: break-word; }

@media (max-width: 760px) {
  .subhero-grid, .detail-example-grid { grid-template-columns: 1fr; }
  .subhero-copy h1, .subpage .contact h1 { font-size: clamp(2.65rem,10vw,4rem); }
  .subhero-copy .about-headline [lang='en'] { font-size: clamp(1.65rem,7.1vw,2.7rem); }
  .subhero-copy p { margin-top: 13px; }
  .subhero-copy .button { margin-top: 16px; }
  .catalog-art { aspect-ratio: 2; }
  .about-hero-art { min-height: 190px; }
  .catalog-list a { min-height: 87px; grid-template-columns: 42px minmax(0,1fr) 36px; padding-inline: 6px; }
  .catalog-icon, .catalog-arrow { width: 42px; height: 42px; }
  .catalog-icon .icon { width: 24px; height: 24px; }
  .catalog-arrow { width: 36px; height: 36px; }
  .catalog-description { display: none; }
  .section-tail, .page-close, .related-services { flex-direction: column; align-items: start; gap: 9px; }
  .page-close .button { align-self: start; }
  .detail-title-thai { margin-top: 9px; }
  .detail-symbol { width: 48px; height: 48px; }
  .detail-symbol .icon { width: 25px; height: 25px; }
  .scope-list { grid-template-columns: 1fr; }
  .scope-list li { padding-top: 16px; }
  .scope-list p, .detail-example p, .page-close p { margin-top: 6px; font-size: 17px; }
  .related-services ul { gap: 0 17px; }
}
