/* ============================================================
   MADSPACE Design System
   Theme: cold-premium light. Single accent: brand blue #0D3ACD.
   Radius rule: buttons pill / cards 16px / inputs 10px.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #FAFBFE;
  --paper-2:    #F1F4FB;
  --card:       #FFFFFF;
  --ink:        #0B1230;
  --body:       #3D465F;
  --muted:      #67718D;
  --line:       #E3E8F4;
  --blue:       #0D3ACD;
  --blue-deep:  #0A2DA1;
  --blue-ink:   #081A56;   /* navy blocks: footer / CTA */
  --blue-tint:  #E9EEFC;
  --blue-soft:  rgba(13, 58, 205, .08);
  --shadow-sm:  0 2px 10px rgba(11, 18, 48, .05);
  --shadow-md:  0 14px 40px rgba(11, 18, 48, .09);
  --shadow-blue:0 18px 50px rgba(13, 58, 205, .16);
  --r-card:     16px;
  --r-input:    10px;
  --font-latin: 'Space Grotesk';
  --font-cjk:   'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-sans:  var(--font-latin), var(--font-cjk);
  --nav-h:      72px;
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --w-max:      1200px;
}
html[lang="zh-TW"] {
  --font-cjk: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
}
html[lang="ja"] {
  --font-cjk: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif;
}
html[lang="en"] {
  --font-cjk: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.text-nowrap { white-space: nowrap; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.num, .stat-value {
  font-family: var(--font-latin), sans-serif;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -.01em;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-tint { background: var(--paper-2); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -.025em; line-height: 1.14; }
.sec-head p { font-size: 18px; color: var(--muted); max-width: 60ch; }
.sec-head.center p { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue);
  background: var(--blue-tint); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border-radius: 999px; padding: 14px 30px; font-size: 16px; font-weight: 600;
  font-family: inherit; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(11,18,48,.22); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-onblue { background: #fff; color: var(--blue); }
.btn-onblue:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.btn .arr { transition: transform .2s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250, 251, 254, 0);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(250, 251, 254, .86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .18s, background-color .18s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta { margin-left: 4px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 500; font-family: inherit;
  color: var(--ink); cursor: pointer; transition: border-color .18s;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink);
}
.lang-menu a:hover { background: var(--blue-soft); color: var(--blue); }
.lang-menu a.current { color: var(--blue); font-weight: 600; }

/* theme toggle (light <-> deep space) */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 500; font-family: inherit;
  color: var(--muted); cursor: pointer; transition: border-color .18s, color .18s, background-color .18s;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.theme-toggle svg { width: 15px; height: 15px; }

/* mobile nav */
.nav-burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(92deg, rgba(250,251,254,.97) 0%, rgba(250,251,254,.9) 34%, rgba(250,251,254,.42) 62%, rgba(250,251,254,.12) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(38px, 6vw, 78px); letter-spacing: -.03em; line-height: 1.08;
  max-width: 13em; margin-bottom: 24px; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--body); max-width: 36em; margin-bottom: 38px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap; padding: 26px 24px; /* keep .wrap's side gutter — was `26px 0`, which zeroed it and cut the first logo */
}
.trustbar-label { font-size: 15px; font-weight: 600; color: var(--body); letter-spacing: .02em; }
.trustbar-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.trustbar-logos .cell {
  display: flex; align-items: center; justify-content: center;
  width: 128px; height: 48px;
}
.trustbar-logos img {
  width: auto; height: auto; object-fit: contain;
  opacity: .95; transition: opacity .2s, transform .2s;
}
.trustbar-logos .cell:hover img { opacity: 1; transform: scale(1.04); }

/* ---------- Stats ---------- */
/* 2x2 so the exact figures ($100,000,000+, $7,020,387) never overflow their column at desktop */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
.stat { border-left: 3px solid var(--blue); padding-left: 26px; min-width: 0; }
.stat-value {
  font-size: clamp(42px, 5.5vw, 74px); font-weight: 700; color: var(--ink);
  line-height: 1.02; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 1px;
}
.stat-value .unit { font-size: .5em; font-weight: 700; color: var(--blue); }
.stat-label { margin-top: 10px; font-size: 16.5px; color: var(--body); }
/* record band — highlight the single strongest proof point */
.record-band {
  margin-top: 44px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff;
  border-radius: var(--r-card); padding: 32px 40px; box-shadow: var(--shadow-blue);
}
.record-band .rb-main { display: flex; flex-direction: column; gap: 10px; flex: none; }
.record-band .rb-tag { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .01em; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.record-band .rb-num { font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.02em; line-height: 1; }
.record-band .rb-txt { flex: 1; min-width: 260px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.92); margin: 0; padding-left: 36px; border-left: 1px solid rgba(255,255,255,.22); }
.record-band .rb-txt b { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .stat-value { font-size: clamp(34px, 9vw, 48px); flex-wrap: wrap; }
  .record-band { padding: 24px 24px; gap: 20px; }
  .record-band .rb-txt { padding-left: 0; border-left: 0; min-width: 0; }
}

/* ---------- Region cards ---------- */
.regions { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
.regions-4 { grid-template-columns: repeat(2, 1fr); }
.region {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 34px 30px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .3s;
}
.region:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.region h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.region .flagchip { font-size: 13px; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 3px 12px; font-weight: 600; }
.region-record { margin: 14px 0 18px; }
.region-record .num { font-size: 30px; font-weight: 700; color: var(--blue); letter-spacing: -.01em; }
.region-record small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.region-plats { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.region-plats img { height: 22px; width: auto; }
.region ul { margin: 0; padding: 0; list-style: none; }
.region li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; }
.region li::before {
  content: ''; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* ---------- Bento (services) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento-cell {
  position: relative; border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--card); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; min-height: 300px;
  transition: transform .25s var(--ease-out), box-shadow .3s;
}
.bento-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bento-cell .cell-body { padding: 30px 30px 26px; display: flex; flex-direction: column; flex: 1; }
.bento-cell h3 { font-size: 22px; margin-bottom: 8px; }
.bento-cell p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.bento-cell .cell-img { width: 100%; overflow: hidden; }
.bento-cell .cell-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.bento-cell:hover .cell-img img { transform: scale(1.04); }
.bento-6 { grid-column: span 6; }
.bento-7 { grid-column: span 7; }
.bento-5 { grid-column: span 5; }
.bento-4 { grid-column: span 4; }
.bento-8 { grid-column: span 8; }
.bento-blue { background: var(--blue-ink); border-color: transparent; }
.bento-blue h3, .bento-blue .svc-link { color: #fff; }
.bento-blue p { color: rgba(255,255,255,.72); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  font-size: 12.5px; font-weight: 500; color: var(--body);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.bento-blue .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.svc-link { font-weight: 600; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.svc-link .arr { transition: transform .2s; }
.bento-cell:hover .svc-link .arr { transform: translateX(4px); }

/* ---------- Case spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.spotlight-img { position: relative; }
.spotlight-img img { border-radius: var(--r-card); box-shadow: var(--shadow-md); }
.spot-badges { display: flex; gap: 12px; margin: 18px 0 26px; flex-wrap: wrap; }
.spot-badges img { height: 84px; width: auto; }
.spot-stats { display: flex; gap: 44px; margin-top: 26px; }
.spot-stats .num { font-size: 36px; font-weight: 700; color: var(--ink); display: block; letter-spacing: -.01em; }
.spot-stats small { color: var(--muted); font-size: 14px; }

/* ---------- Case grid ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  border-radius: var(--r-card); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card img { width: 100%; }
.case-grid-4 { grid-template-columns: repeat(4, 1fr); }
.case-card { position: relative; }
.case-cap { padding: 13px 16px 15px; border-top: 1px solid var(--line); }
.case-cap b { display: block; font-size: 15px; color: var(--ink); line-height: 1.35; }
.case-cap .amt { display: block; font-family: var(--font-latin), sans-serif; font-size: 18px; font-weight: 700; color: var(--blue); letter-spacing: -.01em; margin-top: 3px; }
.case-cap small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.case-flag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.case-slider .case-card > img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Case slider (horizontal scroll-snap) ---------- */
.case-slider {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--blue-tint) transparent;
}
.case-slider .case-card {
  flex: 0 0 300px; scroll-snap-align: start;
}
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 18px; cursor: pointer;
  transition: all .2s; display: inline-flex; align-items: center; justify-content: center;
}
.slider-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- Hero band variant (wide-narrow brand video) ---------- */
.hero-band-sec { min-height: 84vh; }
@media (max-width: 640px) { .hero-band-sec { min-height: 88vh; } }

/* ---------- Trust bar logos: larger, full-colour, optically balanced ---------- */
.trustbar-logos { gap: 30px; }
.trustbar-logos .cell {
  height: 50px; display: flex; align-items: center; justify-content: center;
}
/* larger envelope; heavy wordmarks tuned per-logo inline so all read at similar weight */
.trustbar-logos .cell img {
  max-height: 30px; max-width: 132px; width: auto; height: auto;
  object-fit: contain; opacity: .95; transition: opacity .2s, transform .2s;
}
.trustbar-logos .cell img:hover { opacity: 1; transform: scale(1.04); }

/* ---------- Company strengths (4) — number-led editorial ---------- */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strength {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 34px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .3s;
}
.strength::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #6E3BFF);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.strength:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.strength:hover::before { transform: scaleX(1); }
.strength .s-no {
  display: block; font-family: var(--font-latin), sans-serif; font-weight: 700;
  font-size: 46px; line-height: 1; letter-spacing: -.02em; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue) 0%, #6E3BFF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.strength h3 { font-size: 20px; margin-bottom: 11px; letter-spacing: -.01em; }
.strength p { font-size: 15.5px; line-height: 1.68; color: var(--body); margin: 0; }

/* ---------- Service card — feature card (large icon tile + real brand strip) ---------- */
.svc-card { display: flex; flex-direction: column; padding: 30px 28px 26px; min-height: 0; }
.svc-ico {
  width: 58px; height: 58px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, var(--blue) 0%, #5B3BFF 100%);
  box-shadow: 0 10px 22px rgba(13, 58, 205, .26);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.svc-ico img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.svc-card h3 { font-size: 21px; margin-bottom: 9px; letter-spacing: -.01em; }
.svc-card p { font-size: 15.5px; line-height: 1.66; color: var(--body); margin-bottom: 18px; }
.svc-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-brands img { height: 22px; width: auto; max-width: 100px; object-fit: contain; opacity: 1; filter: none; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-tags .tag { font-size: 12.5px; color: var(--body); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.svc-link { font-weight: 600; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.svc-card:hover .svc-link .arr { transform: translateX(4px); }
.svc-card h3 { font-size: 21px; margin-bottom: 7px; letter-spacing: -.01em; }
.svc-card p { font-size: 15.5px; line-height: 1.66; margin-bottom: 0; }

/* ---------- Media wall: Load More (staggered slide-in) ---------- */
.media-wall.collapsed .cell.extra { display: none; }
@keyframes lm-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.media-wall .cell.extra.lm-animate { animation: lm-in .5s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 26ms); }
@media (prefers-reduced-motion: reduce) { .media-wall .cell.extra.lm-animate { animation: none; } }
.load-more-wrap { text-align: center; margin-top: 32px; }
.btn-textlink {
  background: none; border: 0; color: var(--blue); font-family: inherit; font-size: 15px;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; transition: background-color .2s;
}
.btn-textlink:hover { background: var(--blue-soft); }
.btn-textlink .chev { transition: transform .2s; }
.btn-textlink.open .chev { transform: rotate(180deg); }
/* case-region "show more" collapse — mobile only (desktop shows all cards) */
.case-more-wrap { display: none; text-align: center; margin-top: 22px; }
@keyframes msRevealIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .case-grid:not(.expanded) .pcard-extra { display: none; }
  .case-more-wrap { display: block; }
  /* staggered fade-up as items are revealed by the show-more buttons */
  .case-grid.expanded .pcard-extra,
  .case-slider.expanded .pcard-extra,
  .media-wall.expanded .cell:nth-child(n+7),
  .partner-wall.expanded .cell:nth-child(n+7) {
    animation: msRevealIn .42s var(--ease-out) both;
    animation-delay: calc(var(--k, 0) * 30ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-grid.expanded .pcard-extra, .case-slider.expanded .pcard-extra,
  .media-wall.expanded .cell:nth-child(n+7), .partner-wall.expanded .cell:nth-child(n+7) { animation: none; }
}

/* ---------- Product case card (clean transparent product on light tile) ---------- */
.pcard { display: block; border-radius: var(--r-card); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #EEF2FB 0%, #FFFFFF 70%); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pcard-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .4s var(--ease-out); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-flag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; max-width: 58%; white-space: normal; line-height: 1.25; }
.pcard-flag.pcard-flag-gold { background: linear-gradient(135deg, #FFD84D 0%, #FBA80A 100%); color: #4a2e00; font-size: 11px; white-space: nowrap; max-width: none; box-shadow: 0 4px 12px rgba(240,160,10,.42); }
/* corner brand badge (cases + homepage featured) — img.pcard-logo beats .pcard-img img specificity */
.pcard-img img.pcard-logo { position: absolute; top: 9px; right: 9px; z-index: 2; width: 82px; height: auto; max-width: 82px; max-height: none; min-height: 0; object-fit: contain; object-position: right center; filter: drop-shadow(0 1px 2px rgba(255,255,255,.55)); transition: none; }
.pcard:hover .pcard-img img.pcard-logo { transform: none; }
.pcard-img img:not(.pcard-logo) { max-width: 91%; max-height: 90%; }
@media (max-width: 640px) { .pcard-img img.pcard-logo { width: 58px; max-width: 58px; top: 7px; right: 7px; } }
.pcard-body { padding: 12px 16px; border-top: 1px solid var(--line); }
.pcard-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.pcard-amt { font-family: var(--font-latin), sans-serif; font-size: 18px; font-weight: 700; color: var(--blue); margin-top: 3px; letter-spacing: -.01em; }
.pcard-plats { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.pcard-plat-text { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.pcard-plat-ico { height: 20px; width: 20px; object-fit: contain; border-radius: 5px; }
.case-slider .pcard { flex: 0 0 280px; scroll-snap-align: start; }

/* ---------- Cases: persistent market region rail ---------- */
.market-section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.case-jump {
  position: fixed; right: 18px; top: 50%; z-index: 90;
  transform: translateY(-50%);
  font-family: var(--font-sans);
}
.case-jump-rail {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 12px 9px;
  border: 1px solid rgba(227,232,244,.94); border-radius: 999px;
  background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(15,31,73,.16);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.case-jump-rail::before {
  content: ''; position: absolute; z-index: -1;
  top: 30px; bottom: 30px; left: 50%; width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(34,87,230,.32), rgba(201,60,81,.26) 34%, rgba(0,131,111,.26) 67%, rgba(108,79,211,.32));
}
.case-jump-link {
  --case-color: #2257e6; --case-soft: #eef3ff; --case-halo: rgba(34,87,230,.18); --case-shadow: rgba(34,87,230,.3);
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px;
  border: 2px solid var(--case-color); border-radius: 50%;
  background: #fff; color: var(--case-color);
  box-shadow: 0 5px 14px rgba(15,31,73,.12);
  font: 750 11px/1 var(--font-sans); letter-spacing: .04em;
  touch-action: manipulation;
  transition: color .18s, background-color .18s, transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.case-jump-link[data-region="jp"] { --case-color: #c93c51; --case-soft: #fff0f2; --case-halo: rgba(201,60,81,.18); --case-shadow: rgba(201,60,81,.3); }
.case-jump-link[data-region="tw"] { --case-color: #00836f; --case-soft: #eaf8f5; --case-halo: rgba(0,131,111,.18); --case-shadow: rgba(0,131,111,.3); }
.case-jump-link[data-region="kr"] { --case-color: #6c4fd3; --case-soft: #f2efff; --case-halo: rgba(108,79,211,.18); --case-shadow: rgba(108,79,211,.3); }
.case-jump-link:hover { background: var(--case-soft); transform: translateX(-2px); }
.case-jump-link:active { transform: scale(.96); }
.case-jump-link:focus-visible { outline: 3px solid var(--case-color); outline-offset: 3px; }
.case-jump-link[aria-current="location"] {
  background: var(--case-color); color: #fff;
  box-shadow: 0 0 0 5px var(--case-halo), 0 8px 18px var(--case-shadow);
  transform: scale(1.07);
}
.case-jump-link[aria-current="location"]:hover { transform: translateX(-2px) scale(1.07); }

@media (max-width: 640px) {
  .case-jump { right: max(4px, env(safe-area-inset-right)); }
  .market-section .case-grid { padding-right: 30px; }
  .case-jump-rail {
    gap: 4px; padding: 5px 2px;
    border-color: rgba(227,232,244,.6);
    background: rgba(255,255,255,.68); box-shadow: 0 7px 20px rgba(15,31,73,.1);
    backdrop-filter: blur(8px) saturate(130%); -webkit-backdrop-filter: blur(8px) saturate(130%);
  }
  .case-jump-rail::before { top: 27px; bottom: 27px; }
  .case-jump-link {
    width: 44px; height: 44px; flex-basis: 44px;
    font-size: 10px;
  }
  .case-jump-link[aria-current="location"] { box-shadow: 0 0 0 3px var(--case-halo), 0 6px 15px var(--case-shadow); }
}

@media (prefers-reduced-motion: reduce) {
  .case-jump-link { transition: none; }
}

/* ---------- Marquee (max one per page) ---------- */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 190px; width: auto; border-radius: 12px; box-shadow: var(--shadow-sm);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Logo walls ---------- */
.media-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.media-wall .cell {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 18px 20px; height: 84px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.media-wall .cell:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.media-wall .cell img { max-height: 36px; max-width: 80%; width: auto; object-fit: contain; }
/* animated expand/collapse container for the extra media logos */
.media-extra {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 14px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease-out), opacity .4s var(--ease-out), margin-top .3s;
}
.media-extra.open { max-height: 900px; opacity: 1; }
.media-extra .cell {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 18px 20px; height: 84px;
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.media-extra.open .cell { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 24ms); }
.media-extra .cell img { max-height: 36px; max-width: 80%; width: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .media-extra, .media-extra .cell { transition: none; } }

.partner-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partner-wall .cell {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding: 22px 24px; height: 104px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.partner-wall .cell:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.partner-wall .cell picture { display: contents; }   /* wrapper is layout-invisible: desktop is unchanged */
.partner-wall .cell img { max-height: 66px; max-width: 78%; width: auto; height: auto; object-fit: contain; }

/* ---------- Testimonials (all shown, circular brand badge) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.quote {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 30px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote-logo { height: 46px; display: flex; align-items: center; margin-bottom: 22px; flex: none; }
.quote-logo img { max-height: 46px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.quote p { font-size: 16px; color: var(--body); flex: 1; margin-bottom: 0; line-height: 1.7; }
.quote p::before { content: '\201C'; color: var(--blue); font-family: var(--font-latin); font-size: 30px; line-height: 0; vertical-align: -8px; margin-right: 4px; }
.quote-who { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-who b { color: var(--ink); display: block; font-size: 15px; }
.quote-who span { font-size: 13.5px; color: var(--muted); }

/* ---------- KOL cards ---------- */
.kol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kol-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.kol-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s var(--ease-out); }
.kol-card:hover img { transform: scale(1.05); }
.kol-card .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 18, 56, .18); transition: background-color .25s;
}
.kol-card:hover .play { background: rgba(8, 18, 56, .05); }
.kol-card .play::after {
  content: ''; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D3ACD'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 6px 22px rgba(11,18,48,.25);
}

/* ---------- Overhaul refinements: hero note, mid-funnel CTA, strength badge, media metrics ---------- */
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .01em; }
.hero-badges { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero-badges img { height: 118px; width: auto; filter: drop-shadow(0 10px 24px rgba(11,18,48,.18)); }
@media (max-width: 640px) { .hero-badges { gap: 18px; margin-top: 26px; } .hero-badges img { height: 86px; } }
.midcta { padding: 46px 0; background: linear-gradient(180deg, #EAF0FF 0%, #DFE8FF 100%); border-top: 2px solid var(--blue); border-bottom: 1px solid var(--line); }
.midcta .wrap { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; text-align: center; }
.midcta p { font-size: clamp(20px, 2.3vw, 27px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 0; }
.s-badge {
  display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-soft);
  border-radius: 999px; padding: 5px 12px;
}
.media-metrics { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; margin: -8px 0 46px; }
.media-metric { text-align: center; }
.media-metric b { display: block; font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: clamp(36px, 4.2vw, 54px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.media-metric span { display: block; margin-top: 8px; font-size: 15px; color: var(--body); }
@media (max-width: 640px) { .media-metrics { gap: 32px; } }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.tl-step { position: relative; padding: 0 26px 0 0; }
.tl-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-latin); font-weight: 700; font-size: 15px; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); margin-bottom: 18px;
}
.tl-step::after {
  content: ''; position: absolute; top: 22px; left: 56px; right: 12px; height: 2px;
  background: linear-gradient(90deg, var(--blue-tint), var(--line));
}
.tl-step:last-child::after { display: none; }
.tl-step h3 { font-size: 19px; }
.tl-step .tl-days { font-size: 13px; color: var(--blue); font-weight: 600; display: block; margin-bottom: 8px; }
.tl-step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Feature list rows ---------- */
.feat-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.feat {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px;
  border-radius: 12px; transition: background-color .2s;
}
.feat:hover { background: var(--blue-soft); }
.feat .ico {
  flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
}
.feat .ico img { width: 26px; height: 26px; }
.feat h4 { font-size: 17px; margin-bottom: 4px; }
.feat p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- CTA band (blue block, once per page) ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 78%); position: relative; overflow: hidden; }
.cta-band::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none;
}
.cta-inner { padding: 84px 24px; text-align: center; position: relative; z-index: 1; } /* keep .wrap's side gutter (was `84px 0`) so the CTA copy aligns with every other band */
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 56ch; margin: 0 auto 34px; }

/* ---------- Footer (navy) ---------- */
.footer { background: var(--blue-ink); color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer a { color: rgba(255,255,255,.75); transition: color .18s; }
.footer a:hover { color: #fff; }
.footer-main {
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 44px; padding: 68px 0 48px;
}
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer-offices li { margin-bottom: 12px; line-height: 1.55; }
.footer-offices b { color: rgba(255,255,255,.92); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-lang { display: flex; align-items: center; gap: 6px; }
.footer-lang .globe { font-size: 14px; margin-right: 4px; opacity: .7; }
.footer-lang a {
  color: rgba(255,255,255,.55); padding: 4px 9px; border-radius: 8px; font-size: 13px;
  transition: color .2s, background-color .2s;
}
.footer-lang a:hover { color: #fff; background: rgba(255,255,255,.08); }
.footer-lang a.on { color: #fff; font-weight: 600; background: rgba(255,255,255,.12); }
.footer-icp { text-align: center; padding: 0 0 20px; font-size: 12.5px; }
.footer-icp a { color: rgba(255,255,255,.38); }
.footer-icp a:hover { color: rgba(255,255,255,.6); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-input);
  background: #fff; padding: 13px 15px; font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field.error input, .field.error textarea { border-color: #C4322E; }
.field .err-msg { display: none; font-size: 13px; color: #C4322E; margin-top: 5px; }
.field.error .err-msg { display: block; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 10px 24px; font-size: 15px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all .2s;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue); }
.tab-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .45s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Video lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 30, .82);
  display: none; align-items: center; justify-content: center; padding: 4vw;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox video { max-width: min(1100px, 92vw); max-height: 82vh; width: 100%; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer;
  transition: background-color .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }

/* ---------- Award strip ---------- */
.award-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: start; }
.award-strip figure { margin: 0; text-align: center; }
.award-strip img { width: 100%; max-width: 150px; margin: 0 auto; }
.award-strip figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

/* ---------- Milestone timeline (about) ---------- */
.milestones { position: relative; padding-left: 34px; }
.milestones::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.milestone { position: relative; padding-bottom: 34px; }
.milestone::before {
  content: ''; position: absolute; left: -32px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint);
}
.milestone .year { font-family: var(--font-latin); font-weight: 700; font-size: 20px; color: var(--blue); }
.milestone h3 { font-size: 17.5px; margin: 4px 0 6px; }
.milestone p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: 60ch; }

/* ---------- Reveal engine ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-l { opacity: 0; transform: translateX(-30px); }
.reveal-l.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-r { opacity: 0; transform: translateX(30px); }
.reveal-r.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 84px) 0 64px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.02em; max-width: 18em; }
.page-hero .lede { font-size: 18px; color: var(--muted); max-width: 60ch; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: radial-gradient(1000px 480px at 88% -10%, var(--blue-tint), transparent 65%);
}

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.img-frame { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; z-index: 300; background: var(--blue); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; position: fixed; inset: var(--nav-h) 0 auto 0;
    background: #fff; box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 18px 22px; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; border-radius: 10px; font-size: 16px; }
  /* dark-hero pages paint nav links white; the open dropdown is white -> invisible text. Force ink. */
  .nav .nav-links.open a,
  .nav:not(.scrolled) .nav-links.open a { color: var(--ink); }
  .nav .nav-links.open a.active,
  .nav:not(.scrolled) .nav-links.open a.active { color: var(--blue); }
  .nav-burger { display: flex; }
  .nav .lang { margin-left: auto; }
  .nav-burger { margin-left: 8px; }
  .nav-cta { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .regions { grid-template-columns: 1fr; }
  .bento-cell { grid-column: span 12 !important; min-height: 0; }
  .spotlight { grid-template-columns: 1fr; gap: 36px; }
  .case-grid, .case-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .media-wall { grid-template-columns: repeat(4, 1fr); }
  .partner-wall { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .kol-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .award-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  /* tighter vertical rhythm — desktop-first pages are far too tall on phones */
  .section { padding: 50px 0; }
  .section.section-tight, .section-tight { padding: 42px 0; }
  .sec-head { margin-bottom: 26px; }
  /* --- unified side gutter: every full-width band matches .wrap's 24px --- */
  :root { --nav-h: 84px; }
  .nav-inner { padding-left: 24px; padding-right: 24px; gap: 12px; }
  .nav-logo img { height: 68px; }
  .trustbar-inner { padding: 20px 24px; gap: 14px; justify-content: center; }
  .trustbar-label { width: 100%; text-align: center; }
  .trustbar-logos { gap: 12px 16px; justify-content: center; width: 100%; }
  .trustbar-logos .cell { width: calc(50% - 8px); height: 40px; }
  .trustbar-logos .cell img { max-width: 100% !important; max-height: 24px !important; }
  .hero-badges { justify-content: center; flex-wrap: wrap; }
  .btn { white-space: normal; text-align: center; max-width: 100%; padding: 13px 20px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(250,251,254,.96) 0%, rgba(250,251,254,.86) 55%, rgba(250,251,254,.55) 100%); }
  /* --- body copy: one readable size (14px) for all non-heading grey text --- */
  p, .sec-head p, .stat-label, .region li, .quote p, .kol-card figcaption,
  .svc-card p, .strength p, .cred figcaption small, .feat p, .tag { font-size: 14px; }
  .quote p { line-height: 1.6; }
  /* side-by-side (2-up) instead of full stacking wherever cards fit */
  .stats { grid-template-columns: 1fr 1fr; }
  .strengths { grid-template-columns: 1fr; gap: 12px; }   /* text-heavy: 2-up squeezed copy to a few chars per line */
  .quotes { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* <figure> still carries the UA default `margin: 1em 40px` — 80px of it crushed the 2-up card */
  .quotes .quote { min-width: 0; margin: 0; padding: 16px 14px; }
  .quotes .quote-logo { height: 30px; margin-bottom: 12px; }
  .quotes .quote-logo img { max-height: 30px; max-width: 100%; }
  .quotes .quote-who { margin-top: 12px; padding-top: 10px; }
  .quotes .quote-who b { font-size: 13.5px; }
  .quotes .quote-who span { font-size: 12px; }
  .kol-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .case-grid, .case-grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard-name { font-size: 13px; line-height: 1.3; }
  .pcard-amt { font-size: 14px; }
  .pcard-body { padding: 8px 12px 12px; }
  .pcard-plats { margin-top: 6px; gap: 6px; }
  /* record/award tag: bottom-left of the product tile so it stays on ONE line and clears both the logo and the product */
  .pcard-flag, .pcard-flag.pcard-flag-gold {
    top: auto; bottom: 7px; left: 7px; right: auto;
    max-width: calc(100% - 14px); white-space: nowrap;
    font-size: 10.5px; padding: 3px 9px; line-height: 1.35;
  }
  /* featured: horizontal slider -> 2-up grid with working show-more */
  .case-slider { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; padding: 0; }
  .case-slider .pcard { flex: none; width: auto; }
  .case-slider:not(.expanded) .pcard-extra { display: none; }
  .slider-nav { display: none; }
  /* media wall: 2 rows by default, rest behind the existing show-all button */
  .media-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .media-wall:not(.expanded) .cell:nth-child(n+7) { display: none; }
  .media-extra { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .media-wall .cell, .media-extra .cell { padding: 8px 6px; min-height: 54px; }
  .media-wall .cell img, .media-extra .cell img { max-height: 30px; max-width: 92%; }
  /* partner wall: first 6, rest behind show-more */
  /* 3-up gave a 102px cell with 24px desktop padding: every logo was width-clamped to
     40.8px, and because the source files are equal-WIDTH normalised, cap-heights ranged
     3.4px to 20px. 2-up + the height-normalised wall/ source (see <picture>) makes every
     logo bigger and roughly one optical size. */
  .partner-wall { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-wall .cell { height: 72px; padding: 9px 8px; }
  .partner-wall .cell img { width: 100%; max-width: 100%; max-height: none; }
  .partner-wall:not(.expanded) .cell:nth-child(n+7) { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .tl-step::after { display: none; }
  .feat-cols { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .marquee-track img { height: 132px; }
  .award-strip { grid-template-columns: repeat(2, 1fr); }
  .spot-stats { gap: 26px; flex-wrap: wrap; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-l, .reveal-r { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .btn, .case-card, .region, .bento-cell, .kol-card img { transition: none; }
  .tab-panel.active { animation: none; }
}

/* ---------- Contact submission feedback and bot trap ---------- */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; font-size: 14px; }
.form-status.sending { color: var(--muted); }
.form-status.success { color: #137333; }
.form-status.error { color: #b3261e; }
.contact-form button[disabled] { opacity: .65; cursor: wait; }

/* ---------- Search- and answer-friendly FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section h2[id] { scroll-margin-top: 112px; }
.faq-list { max-width: 900px; margin: 34px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 780px; margin: -4px 0 22px; color: var(--muted); line-height: 1.8; }
@media (max-width: 640px) {
  .faq-list { margin-top: 24px; }
  .faq-item summary { padding: 18px 40px 18px 0; font-size: 16px; }
  .faq-item summary::after { top: 13px; }
  .faq-item p { margin-bottom: 18px; }
}
