/* ==========================================================================
   Corporate Services Singapore - Master Stylesheet
   Playbook: Professional & B2B Services (Variant A: Editorial Authority)
   Locality: Singapore (OCBC Centre, Raffles Place Financial Core)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   Derived strictly from design_brief.json & brand specifications
   -------------------------------------------------------------------------- */
:root {
  /* Exact Brief Palette */
  --bg: #faf9f6;             /* Crisp paper white background */
  --surface: #ffffff;        /* Pure white container cards */
  --text: #111827;           /* Deep ink body text (high contrast 15.3:1) */
  --muted: #526071;          /* Slate muted text for secondary metadata */
  --primary: #00519e;        /* Official Corporate Navy (high contrast 8.4:1) */
  --primary-text: #ffffff;   /* Pure white text on primary buttons */
  --accent: #00a5df;         /* Vibrant maritime brand cyan (badges, borders, dark accents) */
  --dark: #0b192c;           /* Deep financial district navy */
  --dark-text: #ffffff;      /* Contrast text on dark sections */

  /* Systematic Palette Derivatives */
  --primary-hover: #003c75;
  --primary-light: rgba(0, 81, 158, 0.08);
  --primary-subtle: rgba(0, 81, 158, 0.04);
  --accent-hover: #008abf;
  --accent-light: rgba(0, 165, 223, 0.12);
  --dark-surface: #10243e;
  --border: rgba(17, 24, 39, 0.12);
  --border-subtle: rgba(17, 24, 39, 0.06);
  --border-strong: rgba(17, 24, 39, 0.24);
  --surface-subtle: #f4f3ee;
  --gold-star: #eab308;

  /* Typography Stacks */
  --font-display: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid Typographic Scale */
  --text-xs: clamp(0.75rem, 0.15vw + 0.72rem, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.2vw + 0.83rem, 0.9375rem);
  --text-base: clamp(1rem, 0.25vw + 0.94rem, 1.0625rem);
  --text-md: clamp(1.125rem, 0.4vw + 1.02rem, 1.25rem);
  --text-lg: clamp(1.25rem, 0.7vw + 1.1rem, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2vw + 1.25rem, 2rem);
  --text-2xl: clamp(1.875rem, 2vw + 1.45rem, 2.5rem);
  --text-3xl: clamp(2.25rem, 3.2vw + 1.6rem, 3.25rem);
  --text-hero: clamp(2.5rem, 4.2vw + 1.7rem, 3.85rem);

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 25, 44, 0.04);
  --shadow-sm: 0 2px 6px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 25, 44, 0.12);
  --shadow-xl: 0 24px 50px rgba(11, 25, 44, 0.16);

  /* Geometry & Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout Containers */
  --max-width: 1240px;
  --max-width-wide: 1360px;
  --container-gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-padding: clamp(3.5rem, 6vw, 6.5rem);
  --header-height: 84px;
  --topbar-height: 40px;
}

/* --------------------------------------------------------------------------
   2. Reset, Base Rules & Box Sizing
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Clean containment without disabling sticky header */
}

main {
  flex: 1 0 auto;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

ul, ol {
  list-style: none;
}

/* Accessible Keyboard Focus Ring */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Typography & Editorial Hierarchy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.015em;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 600;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--text-md);
  line-height: 1.68;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 2px;
  background-color: var(--primary);
}

.kicker.kicker-light {
  color: var(--accent);
}

.kicker.kicker-light::before {
  background-color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.container-wide {
  max-width: var(--max-width-wide);
}

.section {
  padding-block: var(--section-padding);
  position: relative;
}

.section-alt {
  background-color: var(--surface);
  border-block: 1px solid var(--border-subtle);
}

.section-dark {
  background-color: var(--dark);
  color: var(--dark-text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--dark-text);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-header.text-center {
  margin-inline: auto;
  text-align: center;
}

.section-header.text-center .kicker {
  justify-content: center;
}

.section-header.text-center .kicker::after {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 2px;
  background-color: var(--primary);
}

.section-header.text-center .kicker.kicker-light::after {
  background-color: var(--accent);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Links
   -------------------------------------------------------------------------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
  box-shadow: 0 2px 4px rgba(0, 81, 158, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 81, 158, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.btn-accent {
  background-color: var(--accent);
  color: #0b192c;
  border-color: var(--accent);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: #38bdf8;
  border-color: #38bdf8;
  color: #0b192c;
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--primary);
  border-bottom: 1px solid transparent;
  padding-block: 2px;
}

.btn-text-link:hover {
  border-bottom-color: var(--primary);
}

.btn-text-link svg {
  transition: transform 0.2s ease;
}

.btn-text-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Header & Navigation Architecture (Sticky Pinned Direct Body Child)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-xs);
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-item a {
  color: #ffffff;
  font-weight: 500;
}

.top-bar-item a:hover {
  color: var(--accent);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

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

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Logo sits at start of header and acts as home link */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Desktop Navigation */
.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  padding-block: 0.5rem;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.875rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile Hamburger Menu Toggle (>= 48px touch target) */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  z-index: 1010;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle:hover {
  background-color: var(--surface-subtle);
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 25, 44, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background-color: var(--surface);
  z-index: 1030;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.mobile-drawer-close {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  min-height: 48px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* --------------------------------------------------------------------------
   7. Hero Section (Split Layout per design_brief.json)
   -------------------------------------------------------------------------- */
.hero-split {
  padding-block: clamp(3rem, 5vw, 5.5rem);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background-color: var(--primary-light);
  border: 1px solid rgba(0, 81, 158, 0.18);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  width: fit-content;
}

.hero-proof-badge .stars {
  color: var(--gold-star);
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: var(--text-hero);
  line-height: 1.15;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-credentials-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: 500;
}

.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-cred-item svg {
  color: var(--primary);
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background-color: var(--surface-subtle);
  aspect-ratio: 16 / 11;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-stat {
  position: absolute;
  bottom: -1.25rem;
  inset-inline-start: 1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 290px;
}

.hero-floating-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.hero-floating-stat .stat-label {
  font-size: var(--text-xs);
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Client Sectors & Partner Badges Strip (Section 1)
   -------------------------------------------------------------------------- */
.client-strip {
  padding-block: 2.75rem;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}

.client-strip-title {
  text-align: center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background-color: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  filter: grayscale(100%) opacity(75%);
  transition: filter 0.25s ease, transform 0.25s ease;
  min-height: 64px;
}

.client-logo-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-2px);
  border-color: var(--border);
}

.client-logo-item img {
  max-height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.sector-pill {
  padding: 0.375rem 0.875rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Services as Outcomes (Section 2)
   -------------------------------------------------------------------------- */
.service-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 81, 158, 0.3);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 81, 158, 0.15);
}

.service-card-title {
  font-size: var(--text-lg);
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  color: var(--text);
}

.service-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-deliverable-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-pricing-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-xs);
  width: fit-content;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   10. How It Works - 4-Step Engagement Roadmap (Section 3)
   -------------------------------------------------------------------------- */
.timeline-roadmap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 992px) {
  .timeline-roadmap {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.roadmap-step {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.roadmap-step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 0.75rem;
}

.roadmap-step-title {
  font-size: var(--text-md);
  margin-bottom: 0.75rem;
  color: var(--text);
}

.roadmap-step-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
}

.guarantee-callout {
  margin-top: 3.5rem;
  background-color: var(--primary-light);
  border: 1px solid rgba(0, 81, 158, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  guarantee-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.guarantee-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.guarantee-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Signature Editorial Pull-Quote Case Study (Section 4)
   Variant A Standout Moment: Large Pull-Quote with Huge Result Figures
   -------------------------------------------------------------------------- */
.signature-case-study {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.signature-case-study::before {
  content: "“";
  position: absolute;
  top: -1.5rem;
  inset-inline-start: 1.5rem;
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 1;
  color: rgba(0, 81, 158, 0.05);
  pointer-events: none;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .signature-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.signature-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.signature-lead {
  font-size: var(--text-sm);
  line-height: 1.68;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.signature-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.signature-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.signature-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signature-author-info {
  display: flex;
  flex-direction: column;
}

.signature-author-name {
  font-weight: 700;
  color: var(--text);
  font-size: var(--text-sm);
}

.signature-author-role {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Oversized Numerical Stat Callouts (Variant A) */
.signature-stats-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.stat-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.stat-num-large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.stat-label-large {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stat-desc-small {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Overhead Savings Comparative Matrix (Section 5)
   -------------------------------------------------------------------------- */
.comparison-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 600px;
  font-size: var(--text-sm);
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background-color: var(--bg);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td.highlight-cell {
  background-color: var(--primary-light);
  font-weight: 700;
  color: var(--primary);
}

.data-table tr.total-row {
  background-color: var(--surface-subtle);
  font-weight: 700;
  border-top: 2px solid var(--border-strong);
}

.data-table tr.savings-row {
  background-color: rgba(0, 165, 223, 0.08);
  font-weight: 700;
  color: var(--primary);
}

.savings-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  background-color: var(--primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. Institutional Pedigree & Leadership (Section 6)
   -------------------------------------------------------------------------- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.accreditation-badges-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .accreditation-badges-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.badge-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xs);
}

.badge-card img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.badge-card span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.leader-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .leader-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.leader-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background-color: var(--surface-subtle);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-content h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.leader-bio {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Verified Reviews (Section 7)
   Real Google Reviews Word-for-Word
   -------------------------------------------------------------------------- */
.review-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--gold-star);
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.review-source-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.review-body {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.review-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.review-author-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
}

.review-author-meta {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Singapore Corporate Compliance FAQ (Section 8)
   Accessible Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:focus-within,
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.68;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   16. Consultation Gateway & OCBC Centre Map (Section 9)
   -------------------------------------------------------------------------- */
.gateway-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gateway-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .gateway-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.gateway-form-col {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.gateway-map-col {
  background-color: var(--dark);
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
}

.gateway-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
}

.gateway-office-details {
  padding: 2rem;
  background-color: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gateway-office-title {
  font-size: var(--text-lg);
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.gateway-office-address {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.gateway-office-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 81, 158, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   17. Pricing & Comparison Tables (Services Hub)
   -------------------------------------------------------------------------- */
.pricing-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  inset-inline-end: 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pricing-plan-title {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.pricing-figure {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-figure .currency {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text);
}

.pricing-figure .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pricing-figure .period {
  font-size: var(--text-xs);
  color: var(--muted);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--text-xs);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
}

.pricing-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   18. Back-To-Top Button (Fixed Bottom-Right, >= 48px)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   19. Footer Architecture
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: 2rem;
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

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

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

.footer-col-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #ffffff;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-accreditations-strip {
  padding-block: 2rem;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-accreditations-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-accreditations-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer-accreditations-logos img {
  height: 28px;
  width: auto;
  opacity: 0.8;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer-accreditations-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-credits {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   20. Motion & Scroll Animations
   Strictly inside @media (prefers-reduced-motion: no-preference)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 {
    transition-delay: 0.1s;
  }

  .reveal-delay-2 {
    transition-delay: 0.2s;
  }

  .reveal-delay-3 {
    transition-delay: 0.3s;
  }
}

/* Fallback for disabled JavaScript */
noscript .reveal,
.no-js .reveal {
  opacity: 1 !important;
  transform: none !important;
}
