/* ==========================================================================
   ARQNOZ — Design System
   Ink Navy / Deep Navy / Signature Gold / Working Gold / Paper
   Display: Source Serif 4 · Body: IBM Plex Sans · Utility: IBM Plex Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,500&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* brand */
  --ink-navy: #0f2c4c;
  --deep-navy: #153a61;
  --navy-800: #0c2338;
  --navy-900: #081726;
  --gold: #d4af37;
  --gold-strong: #e8c455;
  --working-gold: #b8912a;
  --paper: #f6f6f2;
  --paper-dim: #eeede6;

  /* text */
  --ink: #12202f;
  --ink-muted: #4c5d6e;
  --ink-faint: #7c8b99;
  --on-navy: #f3f5f7;
  --on-navy-muted: #b7c4d1;

  /* surfaces */
  --surface: var(--paper);
  --surface-raised: #ffffff;
  --hairline: rgba(15, 44, 76, 0.12);
  --hairline-on-navy: rgba(255, 255, 255, 0.14);

  /* shape */
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-input: 10px;
  --radius-image: 22px;

  /* shadow, tinted to navy */
  --shadow-sm: 0 1px 2px rgba(15, 44, 76, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 44, 76, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 44, 76, 0.18);
  --shadow-gold: 0 10px 30px rgba(184, 145, 42, 0.35);

  /* type */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------- reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px circle at 6% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    radial-gradient(920px circle at 100% 16%, rgba(15, 44, 76, 0.09), transparent 55%),
    radial-gradient(680px circle at 12% 96%, rgba(184, 145, 42, 0.08), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font: inherit; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

/* ---------------------------------- type ---------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--working-gold);
}
.eyebrow.on-navy { color: var(--gold); }

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink-navy);
}
h1.on-navy, .h1.on-navy { color: var(--on-navy); }

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: var(--ink-navy);
}
h2.on-navy, .h2.on-navy { color: var(--on-navy); }

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink-navy);
}
h3.on-navy { color: var(--on-navy); }

.lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 62ch;
}
.lede.on-navy { color: var(--on-navy-muted); }

.body-text { color: var(--ink-muted); max-width: 65ch; }
.body-text.on-navy { color: var(--on-navy-muted); }

.italic-safe { font-style: italic; line-height: 1.15; padding-bottom: 0.2em; display: inline-block; }

/* ---------------------------------- buttons (apple-style pill) ---------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold) 55%, var(--working-gold));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 34px rgba(184, 145, 42, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn-glow { animation: btnGlowPulse 2.8s ease-in-out infinite; }
@keyframes btnGlowPulse {
  0%, 100% { box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 12px 42px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}
@media (prefers-reduced-motion: reduce) { .btn-glow { animation: none; } }

.btn-ghost-navy {
  background: transparent;
  color: var(--ink-navy);
  border-color: rgba(15, 44, 76, 0.28);
}
.btn-ghost-navy:hover { border-color: var(--ink-navy); background: rgba(15, 44, 76, 0.05); transform: translateY(-2px); }

.btn-ghost-paper {
  background: transparent;
  color: var(--on-navy);
  border-color: rgba(246, 246, 242, 0.35);
}
.btn-ghost-paper:hover { border-color: var(--on-navy); background: rgba(246, 246, 242, 0.08); transform: translateY(-2px); }

.btn-solid-navy {
  background: var(--ink-navy);
  color: var(--on-navy);
  box-shadow: var(--shadow-md);
}
.btn-solid-navy:hover { background: var(--deep-navy); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------------------------------- nav ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 242, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  color: var(--ink-navy);
}
.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.brand-logo-img[hidden] { display: none; }
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--ink-navy), var(--deep-navy));
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.brand .mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--ink-navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink-navy); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--surface-raised);
  align-items: center; justify-content: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--paper);
  z-index: 95;
  padding: 20px 28px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-navy);
}
.mobile-menu .btn { margin-top: 24px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------------------------------- sections ---------------------------------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-navy { background: var(--ink-navy); color: var(--on-navy); }
.section-navy-grad {
  background:
    radial-gradient(1.5px 1.5px at 24px 24px, rgba(255, 255, 255, 0.10) 1.5px, transparent 0),
    radial-gradient(120% 140% at 15% 0%, var(--deep-navy) 0%, var(--ink-navy) 48%, var(--navy-900) 100%);
  background-size: 38px 38px, 100% 100%;
  color: var(--on-navy);
  overflow: hidden;
}
.section-paper-dim { background: var(--paper-dim); position: relative; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .h2 { margin-top: 10px; }
.section-head .lede { margin-top: 14px; }

/* ---------------------------------- hero (home) — abstract network motif ---------------------------------- */
.hero {
  position: relative;
  padding: 64px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lede { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--deep-navy), var(--navy-900));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stat-card {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(246, 246, 242, 0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}
.hero-stat-card .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink-navy); }
.hero-stat-card .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { aspect-ratio: 16 / 10; }
}

/* ---------------------------------- page hero (secondary pages) ---------------------------------- */
.page-hero {
  padding: 56px 0 72px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.page-hero-media-wrap { position: relative; }
.media-flow-line {
  position: absolute;
  top: -46px;
  left: -46px;
  width: calc(100% + 92px);
  height: calc(100% + 92px);
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.media-flow-line .flow-line-base { opacity: 0.55; }
.media-flow-line .flow-line-anim {
  animation: flowDash 4.2s linear infinite;
}
.media-flow-line .flow-node-dot { animation: floatBob 5.5s ease-in-out infinite; }
.media-flow-line .flow-node-dot.d2 { animation-duration: 6.6s; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) {
  .media-flow-line .flow-line-anim, .media-flow-line .flow-node-dot { animation: none; }
}

.page-hero-media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-image);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------- photo bento cells ---------------------------------- */
.bento-cell.photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--on-navy);
  overflow: hidden;
}
.bento-cell.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(190deg, rgba(15, 44, 76, 0.28) 0%, rgba(8, 23, 38, 0.86) 75%);
}
.bento-cell.photo > * { position: relative; z-index: 1; }
.bento-cell.photo h3 { color: var(--on-navy); }
.bento-cell.photo p { color: var(--on-navy-muted); }
.bento-cell.photo .icon-badge { background: rgba(212, 175, 55, 0.22); color: var(--gold); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.duotone-navy {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(15, 44, 76, 0.82), rgba(8, 23, 38, 0.55) 55%, rgba(212, 175, 55, 0.18));
  mix-blend-mode: multiply;
}
.duotone-navy.soft { background: linear-gradient(160deg, rgba(15, 44, 76, 0.55), rgba(8, 23, 38, 0.3)); }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------- pillars / feature rows ---------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.pillar {
  background: var(--surface-raised);
  padding: 34px 30px;
}
.pillar .icon-badge { margin-bottom: 18px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--ink-muted); font-size: 0.96rem; }

@media (max-width: 800px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(15, 44, 76, 0.06);
  display: inline-grid;
  place-items: center;
  color: var(--ink-navy);
}
.icon-badge.gold { background: rgba(212, 175, 55, 0.14); color: var(--working-gold); }
.icon-badge ph { font-size: 22px; }

/* ---------------------------------- track cards ---------------------------------- */
.track-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.track-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background: var(--surface-raised);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(15, 44, 76, 0.2); }
.track-card .tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.14);
  color: var(--working-gold);
  margin-bottom: 18px;
}
.track-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.track-card .sub { font-size: 0.92rem; color: var(--ink-faint); margin-bottom: 20px; }
.track-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.track-card li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-muted); align-items: flex-start; }
.track-card li ph { color: var(--working-gold); flex-shrink: 0; margin-top: 2px; }
.track-card .foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--hairline); }

@media (max-width: 800px) {
  .track-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------- journey / steps ---------------------------------- */
.journey { display: flex; flex-direction: column; }
.journey-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
}
.journey-step:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.journey-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--ink-navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.journey-step h3 { margin-bottom: 8px; }
.journey-step p { color: var(--ink-muted); max-width: 60ch; }

.journey.on-navy .journey-num { color: var(--on-navy); }
.journey.on-navy .journey-step:not(:last-child) { border-color: var(--hairline-on-navy); }
.journey.on-navy .journey-step p { color: var(--on-navy-muted); }

/* ---------------------------------- flow journey (curved, connected process) ---------------------------------- */
.flow-journey {
  position: relative;
  padding: 12px 0 4px;
}
.flow-path {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 100%;
  z-index: 0;
  overflow: visible;
}
.flow-path-glow {
  animation: flowDash 3.6s linear infinite;
}
@keyframes flowDash {
  to { stroke-dashoffset: -240; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-path-glow { animation: none; }
}

.flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 168px;
}
.flow-node {
  grid-column: 2;
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--navy-900);
  color: var(--on-navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  box-shadow: 0 0 0 8px var(--ink-navy), 0 0 26px rgba(212, 175, 55, 0.4);
}
.flow-card {
  background: rgba(246, 246, 242, 0.05);
  border: 1px solid var(--hairline-on-navy);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.flow-card:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, 0.4); background: rgba(246, 246, 242, 0.08); }
.flow-card .flow-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.flow-card h3 { margin-bottom: 8px; }
.flow-card p { color: var(--on-navy-muted); font-size: 0.95rem; }

.flow-step[data-side="right"] .flow-card { grid-column: 3; }
.flow-step[data-side="left"] .flow-card { grid-column: 1; text-align: right; }

@media (max-width: 760px) {
  .flow-path { left: 27px; width: 4px; transform: none; }
  .flow-step { grid-template-columns: 54px minmax(0, 1fr); gap: 18px; min-height: 0; padding: 6px 0 30px; }
  .flow-node { grid-column: 1; }
  .flow-step[data-side="right"] .flow-card,
  .flow-step[data-side="left"] .flow-card { grid-column: 2; text-align: left; }
}

/* ---------------------------------- bento (why arqnoz) ---------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 18px;
}
.bento-cell {
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
}
.bento-cell.wide { grid-column: span 2; }
.bento-cell.tall { grid-row: span 2; min-height: 400px; }
.bento-cell.paper { background: var(--surface-raised); border: 1px solid var(--hairline); }
.bento-cell.navy { background: linear-gradient(155deg, var(--deep-navy), var(--navy-900)); color: var(--on-navy); }
.bento-cell.gold { background: linear-gradient(155deg, var(--gold-strong), var(--working-gold)); color: var(--navy-900); }
.bento-cell h3 { margin-bottom: 8px; }
.bento-cell.navy h3, .bento-cell.gold h3 { color: inherit; }
.bento-cell p { font-size: 0.92rem; }
.bento-cell.navy p { color: var(--on-navy-muted); }
.bento-cell.gold p { color: rgba(8, 23, 38, 0.72); }
.bento-cell .icon-badge { margin-bottom: auto; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento-cell.tall { min-height: 190px; grid-row: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-cell.wide { grid-column: span 1; }
}

/* ---------------------------------- CTA split (home) ---------------------------------- */
.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--hairline-on-navy);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.cta-split-cell {
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-split-cell.navy { background: var(--ink-navy); }
.cta-split-cell.deep { background: var(--deep-navy); }
.cta-split-cell .icon-badge { background: rgba(212, 175, 55, 0.16); color: var(--gold); margin-bottom: 6px; }
.cta-split-cell h3 { color: var(--on-navy); font-size: 1.4rem; }
.cta-split-cell p { color: var(--on-navy-muted); font-size: 0.96rem; margin-bottom: 8px; }
.cta-split-cell .btn { align-self: flex-start; }

@media (max-width: 800px) { .cta-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------- comparison table (HR services) ---------------------------------- */
.compare {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
}
.compare-row + .compare-row { border-top: 1px solid var(--hairline); }
.compare-row.head { background: var(--ink-navy); }
.compare-row.head .cell { color: var(--on-navy); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 16px 24px; }
.compare-row:not(.head) .cell { padding: 22px 24px; background: var(--surface-raised); }
.compare-row:not(.head) .cell:first-child { font-weight: 600; color: var(--ink-navy); background: var(--paper-dim); }
.cell { font-size: 0.92rem; color: var(--ink-muted); border-right: 1px solid var(--hairline); }
.cell:last-child { border-right: none; }

@media (max-width: 760px) {
  .compare-scroll { overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .compare-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1fr); }
  .compare { min-width: 580px; }
  .compare-row:not(.head) .cell,
  .compare-row.head .cell { padding: 16px; }
}
.scroll-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
  align-items: center;
  gap: 6px;
}
@media (max-width: 760px) {
  .scroll-hint { display: flex; }
}

/* ---------------------------------- forms ---------------------------------- */
.form-panel {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-navy);
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-input);
  padding: 13px 15px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--working-gold);
  background: var(--surface-raised);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.field textarea { resize: vertical; min-height: 100px; font-family: var(--font-body); }
.field .hint { font-size: 12px; color: var(--ink-faint); }
.field .error { font-size: 12px; color: #a4361f; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #a4361f; }
.field.invalid .error { display: block; }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 18px;
}
.form-note ph { flex-shrink: 0; margin-top: 2px; color: var(--working-gold); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .icon-badge { margin: 0 auto 18px; background: rgba(212, 175, 55, 0.16); color: var(--working-gold); width: 60px; height: 60px; border-radius: 50%; }
.form-success .icon-badge ph { font-size: 28px; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-panel { padding: 26px; }
}

/* ---------------------------------- quote ---------------------------------- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  max-width: 60ch;
}
.quote-block p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--ink-navy); padding-bottom: 0.2em; }
.quote-block .attrib { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------------------------------- question preview ---------------------------------- */
.question-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.question-group-head h3 { font-size: 1.1rem; color: var(--working-gold); }
.question-group-head .count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.question-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.question-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.question-item:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateX(3px); }
.question-item .q-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.question-item p { color: var(--ink); font-size: 0.98rem; line-height: 1.6; }
.question-empty { color: var(--ink-faint); font-size: 0.95rem; padding: 20px 0; }

/* ---------------------------------- callout note ---------------------------------- */
.callout {
  border-radius: var(--radius-card);
  padding: 26px 28px;
  border: 1px solid rgba(184, 145, 42, 0.3);
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  gap: 16px;
}
.callout ph { color: var(--working-gold); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.callout p { color: var(--ink-muted); font-size: 0.95rem; }
.callout strong { color: var(--ink-navy); }

/* ---------------------------------- footer ---------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); padding: 72px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-on-navy);
}
.footer-brand .brand { color: var(--on-navy); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 32ch; color: var(--on-navy-muted); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--on-navy-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--on-navy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-note { font-size: 0.78rem; color: var(--ink-faint); max-width: 70ch; margin-top: 20px; line-height: 1.6; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------- scroll reveal ---------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------- misc utility ---------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat-row .stat { text-align: left; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--ink-navy); }
.stat.on-navy .num { color: var(--on-navy); }
.stat .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }
.stat.on-navy .lbl { color: var(--on-navy-muted); }
@media (max-width: 700px) { .stat-row { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.divider-hairline { height: 1px; background: var(--hairline); }
.text-center { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.chip.on-navy { border-color: var(--hairline-on-navy); color: var(--on-navy-muted); }

/* ---------------------------------- whatsapp fab ---------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 80;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
.whatsapp-fab:active { transform: scale(0.96); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-fab { animation: none; } }
@media (max-width: 600px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 26px; }
}

/* ---------------------------------- site popup ---------------------------------- */
.site-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 23, 38, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.site-popup-overlay.show { opacity: 1; pointer-events: auto; }
.site-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-raised);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 40px 34px 34px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}
.site-popup-overlay.show .site-popup { transform: translateY(0) scale(1); }
.site-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink-navy);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.site-popup-close:hover { background: var(--paper-dim); transform: rotate(90deg); }
.site-popup .field { margin-bottom: 16px; }
.site-popup .form-success { padding: 20px 4px; }
@media (max-width: 500px) {
  .site-popup { padding: 32px 22px 26px; }
}

/* ---------------------------------- decorative background layer ---------------------------------- */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.65;
  animation: blobDrift 13s ease-in-out infinite;
}
.blob-gold { background: radial-gradient(circle, rgba(212, 175, 55, 0.5), transparent 70%); }
.blob-navy { background: radial-gradient(circle, rgba(21, 58, 97, 0.55), transparent 70%); }
.blob-paper { background: radial-gradient(circle, rgba(246, 246, 242, 0.4), transparent 70%); }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -16px) scale(1.06); }
}

.hero > .wrap, .page-hero > .wrap, .section > .wrap, section > .wrap { position: relative; z-index: 1; }

.float-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  color: var(--ink-navy);
  font-size: 20px;
  z-index: 2;
  animation: floatBob 6s ease-in-out infinite;
}
.float-icon.gold {
  background: linear-gradient(160deg, var(--gold-strong), var(--working-gold));
  color: var(--navy-900);
}
.float-icon.navy {
  background: linear-gradient(160deg, var(--deep-navy), var(--navy-900));
  color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.float-icon.alt { animation-duration: 7.4s; animation-delay: -2.2s; }
.float-icon.alt2 { animation-duration: 8.2s; animation-delay: -4s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float-icon, .blob { animation: none; }
}
@media (max-width: 900px) {
  .float-icon { display: none; }
}
