/* ==========================================================================
   Tap Convert — shared stylesheet
   Clean, premium, data-driven. White space, restraint, monospace data labels.
   ========================================================================== */

:root {
  /* Color tokens */
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --ink: #0B0C0E;
  --ink-2: #5A6270;
  --line: #E6EAF1;
  --accent: #2F6BFF;
  --accent-soft: #7E9BC4;
  --accent-grad: linear-gradient(120deg, #7E9BC4 0%, #2F6BFF 100%);
  --green: #1FA971;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(11,12,14,.04), 0 2px 8px rgba(11,12,14,.04);
  --shadow-md: 0 6px 24px rgba(11,12,14,.07);

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, "Menlo", "Consolas", monospace;

  /* Layout */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
strong { font-weight: 650; }

/* --------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Eyebrow / mono labels — brand signature */
.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 500;
}
.eyebrow.muted { color: var(--ink-2); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(47,107,255,.28); }
.btn-primary:hover { background: #1f57e6; box-shadow: 0 6px 20px rgba(47,107,255,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-soft); }
.btn-arrow::after { content: "→"; font-family: var(--mono); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .kft { color: var(--ink-2); font-weight: 500; font-size: .82rem; font-family: var(--mono); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .96rem;
  padding: 8px 13px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: inline-flex;
}
.lang-switch a { padding: 6px 9px; color: var(--ink-2); }
.lang-switch a.on { background: var(--ink); color: #fff; }
.lang-switch a:hover { text-decoration: none; }
.nav-cta { display: none; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 38px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; border-radius: 2px;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* --------------------------------------------------------------- Hero */
.hero { padding: 92px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 380px at 86% -8%, rgba(47,107,255,.10), transparent 60%),
    radial-gradient(520px 320px at 4% 8%, rgba(126,155,196,.12), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 60ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero-fallback { font-size: .95rem; color: var(--ink-2); margin: 6px 0 0; }

/* Capability band */
.cap-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.cap-band .wrap { padding-top: 18px; padding-bottom: 18px; }
.cap-line { font-family: var(--mono); font-size: .86rem; color: var(--ink-2); letter-spacing: .02em; margin: 0; text-align: center; }
.cap-line span { color: var(--accent); }

/* --------------------------------------------------------------- Grid + cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d9e1ee; }
.card .num { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .08em; }
.card h3 { margin-top: 12px; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: .98rem; }
.card .pillar-name { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { padding: 6px 0; }
.stat .figure { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; }
.stat .figure.green { color: var(--green); }
.stat .label { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }

/* Method steps */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.method .step { padding: 22px 22px 22px 0; border-top: 2px solid var(--ink); }
.method .step .k { font-family: var(--mono); font-size: .78rem; color: var(--accent); letter-spacing: .08em; }
.method .step h4 { font-size: 1.05rem; margin: 8px 0 6px; }
.method .step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* App / portfolio tiles */
.app-tile { display: flex; gap: 16px; align-items: flex-start; }
.app-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; font-family: var(--mono); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-sm);
}
.app-icon.spirit  { background: linear-gradient(135deg,#6d4aff,#2f6bff); }
.app-icon.laluna  { background: linear-gradient(135deg,#2f6bff,#19c3d6); }
.app-icon.numerology { background: linear-gradient(135deg,#7E9BC4,#2f6bff); }
.app-icon.tarot   { background: linear-gradient(135deg,#8b3bff,#c44ad0); }
.app-tile h3 { font-size: 1.08rem; margin: 0 0 4px; }
.app-tile .meta { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 8px; }
.app-tile p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* Tag list */
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.tag {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: #fff;
}

/* Client rows */
.client-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.client-row .name { font-weight: 700; font-size: 1.1rem; }
.client-row .role { color: var(--ink-2); margin: 0; }

/* Split / media */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.rev .media { order: 2; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.media.portrait img { aspect-ratio: 5/6; }

/* Accordion (services) */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between;
  align-items: center; font-weight: 650; font-size: 1.12rem; gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus { font-family: var(--mono); color: var(--accent); transition: transform .2s; }
.accordion details[open] summary .plus { transform: rotate(45deg); }
.accordion .body { padding: 0 4px 24px; color: var(--ink-2); max-width: 70ch; }
.accordion .body p { color: var(--ink-2); }

/* Callout / CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7ccd6; max-width: 56ch; margin: 0 auto 26px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* Definition list / facts */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; font-size: 1rem; }
.facts .row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts .row dt { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; margin: 0; }
.facts .row dd { margin: 0; font-weight: 500; }

/* Forms */
.form { max-width: 560px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--ink-2); }

/* Prose (legal/privacy) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 1.2em; color: var(--ink); }
.prose li { margin-bottom: .4em; }
.legal-block {
  font-family: var(--mono); font-size: .95rem; line-height: 1.9; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; white-space: pre-line; color: var(--ink);
}

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand img { height: 30px; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-2); max-width: 34ch; font-size: .92rem; }
.footer-col h4 { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom .copy { color: var(--ink-2); font-size: .9rem; }
.footer-bottom .copy strong { color: var(--ink); font-weight: 650; }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a { color: var(--ink-2); }

/* --------------------------------------------------------------- Misc */
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill-link { font-family: var(--mono); font-size: .82rem; color: var(--accent); letter-spacing: .03em; }
.badge-green { color: var(--green); font-family: var(--mono); font-weight: 600; }
.kicker-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* ===================================================================
   GRAPHIC ELEMENTS (added) — icons, client showcase, accents
   =================================================================== */

/* Icon chip — gradient rounded square holding an inline SVG */
.icon-chip {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(47,107,255,.22);
}
.icon-chip svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip.soft { background: #EAF0FB; color: var(--accent); box-shadow: none; }
.icon-chip.soft svg { stroke: var(--accent); }

/* Card top accent bar variant */
.card.accent-top { position: relative; overflow: hidden; }
.card.accent-top::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-grad); }

/* Method step gets a small icon */
.method .step .icon-chip { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.method .step .icon-chip svg { width: 20px; height: 20px; }

/* Section heading with a graphic rule */
.rule-accent { width: 48px; height: 4px; border-radius: 4px; background: var(--accent-grad); margin: 0 0 20px; }

/* ---- CLIENT SHOWCASE ---- */
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.client-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.client-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #d9e1ee; }
.client-card .cc-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.cc-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.cc-logo svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-logo.fit { background: linear-gradient(135deg,#1FA971,#12B5C9); }
.cc-logo.punch { background: linear-gradient(135deg,#2F6BFF,#1F3B8F); }
.cc-logo.gun { background: linear-gradient(135deg,#C9893B,#8B5A1F); }
.cc-logo.road { background: linear-gradient(135deg,#7E5BFF,#2F6BFF); }
.cc-title { font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.cc-cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; margin: 3px 0 0; }
.cc-role { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--accent); background: #EAF0FB; border-radius: 999px; padding: 5px 11px; margin-bottom: 14px; align-self: flex-start; }
.cc-desc { color: var(--ink-2); font-size: .95rem; margin: 0 0 18px; }
.cc-metrics { display: flex; gap: 26px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.cc-metric .v { font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.cc-metric .v.green { color: var(--green); }
.cc-metric .v .star { color: #F5A623; }
.cc-metric .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; margin-top: 5px; }
.cc-links { display: flex; gap: 14px; margin-top: 16px; }
.store-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; background: #fff; }
.store-pill:hover { border-color: var(--accent-soft); text-decoration: none; color: var(--accent); }
.store-pill svg { width: 14px; height: 14px; }

/* Portfolio app tile with real icon image */
.app-icon-img { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; box-shadow: var(--shadow-sm); object-fit: cover; }

/* Stat tile (graphic, colored) variant for stat bands */
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-tile .figure { font-size: clamp(1.7rem,3.4vw,2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat-tile .figure.green { color: var(--green); }
.stat-tile .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: var(--ink-2); text-transform: uppercase; margin-top: 8px; }
.stats-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* Pull-quote / belief band */
.quote-band { background: var(--accent-grad); color: #fff; border-radius: 20px; padding: 48px 52px; }
.quote-band .eyebrow { color: rgba(255,255,255,.85); }
.quote-band p.big { font-size: clamp(1.3rem,2.6vw,1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0; color: #fff; }

/* ---- Hero portrait + quote bubble ---- */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.quote-bubble {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-md); margin-top: -28px; margin-left: 18px; max-width: 92%;
}
.quote-bubble::before {
  content: ""; position: absolute; top: -10px; left: 34px; width: 20px; height: 20px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.quote-bubble p { margin: 0; font-size: 1.02rem; font-weight: 550; letter-spacing: -.01em; line-height: 1.4; }
.quote-bubble .q-mark { color: var(--accent); font-weight: 700; }
.quote-bubble .q-by { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; margin-top: 10px; display: block; }

/* ---- Real client icon tile ---- */
.cc-logo-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }

/* Featured (wide) client card for odd last item */
.client-card.span2 { grid-column: 1 / -1; }
.client-card.span2 .cc-desc { max-width: 70ch; }

/* ---- Company facts as stat tiles ---- */
.facts-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.fact-tile .ft-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; margin: 0 0 6px; }
.fact-tile .ft-v { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; margin: 0; }

/* ---- Timeline ---- */
.timeline { position: relative; margin-top: 10px; padding-left: 6px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 8px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-grad); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.tl-dot svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tl-yr { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--accent); }
.tl-item h4 { font-size: 1.12rem; margin: 4px 0 5px; letter-spacing: -.01em; }
.tl-item p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---- Wide media with facts overlay (About company) ---- */
.media-overlay { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.media-overlay img { display: block; width: 100%; aspect-ratio: 23/10; object-fit: cover; object-position: center 40%; }
.media-overlay .ov {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 28px 22px;
  background: linear-gradient(to top, rgba(7,10,18,.90) 0%, rgba(7,10,18,.66) 55%, rgba(7,10,18,0) 100%);
  color: #fff;
}
.media-overlay .ov .ov-name { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #aebfe0; margin: 0 0 12px; }
.ov-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.ov-facts .of { }
.ov-facts .of dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: #9aa6bd; margin: 0; }
.ov-facts .of dd { margin: 2px 0 0; font-size: .98rem; font-weight: 600; color: #fff; }

/* ---- Horizontal timeline (redesign) ---- */
.timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline-h::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(to right, var(--accent-soft), var(--accent)); z-index: 0; }
.tlh { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.tlh .tlh-ic { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 18px; background: var(--accent-grad); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(47,107,255,.26); }
.tlh .tlh-ic svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tlh .tlh-yr { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.tlh h4 { font-size: 1.06rem; margin: 6px 0 6px; letter-spacing: -.01em; }
.tlh p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---- Tool tags (with icon) ---- */
.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.tool-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; background: #fff; }
/* Logo chips — show the wordmark/icon at a readable height, natural width */
.tool-tag.logo { padding: 9px 14px; }
.tool-tag.logo img { height: 22px; width: auto; display: block; }

/* ---- LinkedIn / social links ---- */
.social-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.social-link:hover { color: #0A66C2; text-decoration: none; }
.social-link .li { width: 26px; height: 26px; border-radius: 6px; background: #0A66C2; display: grid; place-items: center; flex: 0 0 auto; }
.social-link .li svg { width: 15px; height: 15px; fill: #fff; }
.footer-col .social-link { color: var(--ink); font-weight: 400; }
.footer-col .social-link .li { width: 22px; height: 22px; border-radius: 5px; }
.footer-col .social-link .li svg { width: 13px; height: 13px; }
.quote-bubble .social-link { margin-top: 12px; font-size: .85rem; }

/* ---- About hero figure (uncropped business photo + overlay caption) ---- */
.about-fig { position: relative; width: 100%; max-width: 380px; margin-left: auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-fig img { display: block; width: 100%; height: auto; }
.about-fig .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px 18px;
  background: linear-gradient(to top, rgba(7,10,18,.86), rgba(7,10,18,0));
  color: #fff;
}
.about-fig .cap .nm { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.about-fig .cap .rl { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: #aebfe0; margin-top: 3px; }

/* ---- How I work — numbered rows (distinct from card grid) ---- */
.how-rows { border-top: 1px solid var(--line); }
.how-row { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.how-row .hr-num { font-family: var(--mono); font-size: 2.4rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.how-row .hr-body { max-width: 64ch; }
.how-row h3 { margin: 0 0 7px; font-size: 1.3rem; }
.how-row p { margin: 0; color: var(--ink-2); }
.how-row .hr-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; vertical-align: -8px; margin-right: 4px; }
.how-row .hr-ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 920px) {
  .grid-3, .grid-4, .stats, .method, .kicker-grid, .stats-tiles, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-band { padding: 36px 30px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .media { order: 0; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-figure { max-width: 440px; }
  .facts-tiles { grid-template-columns: repeat(2,1fr); }
  .timeline-h { grid-template-columns: repeat(2,1fr); gap: 30px 18px; }
  .timeline-h::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 24px 18px; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: 12px 8px; }
  .grid-3, .grid-4, .grid-2, .stats, .method, .kicker-grid, .stats-tiles, .client-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 30px 24px; }
  .cc-metrics { gap: 18px; }
  .timeline-h { grid-template-columns: 1fr; }
  .ov-facts { gap: 8px 20px; }
  .how-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .how-row .hr-num { font-size: 1.8rem; }
  .facts .row, .client-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lang-switch { display: none; }
}

/* ==========================================================================
   PREMIUM POLISH — micro-interactions, hover states, entrance animation
   (kept subtle; fully disabled under prefers-reduced-motion)
   ========================================================================== */

::selection { background: rgba(47,107,255,.18); }

/* Keyboard focus — clear, on-brand ring */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* ---- Sticky header: subtle lift once scrolled ---- */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(11,12,14,.04), 0 10px 30px rgba(11,12,14,.07); background: rgba(255,255,255,.9); }

/* ---- Nav links: animated underline ---- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
  background: var(--accent-grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .26s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.brand img { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }

/* ---- Buttons: depth, gradient primary, press feedback ---- */
.btn { transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background-image: linear-gradient(120deg, #3A74FF 0%, #1F57E6 100%); }
.btn-primary:hover { background-image: linear-gradient(120deg, #4880FF 0%, #2A63F0 100%); }
.btn-arrow::after { transition: transform .2s ease; display: inline-block; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---- Cards: smoother lift, brighter accent bar on hover ---- */
.card { transition: box-shadow .22s ease, transform .22s cubic-bezier(.22,.61,.36,1), border-color .22s ease; }
.card.accent-top::before { transform: scaleX(1); transform-origin: left; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.card.accent-top { transform: none; }
.card .icon-chip { transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease; }
.card:hover .icon-chip { transform: translateY(-3px) scale(1.04); }

/* ---- Client cards: icon nudge + link lift ---- */
.cc-logo-img, .app-icon-img { transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease; }
.client-card:hover .cc-logo-img { transform: scale(1.06) rotate(-2deg); }
.card:hover .app-icon-img { transform: scale(1.05); }
.store-pill { transition: transform .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.store-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-tag { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.tool-tag:hover { transform: translateY(-2px); border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }

/* ---- Image frames: gentle zoom within the clipped frame ---- */
.media-overlay img, .about-fig img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.media-overlay:hover img, .about-fig:hover img { transform: scale(1.045); }
.hero-figure img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }

/* ---- Timeline icons + How-row hover ---- */
.tlh .tlh-ic { transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease; }
.tlh:hover .tlh-ic { transform: translateY(-4px) scale(1.05); }
.how-row { transition: background .2s ease; }
.how-row:hover { background: rgba(47,107,255,.025); }
.how-row .hr-num { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.how-row:hover .hr-num { transform: translateX(4px); }

/* ---- Stat / fact tiles: quiet lift ---- */
.stat-tile, .fact-tile { transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, border-color .22s ease; }
.stat-tile:hover, .fact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9e1ee; }

/* ---- Pill links + social ---- */
.pill-link { transition: color .18s ease, letter-spacing .18s ease; }
.pill-link:hover { letter-spacing: .04em; }

/* ---- Hero: gentle staggered entrance on load ---- */
@keyframes tc-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: tc-fade-up .55s .02s both; }
.hero h1 { animation: tc-fade-up .6s .08s both; }
.hero .lead { animation: tc-fade-up .6s .16s both; }
.hero .hero-cta { animation: tc-fade-up .6s .24s both; }
.hero .hero-fallback { animation: tc-fade-up .6s .32s both; }
.hero-figure { animation: tc-fade-up .7s .2s both; }

/* ---- Scroll-reveal (JS adds .reveal then .in-view) ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---- Respect reduced-motion: kill all of the above movement ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero .hero-cta, .hero .hero-fallback, .hero-figure { animation: none !important; }
}
