/* HOME PAGE — section styles (index.html only). Built on theme.css tokens. */

.hm-eyebrow { display:inline-block; font-size:.85rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--primary); margin-bottom:16px; }
.hm-accent { color: var(--primary); }
.hm-dot { color: var(--accent); }
.hm-lead { font-size:1.25rem; color:var(--ink-2); max-width:36ch; font-weight:300; }
.hm-lead strong { font-weight:500; color:var(--ink); }
.hm-link-arrow { display:inline-flex; align-items:center; gap:10px; font-weight:500; padding-bottom:8px; border-bottom:2px solid currentColor; transition:gap .2s ease; }
.hm-link-arrow:hover { gap:16px; }
.btn-white { background:#fff; color:var(--ink); }
.btn-white:hover { background:#fff; transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); }
.btn-line { border:1.5px solid var(--ink); color:var(--ink); background:transparent; }
.btn-line:hover { background:var(--ink); color:#fff; }
.hm-wrap h1,.hm-wrap h2,.hm-wrap h3 { margin:0; font-weight:500; letter-spacing:-.02em; line-height:1.08; }
.hm-wrap h1 { font-size:clamp(2.6rem,5.6vw,4.6rem); }
.hm-wrap h2 { font-size:clamp(2rem,3.8vw,3.2rem); }
.hm-wrap h3 { font-size:1.6rem; letter-spacing:-.01em; line-height:1.2; }
/* ---------- Hero ---------- */
.hm-hero { padding: calc(var(--header-h) + 56px) 0 56px; background:
  radial-gradient(900px 420px at 85% 10%, var(--brand-soft), transparent 70%), var(--bg); overflow: hidden; }
.hm-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hm-hero h1 { margin-bottom: 28px; }
.hm-hero .hm-lead { margin-bottom: 36px; }
.hm-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hm-hero-visual { position: relative; min-height: 460px; }
.hm-hv-main {
  position: absolute; inset: 20px 0 20px 30px; border-radius: 28px;
  background: linear-gradient(150deg, #1c2540 0%, #0f1320 70%); box-shadow: 0 40px 80px rgba(15,19,32,.28);
  padding: 22px; color: #fff; overflow: hidden;
}
.hm-hv-bar { display: flex; gap: 7px; margin-bottom: 22px; }
.hm-hv-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hm-hv-code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.85; color: #aab4d4; }
.hm-hv-code .k { color: #7fa0e8; } .hm-hv-code .s { color: #8fd6a8; } .hm-hv-code .c { color: #5d6788; }
.hm-hv-chart { position: absolute; left: 22px; bottom: 22px; width: calc(100% - 44px); height: 110px; }
.hm-hv-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 16px 20px; color: var(--ink);
  box-shadow: 0 20px 44px rgba(15,19,32,.18); animation: float 6s ease-in-out infinite;
}
.hm-hv-card b { display: block; font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.hm-hv-card span { font-size: .85rem; color: var(--ink-3); }
.hm-hv-card.a { top: 0; left: 0; }
.hm-hv-card.b { right: -8px; top: 150px; animation-delay: -2s; }
.hm-hv-card.c { left: 6px; bottom: 0; animation-delay: -4s; display: flex; align-items: center; gap: 12px; }
.hm-hv-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.2); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Credential strip ---------- */
.hm-proof { padding: 36px 0 72px; }
.hm-proof-title { text-align: center; font-size: 1.5rem; font-weight: 400; color: var(--ink-2); margin: 0 auto 36px; max-width: 30ch; }
.hm-proof-title u { text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; color: var(--ink); }
.hm-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-proof-item { text-align: center; padding: 26px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.hm-proof-item b { display: block; font-size: 2.2rem; font-weight: 600; color: var(--brand-ink); line-height: 1.1; }
.hm-proof-item span { color: var(--ink-3); font-size: .95rem; }

/* ---------- Section scaffolding ---------- */
.hm-section { padding: 104px 0; }
.hm-section.hm-soft { background: var(--bg-soft); }
.hm-section-head { max-width: 760px; margin-bottom: 56px; }
.hm-section-head.hm-center { margin-left: auto; margin-right: auto; text-align: center; }
.hm-section-head p { color: var(--ink-3); font-size: 1.2rem; margin: 20px 0 0; font-weight: 300; }

/* ---------- Service cards ---------- */
.hm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 40px 36px 36px;
  display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.hm-section.hm-soft .hm-card { background: #fff; }
.hm-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15,19,32,.09); }
.hm-card-ico { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.hm-card-ico svg { width: 30px; height: 30px; }
.hm-ico-blue { background: #2f6fed; } .hm-ico-teal { background: #3f9ea6; } .hm-ico-green { background: #1f9d6b; }
.hm-ico-violet { background: #7a5af8; } .hm-ico-orange { background: #f08a4b; } .hm-ico-slate { background: #475569; }
.hm-card p { margin: 0; color: var(--ink-3); font-size: 1.05rem; line-height: 1.6; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.hm-chip { border: 1.5px solid #2f5fb8; color: #2f5fb8; border-radius: 8px; padding: 4px 11px; font-size: .88rem; font-weight: 500; background: transparent; }
.hm-center-cta { text-align: center; margin-top: 56px; }

/* ---------- Dark feature panel (Vrodux) ---------- */
.hm-dark-panel { background: var(--bg-dark); color: #fff; border-radius: 32px; padding: 72px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.hm-dark-panel::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(80,113,186,.55), transparent 65%); }
.hm-dark-panel > * { position: relative; }
.hm-dark-panel .hm-eyebrow { color: #9db6ea; }
.hm-dark-panel h2 { margin-bottom: 22px; }
.hm-dark-panel p { color: #b8c0d6; font-weight: 300; font-size: 1.15rem; margin: 0 0 28px; }
.hm-ticks { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 14px; }
.hm-ticks li { display: flex; gap: 14px; color: #dfe5f4; font-size: 1.05rem; }
.hm-ticks svg { flex: none; width: 22px; height: 22px; color: #7fd1a1; margin-top: 3px; }
.hm-dp-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hm-dp-btns .hm-link-arrow { color: #fff; }
.hm-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px 22px; }
.hm-stat b { display: block; font-size: 2.3rem; font-weight: 500; line-height: 1.05; margin-bottom: 8px; }
.hm-stat span { color: #a9b3cc; font-size: .95rem; }
.hm-stat.hm-wide { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.hm-stat.hm-wide b { font-size: 1.35rem; margin: 0; }

/* ---------- Split: story + case studies ---------- */
.hm-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.hm-split-visual { border-radius: var(--radius); background: linear-gradient(150deg, #dfe8fb, #f3f6fd); padding: 36px; display: grid; gap: 16px; }
.hm-split-visual .hm-row { background: #fff; border-radius: 14px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 24px rgba(15,19,32,.06); }
.hm-split-visual .hm-row b { font-size: 1.7rem; font-weight: 600; color: var(--brand-ink); }
.hm-split-visual .hm-row span { color: var(--ink-3); }
.hm-split h2 { margin-bottom: 20px; }
.hm-split p { color: var(--ink-3); font-weight: 300; font-size: 1.2rem; margin: 0 0 32px; max-width: 46ch; }

.hm-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hm-case { background: #fff; border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.hm-case .hm-tag { align-self: flex-start; background: var(--brand-soft); color: var(--brand-ink); font-size: .85rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.hm-case p { color: var(--ink-3); margin: 0; font-size: 1.05rem; }
.hm-case blockquote { margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hm-case blockquote p { color: var(--ink); font-size: 1.2rem; font-weight: 400; margin-bottom: 8px; }
.hm-case cite { font-style: normal; color: var(--ink-3); font-size: .95rem; }

/* ---------- Industries ---------- */
.hm-ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hm-ind { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; transition: border-color .2s, background .2s, transform .2s; }
.hm-ind:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-3px); }
.hm-ind em { font-style: normal; font-size: 1.8rem; }
.hm-ind b { display: block; font-weight: 500; font-size: 1.15rem; }
.hm-ind span { color: var(--ink-3); font-size: .95rem; line-height: 1.4; display: block; }

/* ---------- Why ---------- */
.hm-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.hm-why { border-top: 2px solid var(--ink); padding-top: 24px; }
.hm-why b { display: block; font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.hm-why p { margin: 0; color: var(--ink-3); font-size: 1.05rem; }
.hm-why .n { color: var(--brand); font-weight: 500; font-size: .95rem; letter-spacing: .1em; display: block; margin-bottom: 14px; }

/* ---------- Licence strip ---------- */
.hm-licence { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.hm-licence-l { display: flex; gap: 16px; align-items: center; }
.hm-licence-l .hm-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-ink); }
.hm-licence-l .hm-badge svg { width: 26px; height: 26px; }
.hm-licence b { display: block; font-weight: 500; font-size: 1.15rem; }
.hm-licence span { color: var(--ink-3); font-size: .98rem; }

/* ---------- CTA ---------- */
.hm-cta { padding: 0 0 104px; }
.hm-cta-box { background: var(--brand); color: #fff; border-radius: 32px; padding: 88px 40px; text-align: center; position: relative; overflow: hidden; }
.hm-cta-box::after { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(ellipse at center, rgba(255,255,255,.22), transparent 70%); }
.hm-cta-box > * { position: relative; z-index: 1; }
.hm-cta-box h2 { margin-bottom: 18px; }
.hm-cta-box p { max-width: 52ch; margin: 0 auto 36px; font-weight: 300; font-size: 1.2rem; color: #e6edfb; }
.hm-cta-box .hm-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hm-cta-box .btn-line { border-color: #fff; color: #fff; }
.hm-cta-box .btn-line:hover { background: #fff; color: var(--brand-ink); }

/* ---------- Reveal ---------- */
.hm-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-reveal { opacity: 1; transform: none; transition: none; }
  .hm-hv-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hm-hero-grid, .hm-dark-panel, .hm-split { grid-template-columns: 1fr; }
  .hm-hero-visual { min-height: 420px; max-width: 560px; }
  .hm-cards, .hm-why-grid, .hm-ind-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-dark-panel { padding: 48px 36px; }
  }
@media (max-width: 680px) {
  body { font-size: 17px; }
  .hm-section { padding: 72px 0; }
  .hm-hero { padding: calc(var(--header-h) + 24px) 0 24px; }
  .hm-cards, .hm-why-grid, .hm-ind-grid, .hm-cases, .hm-stat-grid { grid-template-columns: 1fr; }
  .hm-proof-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hm-hero-visual { min-height: 380px; }
  .hm-hv-card.b { right: 0; }
  .hm-card { padding: 32px 26px; }
  .hm-cta-box { padding: 60px 24px; border-radius: 24px; }
  .hm-dark-panel { border-radius: 24px; padding: 40px 24px; }
  }

/* ---- additions for production integration ---- */
.hm-reveal { opacity: 1; transform: none; }
.hm-pill { display:inline-flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border); border-radius:999px; padding:6px 16px 6px 8px; font-size:.95rem; margin-bottom:28px; color:var(--ink); transition:box-shadow .2s, transform .2s; }
.hm-pill:hover { box-shadow:0 8px 24px rgba(15,19,32,.1); transform:translateY(-1px); }
.hm-pill-tag { background:var(--ink); color:#fff; padding:3px 10px; border-radius:999px; font-size:.72rem; letter-spacing:.06em; font-weight:500; }
.hm-split-visual { position:relative; overflow:hidden; }
.hm-split-visual .hm-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.hm-split-visual.has-photo { min-height: 420px; padding:0; background:none; }
.hm-split-visual.has-photo .hm-rows { display:none; }
.hm-rows { display:grid; gap:16px; width:100%; }
.hm-wrap { padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .hm-reveal { opacity:1; transform:none; transition:none; } }
.hm-wrap .hm-proof-title { font-size: 1.5rem; font-weight: 400; line-height: 1.35; letter-spacing: 0; color: var(--ink-2); margin: 0 auto 36px; max-width: 30ch; text-align: center; }
.hm-wrap .hm-cta-box h2 { color:#fff; }

/* Everything renders at once — no scroll-triggered reveal */
.hm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
