/* =========================================================
   Pattern F — bold layout + motion (2026-10-15, manager: もっと味を加える)
   E's content and working parts (/static/base/style.css loads first: header, mega menu, footer, contact, map),
   with its own layout: E's heroes kept (client request) with motion added, big count-up numbers, a services strip
   that scrolls sideways while pinned, highlight rows with photos, chat-bubble challenges, expanding step panels.
   Light palette (blue + pale blue + white), no dark shades. Archivo for Latin display type, Noto Sans Thai for Thai.
   Motion states only apply under html.fx-anim (set by f.js unless reduced motion is on).
   ========================================================= */
:root {
  --navy: #166DFF;               /* E's navy bands (contact) become SoftBank blue */
  --pale: #EAF2FF;
  --fx-font: "Archivo", "Noto Sans", "Noto Sans Thai", system-ui, sans-serif;
  --fx-ease: cubic-bezier(.16, 1, .3, 1);
}
.v-f h1, .v-f h2, .v-f h3, .fx-num, .fx-hno, .fx-ov-no, .fx-why-no, .fx-step-no { font-family: var(--fx-font); }

.fx-sec { padding: clamp(64px, 8vw, 120px) 0; scroll-margin-top: 60px; }
.fx-sec.soft { background: var(--soft); }
.fx-kicker { color: var(--blue); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fx-h2 { max-width: 20em; margin: 8px 0 clamp(28px, 3.6vw, 52px); color: var(--ink); font-size: clamp(1.875rem, 1rem + 2.6vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
html:lang(th) .fx-h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.625rem); line-height: 1.4; letter-spacing: 0; }

/* ---------- header: full-width solid white bar, square (review 2026-10-15; no glass, no floating panel 2026-10-20) ----------
   E's header markup and menu behaviour; one row (logo | menu | language + Contact).
   Always full width and flush to the top; once scrolled (html.f-scrolled, f.js) it only gains a soft shadow. Hidden
   while scrolling down, back on scroll up (.is-hidden; html.f-hdr-on moves the DM local nav down). The mega menu and
   the phone menu hang full width straight under it, white and square. */
:root { --glass: rgba(255, 255, 255, .72); --glass-line: rgba(255, 255, 255, .85); --band: #E9F0FB; }
body.v-f { background: linear-gradient(var(--band), var(--band)) 0 0 / 100% var(--f-band, 0px) no-repeat, #fff; }
.v-f .e-crumbs { background: var(--band); }
.v-f .e-header { position: sticky; top: 0; z-index: 50; width: 100%; max-width: 100vw; margin: 0 auto;
  border: 0; border-bottom: 1px solid rgba(0, 30, 80, .08); border-radius: 0; background: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  transition: transform .45s var(--fx-ease), box-shadow .4s; }
html.f-scrolled .v-f .e-header { box-shadow: 0 10px 28px -20px rgba(0, 40, 120, .45); }
.v-f .e-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.v-f .e-header-in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav util"; column-gap: 28px; min-height: 64px; padding: 0 12px 0 20px; }
.v-f .e-logo img { width: 168px; mix-blend-mode: multiply; }
.v-f .gnav { justify-self: center; }
.v-f .gnav-list { gap: 6px; }
.v-f .gnav-link, .v-f .gnav-trigger { padding: 8px 14px; border-radius: 10px; font-weight: 500; transition: background-color .2s, color .2s; }
.v-f .gnav-link::after, .v-f .gnav-trigger::after { left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; }
.v-f .gnav-link:hover, .v-f .gnav-trigger:hover, .v-f .is-open > .gnav-trigger { background: rgba(22, 109, 255, .08); }
.v-f .e-util { gap: 10px; padding-top: 0; }
.v-f .lang { order: 2; border-color: rgba(0, 30, 80, .12); border-radius: 10px; background: rgba(255, 255, 255, .6); }
.v-f .lang button, .v-f .lang a { padding: 5px 10px; background: transparent; }
.v-f .lang button[aria-pressed="true"], .v-f .lang a[aria-current="true"] { background: var(--ink); }
/* Contact: flat, and hover only deepens the colour (review 2026-11-05: no glow, nothing that changes the button's
   width, or the centred menu shifts with it) */
.v-f .e-util > a { order: 0; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700;
  box-shadow: none; transition: background-color .2s; }
.v-f .e-util > a:hover { background: var(--blue-deep); color: #fff; }

/* mega menu: a full-width white band straight under the bar, its content in the page column; category tiles,
   the open one in blue, its sub-items on a pale band */
.v-f .mega { top: 100%; left: 0; right: 0; max-width: none; margin: 0;
  border: 0; border-top: 1px solid rgba(0, 30, 80, .08); border-radius: 0; background: #fff;
  box-shadow: 0 34px 70px -30px rgba(0, 30, 90, .45); }
.v-f .mega-bar { position: absolute; top: 14px; right: max(14px, calc((100% - var(--wrap)) / 2 - 10px)); z-index: 2; background: none; }
.v-f .mega-close { margin: 0; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.v-f .mega-close:hover { background: rgba(22, 109, 255, .08); color: var(--blue); }
.v-f .mega-inner { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 22px 24px 24px; }
.v-f .mega-top { margin-bottom: 16px; font: 700 1.125rem/1.3 var(--fx-font); }
.v-f .mega-grid { column-gap: 10px; }
.v-f .mg-link, .v-f .mg-toggle { margin: 0 0 10px; padding: 16px 16px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(0, 30, 80, .07); font-weight: 500; }
.v-f .mg-link:hover, .v-f .mg-toggle:hover { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px rgba(22, 109, 255, .35); }
.v-f .has-sub > .mg-toggle { padding-right: 46px; }
.v-f .is-on > .mg-toggle { margin: 0 0 10px; width: 100%; padding: 16px 46px 16px 16px; background: var(--blue); color: #fff; box-shadow: none; }
.v-f .mg-pm { top: calc(50% - 5px); right: 7px; }                          /* centred on the tile (it has a 10px bottom margin) */
.v-f .mg-item.is-on > .mg-pm { color: #fff; }
.v-f .mg-sub { margin-bottom: 10px; border-radius: 12px; background: rgba(22, 109, 255, .07); box-shadow: none; clip-path: none; }
.v-f .mg-sub > ul { padding: 12px 18px 14px; column-gap: 24px; }
.v-f .mg-sub a:hover { color: var(--blue); }
.v-f .e-scrim { background: rgba(10, 30, 70, .16); }
/* "Services" is a link to the services top (review 2026-11-05). With a mouse the list drops on hover and closes when
   the pointer leaves, so the "Services top" row and the Close button are only kept where there is no hover
   (touch screens; the phone menu sheet keeps the row, see below). */
@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  .v-f .is-linked .mega-top, .v-f .is-linked .mega-bar { display: none; }
}

.v-f .dm-local { transition: top .45s var(--fx-ease); }
html.f-hdr-on .v-f .dm-local { top: 88px; }
@media (max-width: 960px) {
  .v-f .e-header-in { grid-template-columns: 1fr auto auto; grid-template-areas: "logo util burger"; min-height: 56px; padding: 0 8px 0 14px; }
  .v-f .e-logo img { width: 140px; }
  .v-f .e-burger { border-color: rgba(0, 30, 80, .12); border-radius: 10px; background: rgba(255, 255, 255, .6); }
  /* phone menu: a full-width white sheet under the bar, plain rows inside (stretch: the desktop rule centres it) */
  .v-f .gnav { justify-self: stretch; top: 100%; height: calc(100dvh - 56px); border: 0; border-top: 1px solid rgba(0, 30, 80, .08); border-radius: 0; background: #fff;
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .v-f .gnav-list { gap: 0; }
  .v-f .gnav-link, .v-f .gnav-trigger { padding: 16px 0; border-radius: 0; background: none !important; }
  .v-f .mega { border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v-f .mega-inner { padding: 0 0 16px; }
  .v-f .mg-link, .v-f .mg-toggle, .v-f .is-on > .mg-toggle { margin: 0; padding: 13px 0 13px 14px; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; color: var(--text); }
  .v-f .is-on > .mg-toggle, .v-f .mg-item.is-on > .mg-pm { color: var(--blue); }
  .v-f .mg-pm { top: 50%; right: -9px; }
  .v-f .mg-sub { margin: 0; border-radius: 0; }
  html.f-hdr-on .v-f .dm-local { top: 72px; }
}

/* ---------- heroes: E's layouts stay (client request); F changes type and adds motion only ---------- */
.v-mask { display: block; overflow: hidden; padding-bottom: .1em; }
.v-mask > span { display: block; }
.v-f .e-kv-tag, .v-f .dm-kicker { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.v-f .e-kv h1 { letter-spacing: -.02em; }
.v-f .e-card { transition: transform .5s var(--fx-ease), box-shadow .5s; }
.v-f .e-card:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -22px rgba(0, 40, 120, .55); }
/* page hero: same text panel + photo, on SoftBank blue instead of black */
.v-f .dm-hero { background: var(--blue); }
.v-f .dm-hero h1 { font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem); line-height: 1.08; letter-spacing: -.025em; }
html:lang(th) .v-f .e-kv h1, html:lang(th) .v-f .dm-hero h1 { letter-spacing: 0; }
html:lang(th) .v-f .dm-hero h1 { font-size: clamp(1.875rem, 1rem + 2.4vw, 3rem); line-height: 1.3; }

.fx-anim .e-kv > img { clip-path: inset(0 0 0 100%); transform: scale(1.12); transition: clip-path 1.3s var(--fx-ease), transform 2s var(--fx-ease); }
.fx-anim .dm-hero-img { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--fx-ease); }
.fx-anim .dm-hero-img img { transform: scale(1.15); transition: transform 2s var(--fx-ease); }
.fx-anim .v-mask > span { transform: translateY(105%); transition: transform 1.1s .3s var(--fx-ease); }
.fx-anim .e-kv-tag, .fx-anim .dm-kicker, .fx-anim .dm-text { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .9s var(--fx-ease); }
.fx-anim .e-cards { opacity: 0; transform: translateX(80px); transition: opacity .9s .6s, transform 1.3s .6s var(--fx-ease); }
.fx-anim .is-ready .e-kv > img, .fx-anim .is-ready .dm-hero-img { clip-path: inset(0); }
.fx-anim .is-ready .e-kv > img, .fx-anim .is-ready .dm-hero-img img, .fx-anim .is-ready .v-mask > span { transform: none; }
.fx-anim .is-ready .e-kv-tag, .fx-anim .is-ready .dm-kicker { opacity: 1; transform: none; transition-delay: .2s; }
.fx-anim .is-ready .dm-text { opacity: 1; transform: none; transition-delay: .7s; }
.fx-anim .is-ready .e-cards { opacity: 1; transform: none; }

/* ---------- numbers ---------- */
.fx-stats-sec { padding: clamp(40px, 5vw, 72px) 0; }
.fx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fx-stats li { padding: 8px clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.fx-stats li:first-child { padding-left: 0; border-left: 0; }
.fx-num { display: block; color: var(--blue); font-size: clamp(3rem, 1.8rem + 3.6vw, 5.75rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fx-stats span { display: block; margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* ---------- services strip (pinned + sideways on desktop, swipe on phones) ---------- */
.fx-hs { position: relative; background: var(--soft); scroll-margin-top: 0; }
.fx-hs-sticky { padding: clamp(64px, 8vw, 120px) 0; overflow: hidden; }
.fx-hs.is-pinned .fx-hs-sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; padding: 56px 0 24px; }
.fx-hs-sticky > .wrap { width: 100%; }               /* flex column would shrink-wrap and centre it */
.fx-hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fx-hs-head .fx-h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.fx-hs-bar { flex: none; width: 160px; height: 3px; margin-bottom: clamp(36px, 4vw, 56px); background: var(--line); }
.fx-hs-bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.fx-hs-track { display: flex; gap: 24px; padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; }
.fx-hs-track::-webkit-scrollbar { display: none; }
.fx-hs.is-pinned .fx-hs-track { overflow: visible; will-change: transform; }
.fx-hcard { position: relative; flex: none; width: clamp(280px, 40vw, 540px); scroll-snap-align: start; }
.fx-hcard > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r); background: #fff; color: var(--text); transition: transform .5s var(--fx-ease), box-shadow .5s; }
.fx-hcard > a:hover { color: var(--text); transform: translateY(-8px); box-shadow: 0 28px 48px -28px rgba(0, 50, 140, .4); }
.fx-hno { position: absolute; z-index: 1; top: 14px; left: 20px; color: #fff; font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.fx-hcard-img { aspect-ratio: 16 / 10; overflow: hidden; }
.fx-hcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fx-ease); }
.fx-hcard > a:hover .fx-hcard-img img { transform: scale(1.06); }
.fx-hcard-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.fx-hcard .e-ico { width: 40px; height: 40px; }
.fx-hcard h3 { color: var(--ink); font-size: 1.375rem; line-height: 1.3; }
.fx-hcard-body p { color: var(--muted); font-size: .9375rem; }
.fx-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 700; }
.fx-more .ico { width: 18px; height: 18px; transition: transform .35s var(--fx-ease); }
.fx-hcard > a:hover .fx-more .ico { transform: translateX(6px); }
/* DM page: service cards with an infographic instead of a photo */
.fx-svc { display: flex; flex-direction: column; padding: 22px 24px 26px; border-radius: var(--r); background: #fff; scroll-margin-top: 80px; }
.fx-svc .fx-hno { position: static; color: var(--blue); font-size: 3rem; text-shadow: none; }
.fx-svc-illu { margin: 14px 0 18px; padding: 14px; border-radius: var(--r-sm); background: var(--pale); }
.fx-svc h3 { font-size: 1.25rem; }
.fx-svc-sub { margin-top: 4px; color: var(--blue); font-size: .875rem; font-weight: 700; }
.fx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fx-tags li { padding: 2px 10px; border-radius: 3px; background: var(--soft); color: var(--ink); font-size: .8125rem; font-weight: 500; }
.fx-svc-d { margin-top: 14px; color: var(--muted); font-size: .9375rem; }

/* ---------- top page services: cards stack on top of each other as you scroll ---------- */
.fx-stack { max-width: 1040px; margin: clamp(8px, 2vw, 24px) auto 0; }
.fx-stack-card { position: sticky; top: calc(64px + var(--i) * 22px); margin-bottom: clamp(24px, 3vw, 40px); }
.fx-stack-card:last-child { margin-bottom: 0; }
.fx-stack-card > a { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(240px, 22vw, 300px); overflow: hidden; border-radius: var(--r); background: #fff; color: var(--text);
  box-shadow: 0 -1px 0 var(--line), 0 30px 60px -40px rgba(0, 40, 120, .45); transform: scale(var(--s, 1)); transform-origin: 50% 0; transition: box-shadow .4s; }
.fx-stack-card > a:hover { color: var(--text); box-shadow: 0 -1px 0 var(--line), 0 34px 60px -34px rgba(0, 40, 120, .55); }
.fx-stack-img { position: relative; overflow: hidden; }
.fx-stack-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--fx-ease); }
.fx-stack-card > a:hover .fx-stack-img img { transform: scale(1.05); }
.fx-stack-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(22px, 2.4vw, 34px); }
.fx-stack-no { color: var(--blue); font: 700 clamp(1.75rem, 1.4rem + 1vw, 2.5rem)/1 var(--fx-font); letter-spacing: -.05em; }
.fx-stack-no small { color: #A9C6F5; font-size: .4em; letter-spacing: 0; }
.fx-stack-top { display: flex; align-items: center; gap: 20px; }                 /* number, then the service icon beside it */
.fx-stack-body .e-ico { width: 36px; height: 36px; }
.fx-stack-body h3 { margin-top: auto; }
.fx-stack-body h3 { color: var(--ink); font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); line-height: 1.25; letter-spacing: -.01em; }
html:lang(th) .fx-stack-body h3 { line-height: 1.45; letter-spacing: 0; }
.fx-stack-body p { max-width: 26em; color: var(--muted); font-size: .9375rem; }
.fx-stack-body .fx-more { margin-top: 8px; padding-top: 0; }
.fx-stack-card > a:hover .fx-more .ico { transform: translateX(6px); }

/* ---------- highlights: compact photo + title rows, two columns ---------- */
.fx-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 2px solid var(--ink); }
.fx-row { position: relative; isolation: isolate; display: grid; grid-template-columns: 128px 1fr auto; align-items: center; gap: 20px; height: 100%; padding: 16px 6px;
  border-bottom: 1px solid var(--line); color: var(--ink); transition: color .25s; }
.fx-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pale); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--fx-ease); }
.fx-row:hover { color: var(--blue); }
.fx-row:hover::before { transform: scaleY(1); }
.fx-row-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); }
.fx-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fx-ease); }
.fx-row:hover .fx-row-img img { transform: scale(1.06); }
.fx-row-copy { display: flex; flex-direction: column; gap: 4px; }
.fx-row-tag { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fx-row strong { font: 700 1.1875rem/1.35 var(--fx-font); letter-spacing: -.01em; }
html:lang(th) .fx-row strong { font-size: 1.0625rem; line-height: 1.5; letter-spacing: 0; }
.fx-row .ico { width: 22px; height: 22px; transition: transform .4s var(--fx-ease); }
.fx-row:hover .ico { transform: translateX(6px); }

/* ---------- contact band: SoftBank blue (E's navy is overridden above) ---------- */
.v-f .e-contact .e-kicker { color: rgba(255, 255, 255, .85); }
.v-f .e-contact .e-h2 { font-family: var(--fx-font); }
.v-f .ec-panel { transition: transform .5s var(--fx-ease); }
.v-f .ec-panel:hover { transform: translateY(-6px); }

/* ---------- DM: statement ---------- */
.fx-intro { padding: clamp(88px, 11vw, 180px) 0; }
.fx-statement { max-width: 21em; color: var(--ink); font-size: clamp(1.75rem, 1rem + 2.8vw, 3.75rem); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
html:lang(th) .fx-statement { font-size: clamp(1.5rem, 1rem + 2vw, 2.75rem); line-height: 1.45; letter-spacing: 0; }
.fx-anim .fx-statement .w { opacity: .16; transition: opacity .35s; }
.fx-anim .fx-statement .w.on { opacity: 1; }
.fx-intro-p { max-width: 40em; margin-top: 28px; color: var(--muted); font-size: 1.125rem; }

/* ---------- DM: challenges as a chat (customer bubbles, SB Telecom answers in blue) ---------- */
.fx-pains-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.fx-pains-l { position: sticky; top: 90px; }
.fx-pains-l .fx-h2 { margin-bottom: 0; }
.fx-pains-img { margin-top: 32px; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; }
.fx-pains-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.fx-chat { display: flex; flex-direction: column; }
/* the customer's worries: separate bubbles spread left / right, each with a sharp tail; SB Telecom answers on the right in blue */
.fx-msgs { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fx-say { position: relative; max-width: 30em; padding: 18px 24px; border-radius: 18px 18px 18px 0; background: #fff; color: var(--ink);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 500; line-height: 1.55; box-shadow: 0 10px 24px -18px rgba(0, 40, 120, .5); }
.them .fx-say::before { content: ""; position: absolute; left: -10px; bottom: 0; width: 11px; height: 16px; background: inherit; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.them .fx-say:nth-child(even) { margin-left: clamp(16px, 4vw, 56px); }
.fx-say.us { align-self: flex-end; max-width: 26em; margin: 26px 10px 0 0; padding: 22px 28px; border-radius: 18px 18px 0 18px; background: var(--blue); color: #fff;
  font: 700 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.35 var(--fx-font); letter-spacing: -.01em; }
.fx-say.us::after { content: ""; position: absolute; right: -10px; bottom: 0; width: 11px; height: 16px; background: inherit; clip-path: polygon(0 0, 100% 100%, 0 100%); }
html:lang(th) .fx-say.us { line-height: 1.5; letter-spacing: 0; }
.fx-say-who { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .8); font: 700 .75rem/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.fx-anim .fx-say[data-rv] { transform: translateY(24px) scale(.94); transform-origin: 0 100%; }
.fx-anim .fx-say.us[data-rv] { transform-origin: 100% 100%; }
.fx-anim .fx-say[data-rv].in { transform: none; }

/* ---------- DM: overview ---------- */
.fx-ov-head { max-width: 880px; }
.fx-ov-head .fx-h2 { margin-bottom: 0; }
.fx-ov-q { margin-top: 22px; color: var(--ink); font-size: 1.1875rem; font-weight: 700; }
.fx-ov-lead { margin-top: 10px; color: var(--muted); }
.fx-ov { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(44px, 5vw, 72px); padding-top: 40px; }
.fx-ov::before, .fx-ov::after { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: #C9D6E8; }
.fx-ov::after { background: var(--blue); transform-origin: left; }
.fx-anim .fx-ov::after { transform: scaleX(0); transition: transform 1.8s .2s var(--fx-ease); }
.fx-anim .fx-ov.in::after { transform: none; }
.fx-ov-col { --c: #166DFF; position: relative; display: flex; flex-direction: column; }
.fx-ov-col.s2 { --c: #4A90FF; }
.fx-ov-col.s3 { --c: #7DB0FF; }
.fx-ov-col.s4 { --c: #A9CBFF; }
.fx-ov-col::before { content: ""; position: absolute; top: -40px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--c); }
.fx-ov-no { color: var(--c); font-size: clamp(3rem, 2rem + 2.6vw, 4.75rem); font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.fx-ov-stage { margin-top: 10px; color: var(--ink); font-size: .9375rem; font-weight: 700; }
.fx-ov-card { flex: 1; margin-top: 16px; padding: 22px; border-radius: var(--r); background: #fff; border-top: 4px solid var(--c); }
.fx-ov-card h3 { color: var(--ink); font-size: 1.1875rem; line-height: 1.35; }
.fx-ov-card p { margin-top: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.fx-ov-card li { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--pale); color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.45; }
.fx-ov-ec { display: grid; grid-template-columns: 190px repeat(3, minmax(0, 1fr)) 220px; gap: 12px; align-items: stretch; margin-top: 20px; padding: 16px; border-radius: var(--r); background: #fff; }
.fx-ov-ec ul { display: contents; }
.fx-ov-ec h3, .fx-ov-ec li { display: flex; align-items: center; justify-content: center; padding: 14px 10px; border-radius: var(--r-sm); background: var(--pale); color: var(--ink);
  font-family: var(--font); font-size: .875rem; font-weight: 500; line-height: 1.45; text-align: center; }
.fx-ov-ec p { align-self: center; color: var(--muted); font-size: .9375rem; }

/* ---------- DM: why us ---------- */
.fx-why li { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 24px; align-items: start; padding: clamp(28px, 3.4vw, 48px) 0; border-top: 1px solid var(--line); }
.fx-why li:last-child { border-bottom: 1px solid var(--line); }
.fx-why-no { color: #BBD4FF; font-size: clamp(4rem, 2.4rem + 4.4vw, 8rem); font-weight: 700; line-height: .82; letter-spacing: -.06em; transition: color .5s; }
.fx-why li.on .fx-why-no, html:not(.fx-anim) .fx-why-no { color: var(--blue); }
.fx-why h3 { max-width: 22em; color: var(--ink); font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); line-height: 1.25; }
html:lang(th) .fx-why h3 { line-height: 1.45; }
.fx-why p { max-width: 40em; margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }

/* ---------- DM: steps (expanding panels) ---------- */
.fx-pin.is-pinned { padding: 0; }
.fx-pin.is-pinned .fx-pin-in { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; height: 100vh; padding: 64px 0 24px; }
.fx-pin-in > .wrap { width: 100%; }
.fx-steps { display: flex; gap: 10px; height: 400px; }
.fx-steps-bar { display: none; height: 3px; margin-top: 18px; background: var(--line); }
.fx-pin.is-pinned .fx-steps-bar { display: block; }
.fx-steps-bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.fx-step { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); background: #fff; transition: flex-grow .7s var(--fx-ease), background-color .45s; }
.fx-step.on { flex-grow: 3.4; background: var(--blue); }
.fx-step-h { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; padding: 24px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.fx-step.on .fx-step-h { color: #fff; cursor: default; }
.fx-step:not(.on) { cursor: pointer; }      /* the whole closed step opens on a click, not only its heading */
.fx-step-no { color: var(--blue); font-size: 3.25rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; transition: color .45s; }
.fx-step.on .fx-step-no { color: #fff; }
.fx-step-h strong { font-size: 1.125rem; line-height: 1.35; }
.fx-step-b { position: absolute; left: 24px; top: 150px; display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: start; width: min(620px, calc(100% - 48px));
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .25s, transform .5s var(--fx-ease); }
.fx-step.on .fx-step-b { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.fx-step-b p { color: #fff; font-size: 1.0625rem; line-height: 1.7; }
.fx-step-illu { padding: 12px; border-radius: var(--r-sm); background: #fff; }

/* ---------- about page ---------- */
.fx-about .e-h2 { font-family: var(--fx-font); letter-spacing: -.015em; }
.fx-about .facts dd { color: var(--blue); font-family: var(--fx-font); font-size: 1.25rem; }
/* client 2026-11-06: each fact is only as wide as its text, with one even gap, so there is no empty block after "1997" */
@media (min-width: 761px) {
  .fx-about .facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 56px; }
  .fx-about .facts div { padding-right: 0; }
  .fx-about .facts dd { max-width: 10em; }      /* two even lines, so the column is no wider than its text */
}
.fx-about .fx-stats-sec { border-bottom: 1px solid var(--line); }
.fx-about .profile th { background: var(--pale); }
/* country list under the map: one directory table; our own row first, in pale blue */
.fg { width: 100%; margin-top: clamp(28px, 3.4vw, 48px); border-collapse: collapse; background: #fff; font-size: .9375rem; }
.fg th, .fg td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fg thead th { padding-top: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); background: var(--soft); color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fg tbody th { width: 28%; color: var(--ink); font-weight: 700; }
.fg td:last-child { width: 30%; color: var(--muted); }
.fg-country { display: inline-flex; align-items: center; gap: 12px; }
.fg-hq { display: block; margin: 2px 0 0 40px; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.fg-country img { flex: none; height: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.fg-cos li + li { margin-top: 4px; }
.fg-cos a { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.fg-cos a .ico { width: 14px; height: 14px; margin-top: 4px; color: var(--blue); }
.fg-cos a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.fg tr.is-us th, .fg tr.is-us td { background: var(--pale); }
.fg tr.is-us th { box-shadow: inset 4px 0 0 var(--blue); }
.fg tbody tr:not(.is-us):hover th, .fg tbody tr:not(.is-us):hover td { background: #FAFBFD; }

/* ---------- top page: latest news (MTG 2026-10-19, ~6 items) ---------- */
.fx-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fx-news-head .fx-more { flex: none; margin: 0 0 clamp(28px, 3.6vw, 52px); padding: 0; }
.fx-news-head .fx-more:hover .ico { transform: translateX(6px); }
.fx-news { border-top: 2px solid var(--ink); }
/* one grid for the whole list (rows are subgrids): the date and category columns are as wide as their longest entry,
   so a category never wraps and the gap after the date stays small; a long title is cut with … (review 2026-11-05) */
.fx-news { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; column-gap: 16px; }
.fx-news > li, .fx-news-a { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
.fx-news-a { position: relative; isolation: isolate; align-items: center; padding: 20px 8px;
  border-bottom: 1px solid var(--line); color: var(--ink); transition: color .25s; }
.fx-news-a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--fx-ease); }
.fx-news-a:hover { color: var(--blue); }
.fx-news-a:hover::before { transform: scaleY(1); }
.fx-news-a time { color: var(--muted); font: 500 .9375rem/1.4 var(--fx-font); font-variant-numeric: tabular-nums; }
.fx-news-cat { justify-self: start; padding: 2px 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); font-size: .75rem; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.fx-news-t { min-width: 0; overflow: hidden; margin-left: 8px; font-weight: 500; line-height: 1.55; white-space: nowrap; text-overflow: ellipsis; }
.fx-news-a .ico { width: 20px; height: 20px; transition: transform .4s var(--fx-ease); }
.fx-news-a:hover .ico { transform: translateX(6px); }
.fx-news-note { margin-top: 14px; color: var(--muted); font-size: .8125rem; }

/* ---------- about: three offices in Thailand (map + cards) and the one link to the global site ---------- */
.th-lead { max-width: 40em; margin-top: calc(-1 * clamp(12px, 2vw, 28px)); color: var(--muted); }
.th-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 3.4vw, 48px); }
.th-map { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.th-map img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.th-pin { position: absolute; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .875rem; font-weight: 700; white-space: nowrap; transform: translate(-7px, -50%); }
.th-pin.l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.th-dot { position: relative; flex: none; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 6px rgba(0, 40, 120, .35); }
.th-label { padding: 2px 8px; border-radius: 6px; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 40, 120, .45); transition: color .2s; }
.th-pin:hover .th-label { color: var(--blue); }
.th-sites { display: grid; gap: 14px; }
.th-site { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: #fff; scroll-margin-top: 100px; transition: box-shadow .3s; }
.th-site:target { box-shadow: inset 0 0 0 2px var(--blue); }
.th-no { color: var(--blue); font: 700 2.5rem/1 var(--fx-font); letter-spacing: -.05em; }
.th-role { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.th-site h3 { margin-top: 2px; color: var(--ink); font-size: 1.375rem; line-height: 1.3; }
.th-site dl { display: grid; gap: 6px; margin: 12px 0 14px; font-size: .9375rem; line-height: 1.6; }
.th-site dl div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.th-site dt { color: var(--muted); }
.th-site dd { margin: 0; color: var(--text); }
.th-site .fx-more { padding-top: 0; font-size: .9375rem; }
.th-site .fx-more .ico { width: 15px; height: 15px; }
.fx-global { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--pale); }
.fx-global .fx-h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); }
.fx-global p { max-width: 40em; color: var(--muted); }
.fx-global .e-btn { flex: none; width: auto; background: #fff; }

.dm-fold { display: none; }
/* ---------- DM: in-page nav follows at the side on wide screens (MTG 2026-10-19); a top bar elsewhere ----------
   A fixed-width vertical carousel: every section name is shown, the current one in blue on a highlight row, the others
   in grey, smaller and fainter the further they are from it. Up to seven rows show; the list keeps the current one in
   the middle but stops at its ends, so near the first / last section the highlight moves to the top / bottom instead
   (f.js sets --d per item, --i = current index, --o = rows scrolled, --n = rows shown). Shown once the hero has
   scrolled away (f.js). It sits at the left edge (2026-10-20); the page column moves right to leave it room. */
@media (min-width: 1360px) {
  /* top / position also beat 'html.f-hdr-on .v-f .dm-local' (header back on scroll up); the show / hide state stays in its own rules */
  html.f-hdr-on .v-f .dm-local { top: 50%; }
  .v-f .dm-local { --row: 36px; --i: 0; --o: 0; --n: 7; position: fixed; top: 50%; left: 16px; z-index: 40; width: 148px; border: 0; background: none; box-shadow: none;
    opacity: 0; visibility: hidden; transform: translate(-16px, -50%); transition: opacity .3s, transform .45s var(--fx-ease), visibility 0s .45s; }
  .v-f .fx-dm .wrap { --rx: max(164px, calc((100% - var(--wrap)) / 2 - var(--gutter))); width: 100%;      /* also inside the pinned flex sections */
    max-width: min(calc(var(--wrap) + var(--gutter) * 2), calc(100% - var(--rx) - 8px)); margin-left: var(--rx); margin-right: auto; }
  .v-f .dm-local.is-shown { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .3s, transform .45s var(--fx-ease); }
  /* hide / show: the panel slides off to the left, its button stays as a small tab at the screen edge */
  .v-f .dm-local.is-shown.is-folded { transform: translate(calc(-100% - 16px), -50%); }
  .v-f .dm-local .dm-fold { position: absolute; top: 50%; right: -13px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px; padding: 0;
    border: 1px solid rgba(0, 30, 80, .1); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer;
    box-shadow: 0 4px 12px -6px rgba(0, 40, 120, .5); transition: right .45s var(--fx-ease), border-radius .3s, color .2s; }
  .v-f .dm-fold:hover { color: var(--blue); }
  .v-f .dm-fold svg { width: 14px; height: 14px; transition: transform .45s var(--fx-ease); }
  .v-f .is-folded .dm-fold { right: -40px; width: 32px; height: 44px; margin-top: -22px; border-left: 0; border-radius: 0 10px 10px 0; }
  .v-f .is-folded .dm-fold svg { transform: rotate(180deg); }
  .v-f .dm-local.is-folded .wrap { box-shadow: none; }
  .v-f .dm-fold .f-show, .v-f .is-folded .dm-fold .f-hide { display: none; }
  .v-f .is-folded .dm-fold .f-show { display: inline; }
  .v-f .dm-local .wrap { position: relative; max-width: none; margin: 0; height: calc(var(--row) * var(--n)); padding: 0; overflow: hidden;
    border: 1px solid var(--glass-line); border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -18px rgba(0, 40, 120, .45); }
  .v-f .dm-local .wrap::before { content: ""; position: absolute; left: 8px; right: 8px; top: calc(var(--row) * (var(--i) - var(--o))); height: var(--row); border-radius: 9px;
    background: rgba(22, 109, 255, .08); transition: top .55s var(--fx-ease); }
  .v-f .dm-local ul { position: relative; display: block; transform: translateY(calc(var(--row) * var(--o) * -1)); transition: transform .55s var(--fx-ease); }
  .v-f .dm-local li { --d: 3; height: var(--row); }
  .v-f .dm-local a { display: flex; align-items: center; justify-content: flex-start; gap: 8px; height: 100%; padding: 0 14px;
    color: #8A939E; font-size: .875rem; font-weight: 600; transform: scale(calc(1 - min(var(--d), 3) * .08)); transform-origin: 0 50%;
    opacity: calc(1 - min(var(--d), 3) * .15); transition: transform .55s var(--fx-ease), opacity .4s, color .3s; }
  .v-f .dm-local a .ico, .v-f .dm-local a::after { display: none; }
  .v-f .dm-local a::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C9D3DF; transition: transform .3s var(--fx-ease), background-color .3s; }
  .v-f .dm-local a:hover { color: var(--ink); opacity: 1; }
  .v-f .dm-local a.on { color: var(--blue); font-weight: 700; }
  .v-f .dm-local a.on::before { background: var(--blue); transform: scale(1.35); }
}

/* ---------- scroll reveals ---------- */
.fx-anim [data-rv] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--d, 0s), transform 1s var(--fx-ease) var(--d, 0s); }
.fx-anim [data-rv].in { opacity: 1; transform: none; }
.fx-anim .fx-ov[data-rv] { opacity: 1; transform: none; }     /* the line draws; its columns rise one by one */
.fx-anim .fx-ov .fx-ov-col { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--d, 0s), transform 1s var(--fx-ease) var(--d, 0s); }
.fx-anim .fx-ov.in .fx-ov-col { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .fx-ov { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .fx-ov::before, .fx-ov::after { display: none; }
  .fx-ov-col::before { display: none; }
  .fx-ov { padding-top: 0; }
  .fx-ov-ec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-ov-ec h3, .fx-ov-ec p { grid-column: 1 / -1; }
  .fx-steps { flex-direction: column; height: auto; }
  .fx-step, .fx-step.on { flex: none; background: #fff; }
  .fx-step-h, .fx-step.on .fx-step-h { flex-direction: row; align-items: baseline; gap: 16px; padding: 20px 20px 8px; color: var(--ink); cursor: default; }
  .fx-step:not(.on) { cursor: auto; }      /* every step is open here: nothing to click */
  .fx-step.on .fx-step-no, .fx-step-no { color: var(--blue); font-size: 2.25rem; }
  .fx-step-b, .fx-step.on .fx-step-b { position: static; grid-template-columns: 1fr 180px; width: auto; padding: 0 20px 20px; opacity: 1; transform: none; pointer-events: auto; }
  .fx-step-b p, .fx-step.on .fx-step-b p { color: var(--text); font-size: 1rem; }
  .fx-step-illu { padding: 0; background: none; }
}
@media (max-width: 860px) {
  .fx-list { grid-template-columns: 1fr; }
  .fg thead { display: none; }
  .fg tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .fg th, .fg td { display: block; width: auto !important; padding: 2px 0; border: 0; background: none !important; }
  .fg tr.is-us { background: var(--pale); }
  .fg tbody th { margin-bottom: 4px; }
  .fx-stack-card { position: static; }
  .fx-stack-card > a { grid-template-columns: 1fr; }
  .fx-stack-img { aspect-ratio: 16 / 9; }
  .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .fx-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fx-hs-bar { display: none; }
  .fx-row { grid-template-columns: 104px 1fr; gap: 14px; padding: 14px 4px; }
  .fx-row .ico { display: none; }
  .fx-pains-in { grid-template-columns: 1fr; }
  .fx-pains-l { position: static; }
  .fx-pains-img { aspect-ratio: 16 / 9; margin-top: 20px; }
  .them .fx-say:nth-child(even) { margin-left: 16px; }
  .fx-why li { grid-template-columns: 1fr; gap: 10px; }
  /* date + category on the first line, the title under them on up to two lines, then … */
  .fx-news { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .fx-news-a { row-gap: 6px; padding: 16px 4px; }
  .fx-news-t { grid-column: 1 / -1; margin-left: 0; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  .fx-news-a .ico { display: none; }
  .th-wrap { grid-template-columns: 1fr; }
  .th-map { max-width: 300px; }
  .fx-global { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .fx-ov { grid-template-columns: 1fr; row-gap: 36px; }
  .fx-ov-ec { grid-template-columns: 1fr; }
  .fx-step-b, .fx-step.on .fx-step-b { grid-template-columns: 1fr; }
  .fx-step-illu { max-width: 220px; }
  .fx-hcard { width: 82vw; }
  .fx-news-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .fx-news-head .fx-h2 { margin-bottom: 12px; }
  .th-site { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .th-site dl div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-step, .fx-row, .fx-row::before, .fx-hcard > a, .v-f .e-card { transition: none !important; }
}

/* ---------- contact band, compact (client 2026-11-02: "too much height") ----------
   One row: heading + lead on the left, a slim panel with the note and the button on the right.
   The icon, "Write to us" and the big "Contact form" line are hidden: the button already says it. */
.v-f .e-contact { padding: clamp(40px, 4.5vw, 56px) 0; }
.v-f .e-contact .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.v-f .ec-head { max-width: none; margin: 0; text-align: left; }
.v-f .e-contact .e-h2 { font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); }
.v-f .ec-lead { margin-top: 10px; }
.v-f .ec-panels, .v-f .ec-panels.one { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 0; justify-content: stretch; }
.v-f .ec-panel { align-items: flex-start; padding: 0; border-radius: 0; background: none; color: #fff; text-align: left; }
.v-f .ec-panel:hover { transform: none; }
.v-f .e-contact .ec-ico, .v-f .e-contact .ec-panel h3, .v-f .e-contact .ec-tel { display: none; }
.v-f .e-contact .ec-note { margin: 0 0 14px; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.v-f .ec-panel .e-btn { margin-top: 0; width: 100%; max-width: 420px; }
@media (max-width: 860px) {
  .v-f .e-contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* contact form: a red * instead of the "Required" tag (review 2026-11-05) */
.v-f .cf-row label { gap: 4px; }
.v-f .cf-star { padding: 0; background: none; color: #D92D20; font-size: 1rem; line-height: 1; }

/* network diagram: larger icons and labels (meeting 2026-10-28: "the icons are small") */
.v-f .itd-ico { width: 46px; height: 46px; }
.v-f .itd-hico { width: 38px; height: 38px; }
.v-f .itd-wan .itd-ico { width: 46px; height: 46px; padding: 8px; }
.v-f .itd-items { gap: 12px 18px; }
.v-f .itd-items li { font-size: .8125rem; }
.v-f .itd-box h3 { font-size: 1rem; }
.v-f .itd-chips li, .v-f .itd-brands li { font-size: .875rem; }      /* (the 16px page rule for li must not reach the chips) */

/* top page: the contact band keeps to two heading lines, so it is no taller than on the other pages (meeting 2026-10-28) */
.v-f .fx-home .e-contact .e-h2, .v-f .fx-news-page .e-contact .e-h2, .v-f .fx-article-page .e-contact .e-h2 { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); }

/* news.html: the full list with a category filter (f.js) */
.fx-news-sec { padding-top: clamp(32px, 4vw, 56px); }
.fx-news-page .fx-h2 { margin-bottom: 24px; }
.fx-news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fx-news-filter button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: 700 1rem/1.4 var(--font); cursor: pointer; }
.fx-news-filter button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.fx-news-filter button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fx-news > li[hidden] { display: none; }

/* news article (sample bodies for now): date + category, title, text beside the photo; 16px body text */
.fx-article-head { padding: clamp(28px, 4vw, 52px) 0 clamp(20px, 3vw, 32px); background: var(--soft); }
.fx-article-meta { display: flex; align-items: center; gap: 14px; }
.fx-article-meta time { color: var(--muted); font: 500 1rem/1.4 var(--fx-font); font-variant-numeric: tabular-nums; }
.fx-article-head h1 { max-width: 26em; margin-top: 12px; color: var(--ink); font-size: clamp(1.625rem, 1rem + 2vw, 2.5rem); line-height: 1.25; letter-spacing: -.01em; }
html:lang(th) .fx-article-head h1 { line-height: 1.45; letter-spacing: 0; }
.fx-article-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(28px, 4vw, 48px); }
.fx-article-sample { display: inline-block; margin-bottom: 18px; padding: 4px 12px; border-radius: 4px; background: #FFF3E0; color: #8A4B00; font-size: .875rem; font-weight: 700; line-height: 1.5; }
.fx-article-text .fx-article-lead { color: var(--ink); font-size: 1.1875rem; font-weight: 500; line-height: 1.65; }
.fx-article-text h2 { margin: 32px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.375rem; line-height: 1.35; }
.fx-article-text p, .fx-article-text li { font-size: 1rem; line-height: 1.8; }
.fx-article-text ul { margin: 0; padding-left: 1.3em; list-style: disc; }
.fx-article-text li + li { margin-top: 4px; }
.fx-article-text li::marker { color: var(--blue); }
.fx-article-rel { margin-top: 32px; padding: 16px 20px; border-radius: var(--r); background: var(--blue-pale); color: var(--muted); font-weight: 700; }
.fx-article-rel a { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--blue); }
.fx-article-rel .ico { width: 18px; height: 18px; }
.fx-article-img { margin: 0; }
.fx-article-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.fx-article-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(32px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); }
.fx-article-nav .fx-more { margin: 0; padding: 0; }
.fx-article-nav > span { display: flex; gap: 8px; }
.fx-article-step { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 700; }
.fx-article-step:hover { border-color: var(--blue); color: var(--blue); }
.fx-article-step .ico { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .fx-article-body { grid-template-columns: minmax(0, 1fr); }
  .fx-article-img { order: -1; }
  .fx-article-img img { aspect-ratio: 16 / 9; border-radius: 12px; }
}
