/* ACC Business Services Group — tokens from DESIGN.md, geometry measured from
   images/mockups/home-desktop-1440.png and home-mobile-390.png. */

:root {
  --ink: #14284b;
  --navy-deep: #0d1b33;
  --harbour: #2c5a8c;
  --harbour-pale: #e8eef5;
  --seal: #b8452e;
  --seal-dark: #9a3a26;
  --text: #1c2430;
  --text-2: #4a5565;
  --muted: #6b7482;
  --border: #d9dee5;
  --white: #fff;
  --paper: #f6f4ef;
  --mist: #eef2f6;
  --on-dark-2: rgba(255, 255, 255, 0.78);

  --container: 1312px;
  --gutter: 64px;
  --indent: 88px; /* heading rule (62px) + gap (26px) */
  --radius: 6px;
  --radius-card: 8px;
  --header-h: 100px;
  --section-y: 140px;

  --font-sans-latin: "Source Sans 3", "Helvetica Neue", Arial;
  --font-serif-latin: "Source Serif 4", Georgia;
  --font-sans: var(--font-sans-latin), sans-serif;
  --font-serif: var(--font-serif-latin), serif;

  --fs-display: 62px;
  --fs-h1: 46px;
  --fs-h2: 52px;
  --fs-h3: 33px;
  --fs-lead: 24px;
  --fs-body: 19px;
  --fs-body-l: 23px;
  --lh-body: 1.6;
  --lh-head: 1.18;
}

:lang(zh-Hant) {
  --font-sans: var(--font-sans-latin), "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-serif: var(--font-serif-latin), "Noto Serif HK", "PMingLiU", serif;
}
:lang(ja) {
  --font-sans: var(--font-sans-latin), "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: var(--font-serif-latin), "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
/* elements whose language differs from the page (switcher labels, addresses) */
body [lang]:not(h1, h2, h3, .brand-name, .footer-name, .names, :lang(zh-Hans)) {
  font-family: var(--font-sans);
}
:lang(zh-Hans) {
  font-family: var(--font-sans-latin), "Noto Sans SC", "PingFang SC", sans-serif;
}
html:lang(zh-Hant),
html:lang(ja) {
  --fs-display: 50px;
  --fs-h1: 40px;
  --fs-h2: 42px;
  --fs-h3: 26px;
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-body-l: 19px;
  --lh-body: 1.85;
  --lh-head: 1.4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--white);
  -webkit-tap-highlight-color: transparent;
}
html:lang(zh-Hant) body,
html:lang(ja) body {
  letter-spacing: 0.04em;
  line-break: strict;
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--lh-head);
  margin: 0;
  text-wrap: balance;
}
:lang(ja) :is(h1, h2, h3) {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
}
.nav-list a,
.header-cta,
.lang-switch a {
  white-space: nowrap;
}
html:lang(zh-Hant) .nav-list,
html:lang(ja) .nav-list {
  gap: 24px;
}
html:lang(zh-Hant) .nav-list a,
html:lang(ja) .nav-list a {
  font-size: 17px;
  letter-spacing: 0.02em;
}
html:lang(zh-Hant) .header-cta,
html:lang(ja) .header-cta {
  font-size: 17px;
}
p {
  margin: 0;
  text-wrap: pretty;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 3px solid var(--harbour);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.skip:focus {
  top: 12px;
}
mark.tbc {
  background: #fff3c4;
  color: #6b4e00;
  padding: 0 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  /* same left edge as other sections; text width is limited by .prose */
}
.center {
  text-align: center;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 40px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}
.btn-primary {
  background: var(--seal);
  color: #fff;
}
.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-on-dark {
  border-color: #fff;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--seal-dark);
  }
  .btn-secondary:hover {
    background: var(--harbour-pale);
  }
  .btn-on-dark:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--harbour);
  font-size: var(--fs-body-l);
  font-weight: 400;
  text-decoration: none;
}
a.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-arrow {
  width: 22px;
  height: 22px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 26px;
  text-decoration: none;
  margin-right: auto;
  margin-left: -18px;
}
.brand-mark {
  width: 70px;
  height: 70px;
}
.brand-name {
  font-family: var(--font-serif-latin), serif;
  font-weight: 600;
  font-size: 31px;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-list {
  display: flex;
  gap: 34px;
}
.nav-list a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--seal);
}
@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover {
    border-bottom-color: var(--border);
  }
}
.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  flex: none;
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 51px;
  height: 44px;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0;
}
.lang-switch a + a {
  border-left: 1.5px solid var(--border);
}
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .lang-switch a:not([aria-current]):hover {
    background: var(--harbour-pale);
  }
}
.header-cta {
  min-height: 46px;
  padding: 8px 20px;
  font-size: 20px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -6px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon {
  width: 30px;
  height: 30px;
}
.menu-toggle .icon-close,
.is-open .menu-toggle .icon-menu {
  display: none;
}
.is-open .menu-toggle .icon-close {
  display: block;
}

/* ---------- sections ---------- */
.band {
  padding-block: var(--section-y);
}
.band-white {
  background: #fff;
}
.band-paper {
  background: var(--paper);
}
.band-mist {
  background: var(--mist);
}
.band-navy {
  background: var(--ink);
  color: #fff;
}
.sec-head {
  margin-bottom: 40px;
}
.sec-title {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: var(--fs-h2);
  margin-left: 14px;
}
.sec-rule {
  flex: none;
  width: 62px;
  height: 3px;
  background: var(--seal);
}
.sec-lead {
  margin-top: 18px;
  padding-left: calc(var(--indent) - 8px);
  font-size: var(--fs-body-l);
  color: var(--text-2);
}
.indent {
  padding-left: calc(var(--indent) + 14px);
}
.body-l {
  font-size: var(--fs-body-l);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 1180px;
}
.intro .sec-head {
  margin-bottom: 14px;
}
.intro.band {
  padding-block: 130px 150px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 770px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13, 37, 77, 0.96) 0%, rgba(17, 47, 94, 0.9) 30%, rgba(20, 60, 115, 0.55) 46%, rgba(20, 60, 115, 0) 62%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 100px;
}
.hero .eyebrow,
.eyebrow {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
:lang(zh-Hant) .eyebrow,
:lang(ja) .eyebrow {
  text-transform: none;
}
.hero-title {
  margin-top: 26px;
  max-width: 600px;
  font-size: var(--fs-display);
  color: #fff;
  line-height: 1.13;
}
html:lang(zh-Hant) .hero-title,
html:lang(ja) .hero-title {
  line-height: 1.35;
}
.hero-lead {
  margin-top: 34px;
  max-width: 580px;
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 50px;
}
.btn-row .btn {
  min-height: 64px;
  padding-inline: 48px;
}
.btn-row .btn-secondary {
  padding-inline: 34px;
}

/* ---------- services ---------- */
.services.band {
  padding-block: 160px 160px;
}
.services .sec-head {
  margin-bottom: 44px;
}
.services .sec-lead {
  padding-left: 66px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-inline: -4px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 20px 32px 30px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 0.15s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover {
    border-color: var(--harbour);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px rgba(20, 40, 75, 0.35);
  }
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #e3effa;
  color: var(--ink);
}
.svc-icon .icon {
  width: 50px;
  height: 50px;
  stroke-width: 1.4;
}
.svc-title {
  margin-top: 6px;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.svc-title a {
  text-decoration: none;
}
.svc-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.svc-summary {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text-2);
}
.svc-more {
  margin-top: auto;
  padding-top: 18px;
}
.svc-tile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  text-decoration: none;
  transition: background-color 0.15s ease-out;
}
.svc-tile .icon-arrow {
  width: 34px;
  height: 34px;
}
@media (hover: hover) and (pointer: fine) {
  .svc-tile a:hover {
    background: var(--navy-deep);
  }
}

/* ---------- desks ---------- */
.desks.band {
  padding-block: 140px 130px;
}
.desks-inner {
  display: grid;
  grid-template-columns: 650px 1fr;
  gap: 0;
}
.desks-text {
  padding-right: 48px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.5);
}
.desks-title {
  font-size: 46px;
  color: #fff;
  line-height: 1.15;
  max-width: 11em;
}
.desks-text p {
  margin-top: 14px;
  font-size: var(--fs-body-l);
  line-height: 1.6;
  max-width: 30em;
}
.desk-list {
  padding-left: 72px;
  align-self: start;
}
.desk-list li {
  padding: 18px 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
}
.desk-list li + li {
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
}
.desk-list li:first-child {
  padding-top: 2px;
}

/* ---------- leader ---------- */
.leader.band {
  padding-block: 152px 150px;
}
.leader-inner {
  display: grid;
  grid-template-columns: 656px 1fr;
  gap: 66px;
  align-items: start;
}
.leader-media img {
  width: 100%;
  aspect-ratio: 655 / 368;
  object-fit: cover;
  object-position: 50% 60%;
}
.leader-text {
  padding-top: 8px;
}
.bar {
  display: block;
  width: 66px;
  height: 4px;
  background: var(--seal);
}
.leader-title {
  margin-top: 26px;
  font-size: 50px;
  line-height: 1.15;
}
.leader-text .body-l {
  margin-top: 26px;
  color: var(--text-2);
}
.leader-text .text-link {
  margin-top: 30px;
}

/* ---------- who ---------- */
.who.band {
  padding-block: 130px 140px;
}
.who .sec-head {
  margin-bottom: 30px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.tags li {
  display: grid;
  place-items: center;
  min-width: 236px;
  min-height: 60px;
  padding: 8px 38px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 23px;
  line-height: 1.3;
}
.tags + .text-link {
  margin-top: 36px;
}

/* ---------- contact / talk ---------- */
.talk.band {
  padding-block: 128px 112px;
}
.talk .sec-head {
  margin-bottom: 26px;
}
.talk .sec-lead {
  margin-top: 14px;
  padding-left: 66px;
  color: var(--text);
}
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-inline: 10px;
}
.office {
  padding: 20px 38px 22px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
}
.office-city {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.3;
}
.office-co {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.3;
}
.office-addr {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.45;
}
.office-tel {
  margin-top: 8px;
  font-size: 23px;
}
.office-tel a {
  text-decoration: none;
}
.office-tel a:hover {
  text-decoration: underline;
}
.map {
  margin: 30px 10px 0;
}
.map-frame {
  position: relative;
  height: 308px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #e5e9ee;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-2);
}
.map-pin {
  color: var(--seal);
  display: inline-flex;
  align-self: start;
  padding-top: 3px;
}
.map-pin .icon {
  width: 20px;
  height: 20px;
}
.map-open {
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-ext {
  width: 16px;
  height: 16px;
}
.talk .center {
  margin-top: 22px;
}
.btn-wide {
  min-width: 222px;
}
.email-row {
  margin: 24px 10px 0;
  font-size: 19px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 30px 0 28px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 466px 368px 1fr;
  padding-bottom: 20px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
}
.footer-cols > * {
  padding-block: 4px;
}
.footer-cols > :nth-child(2) {
  padding-left: 94px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.4);
  border-right: 1.5px solid rgba(255, 255, 255, 0.4);
}
.footer-name {
  font-family: var(--font-serif-latin), serif;
  font-weight: 600;
  font-size: 29px;
  line-height: 1.3;
}
.footer-cos {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--on-dark-2);
}
.footer-nav a {
  font-size: 21px;
  line-height: 1.28;
  text-decoration: none;
  color: var(--on-dark-2);
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-tel {
  padding-left: 78px;
  font-size: 23px;
  line-height: 1.3;
}
.footer-tel li + li {
  margin-top: 24px;
}
.footer-tel a {
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}
.copyright {
  font-size: 24px;
  color: var(--on-dark-2);
}
.footer-lang a {
  height: 44px;
  min-width: 62px;
}

/* ---------- sub pages ---------- */
.page-hero {
  background: var(--mist);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 64px;
  align-items: center;
  padding-block: 72px;
}
.page-hero .eyebrow {
  font-size: 15px;
  color: var(--harbour);
}
.page-title {
  margin-top: 12px;
  font-size: var(--fs-h1);
}
.page-lead {
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: var(--text-2);
  max-width: 36em;
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.page-about .band,
.page-services .band,
.page-service .band,
.page-clients .band,
.page-contact .band {
  padding-block: 88px;
}
.prose p + p {
  margin-top: 1em;
}
.prose {
  font-size: 19px;
  max-width: 42em;
}
.ceo {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
}
.ceo-heading {
  margin-top: 22px;
  font-size: var(--fs-h3);
}
.ceo-name {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
}
.ceo-role {
  color: var(--text-2);
}
.philo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  padding-left: calc(var(--indent) + 14px);
}
.philo li {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
}
.philo li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--seal);
}
.philo h3 {
  font-size: 24px;
}
.philo p {
  margin-top: 8px;
  color: var(--text-2);
}
.provider {
  margin-bottom: 40px;
  padding: 16px 20px;
  border-left: 3px solid var(--seal);
  background: var(--paper);
  font-size: 19px;
}
.svc-items {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}
.svc-item h2 {
  font-size: 32px;
}
.svc-item p {
  margin-top: 12px;
  font-size: 19px;
  max-width: 42em;
}
.svc-others {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-others a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}
.svc-others .svc-icon {
  width: 52px;
  height: 52px;
  flex: none;
}
.svc-others .svc-icon .icon {
  width: 28px;
  height: 28px;
}
@media (hover: hover) and (pointer: fine) {
  .svc-others a:hover {
    border-color: var(--harbour);
  }
}
.page-services .svc-grid {
  grid-template-columns: repeat(3, 1fr);
}
.names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 28px;
  font-family: var(--font-serif-latin), serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
}
.names li + li::before {
  content: "·";
  padding-inline: 18px;
  color: var(--muted);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner .sec-head {
  margin: 0;
}
.cta-inner .sec-lead {
  padding-left: 102px;
}
.page-contact .talk.band {
  padding-block: 0 96px;
}

/* root language chooser */
.root-choose {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  padding: 40px 20px;
  text-align: center;
}
.root-choose h1 {
  font-size: 34px;
}
.root-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.root-langs a {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.root-langs a:hover {
  background: var(--harbour-pale);
}

/* CJK nav labels are longer: shrink the wordmark before the menu collapses */
@media (max-width: 1500px) {
  html:lang(zh-Hant) .brand,
  html:lang(ja) .brand {
    margin-left: 0;
    gap: 14px;
  }
  html:lang(zh-Hant) .brand-mark,
  html:lang(ja) .brand-mark {
    width: 56px;
    height: 56px;
  }
  html:lang(zh-Hant) .brand-name,
  html:lang(ja) .brand-name {
    font-size: 24px;
  }
  html:lang(zh-Hant) .header-inner,
  html:lang(ja) .header-inner {
    gap: 22px;
  }
  html:lang(zh-Hant) .nav-list,
  html:lang(ja) .nav-list {
    gap: 20px;
  }
}

/* ---------- ≤1360: tighten desktop ---------- */
@media (max-width: 1360px) {
  :root {
    --gutter: 40px;
  }
  .header-inner {
    gap: 22px;
  }
  .brand {
    margin-left: 0;
    gap: 16px;
  }
  .brand-mark {
    width: 56px;
    height: 56px;
  }
  .brand-name {
    font-size: 26px;
  }
  .nav-list {
    gap: 22px;
  }
  .nav-list a {
    font-size: 17px;
  }
  .desks-inner {
    grid-template-columns: 1fr 1fr;
  }
  .leader-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cols {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

/* ---------- ≤1180: header collapses to menu ---------- */
@media (max-width: 1180px) {
  :root {
    --header-h: 78px;
  }
  .header-inner {
    gap: 14px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px -16px rgba(20, 40, 75, 0.25);
  }
  .is-open .main-nav {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .nav-list a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-list a[aria-current="page"] {
    border-bottom-color: var(--border);
    box-shadow: inset 3px 0 0 var(--seal);
    padding-left: 14px;
  }
  .svc-grid,
  .page-services .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc-others {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- ≤900: tablet / mobile composition ---------- */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
    --fs-display: 34px;
    --fs-h1: 30px;
    --fs-h2: 31px;
    --fs-h3: 21px;
    --fs-lead: 17px;
    --fs-body: 16px;
    --fs-body-l: 17px;
  }
  html:lang(zh-Hant),
  html:lang(ja) {
    --fs-display: 30px;
    --fs-h1: 27px;
    --fs-h2: 26px;
    --fs-h3: 19px;
    --fs-lead: 16px;
    --fs-body: 15px;
    --fs-body-l: 16px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 19px;
    line-height: 1.1;
    white-space: normal;
    max-width: 8.6em;
  }
  .header-lang a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
  }
  .btn {
    font-size: 19px;
  }
  /* hero: photo on top, text on white */
  .hero {
    display: block;
    min-height: 0;
    background: #fff;
    color: var(--ink);
  }
  .hero::before {
    display: none;
  }
  .hero-img {
    position: static;
    height: auto;
    aspect-ratio: 390 / 248;
    object-position: 50% 50%;
  }
  .hero-inner {
    padding-block: 26px 0;
  }
  .hero .eyebrow {
    font-size: 14px;
    color: var(--text-2);
    letter-spacing: 0.06em;
  }
  .hero-title {
    margin-top: 8px;
    color: var(--ink);
    line-height: 1.15;
  }
  .hero-lead {
    margin-top: 12px;
    color: var(--text);
    line-height: 1.45;
  }
  .btn-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }
  .btn-row .btn {
    min-height: 50px;
    width: 100%;
  }
  .btn-on-dark {
    border-color: var(--ink);
    color: var(--ink);
  }
  /* headings: rule moves below */
  .sec-title {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
    margin-left: 0;
  }
  .sec-rule {
    width: 72px;
    height: 4px;
  }
  .sec-lead,
  .services .sec-lead,
  .talk .sec-lead,
  .cta-inner .sec-lead,
  .indent,
  .philo {
    padding-left: 0;
  }
  .sec-lead {
    margin-top: 14px;
  }
  .sec-head {
    margin-bottom: 20px;
  }
  .intro.band {
    padding-block: 56px 60px;
  }
  .intro .sec-head {
    margin-bottom: 20px;
  }
  .services.band {
    padding-block: 24px 30px;
  }
  .services .sec-head {
    margin-bottom: 12px;
  }
  .services .sec-title {
    font-size: 25px;
  }
  .svc-grid,
  .page-services .svc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-inline: 0;
  }
  .svc-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 18px;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 6px;
  }
  .svc-icon {
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    margin-top: 2px;
  }
  .svc-icon .icon {
    width: 26px;
    height: 26px;
  }
  .svc-title {
    margin: 0;
    font-size: 19px;
  }
  .svc-summary {
    margin-top: 4px;
    font-size: 14.5px;
    line-height: 1.4;
  }
  .svc-more {
    display: none;
  }
  .svc-tile a {
    min-height: 36px;
    margin-top: 4px;
    font-size: 17px;
    border-radius: 4px;
  }
  .svc-tile .icon-arrow {
    width: 18px;
    height: 18px;
  }
  .desks.band {
    padding-block: 22px 26px;
  }
  .desks-inner {
    grid-template-columns: 1fr;
  }
  .desks-text {
    padding: 0;
    border: 0;
  }
  .desks-title {
    font-size: 24px;
    max-width: none;
  }
  .desks-text p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .desk-list {
    padding-left: 0;
    margin-top: 10px;
  }
  .desk-list li {
    padding: 6px 4px;
    font-size: 17px;
  }
  .desk-list li:first-child {
    padding-top: 6px;
  }
  .desk-list li:last-child {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  }
  .leader.band {
    padding-block: 16px 20px;
  }
  .leader-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .leader-media img {
    aspect-ratio: 350 / 140;
    border-radius: 6px;
  }
  .leader-text {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .leader-text .bar {
    order: 2;
    margin-top: 6px;
  }
  .leader-title {
    order: 1;
    margin-top: 0;
    font-size: 24px;
  }
  .leader-text .body-l {
    order: 3;
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.4;
  }
  .leader-text .text-link {
    order: 4;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
  }
  .who.band {
    padding-block: 20px 24px;
  }
  .who .sec-title {
    font-size: 24px;
  }
  .who .sec-head {
    margin-bottom: 14px;
  }
  .tags {
    gap: 10px;
  }
  .tags li {
    min-width: 0;
    min-height: 36px;
    padding: 4px 16px;
    font-size: 15px;
    font-weight: 600;
  }
  .tags + .text-link {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
  }
  .talk.band {
    padding-block: 24px 28px;
  }
  .talk .sec-title {
    font-size: 25px;
  }
  .talk .sec-lead {
    padding-left: 0;
    font-size: 14.5px;
  }
  .offices {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
  }
  .office {
    padding: 12px 18px 14px;
  }
  .office-city {
    font-family: var(--font-sans);
    font-size: 14px;
  }
  .office-co {
    margin-top: 2px;
    font-size: 19px;
  }
  .office-addr,
  .office-tel {
    font-size: 14.5px;
    margin-top: 6px;
  }
  .map {
    margin: 14px 0 0;
  }
  .map-frame {
    height: 172px;
  }
  .map-caption,
  .map-open {
    font-size: 14px;
  }
  .talk .center {
    margin-top: 16px;
  }
  .btn-wide {
    width: 100%;
    min-height: 38px;
    font-size: 17px;
  }
  .email-row {
    margin: 14px 0 0;
    font-size: 15px;
  }
  .site-footer {
    padding: 20px 0 16px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
  }
  .footer-cols > :nth-child(2) {
    padding: 0;
    border: 0;
  }
  .footer-name {
    font-size: 21px;
  }
  .footer-cos {
    margin-top: 2px;
    font-size: 14px;
  }
  .br-desk {
    display: none;
  }
  .footer-nav {
    margin-top: 14px;
  }
  .footer-nav a {
    font-size: 17px;
    line-height: 1.55;
    color: #fff;
  }
  .footer-tel {
    padding: 8px 0 0;
    font-size: 15px;
  }
  .footer-tel li + li {
    margin-top: 2px;
  }
  .footer-bottom {
    padding-top: 12px;
  }
  .copyright {
    font-size: 14px;
  }
  .footer-lang a {
    min-width: 36px;
    height: 32px;
    font-size: 14px;
  }
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 0 32px;
  }
  .page-contact .talk.band {
    padding-top: 8px;
  }
  .page-hero-media {
    order: -1;
    margin-inline: calc(-1 * var(--gutter));
  }
  .page-hero-media img {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }
  .page-about .band,
  .page-services .band,
  .page-service .band,
  .page-clients .band {
    padding-block: 44px;
  }
  .prose,
  .svc-item p,
  .provider {
    font-size: 16px;
  }
  .ceo {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .philo {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .svc-item h2 {
    font-size: 23px;
  }
  .svc-items {
    gap: 32px;
  }
  .svc-others {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .names {
    font-size: 21px;
  }
  .names li + li::before {
    padding-inline: 10px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-inner .btn {
    width: 100%;
  }
}

/* mobile correction pass 2 (compared with home-mobile-390.png) */
@media (max-width: 900px) {
  .intro .body-l {
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
  }
  .services .sec-lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
  }
  .svc-card {
    padding: 10px 14px 12px;
    column-gap: 16px;
  }
  .svc-title {
    font-size: 17.5px;
  }
  .svc-summary {
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--text);
  }
  .svc-grid {
    gap: 8px;
  }
  .map-caption {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 2px 8px;
  }
  .map-open {
    grid-column: 2;
  }
  .leader-text .body-l {
    color: var(--text);
  }
  .office-co {
    font-size: 17.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
  .svc-card:hover {
    transform: none;
  }
}

/* 主役は香港の ACC Business Services Limited。関連の 2 社は一段下げて見せる（Jin 2026-11-16） */
.offices-main { grid-template-columns: 1fr; }
.affiliates { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border, #D9DEE5); }
.aff-heading { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2, #4A5565); margin: 0 0 12px; }
.aff-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 32px; }
.aff-item p { margin: 0; }
.aff-co { font-size: 0.9375rem; font-weight: 600; color: var(--text-1, #1C2430); }
.aff-local { font-weight: 400; color: var(--text-2, #4A5565); margin-left: 4px; }
.aff-desc, .aff-addr { font-size: 0.8125rem; color: var(--text-2, #4A5565); line-height: 1.6; }
.aff-addr a { color: inherit; }
.footer-aff { font-size: 0.75rem; opacity: 0.7; margin-top: 6px; }

/* スマホでは繁体字・日本語のページも英語と同じ大きさにする（上の 1500px の規則が強く、4 行に折れていた） */
@media (max-width: 900px) {
  html:lang(zh-Hant) .brand-name,
  html:lang(ja) .brand-name { font-size: 19px; }
  html:lang(zh-Hant) .brand-mark,
  html:lang(ja) .brand-mark { width: 40px; height: 40px; }
}
.aff-list { gap: 20px 40px; }
.aff-item { padding-left: 14px; border-left: 2px solid var(--border, #D9DEE5); }
.aff-role { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent, #B8452E); margin-bottom: 2px !important; }
.aff-link { margin-top: 6px !important; font-size: 0.8125rem; }
.aff-link .text-link { font-size: 0.8125rem; font-weight: 600; }
