/* ============================================
   ENOS TRUST — Design Tokens
   Professional trust platform: cream surfaces, brown mark, black/grey text
   ============================================ */

@font-face {
  font-family: 'TT Drugs';
  src: url('./fonts/TTDrugs-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Drugs';
  src: url('./fonts/TTDrugs-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Drugs';
  src: url('./fonts/TTDrugs-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme='light'] {
  /* Surfaces — light cream family */
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f2ece3;
  --color-surface-offset-2: #e9dfd0;
  --color-surface-dynamic: #ddccb4;
  --color-divider: #e4dccd;
  --color-border: #d8ccb8;

  /* Text — black / grey family (per brand guidance) */
  --color-text: #1c1a17;
  --color-text-muted: #55504a;
  --color-text-faint: #918b81;
  --color-text-inverse: #faf7f2;

  /* Primary Accent — deep brown (logo/CTA colour) */
  --color-primary: #4a3222;
  --color-primary-hover: #3a2719;
  --color-primary-active: #2c1d12;
  --color-primary-highlight: #ece1d1;

  /* Secondary Accent — warm bronze-taupe */
  --color-bronze: #9c7d5f;
  --color-bronze-hover: #87694d;
  --color-bronze-active: #715740;

  /* Tertiary — light champagne (used sparingly on dark surfaces) */
  --color-champagne: #cbb497;

  --color-warning: #964219;
  --color-success: #4d6a3a;
  --color-error: #8a3b2f;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px oklch(0.2 0.03 60 / 0.06);
  --shadow-md: 0 8px 24px oklch(0.2 0.03 60 / 0.08);
  --shadow-lg: 0 20px 48px oklch(0.2 0.03 60 / 0.12);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1240px;
  --content-full: 100%;

  --font-display: 'Public Sans', 'IBM Plex Sans', 'Noto Sans HK', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --font-tagline: 'Roboto Condensed', 'Aptos Narrow', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Noto Sans HK', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --font-wordmark: 'TT Drugs', 'IBM Plex Sans', sans-serif;

  /* Deep premium brown for feature bands (Who We Serve / Governance) */
  --color-band-brown: #5b402e;
  --color-band-brown-deep: #3a2719;
}

/* Dark mode removed per brand feedback — light, professional palette only. */
[data-theme='dark'] {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f2ece3;
  --color-surface-offset-2: #e9dfd0;
  --color-surface-dynamic: #ddccb4;
  --color-divider: #e4dccd;
  --color-border: #d8ccb8;
  --color-text: #1c1a17;
  --color-text-muted: #55504a;
  --color-text-faint: #918b81;
  --color-text-inverse: #faf7f2;
  --color-primary: #4a3222;
  --color-primary-hover: #3a2719;
  --color-primary-active: #2c1d12;
  --color-primary-highlight: #ece1d1;
  --color-bronze: #9c7d5f;
  --color-champagne: #cbb497;
  --shadow-sm: 0 1px 3px oklch(0.2 0.03 60 / 0.06);
  --shadow-md: 0 8px 24px oklch(0.2 0.03 60 / 0.08);
  --shadow-lg: 0 20px 48px oklch(0.2 0.03 60 / 0.12);
}

/* Type scale */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.25rem, 0.9rem + 4.4vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============================================
   Base Layout
   ============================================ */

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

.wrap {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 640px) {
  .wrap {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: var(--space-10);
  }
}

section {
  position: relative;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-bronze);
  display: block;
  margin-bottom: var(--space-4);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.005em;
  color: var(--color-text);
}

.section-title {
  font-size: clamp(1.4rem, 1.18rem + 0.9vw, 2rem);
  font-weight: 700;
  line-height: 1.22;
  max-width: 20ch;
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-top: var(--space-5);
  line-height: 1.75;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header--hidden {
  /* header remains pinned while scrolling; class kept for compatibility, no visual effect */
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .header-inner {
    gap: var(--space-6);
  }
}

.brand {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-wordmark);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  color: #4a4844;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  padding-block: 1px;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 46px;
  }

  .brand-name {
    font-size: 1.7rem;
  }
}

.brand-name small {
  display: block;
  width: 100%;
  font-family: var(--font-tagline);
  font-size: 0.4em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
}

.main-nav {
  display: none;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}

.main-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding-block: var(--space-1);
}

.main-nav a:hover {
  color: var(--color-text);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--color-primary);
  transition: right var(--transition-interactive);
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .header-actions {
    gap: var(--space-3);
  }
}

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .lang-switch-btn {
    height: 38px;
    padding: 0 var(--space-4);
  }
}

.lang-switch-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-switch-btn svg {
  width: 14px;
  height: 14px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 140px;
  padding: var(--space-2);
  display: none;
  z-index: 150;
}

.lang-menu.is-open {
  display: block;
}

.lang-menu button {
  display: flex;
  width: 100%;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.lang-menu button:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.lang-menu button[aria-current='true'] {
  color: var(--color-primary);
  font-weight: 600;
}

.menu-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}

.btn-nav {
  display: none;
}

@media (min-width: 960px) {
  .btn-nav {
    display: inline-flex;
  }
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--color-text);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: var(--space-24) var(--space-6) var(--space-10);
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.mobile-nav .close-btn {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.mobile-nav .close-btn svg {
  width: 22px;
  height: 22px;
  color: var(--color-text);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-nav {
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-inverse {
  background: linear-gradient(180deg, #6b4a34, #4a3020);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 -2px 4px rgba(0, 0, 0, 0.25) inset, 0 6px 16px rgba(58, 39, 25, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-inverse:hover {
  background: linear-gradient(180deg, #7a563d, #543525);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 -2px 4px rgba(0, 0, 0, 0.25) inset, 0 8px 20px rgba(58, 39, 25, 0.42);
  transform: translateY(-1px);
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid #a9825c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 10px rgba(74, 50, 34, 0.12);
  backdrop-filter: blur(2px);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: #8a6642;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 6px 14px rgba(74, 50, 34, 0.18);
  transform: translateY(-1px);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  background:
    linear-gradient(90deg, rgba(238, 223, 197, 0.82) 0%, rgba(224, 195, 155, 0.6) 38%, rgba(198, 156, 108, 0.28) 62%, rgba(163, 116, 71, 0.08) 100%),
    url('./assets/hk_trust_hero_skyline.jpg') center top / 100% auto no-repeat;
  color: #292724;
  overflow: hidden;
}

@media (min-width: 1100px) {
  .hero {
    aspect-ratio: 1935 / 1080;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .hero {
    aspect-ratio: auto;
    min-height: 620px;
    background:
      linear-gradient(90deg, rgba(238, 223, 197, 0.88) 0%, rgba(228, 202, 163, 0.72) 45%, rgba(202, 162, 114, 0.4) 75%, rgba(163, 116, 71, 0.14) 100%),
      url('./assets/hk_trust_hero_skyline.jpg') right center / cover no-repeat;
  }
}

@media (max-width: 699px) {
  .hero {
    aspect-ratio: auto;
    min-height: 640px;
    align-items: flex-start;
    background:
      linear-gradient(90deg, rgba(238, 223, 197, 0.95) 0%, rgba(233, 213, 180, 0.9) 55%, rgba(210, 172, 124, 0.72) 85%, rgba(198, 156, 108, 0.55) 100%),
      url('./assets/hk_trust_hero_skyline.jpg') center 30% / cover no-repeat;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 244, 222, 0.12), rgba(120, 78, 42, 0.1));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content > * {
  max-width: 620px;
}

.hero-content > .hero-ctas,
.hero-content > .hero-legal {
  max-width: none;
}

@media (min-width: 700px) {
  .hero-content > * {
    max-width: min(620px, 46vw);
  }

  .hero-content > h1 {
    max-width: min(720px, 54vw);
  }
}

@media (min-width: 1100px) {
  .hero-content > * {
    max-width: min(640px, 46vw);
  }

  .hero-content > h1 {
    max-width: min(760px, 56vw);
  }
}

@media (min-width: 1300px) {
  .hero-content > h1 {
    max-width: min(980px, 62vw);
  }

  .hero h1 .hero-line1,
  .hero h1 .hero-line2 {
    white-space: nowrap;
  }
}

.hero-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f513c;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 0.95rem + 1.55vw, 1.95rem);
  color: #3a3733;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 34ch;
  line-height: 1.32;
  text-shadow: none;
}

.hero h1 .hero-line1,
.hero h1 .hero-line2,
.hero h1 .hero-line3 {
  display: block;
}

.hero h1 .hero-line1 {
  margin-bottom: 0.35em;
}

.hero-sub {
  margin-top: var(--space-6);
  font-size: var(--text-base);
  color: #504c47;
  max-width: 58ch;
  line-height: 1.65;
  font-weight: 400;
}

.hero-bullets {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-bullets .bullets-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #292724;
  margin-bottom: var(--space-1);
}

.hero-bullets ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #55504a;
  line-height: 1.5;
}

.hero-bullets li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #5d412f;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.hero .btn-primary {
  background: linear-gradient(180deg, #3d2a1c, #2a1c12);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 -2px 4px rgba(0, 0, 0, 0.3) inset, 0 6px 16px rgba(30, 20, 12, 0.4);
}

.hero .btn-primary:hover {
  background: linear-gradient(180deg, #4a3222, #332216);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 -2px 4px rgba(0, 0, 0, 0.3) inset, 0 8px 20px rgba(30, 20, 12, 0.48);
}

.hero .btn-ghost {
  color: #2d2925;
  border: 1px solid #a9825c;
  background: rgba(255, 255, 255, 0.18);
}

.hero .btn-ghost:hover {
  color: #1f1d1b;
  border-color: #8a6642;
  background: rgba(255, 255, 255, 0.36);
}

.hero-legal {
  position: relative;
  z-index: 1;
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(45, 41, 37, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  align-items: baseline;
}

.hero-legal .legal-line {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #4d4944;
  font-weight: 500;
  white-space: nowrap;
}

.hero-legal .legal-powered {
  font-size: 0.7rem;
  color: #625d57;
}

.hero-legal .legal-powered::before {
  content: '\2014';
  margin-right: var(--space-2);
  color: #8c8378;
}

.hero-legal .legal-disclaimer {
  font-size: 0.7rem;
  color: #6a645d;
  max-width: 78ch;
  line-height: 1.6;
}

/* ============================================
   Pillar band (Protect / Settle / Administer)
   ============================================ */

.pillar-band {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-band-brown-deep);
  color: #eee9e5;
}

.pillar-head {
  max-width: 60ch;
  margin-bottom: var(--space-12);
}

.pillar-head h2 {
  color: #eee9e5;
  font-size: clamp(1.4rem, 1.18rem + 0.9vw, 2rem);
  font-weight: 700;
}

.pillar-head p {
  margin-top: var(--space-4);
  color: oklch(0.95 0.02 70 / 0.78);
  font-size: var(--text-base);
  font-weight: 300;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  border-top: 1px solid oklch(1 0 0 / 0.25);
  padding-top: var(--space-6);
}

.pillar-card .pillar-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-champagne);
  display: block;
  margin-bottom: var(--space-3);
}

.pillar-card h3 {
  color: #eee9e5;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.pillar-card p {
  color: oklch(0.95 0.02 70 / 0.8);
  font-size: var(--text-sm);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   Services
   ============================================ */

.services {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.services-head {
  display: grid;
  gap: var(--space-8);
  align-items: end;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-16);
}

@media (min-width: 900px) {
  .services-head {
    grid-template-columns: 1.2fr 1fr;
  }
}

.services-head .section-intro {
  margin-top: 0;
}

.services .section-title {
  color: #3a3733;
}

@media (min-width: 960px) {
  .services .section-title {
    max-width: none;
  }
}

.services .section-intro {
  color: #504c47;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--color-surface);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  min-height: 148px;
}

@media (min-width: 700px) {
  .service-card {
    padding: var(--space-6) var(--space-5);
    min-height: 168px;
  }
}

.service-card .num {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-bronze);
  margin-bottom: var(--space-3);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #3a3733;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.service-card p {
  font-size: var(--text-xs);
  color: #504c47;
  line-height: 1.55;
}

.services-footnote {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 70ch;
}

/* ============================================
   Who We Serve — dark band with globe imagery
   ============================================ */

.who-serve {
  position: relative;
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: #241610;
  color: #d9d3ca;
  overflow: hidden;
}

.who-serve-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

.who-serve::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 23, 16, 0.96) 0%, rgba(42, 28, 19, 0.8) 34%, rgba(48, 32, 22, 0.4) 62%, rgba(48, 32, 22, 0.12) 100%);
  z-index: 0;
}

.who-serve-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-serve .wrap {
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .who-serve .wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-10);
  }

  .who-serve .who-copy {
    grid-column: 1;
  }
}

.who-serve .eyebrow {
  color: var(--color-champagne);
}

.who-serve .section-title {
  color: #eee9e5;
}

.who-serve .section-intro {
  color: #b9b2a8;
}

.who-grid {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 700px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.who-card {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}

.who-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: #eee9e5;
  margin-bottom: var(--space-3);
}

.who-card p {
  font-size: var(--text-sm);
  color: #b9b2a8;
  line-height: 1.6;
}

/* ============================================
   Focused Areas — over world map background
   ============================================ */

.focus {
  position: relative;
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-band-brown-deep);
  overflow: hidden;
}

.focus-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

.focus-map-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.focus::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 223, 197, 0.82) 0%, rgba(224, 195, 155, 0.6) 38%, rgba(198, 156, 108, 0.4) 62%, rgba(163, 116, 71, 0.28) 100%);
  z-index: 0;
}

.focus .focus-eyebrow {
  position: relative;
  z-index: 1;
  color: #6f513c;
}

.focus .focus-title {
  position: relative;
  z-index: 1;
  color: #3a3733;
  max-width: 32ch;
}

.focus .focus-intro {
  position: relative;
  z-index: 1;
  color: #504c47;
  max-width: 62ch;
  margin-top: var(--space-5);
}

.focus .wrap {
  position: relative;
  z-index: 1;
}

.focus-grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 700px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.focus-card {
  background: rgba(250, 247, 242, 0.72);
  border: 1px solid #a9825c;
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: unset;
  box-shadow: none;
}

.focus-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: linear-gradient(160deg, rgba(169, 130, 92, 0.28), rgba(169, 130, 92, 0.1));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(74, 50, 34, 0.12), 0 1px 2px rgba(74, 50, 34, 0.1);
  color: #8a6642;
  margin-bottom: 0;
}

.focus-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 0;
  color: #3a3733;
  line-height: 1.35;
}

.focus-card p {
  font-size: var(--text-sm);
  color: #504c47;
  line-height: 1.6;
}

/* ============================================
   Governance — 6-card grid, dark band
   ============================================ */

.governance {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: #241610;
  color: #eee9e5;
}

.governance .eyebrow {
  color: var(--color-champagne);
}

.governance .section-title {
  color: #eee9e5;
  max-width: 32ch;
}

.governance .section-intro {
  color: #beb7ad;
}

.governance-grid {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 700px) {
  .governance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .governance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.governance-card {
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}

.governance-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: #eee9e5;
  margin-bottom: var(--space-3);
}

.governance-card p {
  font-size: var(--text-sm);
  color: #beb7ad;
  line-height: 1.6;
}

/* ============================================
   Powered by Acclime
   ============================================ */

.powered-band {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.powered-grid {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .powered-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.powered-copy .section-title {
  max-width: 26ch;
  color: #3a3733;
}

@media (min-width: 960px) {
  .powered-copy .section-title {
    max-width: none;
  }
}

.powered-copy .section-intro {
  color: #504c47;
}

.powered-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.powered-card .powered-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
  margin-bottom: var(--space-6);
  display: block;
}

.powered-card img {
  width: min(100%, 330px);
  height: auto;
  margin-inline: auto;
}

/* ============================================
   Contact
   ============================================ */

.contact-band {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-surface-offset);
}

.contact-grid {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.contact-copy .section-title {
  max-width: 24ch;
  color: #3a3733;
}

.contact-copy .section-intro {
  color: #504c47;
}

.contact-card .btn-primary {
  background: linear-gradient(180deg, #3d2a1c, #2a1c12);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 -2px 4px rgba(0, 0, 0, 0.3) inset, 0 6px 16px rgba(30, 20, 12, 0.4);
}

.contact-card .btn-primary:hover {
  background: linear-gradient(180deg, #4a3222, #332216);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 -2px 4px rgba(0, 0, 0, 0.3) inset, 0 8px 20px rgba(30, 20, 12, 0.48);
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-sm);
}

.contact-card .contact-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: block;
}

.contact-card .contact-email {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  display: block;
  word-break: break-word;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: #efe6d6;
  color: #33322f;
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.footer-brand .brand {
  color: #4a4844;
}

.footer-brand .brand-logo {
  filter: none;
  height: 54px;
}

.footer-brand .brand-name {
  height: 54px;
  font-size: 1.7rem;
  align-items: flex-start;
}

.footer-brand .brand-name small {
  color: rgba(74, 72, 68, 0.65);
}

.footer-brand p {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(51, 50, 47, 0.78);
  max-width: 46ch;
  line-height: 1.65;
}

.footer-notice {
  background: rgba(255, 251, 246, 0.34);
  border: 1px solid rgba(74, 50, 34, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.footer-notice h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a3733;
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.footer-notice p {
  font-size: var(--text-xs);
  color: #504c47;
  line-height: 1.65;
}

.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(51, 50, 47, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(51, 50, 47, 0.68);
}

.footer-copyright-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-4);
}

.footer-bottom a.footer-legal-link {
  color: rgba(51, 50, 47, 0.68);
  text-decoration: underline;
  text-decoration-color: rgba(51, 50, 47, 0.35);
  text-underline-offset: 2px;
}

.footer-bottom a.footer-legal-link:hover {
  color: #1f1e1c;
  text-decoration-color: currentColor;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #1f1e1c;
}

/* ============================================
   Reveal animation
   ============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* Manual line break for Chinese headlines (desktop-only) — hidden on
   tablet/mobile so translated text reflows naturally at those widths. */
.line-break-desktop {
  display: none;
}

@media (min-width: 960px) {
  .line-break-desktop {
    display: block;
  }
}
