/* =========================================================
   Visuals Valley — main stylesheet
   Neutral, editorial base; brand colours (from the logo) used as accents only
   ========================================================= */
:root {
  --brand: #a1215a;
  --brand-600: #85194a;
  --brand-50: #fbf1f5;
  --coral: #f0784a;
  --grad: linear-gradient(110deg, #8a1a5c 0%, #c43a5e 50%, #f0784a 100%);

  --ink: #0f0d13;
  --ink-2: #3f3a47;
  --muted: #6b6574;
  --line: #e7e4eb;
  --line-2: #d9d5de;
  --bg: #ffffff;
  --surface: #f8f7fa;
  --dark: #121016;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", var(--font);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-xs: 0 1px 2px rgba(16, 12, 20, .06);
  --shadow-sm: 0 1px 2px rgba(16, 12, 20, .05), 0 4px 12px -4px rgba(16, 12, 20, .08);
  --shadow: 0 2px 4px rgba(16, 12, 20, .04), 0 16px 40px -16px rgba(16, 12, 20, .16);
  --shadow-lg: 0 4px 8px rgba(16, 12, 20, .04), 0 32px 64px -24px rgba(16, 12, 20, .25);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: #f6d5e2; color: var(--ink); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-star { fill: #f5a524; stroke: none; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font: 600 .9375rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--brand-600); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1eff4; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 50px; width: auto; mix-blend-mode: multiply; }

.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a {
  display: block; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.primary-nav ul a:hover { color: var(--ink); background: var(--surface); }
.primary-nav ul a.active { color: var(--ink); font-weight: 600; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
  opacity: .6;
}
.hero-bg::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(240, 120, 74, .14), transparent),
              radial-gradient(closest-side at 30% 70%, rgba(161, 33, 90, .12), transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .8125rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-xs); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust p { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.hero-trust strong { color: var(--ink); }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px;
  display: grid; place-items: center; font-size: .6875rem; font-weight: 700; color: #fff; background: var(--brand);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: #d4553f; }
.avatars span:nth-child(3) { background: #3f3a47; }
.avatars span:nth-child(4) { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 0 0 2px #fff; }

/* Hero showcase — a believable mini product drawn in HTML */
.showcase { position: relative; padding: 0 48px 56px 0; }
.sc-browser { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.bw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.bw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2dee7; }
.bw-bar i:nth-child(1) { background: #ff6058; } .bw-bar i:nth-child(2) { background: #ffbd2e; } .bw-bar i:nth-child(3) { background: #28c940; }
.bw-bar span { flex: 1; max-width: 220px; margin: 0 auto; padding: 3px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .6875rem; color: var(--muted); text-align: center; }
.sc-page { padding: 16px 22px 22px; font-size: 11px; color: var(--muted); }
.sc-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.sc-nav b { font-family: var(--font-display); font-size: 14px; color: var(--ink); margin-right: auto; }
.sc-nav em { font-style: normal; font-weight: 600; color: #fff; background: var(--ink); padding: 5px 10px; border-radius: 6px; }
.sc-hero { text-align: center; margin-bottom: 22px; }
.sc-pill { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 600; font-size: 10px; }
.sc-h { font-family: var(--font-display); font-weight: 800; font-size: 25px; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin: 0 0 8px; }
.sc-sub { margin: 0 auto 14px; max-width: 280px; line-height: 1.5; }
.sc-btns { display: flex; justify-content: center; gap: 8px; }
.sc-btns em, .sc-btns span { font-style: normal; font-weight: 600; padding: 7px 12px; border-radius: 7px; }
.sc-btns em { background: var(--brand); color: #fff; }
.sc-btns span { border: 1px solid var(--line); color: var(--ink); }
.sc-dash { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 10px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.sc-kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 2px; }
.sc-kpi strong { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.sc-kpi small { color: #16a34a; font-weight: 600; }
.sc-bars { display: flex; align-items: flex-end; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; height: 86px; }
.sc-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--brand), var(--coral)); opacity: .85; }

.sc-phone {
  position: absolute; right: 0; bottom: 0; width: 200px; padding: 12px 12px 10px;
  background: #fff; border: 7px solid var(--dark); border-radius: 32px; box-shadow: var(--shadow-lg);
  font-size: 10px; color: var(--muted);
}
.ph-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--ink); font-size: 9px; margin-bottom: 10px; }
.ph-top i { width: 44px; height: 12px; border-radius: 8px; background: var(--dark); }
.ph-hello { margin: 0; }
.sc-ph-title { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1.2; color: var(--ink); margin: 2px 0 10px; }
.ph-search { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; min-height: 26px; }
.ph-search .icon { width: 11px; height: 11px; }
.sc-chips { display: flex; gap: 5px; margin-bottom: 10px; }
.sc-chips span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.sc-chips .on { background: var(--coral); border-color: var(--coral); color: #fff; }
.sc-food { border: 1px solid var(--line); border-radius: 12px; padding: 6px; margin-bottom: 10px; display: grid; gap: 1px; }
.sc-food-img { height: 74px; border-radius: 8px; margin-bottom: 6px; background: radial-gradient(circle at 50% 55%, #f7c873 0 20%, #e4572e 21% 34%, #f3d9a4 35% 46%, transparent 47%), linear-gradient(135deg, #fde3d4, #f7b79b); }
.sc-food b { color: var(--ink); font-size: 11px; }
.ph-tabs { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--line); }
.ph-tabs i { width: 14px; height: 14px; border-radius: 5px; background: #e6e2ea; }
.ph-tabs i.on { background: var(--ink); }

.sc-float {
  position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.sc-float-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #ecfdf3; color: #16a34a; }
.sc-float strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.sc-float span { font-size: .75rem; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats-band { border-block: 1px solid var(--line); background: var(--surface); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: 32px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-size: .875rem; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.tech-marquee {
  display: flex; overflow: hidden; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tech { flex-shrink: 0; display: flex; gap: 64px; list-style: none; margin: 0; padding: 22px 64px 22px 0; animation: marquee 32s linear infinite; }
.tech-marquee:hover .tech { animation-play-state: paused; }
.tech li { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #a49dab; letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.tech li:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-flush-top { padding-top: 8px; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin: 0; max-width: 620px; }
.section-head-aside p { margin: 0 0 12px; font-size: 1.0625rem; color: var(--muted); max-width: 460px; }
.section-head-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sub-heading { font-size: clamp(1.5rem, 3vw, 2rem); margin: 64px 0 28px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { margin-top: 3px; width: 16px; height: 16px; color: var(--brand); stroke-width: 2.5; }

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 22px; }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card > p { font-size: .9375rem; color: var(--muted); }
.service-card .check-list { margin: 4px 0 24px; flex: 1; font-size: .875rem; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--ink); }
.card-more .icon { transition: transform .2s; }
.service-card:hover .card-more { color: var(--brand); }
.service-card:hover .card-more .icon { transform: translateX(3px); }

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: fit-content; }
.filter { text-decoration: none; font-weight: 500; font-size: .875rem; padding: 8px 16px; border-radius: 8px; color: var(--muted); transition: background .15s, color .15s; }
.filter:hover { color: var(--ink); background: var(--surface); }
.filter.is-active { background: var(--ink); color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-grid-3 { grid-template-columns: repeat(3, 1fr); }
.project {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.project:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.project-link { display: block; }
.project .thumb { aspect-ratio: 16 / 10; padding: 32px 40px 0; }
.project-grid-3 .project .thumb { padding: 22px 24px 0; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; border-top: 1px solid var(--line); }
.project-meta { margin: 0 0 8px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.project-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.project-body h3 a { text-decoration: none; }
.project-body > p:not(.project-meta) { flex: 1; color: var(--muted); font-size: .9375rem; }
.project-results { display: flex; gap: 32px; margin: 4px 0 20px; padding: 16px 0 0; border-top: 1px dashed var(--line); }
.project-results div { display: flex; flex-direction: column-reverse; }
.project-results dt { font-size: .8125rem; color: var(--muted); }
.project-results dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); }
.project:hover .card-more { color: var(--brand); }
.project:hover .card-more .icon { transform: translateX(3px); }

/* Project thumbnails: per-project accent */
.t1 { --accent: #a1215a; } .t2 { --accent: #ef6c3a; } .t3 { --accent: #5b4bd6; } .t4 { --accent: #d1416d; }
.t5 { --accent: #12936a; } .t6 { --accent: #18151c; } .t7 { --accent: #2563eb; } .t8 { --accent: #a1215a; }
.thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; padding: 22px 22px 0;
  background: color-mix(in srgb, var(--accent, var(--brand)) 9%, #fff);
  display: flex; align-items: flex-end; justify-content: center;
}
.thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.thumb > * { position: relative; }
.thumb-img { padding: 0; background: var(--surface); }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.project .thumb > * { transition: transform .35s ease; }
.project:hover .thumb > * { transform: translateY(-4px); }

/* web */
.bw { width: 100%; height: 100%; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -2px 24px -6px rgba(16,12,20,.18); overflow: hidden; font-size: 8px; }
.bw .bw-bar { padding: 6px 8px; gap: 4px; }
.bw .bw-bar i { width: 6px; height: 6px; }
.bw .bw-bar span { font-size: 7px; padding: 1px 6px; max-width: 120px; }
.bw-nav { display: flex; align-items: center; gap: 6px; padding: 8px 10px; }
.bw-nav b { font-family: var(--font-display); font-size: 10px; color: var(--ink); margin-right: auto; }
.bw-nav span { width: 18px; height: 4px; border-radius: 2px; background: #e6e2ea; }
.bw-nav em { width: 26px; height: 10px; border-radius: 3px; background: var(--accent); }
.bw-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 6px 10px 10px; align-items: center; }
.bw-copy { display: grid; gap: 5px; }
.bw-copy strong { display: block; height: 8px; border-radius: 3px; background: var(--ink); }
.bw-copy strong.short { width: 70%; }
.bw-copy span { height: 4px; border-radius: 2px; background: #e6e2ea; width: 90%; margin-top: 3px; }
.bw-copy em { width: 40px; height: 11px; border-radius: 3px; background: var(--accent); margin-top: 4px; }
.bw-media { aspect-ratio: 4/3; border-radius: 6px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); }
.bw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 10px; }
.bw-cards i { height: 36px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); }

/* app */
.thumb-app { gap: 12px; }
.ph {
  width: 38%; height: 92%; background: #fff; border: 4px solid var(--dark); border-bottom: 0; border-radius: 18px 18px 0 0;
  padding: 8px 8px 0; font-size: 6px; color: var(--muted); box-shadow: 0 -2px 24px -6px rgba(16,12,20,.22); display: flex; flex-direction: column; gap: 5px;
}
.ph .ph-top { font-size: 6px; margin-bottom: 2px; }
.ph .ph-top i { width: 22px; height: 6px; }
.ph-hello { font-size: 6px; }
.ph-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 10px; color: var(--ink); line-height: 1.1; }
.ph .ph-search { min-height: 12px; padding: 0; margin: 0; border-radius: 4px; }
.ph-card { height: 34px; border-radius: 6px; background: var(--accent); padding: 5px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.ph-card b { font-size: 6px; opacity: .85; }
.ph-card em { width: 50%; height: 5px; border-radius: 2px; background: rgba(255,255,255,.8); }
.ph-row { display: flex; gap: 4px; align-items: center; }
.ph-row i { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 20%, #fff); }
.ph-row span { flex: 1; height: 4px; border-radius: 2px; background: #e6e2ea; }
.ph .ph-tabs { margin-top: auto; padding: 5px 0 6px; }
.ph .ph-tabs i { width: 8px; height: 8px; border-radius: 3px; }
.ph .ph-tabs i.on { background: var(--accent); }
.ph-back { height: 80%; }
.ph-hero { height: 40%; border-radius: 6px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); }
.ph-lines { display: grid; gap: 3px; }
.ph-lines i { height: 4px; border-radius: 2px; background: #e6e2ea; }
.ph-lines i:last-child { width: 60%; }
.ph-btn { margin-top: auto; margin-bottom: 8px; text-align: center; padding: 4px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; }

/* dashboard */
.db { width: 100%; height: 100%; display: flex; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -2px 24px -6px rgba(16,12,20,.18); font-size: 7px; color: var(--muted); }
.db-side { width: 24%; padding: 10px 8px; background: var(--dark); display: flex; flex-direction: column; gap: 6px; }
.db-side b { font-family: var(--font-display); color: #fff; font-size: 1.3em; margin-bottom: 4px; }
.db-side i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.db-side i.on { background: var(--accent); }
.db-main { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.db-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.db-kpis div { border: 1px solid var(--line); border-radius: 5px; padding: 5px 6px; display: grid; }
.db-kpis strong { font-family: var(--font-display); font-size: 1.45em; color: var(--ink); }
.db-chart { flex: 1; display: flex; align-items: flex-end; gap: 5px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
.db-chart i { flex: 1; border-radius: 2px 2px 0 0; background: var(--accent); opacity: .85; }
.db-chart i:nth-child(odd) { opacity: .45; }

.shop-note { margin: 40px 0 0; text-align: center; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.lead-sm { font-size: 1.0625rem; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why-list li { padding: 32px 28px; }
.why-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.why-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.why-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--brand); margin-bottom: 18px; box-shadow: var(--shadow-xs); }
.why-list h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.why-list p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .875rem; color: var(--brand); padding: 4px 10px; border-radius: 999px; background: var(--brand-50); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { margin: 0; font-size: 1.25rem; }
.badge { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.plan-desc { margin: 8px 0 24px; font-size: .9375rem; color: var(--muted); }
.plan-price { margin: 0 0 24px; font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan-price .from { display: block; margin-bottom: 8px; font-family: var(--font); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan .btn { margin-bottom: 28px; }
.plan .check-list { padding-top: 24px; border-top: 1px solid var(--line); }
.plan-featured { background: var(--dark); border-color: var(--dark); box-shadow: var(--shadow-lg); }
.plan-featured h3, .plan-featured .plan-price { color: #fff; }
.plan-featured .plan-desc, .plan-featured .plan-price .from { color: #a49dab; }
.plan-featured .check-list { color: #d9d4de; border-color: rgba(255,255,255,.12); }
.plan-featured .check-list .icon { color: var(--coral); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.quote .stars { margin-bottom: 16px; }
.quote blockquote { flex: 1; margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .8125rem; font-weight: 700; color: var(--brand); background: var(--brand-50); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro p:not(.eyebrow) { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--brand); }
.faq details p { margin: -6px 0 22px; padding-right: 44px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 104px; }
.section-alt + .cta-band { padding-top: 104px; }
.cta-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px; border-radius: 24px; background: var(--dark); color: #b9b2bf;
}
.cta-inner::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, rgba(196, 58, 94, .45), transparent); pointer-events: none; }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 10px; }
.cta-inner p { margin: 0; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Inner page hero & breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 48px; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 840px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Service detail */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.deliverable-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.deliverable-icon .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.deliverable h3 { font-size: 1rem; margin-bottom: 4px; }
.deliverable p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* Case study */
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 32px; border-block: 1px solid var(--line); }
.case-facts div { padding: 18px 20px 18px 0; }
.case-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.case-facts dt { font-size: .8125rem; color: var(--muted); }
.case-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.case-preview .thumb { aspect-ratio: 16 / 8; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 12% 0; }
.case-preview .bw, .case-preview .db { font-size: 12px; }
.case-preview .db-chart { max-height: 260px; }
.case-preview .ph { width: 22%; font-size: 9px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 72px; }
.case-results div { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.case-results dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; color: var(--brand); }
.case-results dt { margin-top: 6px; color: var(--ink-2); }
.case-body { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.case-aside { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); }
.case-aside-title { font-family: var(--font); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.case-aside .check-list { margin-bottom: 24px; }
.case-aside .check-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.case-aside .check-list a:hover { color: var(--brand); }
.case-content { max-width: 720px; }
.case-content h2 { font-size: 1.75rem; margin: 0 0 16px; }
.case-content p + h2 { margin-top: 48px; }
.case-content p { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.75; }

/* Process page timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline-step { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline-step .step-num { margin: 4px 0 0; justify-self: start; }
.timeline-copy h2 { font-size: 1.5rem; margin-bottom: 8px; }
.timeline-copy p { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 440px; }
.timeline-step .check-list { padding: 20px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-page { overflow: hidden; padding: 64px 0 88px; }
.contact-page + .section { padding-top: 0; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.contact-page h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }
.contact-info { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; max-width: 420px; }
.contact-info li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.contact-info small { display: block; font-size: .8125rem; color: var(--muted); }
.contact-info a, .contact-info span:not(.ci-icon) { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-info a:hover { color: var(--brand); }
.ci-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }

.contact-form { display: grid; gap: 18px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 14px; font: 400 .9375rem/1.5 var(--font); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-xs);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6574' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding-right: 40px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(161, 33, 90, .12); }
.contact-form .invalid { border-color: #dc2626; }
.error { color: #dc2626; font-weight: 500; font-size: .8125rem; }
.optional { font-weight: 400; color: var(--muted); }
.form-note { margin: -6px 0 0; text-align: center; font-size: .8125rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { justify-items: center; text-align: center; padding: 56px 32px; }
.form-success p { color: var(--muted); }
.success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #ecfdf3; color: #16a34a; }
.success-icon .icon { width: 26px; height: 26px; stroke-width: 2.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a49dab; padding: 80px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid > div:first-child p { max-width: 300px; }
.footer-logo img { height: 56px; width: auto; padding: 6px 10px; border-radius: 10px; background: #fff; margin-bottom: 20px; }
.site-footer .footer-title { font-family: var(--font); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .875rem; }
.footer-bottom p { margin: 0; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .lead { margin-inline: auto; }
.error-page .hero-ctas { justify-content: center; }

/* ---------- Scroll reveal (subtle) ---------- */
/* ---------- Animations ----------
   Entrances use `animation` with fill-mode "backwards" so that once they finish,
   elements fall back to their normal styles and hover transitions keep working. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

@keyframes rise { from { opacity: 0; translate: 0 24px; } }
@keyframes rise-left { from { opacity: 0; translate: -32px 0; } }
@keyframes rise-right { from { opacity: 0; translate: 48px 0; } }
@keyframes zoom-in { from { opacity: 0; scale: .95; } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes drift { to { translate: -8% 10%; scale: 1.15; } }
@keyframes bar-grow { from { transform: scaleY(0); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 100% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } }
@keyframes pop { 0% { scale: .6; opacity: 0; } 60% { scale: 1.12; } }

/* Scroll-triggered reveals (JS adds .in and a per-item --reveal-delay for stagger) */
.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: rise .8s var(--ease-out) var(--reveal-delay, 0s) backwards; }
.js .reveal-left.in { animation-name: rise-left; }
.js .reveal-scale.in { animation-name: zoom-in; }

/* Hero entrance */
.js .hero-copy > *, .js .page-hero .container > * { animation: rise .9s var(--ease-out) backwards; }
.js .hero-copy > :nth-child(2), .js .page-hero .container > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3), .js .page-hero .container > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4), .js .page-hero .container > :nth-child(4) { animation-delay: .24s; }
.js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .sc-browser { animation: rise-right 1.1s var(--ease-out) .2s backwards; }
.js .sc-phone { animation: rise 1s var(--ease-out) .5s backwards, float 6s ease-in-out 1.6s infinite; }
.js .sc-float { animation: pop .7s var(--ease-out) .9s backwards, float 5s ease-in-out 2s infinite reverse; }
.showcase { transform-style: preserve-3d; transition: transform .6s var(--ease-out); will-change: transform; }

/* Ambient motion */
.hero-bg::after { animation: drift 18s ease-in-out infinite alternate; }
.hero-badge .dot { animation: pulse-ring 2s ease-out infinite; }
.grad-text {
  background-image: linear-gradient(110deg, #8a1a5c, #c43a5e, #f0784a, #c43a5e, #8a1a5c);
  background-size: 200% auto;
  animation: shimmer 8s linear infinite;
}

/* Rotating hero phrase */
.rotator { display: inline-block; transition: opacity .35s ease, translate .35s var(--ease-out), filter .35s ease; }
.rotator.is-out { opacity: 0; translate: 0 -.35em; filter: blur(4px); }
.rotator.is-in { opacity: 0; translate: 0 .35em; filter: blur(4px); transition: none; }

/* Charts grow into view */
.js .sc-bars i, .js .reveal.in .db-chart i { transform-origin: bottom; animation: bar-grow .9s var(--ease-out) backwards; }
.js .sc-bars i { animation-delay: calc(.6s + var(--i, 0) * 50ms); }
.js .reveal.in .db-chart i { animation-delay: calc(var(--reveal-delay, 0s) + .3s + var(--i, 0) * 50ms); }

/* Process step numbers pop in */
.js .steps li.in .step-num, .js .timeline-step.in .step-num { animation: pop .6s var(--ease-out) calc(var(--reveal-delay, 0s) + .2s) backwards; }

/* Hover micro-interactions */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  translate: -110% 0; transition: translate .7s var(--ease-out);
}
.btn-primary:hover::after { translate: 110% 0; }
.service-icon, .why-icon { transition: background .25s, color .25s, transform .35s var(--ease-out), border-color .25s; }
.service-card:hover .service-icon { background: var(--brand); color: #fff; transform: rotate(-8deg) scale(1.06); }
.why-list li:hover .why-icon { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.why-list li { transition: background .25s; }
.why-list li:hover { background: var(--surface); }
.steps li { transition: border-color .2s, box-shadow .2s, transform .2s; }
.steps li:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.case-results div { transition: transform .25s var(--ease-out), box-shadow .25s; }
.case-results div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Header compacts on scroll (desktop) */
.nav-wrap, .brand img { transition: height .3s var(--ease-out); }
@media (min-width: 901px) {
  .site-header.scrolled .nav-wrap { height: 64px; }
  .site-header.scrolled .brand img { height: 42px; }
}

/* Reading progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
}

/* Smooth FAQ open/close (height animated in JS) */
.faq details p { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards-3, .steps, .deliverables, .project-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .case-body { grid-template-columns: 1fr; gap: 40px; }
  .case-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-110%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .primary-nav ul a:hover { background: none; }

  .hero { padding: 48px 0 64px; }
  .hero-grid, .why-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline-step { grid-template-columns: 1fr; gap: 16px; }
  .showcase { max-width: 600px; width: 100%; margin-inline: auto; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pricing-grid, .testimonials { grid-template-columns: 1fr; max-width: 520px; }
  .faq-intro { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .cta-band { padding-bottom: 80px; }
  .section-alt + .cta-band { padding-top: 80px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filter { flex-shrink: 0; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .cards-3, .project-grid-3, .steps, .field-row, .deliverables, .case-results { grid-template-columns: 1fr; }
  .case-results { margin-bottom: 48px; }
  .project .thumb { padding: 20px 20px 0; }
  .project-body { padding: 20px; }
  .case-preview .thumb { padding: 24px 16px 0; aspect-ratio: 4 / 3; }
  .case-preview .bw, .case-preview .db { font-size: 8px; }
  .case-preview .ph { width: 38%; font-size: 6px; }
  .why-list { grid-template-columns: 1fr; }
  .why-list li:nth-child(odd) { border-right: 0; }
  .why-list li:not(:last-child) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand img { height: 42px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .showcase { padding: 0 0 72px; }
  .sc-page { padding: 12px 14px 14px; }
  .sc-nav span { display: none; }
  .sc-h { font-size: 20px; }
  .sc-dash { grid-template-columns: 1fr 1fr; }
  .sc-bars { display: none; }
  .sc-phone { width: 150px; right: -6px; bottom: 0; transform: scale(.9); transform-origin: bottom right; }
  .sc-float { left: 0; bottom: 8px; }
  .stats > div { padding: 22px 16px; }
  .stats dd { font-size: 1.75rem; }
  .contact-form { padding: 24px 20px; }
}

/* Touchscreens: give small text links a ~44px tap area */
@media (pointer: coarse) {
  .breadcrumbs ol { align-items: center; }
  .breadcrumbs a, .site-footer ul a, .footer-bottom a, .link-arrow, .contact-info a, .case-aside .check-list a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .breadcrumbs a { min-width: 44px; }
  .case-aside .check-list { gap: 0; }
  .case-aside .check-list .icon { margin-top: 14px; }
  .filter { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-sm { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .breadcrumbs ol { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.in) { opacity: 1; }
  .showcase { transform: none !important; }
  .scroll-progress { display: none; }
}
