/* =========================================================
   SME Solution — Landing page
   Theme: "Paper & Signal" — warm paper, ink, signal orange
   ========================================================= */

:root {
  --bg: #faf8f4;
  --bg-alt: #f3efe7;
  --surface: #ffffff;
  --ink: #16130f;
  --ink-2: #2a251f;
  --border: #e7e1d6;
  --border-strong: #d8d0c2;

  --text: #16130f;
  --text-soft: #3d3830;
  --muted: #6b645a;

  --accent: #ff5a1f;          /* signal orange — decorative / fills */
  --accent-hover: #ff7a45;
  --accent-ink: #c2410c;      /* orange for text on light backgrounds (AA) */
  --accent-tint: #fff0e8;
  --green: #1f7a4d;
  --amber: #f2a93b;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 15, 0.05), 0 2px 8px -2px rgba(22, 19, 15, 0.06);
  --shadow: 0 24px 60px -24px rgba(22, 19, 15, 0.22);
  --container: 1200px;
  --header-h: 72px;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--display); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255, 90, 31, 0.22); }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.ic {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Highlighted word in headlines: orange with a hand-drawn underline */
.hl { position: relative; color: var(--accent); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -0.08em; height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 2, 120 2, 198 7' fill='none' stroke='%23ff5a1f' stroke-width='4' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; border-radius: 14px; }

.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(22, 19, 15, 0.6); }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 12px 28px -10px rgba(22, 19, 15, 0.6); }
.btn-primary .ic { color: var(--accent); }

.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 90, 31, 0.7); }
.btn-accent:hover { background: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; letter-spacing: -0.03em; font-weight: 500; }
.brand img { border-radius: 9px; }
.brand strong { font-weight: 800; }
.brand strong::after { content: "."; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-soft);
  transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover { color: var(--text); background: rgba(22, 19, 15, 0.05); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-strong);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-open { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 19, 15, 0.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 520px; height: 520px; background: #ffb38a; top: -120px; right: -80px; opacity: .45; }
.glow-2 { width: 420px; height: 420px; background: #ffd9a8; top: 260px; left: -200px; opacity: .4; }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; margin-bottom: 28px;
  font-size: 13.5px; font-weight: 500; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.pill:hover { border-color: var(--accent); }
.pill .ic { width: 14px; height: 14px; color: var(--muted); }
.pill-dot {
  display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--accent);
}
.pill-dot::before { content: "NEW"; }

.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.lead { margin-top: 24px; font-size: 18.5px; color: var(--muted); max-width: 560px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctas.center { justify-content: center; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14px; color: var(--text-soft); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: var(--green); stroke-width: 3; }

/* Mockup — dark "device" on paper for contrast */
.hero-visual { position: relative; padding: 28px 0 40px; }
.window {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--ink); border-radius: 20px;
  box-shadow: 0 50px 80px -40px rgba(22, 19, 15, 0.55), 0 0 0 8px rgba(22, 19, 15, 0.04);
  overflow: hidden;
  transform: rotate(1.5deg);
  transition: transform .8s var(--ease);
}
.hero-visual:hover .window { transform: rotate(0deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.window-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #3a342c; }
.window-url {
  margin: 0 auto; padding: 4px 14px; border-radius: 6px;
  font-family: var(--mono); font-size: 11px; color: #a39a8c;
  background: rgba(255, 255, 255, 0.06);
}
.window-body { display: grid; grid-template-columns: 52px 1fr; min-height: 340px; color: #f3efe7; }
.mock-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; border-right: 1px solid rgba(255,255,255,.07); }
.mock-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); margin-bottom: 8px; }
.mock-side i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.mock-side i.active { background: var(--accent); }

.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mock-head small { display: block; font-size: 11px; color: #a39a8c; }
.mock-head b { font-family: var(--display); font-size: 15px; font-weight: 700; }
.mock-chip { font-size: 10.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #d6cec2; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,.07); }
.kpi:first-child { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.kpi:first-child small, .kpi:first-child em.up { color: rgba(22, 19, 15, 0.75); }
.kpi small { display: block; font-size: 10.5px; color: #a39a8c; }
.kpi b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0; }
.kpi em { font-style: normal; font-size: 10.5px; font-weight: 600; }
.kpi em.up { color: #7ee0a8; }
.kpi em.down { color: #ffb38a; }

.mock-chart { flex: 1; min-height: 110px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255,255,255,.07); }
.bars { height: 100%; min-height: 90px; display: flex; align-items: flex-end; gap: 6px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: rgba(243, 239, 231, 0.22);
  transform-origin: bottom; animation: grow 1.2s var(--ease) both;
}
.bars i:nth-last-child(-n+3) { background: var(--accent); }
.bars i:nth-child(1) { animation-delay: .30s } .bars i:nth-child(2) { animation-delay: .35s }
.bars i:nth-child(3) { animation-delay: .40s } .bars i:nth-child(4) { animation-delay: .45s }
.bars i:nth-child(5) { animation-delay: .50s } .bars i:nth-child(6) { animation-delay: .55s }
.bars i:nth-child(7) { animation-delay: .60s } .bars i:nth-child(8) { animation-delay: .65s }
.bars i:nth-child(9) { animation-delay: .70s } .bars i:nth-child(10) { animation-delay: .75s }
.bars i:nth-child(11) { animation-delay: .80s } .bars i:nth-child(12) { animation-delay: .85s }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.mock-rows { display: grid; gap: 8px; }
.mock-rows div { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.mock-rows i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.mock-rows em { margin-left: auto; font-style: normal; font-size: 10.5px; color: #a39a8c; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.g { background: #7ee0a8; } .dot.b { background: var(--accent); } .dot.y { background: var(--amber); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { display: block; font-size: 12px; color: var(--muted); }
.fc-1 { left: -28px; bottom: 6px; }
.fc-2 { right: -24px; top: -14px; animation-delay: -3s; }
.fc-2 b { font-family: var(--display); font-size: 18px; letter-spacing: -0.02em; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.fc-icon.ok { background: #e3f3ea; color: var(--green); }
.spark { width: 84px; height: 30px; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee-label { margin: 56px 0 20px; text-align: center; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.marquee {
  overflow: hidden; position: relative; padding: 18px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 56px; padding-right: 56px; }
.marquee li {
  display: inline-flex; align-items: center; gap: 56px;
  font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: rgba(22, 19, 15, 0.42); white-space: nowrap; transition: color .2s;
}
.marquee li:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.section-head p { margin-top: 16px; font-size: 17.5px; color: var(--muted); }
.section-head.split { max-width: none; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.icon-box {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  color: var(--accent-ink); background: var(--accent-tint);
  transition: background-color .3s, color .3s;
}
.icon-box .ic { width: 22px; height: 22px; }
.icon-box.sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-box.sm .ic { width: 18px; height: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; color: var(--text-soft); background: var(--bg); border: 1px solid var(--border); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 32px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 90, 31, 0.08), transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(255, 90, 31, 0.45); box-shadow: var(--shadow); }
.service:hover::before { opacity: 1; }
.service:hover .icon-box { background: var(--accent); color: #fff; }
.service h3 { margin: 24px 0 10px; font-size: 21px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.about-copy > p { margin-top: 18px; color: var(--muted); font-size: 17.5px; }
.checklist { margin: 28px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.checklist .ic {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  color: #fff; background: var(--ink); stroke-width: 3;
}
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.industry {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.industry:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry:hover .icon-box { background: var(--accent); color: #fff; }
.industry h4 { font-size: 17px; }
.industry p { margin-top: 2px; font-size: 14px; color: var(--muted); }

/* Work */
.filters { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.filter {
  padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s;
}
.filter:hover { color: var(--text); }
.filter.is-active { color: #fff; background: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, opacity .35s;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }

.thumb {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 80% at 0% 0%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 65%),
    radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 65%),
    #efe9df;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22, 19, 15, 0.12) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

/* Mini UIs inside thumbnails */
.ui-browser, .ui-phone {
  position: relative; z-index: 1;
  background: var(--ink); border: 1px solid var(--ink);
  box-shadow: 0 30px 50px -20px rgba(22, 19, 15, 0.5);
  transition: transform .6s var(--ease);
}
.project:hover .ui-browser, .project:hover .ui-phone { transform: translateY(-6px) scale(1.03); }
.ui-browser { width: 78%; height: 72%; margin-top: 14%; border-radius: 12px 12px 0 0; border-bottom: 0; align-self: end; overflow: hidden; }
.ui-top { height: 18px; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
.ui-top::before { content: ""; position: absolute; left: 8px; top: 6px; width: 24px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.ui-layout { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 18px); }
.ui-layout > span { border-right: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); }
.ui-layout > div { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ui-browser i, .ui-phone > i:not(.notch) { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); }
.ui-browser i.w60, .ui-phone i.w60 { width: 60%; }
.ui-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; flex: 1; }
.ui-blocks.col { grid-template-columns: 1fr; }
.ui-blocks b { border-radius: 6px; background: var(--c1); min-height: 28px; opacity: .9; }
.ui-blocks b:nth-child(2) { background: var(--c2); }
.ui-blocks b:nth-child(3) { background: rgba(255,255,255,.12); }
.ui-chart { flex: 1; display: flex; align-items: flex-end; gap: 5px; min-height: 50px; margin-bottom: 4px; }
.ui-chart i { flex: 1; height: var(--h) !important; border-radius: 3px !important; background: rgba(255,255,255,.18) !important; }
.ui-chart i:last-child, .ui-chart i:nth-last-child(3) { background: var(--c1) !important; }
.ui-map {
  height: calc(100% - 18px); position: relative;
  background:
    linear-gradient(115deg, transparent 46%, rgba(255,255,255,.12) 46.5%, rgba(255,255,255,.12) 48%, transparent 48.5%),
    linear-gradient(25deg, transparent 56%, rgba(255,255,255,.09) 56.5%, rgba(255,255,255,.09) 58%, transparent 58.5%),
    radial-gradient(circle at 30% 60%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 40%);
}
.ui-map span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c1) 30%, transparent); }
.ui-map .p1 { left: 22%; top: 30%; } .ui-map .p2 { left: 58%; top: 55%; background: var(--c2); } .ui-map .p3 { left: 76%; top: 22%; }
.ui-shop { height: calc(100% - 18px); padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-shop b { border-radius: 6px; background: color-mix(in srgb, var(--c1) 80%, transparent); }
.ui-shop b:nth-child(even) { background: rgba(255,255,255,.12); }

.ui-phone { width: 34%; height: 84%; margin-top: 16%; border-radius: 22px 22px 0 0; border-bottom: 0; align-self: end; padding: 22px 12px 12px; display: flex; flex-direction: column; gap: 7px; }
.ui-phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 6px; border-radius: 4px; background: rgba(255,255,255,.18); }
.ui-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--c1); margin-bottom: 4px; }
.ui-balance { height: 54px; border-radius: 10px; background: var(--c1); margin-bottom: 6px; }

.result {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm);
}
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-cat { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-ink); letter-spacing: 0.02em; text-transform: uppercase; }
.project-body h3 { font-size: 21px; }
.project-body h3::after {
  content: "→"; display: inline-block; margin-left: 8px; color: var(--accent);
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.project:hover .project-body h3::after { opacity: 1; transform: none; }
.project-body p { font-size: 15px; color: var(--muted); flex: 1; }
.project-body .tags { margin-top: 8px; }

/* Getting started */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 32px; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -16px; z-index: 1;
  width: 12px; height: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: rotate(45deg);
}
.step-tag {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.step h3 { margin: 24px 0 10px; font-size: 21px; }
.step p { color: var(--muted); font-size: 15px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 36px 32px 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; letter-spacing: -0.03em; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 15px; }
.plan-price {
  margin: 24px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.plan li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-ink); stroke-width: 2.5; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #f3efe7; box-shadow: var(--shadow); }
.plan-featured .plan-desc { color: #a39a8c; }
.plan-featured .plan-price { border-color: rgba(255,255,255,.12); }
.plan-featured li { color: #e6dfd3; }
.plan-featured li .ic { color: var(--accent); }
.plan-badge {
  position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--ink); background: var(--accent);
}

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.quote:nth-child(2) { background: var(--ink); border-color: var(--ink); color: #f3efe7; }
.quote:nth-child(2) blockquote { color: #e6dfd3; }
.quote:nth-child(2) figcaption { border-top-color: rgba(255,255,255,.12); }
.quote:nth-child(2) figcaption small { color: #a39a8c; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.quote blockquote { margin: 0; flex: 1; font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { color: var(--muted); font-size: 13.5px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}

/* CTA */
.cta-section { padding-top: 0; }
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 32px; border-radius: 32px;
  background: var(--ink); color: #f3efe7;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.cta-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 90, 31, 0.45); filter: blur(110px); bottom: -380px; left: 50%; transform: translateX(-50%); }
.cta h2 { position: relative; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; max-width: 760px; margin: 0 auto; }
.cta p { position: relative; margin-top: 16px; font-size: 18px; color: #c9c0b3; }
.cta .hero-ctas { position: relative; }
.cta .btn-ghost { background: transparent; color: #f3efe7; border-color: rgba(255,255,255,.25); }
.cta .btn-ghost:hover { border-color: #f3efe7; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.contact-info > p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }
.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list span:not(.icon-box) { font-weight: 600; }
.contact-list a:hover { color: var(--accent-ink); }

.contact-form { padding: 36px; display: grid; gap: 20px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.field input:not([type="radio"]), .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border-strong);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: #a39a8c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
}
.field .is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--text-soft); border: 1px solid var(--border-strong); background: var(--bg);
  transition: all .2s;
}
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { color: #fff; border-color: var(--ink); background: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.form-status { min-height: 1.4em; font-size: 14.5px; text-align: center; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #dc2626; }

/* Footer */
.site-footer { padding: 80px 0 32px; background: var(--ink); color: #f3efe7; }
.site-footer .brand img { box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { margin: 18px 0 24px; color: #a39a8c; font-size: 15px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: #d6cec2; transition: all .2s;
}
.socials a:hover { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.site-footer h5 { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #a39a8c; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 12px; }
.site-footer li, .site-footer li a { font-size: 15px; color: #e6dfd3; transition: color .2s; }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: #a39a8c;
}
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #f3efe7; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .window, .hero-visual:hover .window { transform: none; }
  .services-grid, .work-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .steps, .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step:not(:last-child)::after { top: auto; right: auto; bottom: -16px; left: 50%; margin-left: -6px; transform: rotate(135deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 40px -30px rgba(22, 19, 15, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-links a.is-active::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 12px; padding: 16px; }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--bg); border-bottom-color: var(--border); }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .lead { font-size: 17px; }
  .services-grid, .work-grid, .testimonials { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .section-head.split { align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .cta { padding: 64px 22px; border-radius: 24px; }
  .float-card { display: none; }
  .window-body { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .industry-grid { grid-template-columns: 1fr; }
  .step, .plan { padding: 26px; }
  .step-tag { top: 26px; right: 26px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { flex-direction: column; align-items: center; }
  .pill { font-size: 12.5px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .kpi:nth-child(3) { display: none; }
  .mock-side { display: none; }
  .window-body { grid-template-columns: 1fr; }
  .filters { width: 100%; }
  .filter { flex: 1; padding: 8px 10px; }
  .cta .btn-ghost { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
