/* ==========================================================================
   Psalm23 Employment Agency — Design System
   Custom CSS layered on top of Tailwind (CDN). Owns the brand look:
   color tokens, typography scale, components, motion, responsive polish.
   ========================================================================== */

:root {
  /* Brand palette (from logo) */
  --blue: #4AABE8;
  --blue-600: #3A8BC8;
  --blue-700: #2f73a6;
  --blue-50: #eef7fd;
  --blue-100: #d8edfb;
  --ink: #1c1f24;
  --ink-soft: #3a3f47;
  --charcoal: #222222;
  --white: #ffffff;
  --gray-50: #F5F7FA;
  --gray-100: #eef1f6;
  --gray-200: #e3e8f0;
  --gray-400: #97a1b2;
  --gray-500: #6b7484;
  --gray-600: #4d5563;

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Elevation — soft, layered, never harsh */
  --shadow-sm: 0 1px 2px rgba(28, 31, 36, 0.04), 0 1px 3px rgba(28, 31, 36, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 31, 36, 0.06), 0 2px 4px rgba(28, 31, 36, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(28, 31, 36, 0.18), 0 6px 14px rgba(28, 31, 36, 0.06);
  --shadow-blue: 0 14px 30px -10px rgba(74, 171, 232, 0.55);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Fluid type scale */
.h-display { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--gray-600); line-height: 1.7; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-soft { background: var(--gray-50); }
.bg-ink { background: var(--ink); color: #d7dce4; }

/* --------------------------------------------------------------------------
   Eyebrow / section heading
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(74,171,232,.65); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-600); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding-block: 18px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); padding-block: 12px; background: rgba(255,255,255,0.98); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.brand img { height: 42px; width: auto; }
.brand .brand-fallback { display: flex; align-items: center; gap: 9px; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1rem;
}
.brand .brand-23 { background: var(--ink); color:#fff; border-radius: 7px; padding: 1px 7px; }
.brand small { display:block; font-family: var(--font-body); font-weight:500; font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color: var(--gray-500); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft); padding: 9px 14px; border-radius: 9px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; border-radius: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
  background: #fff; z-index: 70; transform: translateX(100%);
  transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 88px 28px 28px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.mobile-menu a:hover { color: var(--blue-600); }
.mobile-menu .btn { margin-top: 22px; }
.menu-overlay { position: fixed; inset: 0; background: rgba(20,24,30,.42); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 65; }
.menu-overlay.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(74,171,232,.12), transparent 60%),
    radial-gradient(50% 50% at 5% 90%, rgba(74,171,232,.10), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-trust { display:flex; align-items:center; gap:10px; margin-bottom:22px; font-size:.9rem; font-weight:600; color:var(--blue-700); }
.pill { display:inline-flex; align-items:center; gap:8px; padding:7px 15px; border-radius:999px; background:var(--blue-50); border:1px solid var(--blue-100); font-family:var(--font-display); font-weight:600; font-size:.82rem; color:var(--blue-700); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-meta { display:flex; gap: 28px; flex-wrap: wrap; }
.hero-meta div { }
.hero-meta strong { display:block; font-family:var(--font-display); font-size:1.5rem; color:var(--ink); }
.hero-meta span { font-size:.85rem; color: var(--gray-500); }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: linear-gradient(135deg, var(--blue-100), var(--gray-100));
}
.hero-media .frame img,
.hero-media .frame video { width:100%; height:100%; object-fit: cover; display:block; }
.hero-badge {
  position:absolute; left:-22px; bottom:34px; background:#fff; border-radius:16px;
  box-shadow: var(--shadow-lg); padding:16px 18px; display:flex; align-items:center; gap:12px;
  max-width: 230px;
}
.hero-badge .ic { width:42px; height:42px; border-radius:12px; background:var(--blue-50); display:flex; align-items:center; justify-content:center; color:var(--blue-600); flex:none; }
.hero-badge > div { display:flex; flex-direction:column; }
.hero-badge strong { font-family:var(--font-display); color:var(--ink); font-size:.95rem; line-height:1.2; }
.hero-badge span { font-size:.78rem; color:var(--gray-500); margin-top:2px; }

/* image placeholder shimmer (used until real images dropped in) */
.img-ph { width:100%; height:100%; min-height:160px; display:flex; align-items:center; justify-content:center; color:var(--blue-600); background:linear-gradient(110deg,var(--blue-50) 30%,#fff 50%,var(--blue-50) 70%); background-size:200% 100%; animation: shimmer 2.2s infinite linear; font-family:var(--font-display); font-weight:600; font-size:.85rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* --------------------------------------------------------------------------
   Logo strip / stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--blue-600); line-height: 1; }
.stat .label { margin-top: 8px; font-size: .9rem; color: var(--gray-500); font-weight: 500; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 18px; transition: background .3s, color .3s;
}
.card:hover .ic { background: var(--blue); color: #fff; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; font-size: 1.2rem; }
.card p { font-size: .96rem; margin: 0; color: var(--gray-600); }
.card-link { margin-top:16px; display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--blue-600); }
.card-link svg { width:16px; height:16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* feature with image */
.feature-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-md); }
.feature-img img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-img:hover img { transform: scale(1.05); }

/* checklist */
.check-list { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.check-list li { display:flex; gap:12px; align-items:flex-start; }
.check-list .tick { flex:none; width:24px; height:24px; border-radius:50%; background:var(--blue-50); color:var(--blue-600); display:flex; align-items:center; justify-content:center; margin-top:2px; }
.check-list .tick svg { width:14px; height:14px; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset: step; }
.step { position:relative; padding-top: 12px; }
.step .n { font-family:var(--font-display); font-weight:800; font-size:2.4rem; color:var(--blue); line-height:1; }
.step h3 { font-size:1.12rem; margin:10px 0 8px; }
.step p { font-size:.92rem; margin:0; color:var(--gray-600); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.tcarousel { position: relative; max-width: 760px; margin-inline: auto; }
.tslides { position: relative; min-height: 240px; }
.tslide { position:absolute; inset:0; opacity:0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events:none; text-align:center; }
.tslide.is-active { opacity:1; transform: none; pointer-events:auto; position:relative; }
.tstars { color:#f5b301; letter-spacing:3px; margin-bottom:18px; font-size:1.1rem; }
.tquote { font-family:var(--font-display); font-weight:600; font-size:clamp(1.2rem,2.4vw,1.6rem); color:var(--ink); line-height:1.45; margin-bottom:24px; }
.tperson { display:flex; align-items:center; justify-content:center; gap:12px; }
.tavatar { width:46px; height:46px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; }
.tname { font-family:var(--font-display); font-weight:700; color:var(--ink); }
.trole { font-size:.85rem; color:var(--gray-500); }
.tdots { display:flex; gap:9px; justify-content:center; margin-top:30px; }
.tdot { width:9px; height:9px; border-radius:50%; background:var(--gray-200); border:0; cursor:pointer; transition:background .25s, transform .25s; padding:0; }
.tdot.is-active { background:var(--blue); transform:scale(1.25); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding: 22px 4px; font-family:var(--font-display); font-weight:600; font-size:1.08rem; color:var(--ink);
}
.faq-q .chev { flex:none; width:30px; height:30px; border-radius:50%; background:var(--blue-50); color:var(--blue-600); display:flex; align-items:center; justify-content:center; transition: transform .35s var(--ease), background .25s; }
.faq-item.is-open .faq-q .chev { transform: rotate(45deg); background:var(--blue); color:#fff; }
.faq-a { overflow:hidden; max-height:0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 22px; color:var(--gray-600); }

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-600), var(--blue) 60%, #6cc0f0);
  color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta::after { content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.12); }
.cta::before { content:""; position:absolute; left:-40px; bottom:-80px; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.10); }
.cta h2 { color:#fff; position:relative; }
.cta p { color: rgba(255,255,255,.9); max-width: 560px; margin:16px auto 28px; position:relative; }
.cta .hero-actions { justify-content:center; position:relative; }

/* --------------------------------------------------------------------------
   GHL form placeholder
   -------------------------------------------------------------------------- */
.ghl-embed { background:#fff; border:1px dashed var(--blue); border-radius:var(--radius); padding:28px; }
.form-row { margin-bottom:16px; }
.form-row label { display:block; font-family:var(--font-display); font-weight:600; font-size:.85rem; color:var(--ink); margin-bottom:7px; }
.form-row input, .form-row select, .form-row textarea {
  width:100%; padding:13px 15px; border:1px solid var(--gray-200); border-radius:var(--radius-sm);
  font-family:var(--font-body); font-size:.97rem; color:var(--ink); background:var(--gray-50); transition:border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(74,171,232,.15); background:#fff; }
.ghl-note { font-size:.78rem; color:var(--gray-400); text-align:center; margin-top:6px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #aab2c0; padding-block: 64px 28px; }
.footer h4 { color:#fff; font-size:1rem; margin-bottom:18px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap:40px; }
.footer a { color:#aab2c0; transition:color .2s; }
.footer a:hover { color:#fff; }
.footer ul { list-style:none; margin:0; padding:0; display:grid; gap:11px; font-size:.94rem; }
.footer .brand { color:#fff; margin-bottom:16px; }
.footer .brand small { color:#7c869a; }
.footer-about { font-size:.92rem; line-height:1.7; max-width:34ch; }
.footer-contact li { display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg { width:18px; height:18px; color:var(--blue); flex:none; margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); margin-top:48px; padding-top:24px; display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:.85rem; color:#7c869a; }
.footer-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.06); padding:8px 14px; border-radius:999px; font-size:.8rem; color:#cdd4df; }

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content:""; position:absolute; inset:0; border-radius:50%; background:#25D366; z-index:-1; animation: wapulse 2.2s infinite; }
@keyframes wapulse { 0%{ transform:scale(1); opacity:.6 } 70%{ transform:scale(1.6); opacity:0 } 100%{ opacity:0 } }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero { background: var(--gray-50); padding-block: clamp(48px, 7vw, 88px); position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 90% 0%, rgba(74,171,232,.12), transparent 60%); }
.breadcrumb { font-size:.85rem; color:var(--gray-500); margin-bottom:14px; }
.breadcrumb a:hover { color:var(--blue-600); }

/* article */
.article { max-width: 760px; margin-inline:auto; }
.article p { font-size:1.08rem; line-height:1.8; color:var(--ink-soft); }
.article h2 { margin: 42px 0 16px; font-size:1.7rem; }
.article h3 { margin: 30px 0 12px; font-size:1.3rem; }
.article ul, .article ol { padding-left:1.3rem; margin:0 0 1.3rem; }
.article li { margin-bottom:10px; }
.article .lead { margin-bottom: 28px; }
.article img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow-md); }
.article blockquote { border-left:4px solid var(--blue); background:var(--blue-50); padding:18px 24px; border-radius:0 12px 12px 0; margin:28px 0; font-style:italic; color:var(--ink); }

/* blog cards */
.post-card { background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); overflow:hidden; height:100%; transition:transform .3s var(--ease), box-shadow .3s var(--ease); display:flex; flex-direction:column; }
.post-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.post-card .thumb { aspect-ratio:16/10; overflow:hidden; }
.post-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.post-card:hover .thumb img { transform:scale(1.06); }
.post-card .body { padding:24px; display:flex; flex-direction:column; flex:1; }
.tag { display:inline-block; font-family:var(--font-display); font-weight:600; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--blue-600); background:var(--blue-50); padding:5px 11px; border-radius:999px; margin-bottom:14px; align-self:flex-start; }
.post-card h3 { font-size:1.2rem; margin-bottom:10px; }
.post-card p { font-size:.94rem; color:var(--gray-600); margin-bottom:16px; }
.post-card .meta { margin-top:auto; font-size:.83rem; color:var(--gray-400); }

/* --------------------------------------------------------------------------
   AOS-lite (no-JS-fallback safe) entrance animations
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
  .wa-float::before { animation:none; }
  .img-ph { animation:none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline:auto; }
  .hero-media .frame { aspect-ratio: 16/11; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2,1fr); gap:32px 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
  .section { padding-block: 56px; }
  .card { padding: 24px; }
}

/* ==========================================================================
   REDESIGN ADDITIONS — full-bleed cinematic hero, comparison, timeline,
   magnetic cards, refined motion, footer light logo, matchmaker
   ========================================================================== */

/* ---- Footer light logo (replaces forced text fallback) ---- */
.footer .brand img { display:block; height:54px; width:auto; margin-bottom:16px; }

/* ---- HERO: full-bleed cinematic ---- */
.hero--cinematic {
  position: relative;
  width: 100%;
  height: min(85svh, 760px);
  min-height: 540px;
  overflow: hidden;
  padding: 0;
  background: #0b0f15;
  margin-top: -1px;
  isolation: isolate;
}
.hero--cinematic .hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero--cinematic .hero-bg video,
.hero--cinematic .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block;
  animation: heroDrift 32s linear infinite alternate;
  transform-origin: 52% 38%;
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}
.hero--cinematic .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,15,21,0.28) 0%, rgba(11,15,21,0) 28%, rgba(11,15,21,0) 50%, rgba(11,15,21,0.78) 100%),
    linear-gradient(90deg, rgba(11,15,21,0.45) 0%, rgba(11,15,21,0) 55%);
}
.hero--cinematic .hero-overlay {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding: 0 24px 64px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.hero--cinematic .hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #fff; margin-bottom: 22px;
}
.hero--cinematic .hero-pill svg { width: 14px; height: 14px; }
.hero--cinematic h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 18ch;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero--cinematic .hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 30ch;
  margin: 0 0 28px;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(0,0,0,0.25);
}
.hero--cinematic .hero-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-bottom: 22px; }
.hero--cinematic .hero-trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-display); font-weight: 500; font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
}
.hero--cinematic .hero-trust-pill svg { width:14px; height:14px; color: var(--blue); }

/* Hero scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  pointer-events: none;
}
.scroll-cue .line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.55));
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content:""; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollCue 2.4s var(--ease-soft) infinite;
}
@keyframes scrollCue { 0%{top:-100%} 60%{top:120%} 100%{top:120%} }

/* Nav always sits as clean translucent-white from the start (no dark blend over hero) */

/* ---- STATS BAND ---- */
.stats-band { background: #fff; padding-block: 56px; border-bottom: 1px solid var(--gray-100); }
.stats-band .stats { grid-template-columns: repeat(4,1fr); gap: 32px; }
.stats-band .stat .num { font-size: clamp(2.4rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; }
.stats-band .stat .label { color: var(--gray-500); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

/* Odometer counter */
.odom { display: inline-flex; vertical-align: baseline; }
.odom-digit { display: inline-block; overflow: hidden; height: 1em; line-height: 1; width: 0.62em; text-align: center; }
.odom-digit .col { display: flex; flex-direction: column; transition: transform 1.4s var(--ease-soft); will-change: transform; }
.odom-digit .col span { display:block; height:1em; line-height:1; }

/* ---- COMPARISON ---- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.compare-col { padding: 32px 28px; }
.compare-col h3 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 24px; }
.compare-col--them { background: var(--gray-50); color: var(--gray-500); }
.compare-col--them h3 { color: var(--gray-500); }
.compare-col--us { background: linear-gradient(160deg, #0f1117 0%, #1c2230 100%); color: #fff; position: relative; }
.compare-col--us::before {
  content:""; position:absolute; right:-40px; top:-40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,171,232,0.30), transparent 70%);
}
.compare-col--us h3 { color: var(--blue); }
.compare-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid; font-size: 0.97rem; line-height: 1.5; }
.compare-col--them .compare-row { border-color: var(--gray-200); color: var(--gray-500); }
.compare-col--us .compare-row { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.92); }
.compare-row:first-of-type { border-top: 0; }
.compare-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.compare-col--them .compare-icon { background: var(--gray-200); color: var(--gray-500); }
.compare-col--us .compare-icon { background: var(--blue); color: #fff; }
.compare-icon svg { width: 12px; height: 12px; }

/* ---- HORIZONTAL TIMELINE ---- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; position: relative; }
.timeline::before {
  content:""; position: absolute; top: 88px; left: 6%; right: 6%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gray-200) 12%, var(--gray-200) 88%, transparent);
  z-index: 0;
}
.tl-step { position: relative; z-index: 1; }
.tl-step .tl-thumb { width: 100%; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 18px; background: var(--gray-100); }
.tl-step .tl-thumb img { width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.tl-step:hover .tl-thumb img { transform: scale(1.06); }
.tl-step .tl-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--blue-600); margin-bottom: 8px; }
.tl-step h3 { font-size: 1.08rem; margin: 0 0 6px; }
.tl-step p { font-size: 0.92rem; color: var(--gray-600); margin: 0; }

/* ---- IMAGE-LED SERVICE CARDS ---- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  height: 380px; box-shadow: var(--shadow-md);
  display: block; isolation: isolate;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .sc-img { position: absolute; inset: 0; z-index: 0; }
.service-card .sc-img img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease-soft); }
.service-card:hover .sc-img img { transform: scale(1.06); }
.service-card .sc-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,15,21,0.0) 25%, rgba(11,15,21,0.78) 100%); }
.service-card .sc-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; }
.service-card .sc-tag {
  display: inline-flex; align-self: flex-start; padding: 5px 11px;
  border-radius: 999px; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.service-card h3 { color:#fff; font-size: 1.25rem; margin: 0 0 6px; }
.service-card p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.93rem; }

/* ---- MATCHMAKER ---- */
.matchmaker { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.matchmaker-portrait {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue-50), #fff);
}
.matchmaker-portrait img { width:100%; height:100%; object-fit: cover; }
.matchmaker-portrait .mm-frame { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,21,0) 60%, rgba(11,15,21,0.45) 100%); pointer-events: none; }
.matchmaker-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.3; color: var(--ink);
  margin: 18px 0 24px; text-wrap: balance;
}
.matchmaker-quote::before { content: "\201C"; color: var(--blue); margin-right: 4px; }
.matchmaker-quote::after  { content: "\201D"; color: var(--blue); margin-left: 4px; }

/* ---- CTA with photographic backdrop ---- */
.cta--photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 80px); isolation: isolate; color: #fff; }
.cta--photo .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta--photo .cta-bg img { width:100%; height:100%; object-fit: cover; }
.cta--photo .cta-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(110deg, rgba(11,15,21,0.78) 0%, rgba(11,15,21,0.55) 60%, rgba(11,15,21,0.30) 100%); }
.cta--photo h2 { color:#fff; max-width: 18ch; }
.cta--photo p { color: rgba(255,255,255,0.88); max-width: 56ch; }

/* ---- MAGNETIC ---- */
.magnetic { transition: transform .4s var(--ease-soft); transform-style: preserve-3d; }
.magnetic.is-tilting { transition: transform .08s linear; }

/* ---- REVEAL VARIANTS ---- */
[data-reveal-up],
[data-reveal-left],
[data-reveal-right],
[data-reveal-mask] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft), clip-path 0.9s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}
[data-reveal-up]    { transform: translateY(26px); }
[data-reveal-left]  { transform: translateX(-32px); }
[data-reveal-right] { transform: translateX(32px); }
[data-reveal-mask]  { clip-path: inset(0 100% 0 0); opacity: 1; }
[data-reveal-up].is-visible,
[data-reveal-left].is-visible,
[data-reveal-right].is-visible { opacity: 1; transform: none; }
[data-reveal-mask].is-visible  { clip-path: inset(0 0 0 0); }

/* Word-by-word headline */
.split-words .w {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 0.9s var(--ease-soft), opacity 0.9s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.split-words.is-revealed .w { transform: none; opacity: 1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero--cinematic .hero-bg video,
  .hero--cinematic .hero-bg img { animation: none; }
  .scroll-cue .line::after { animation: none; }
  [data-reveal-up], [data-reveal-left], [data-reveal-right], [data-reveal-mask] {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
  .split-words .w { transform: none; opacity: 1; transition: none; }
  .magnetic, .magnetic.is-tilting { transform: none !important; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero--cinematic { height: min(72svh, 620px); min-height: 480px; }
  .hero--cinematic .hero-overlay { padding-bottom: 56px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 26px 22px; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .matchmaker { grid-template-columns: 1fr; gap: 32px; max-width: 520px; margin-inline: auto; }
  .stats-band .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .hero--cinematic .hero-overlay { padding: 0 22px; justify-content: center; }
  .hero--cinematic h1 { font-size: clamp(1.85rem, 7.8vw, 2.3rem); }
  .hero--cinematic .hero-trust-pill { display: none; }
  .service-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-band .stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stats-band .stat .num { font-size: 2.2rem; }
}

/* ==========================================================================
   POLISH PASS (2026-07-25) — trust band fix, premium page-hero, motion
   Appended overrides; later rules win at equal specificity.
   ========================================================================== */

/* ---- Trust band: uniform markers, dividers, no counter jitter ---- */
.stats-band { background:#fff; padding-block:60px; border-bottom:1px solid var(--gray-100); }
.stats-band .stats { grid-template-columns: repeat(4,1fr); gap:0; }
.stats-band .stat {
  position:relative; padding:10px 22px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:9px;
}
.stats-band .stat + .stat::before {
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:54px; background:linear-gradient(180deg, transparent, var(--gray-200) 22%, var(--gray-200) 78%, transparent);
}
.stats-band .stat .num {
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(1.55rem, 2.6vw, 2.05rem); line-height:1.04; letter-spacing:-0.02em;
  color:var(--blue-600); white-space:nowrap;
}
.stats-band .stat .label {
  color:var(--gray-500); font-size:0.72rem; letter-spacing:0.09em; text-transform:uppercase;
  font-weight:600; line-height:1.3; max-width:15ch; text-align:center;
}

/* ---- Premium page hero: branded gradient mesh + soft orbs ---- */
.page-hero {
  background: linear-gradient(178deg, #ffffff 0%, var(--blue-50) 92%);
  padding-block: clamp(60px, 8vw, 108px);
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:""; position:absolute; width:560px; height:560px; right:-130px; top:-230px;
  background: radial-gradient(circle at center, rgba(74,171,232,0.26), transparent 62%);
  border-radius:50%; pointer-events:none;
}
.page-hero::after {
  content:""; position:absolute; width:440px; height:440px; left:-150px; bottom:-240px;
  background: radial-gradient(circle at center, rgba(108,192,240,0.18), transparent 60%);
  border-radius:50%; pointer-events:none;
}
.page-hero > .container { position:relative; z-index:1; }
.page-hero .breadcrumb { position:relative; z-index:1; }
/* faint dotted texture in hero for subtle depth */
.page-hero .container::after {
  content:""; position:absolute; right:6%; top:14%; width:190px; height:190px; z-index:0;
  background-image: radial-gradient(rgba(58,139,200,0.16) 1.3px, transparent 1.3px);
  background-size:15px 15px; -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle, #000 40%, transparent 72%); pointer-events:none;
}

/* ---- Motion polish ---- */
.btn:active { transform: scale(0.97); }
.wa-float:active { transform: scale(0.94); }
.card:active, .post-card:active { transform: translateY(-3px) scale(0.995); }
/* entry reveals: add a whisper of blur for a softer settle */
[data-reveal], [data-reveal-up] { transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
[data-reveal]:not(.is-visible) { filter: blur(4px); }
[data-reveal].is-visible { filter: blur(0); }

/* ---- Mobile refinements ---- */
@media (max-width: 900px) {
  .stats-band .stats { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .stats-band .stat + .stat::before { display:none; }
  .stats-band .stat { padding:6px 8px; }
}
@media (max-width: 620px) {
  .stats-band .stat .num { font-size: 1.6rem; }
  .page-hero .container::after { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-up] { opacity:1 !important; transform:none !important; filter:none !important; }
}

/* Inline marker-stat blocks (e.g. Why Us) — consistent sizing for mixed word/number markers */
.stat-markers .num {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height:1.06; letter-spacing:-0.02em; white-space:nowrap;
}
.stat-markers .label {
  font-size:0.74rem; letter-spacing:0.06em; text-transform:uppercase; font-weight:600; color:var(--gray-500); margin-top:6px;
}
@media (max-width:620px){ .stat-markers .num { font-size:1.5rem; } }
