/* =========================================================
   Web Development · Powered by Nexum — faithful recreation
   Accent: blue #234de8 · Fonts: General Sans + Inter
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap");

/* ---------- Design tokens ---------- */
:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --ink: #141b17;
  --text: #2b332e;
  --muted: #697069;
  --accent: #234de8;
  --accent-hover: #1c3fc0;

  --green-soft: #e7ebe2;
  --green-card: #e3e9dd;
  --lavender: #e5eafe;
  --cream: #ece4d9;

  --line: #e7e7df;
  --line-strong: #d9d9cf;

  --font-display: "General Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --radius-l: 18px;
  --btn-radius: 8px;

  --shadow-sm: 0 1px 2px rgba(20, 27, 23, 0.05);
  --shadow: 0 20px 50px -28px rgba(20, 27, 23, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}
/* social */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ghost-bg);
  border: 1px solid var(--line);
  color: #1877F2;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}

.footer__social a:hover {
  color: #0A66C2;
  background: rgba(24, 119, 242, 0.12);
  border-color: #1877F2;
  transform: translateY(-2px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer__col a:not(.footer__social a) {
  color: var(--muted-2);
  font-size: 14px;
  transition: color 0.25s;
}

.footer__col a:not(.footer__social a):hover {
  color: var(--accent);
}
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(42px, 5.2vw, 72px); }
.section--tight { padding-block: clamp(30px, 4vw, 48px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}
.section-head { max-width: 760px; }
/* section heading with a "View All" action aligned top-right */
.services-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.services-top .section-head { margin: 0; }
.services-viewall { flex: none; margin-top: 8px; }
@media (max-width: 620px) { .services-viewall { margin-top: 0; } }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.85rem); color: var(--ink); }
.section-intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem);
  max-width: 64ch;
}
.center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), background 0.45s var(--ease),
    color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 12px 24px -12px rgba(35, 77, 232, 0.6); }

.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: #f1f1ea; border-color: var(--muted); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1ea; box-shadow: var(--shadow); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link */
.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--accent); font-size: 0.92rem;
}
.textlink .arrow { transition: transform 0.3s var(--ease); }
.textlink:hover .arrow { transform: translateX(3px); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 14px rgba(20, 27, 23, 0.06); }
.nav {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand { justify-self: start; display: flex; align-items: center; line-height: 1.1; }
.brand__logo { height: 34px; width: auto; display: block; }
.brand strong { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); }
.brand span { font-size: 0.7rem; color: var(--muted); }

.nav-links { justify-self: center; display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 20px; height: 1.8px; background: var(--ink); transition: background 0.2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.8px; background: var(--ink); transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px));
  padding-bottom: clamp(32px, 5vw, 56px);
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero__title { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.6rem); max-width: 20ch; margin-inline: auto; color: var(--ink); }
.hero__text { margin: 20px auto 0; max-width: 64ch; color: var(--muted); font-size: clamp(0.98rem, 0.95rem + 0.3vw, 1.1rem); }
.hero__actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sub-page hero (left aligned) */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;                 /* centered, like the home hero */
  padding-top: calc(var(--header-h) + clamp(30px, 4.5vw, 58px));
  padding-bottom: clamp(22px, 3.5vw, 44px);
}
.page-hero > .container { position: relative; z-index: 1; }
/* soft brand-glow backdrop for a more engaging hero */
.page-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(640px, 58vw); aspect-ratio: 1 / 1; border-radius: 50%;
  top: -50%; right: -4%;
  background: radial-gradient(circle at center, rgba(35, 77, 232, 0.16), rgba(35, 77, 232, 0) 66%);
  filter: blur(34px);
}
.page-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(440px, 44vw); aspect-ratio: 1 / 1; border-radius: 50%;
  bottom: -66%; left: -8%;
  background: radial-gradient(circle at center, rgba(99, 125, 105, 0.14), rgba(99, 125, 105, 0) 70%);
  filter: blur(40px);
}
/* refined pill-badge eyebrow on sub-page heroes */
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 13px; margin-bottom: 20px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  background: rgba(35, 77, 232, 0.05);
}
.page-hero .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.page-hero .hero__title { font-size: clamp(2.1rem, 1.1rem + 4vw, 3.9rem); max-width: 20ch; margin: 0 auto; }
.page-hero .hero__text { margin: 18px auto 0; }
.page-hero .hero__actions { justify-content: center; }
.page-hero.center { text-align: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero.center .hero__title { margin-inline: auto; }
.page-hero.center .hero__text { margin-inline: auto; }

/* =========================================================
   CONCEPT BANNER (device mockup)
   ========================================================= */
.concept {
  position: relative;
  background: var(--green-soft);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 48px);
  perspective: 1200px;
}
.browser {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(20, 27, 23, 0.4);
  max-width: 980px;
  margin-inline: auto;
  transform: scale(0.95);           /* load entrance start; JS ramps to 1 */
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, box-shadow;
  transition: box-shadow 0.5s var(--ease);
}
.phone { will-change: transform; }
.browser__bar {
  text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 12px; border-bottom: 1px solid var(--line);
}
.browser__body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.browser__text { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.browser__kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.browser__title { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem); color: var(--ink); }
.browser__sub { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.browser__btn { align-self: flex-start; margin-top: 22px; }
.browser__img { position: relative; min-height: 240px; }
.browser__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.phone {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  bottom: clamp(-10px, 1vw, 10px);
  width: clamp(130px, 15vw, 180px);
  background: #111; border-radius: 22px; padding: 8px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
}
.phone__screen { background: #fff; border-radius: 15px; overflow: hidden; }
.phone__img { aspect-ratio: 1 / 1; overflow: hidden; }
.phone__img img { width: 100%; height: 100%; object-fit: cover; }
.phone__meta { padding: 10px 12px 12px; }
.phone__meta p { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.phone__meta .btn { padding: 7px 12px; font-size: 11px; width: 100%; }

/* tag row */
.tagrow {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 64px);
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
}

/* =========================================================
   CARD GRIDS (services / features / process / compare)
   ========================================================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon { color: var(--accent); margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; color: var(--ink); }
.card p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.card__feats { list-style: none; padding: 0; margin: 15px 0 0; display: grid; gap: 8px; }
.card__feats li {
  position: relative; padding-left: 20px;
  font-size: 0.86rem; color: var(--muted); line-height: 1.4;
}
.card__feats li::before {
  content: ""; position: absolute; left: 2px; top: 0.52em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.card .btn, .card .textlink { margin-top: 22px; align-self: flex-start; }
.card .btn { padding: 10px 18px; font-size: 0.86rem; }

/* features: 3 cols */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }

/* process: 4 cols */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.step h3 { font-size: 1.12rem; margin-top: 14px; color: var(--ink); }
.step p { color: var(--muted); margin-top: 10px; font-size: 0.92rem; }

/* =========================================================
   WORK / CONCEPTS
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter {
  padding: 9px 18px; border-radius: 7px; border: 1px solid var(--line-strong);
  font-size: 0.88rem; font-weight: 500; color: var(--muted); background: var(--surface);
  transition: all 0.25s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--muted); }
.filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.work-card {
  display: flex; flex-direction: column;
}
.work-card.is-hidden { display: none; }
.work-card__visual {
  border-radius: var(--radius);
  padding: 22px;
  min-height: 210px;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease);
}
.work-card:hover .work-card__visual { transform: translateY(-4px); }
.work-card[data-cat="wordpress"] .work-card__visual { background: var(--green-card); }
.work-card[data-cat="custom"] .work-card__visual { background: var(--lavender); }
.work-card[data-cat="ecommerce"] .work-card__visual { background: var(--cream); }
.work-card__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work-card__visual h3 { font-size: 1.22rem; margin-top: 12px; color: var(--ink); max-width: 16ch; }

/* mini layout mockups inside visual */
.mock { margin-top: auto; padding-top: 18px; display: grid; gap: 7px; }
.mock__bar { height: 12px; border-radius: 4px; background: rgba(20, 27, 23, 0.12); }
.mock__bar.w70 { width: 70%; }
.mock__bar.w50 { width: 50%; }
.mock__row { display: flex; gap: 7px; }
.mock__side { width: 26px; border-radius: 4px; background: var(--accent); }
.mock__col { flex: 1; display: grid; gap: 7px; }
.mock__img { margin-top: auto; height: 86px; border-radius: 6px; overflow: hidden; }
.mock__img img { width: 100%; height: 100%; object-fit: cover; }

.work-card__caption { padding: 16px 2px 0; }
.work-card__caption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.work-card__caption span { font-size: 0.82rem; color: var(--muted); }

/* =========================================================
   Website preview thumbnails (realistic mini-site designs)
   ========================================================= */
.pv {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden;
  background: var(--pv-bg, #fff); color: var(--pv-ink, #141414);
  box-shadow: 0 10px 30px -18px rgba(20, 27, 23, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.pv * { box-sizing: border-box; min-width: 0; }
.pv__bar { height: 6cqi; display: flex; align-items: center; gap: 1.2cqi; padding: 0 3cqi;
  background: color-mix(in srgb, var(--pv-ink) 7%, var(--pv-bg)); }
.pv__bar b { width: 1.5cqi; height: 1.5cqi; border-radius: 50%; background: color-mix(in srgb, var(--pv-ink) 20%, transparent); }
.pv__bar u { margin-left: auto; font-size: 1.9cqi; text-decoration: none; color: color-mix(in srgb, var(--pv-ink) 42%, transparent);
  background: var(--pv-bg); padding: 0.5cqi 3cqi; border-radius: 10cqi; }
.pv__screen { position: absolute; inset: 6cqi 0 0 0; display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease); font-family: var(--font-body); }
.work-card:hover .pv__screen { transform: scale(1.035); }

.pv__nav { display: flex; align-items: center; justify-content: space-between; padding: 3cqi 4cqi; flex: none; }
.pv__logo { font-weight: 800; font-size: 3.6cqi; letter-spacing: -0.03em; color: var(--pv-accent); }
.pv__nav em { display: flex; gap: 2.2cqi; }
.pv__nav em s { width: 5cqi; height: 1.3cqi; border-radius: 1cqi; background: color-mix(in srgb, var(--pv-ink) 20%, transparent); }
.pv__pill { font-size: 2.3cqi; font-weight: 700; color: #fff; background: var(--pv-accent); padding: 1.1cqi 3cqi; border-radius: 6cqi; }

/* --- biz: split hero + feature strip --- */
.pv-biz .pv__hero { flex: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3cqi; padding: 1cqi 4cqi 2cqi; align-items: center; }
.pv-biz h4 { font-family: var(--font-display); font-weight: 700; font-size: 6.4cqi; line-height: 1; letter-spacing: -0.03em; margin: 0 0 2cqi; }
.pv-biz p { font-size: 2.5cqi; line-height: 1.35; color: color-mix(in srgb, var(--pv-ink) 52%, transparent); margin: 0 0 3cqi; }
.pv-biz .pv__hero span { display: inline-block; font-size: 2.3cqi; font-weight: 700; color: #fff; background: var(--pv-accent); padding: 1.5cqi 4cqi; border-radius: 6cqi; }
.pv-biz .pv__art { align-self: stretch; border-radius: 3cqi; background: var(--pv-art); position: relative; overflow: hidden; }
.pv-biz .pv__art::after { content: ""; position: absolute; inset: 0; background: var(--pv-art2, transparent); }
.pv__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; padding: 0 4cqi 4cqi; flex: none; }
.pv__strip i { height: 13cqi; border-radius: 2.4cqi; background: color-mix(in srgb, var(--pv-ink) 5%, var(--pv-bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pv-ink) 7%, transparent); }

/* --- folio: centered hero + gallery --- */
.pv-folio .pv__hero { padding: 4cqi 4cqi 3cqi; text-align: center; flex: none; }
.pv-folio h4 { font-family: var(--font-display); font-weight: 700; font-size: 8cqi; line-height: 0.98; letter-spacing: -0.04em; margin: 0 auto 2cqi; max-width: 15ch; }
.pv-folio p { font-size: 2.4cqi; color: color-mix(in srgb, var(--pv-ink) 50%, transparent); margin: 0; }
.pv-folio .pv__gal { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; padding: 0 4cqi 4cqi; }
.pv-folio .pv__gal i { border-radius: 2.4cqi; }
.pv-folio .pv__gal i:nth-child(1) { background: var(--pv-accent); }
.pv-folio .pv__gal i:nth-child(2) { background: color-mix(in srgb, var(--pv-ink) 82%, var(--pv-bg)); }
.pv-folio .pv__gal i:nth-child(3) { background: var(--pv-art); }

/* --- dash: dashboard app --- */
.pv-dash .pv__screen { display: grid; grid-template-columns: 24% 1fr; }
.pv-dash .pv__side { background: var(--pv-side, color-mix(in srgb, var(--pv-ink) 90%, #000)); padding: 4cqi 3cqi; display: flex; flex-direction: column; gap: 2.6cqi; }
.pv-dash .pv__side b { font-size: 3cqi; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.pv-dash .pv__side s { height: 2cqi; border-radius: 1cqi; background: rgba(255, 255, 255, 0.14); }
.pv-dash .pv__side s.on { background: var(--pv-accent); width: 85%; }
.pv-dash .pv__main { padding: 3.5cqi; display: flex; flex-direction: column; gap: 2.6cqi; background: color-mix(in srgb, var(--pv-ink) 3%, var(--pv-bg)); }
.pv-dash .pv__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; }
.pv-dash .pv__stats i { background: var(--pv-bg); border-radius: 2.4cqi; height: 11cqi; position: relative; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pv-ink) 7%, transparent); }
.pv-dash .pv__stats i::before { content: ""; position: absolute; left: 2.4cqi; top: 2.4cqi; width: 40%; height: 2cqi; border-radius: 1cqi; background: var(--pv-accent); }
.pv-dash .pv__stats i::after { content: ""; position: absolute; left: 2.4cqi; bottom: 2.4cqi; width: 60%; height: 3cqi; border-radius: 1cqi; background: color-mix(in srgb, var(--pv-ink) 16%, transparent); }
.pv-dash .pv__chart { flex: 1; background: var(--pv-bg); border-radius: 3cqi; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pv-ink) 7%, transparent); padding: 3cqi; display: flex; align-items: flex-end; gap: 2.2cqi; }
.pv-dash .pv__chart s { flex: 1; border-radius: 1.5cqi 1.5cqi 0 0; background: color-mix(in srgb, var(--pv-accent) 35%, var(--pv-bg)); }
.pv-dash .pv__chart s:nth-child(even) { background: var(--pv-accent); }

/* --- shop: product grid --- */
.pv-shop .pv__banner { margin: 0 4cqi; border-radius: 3cqi; background: var(--pv-art); padding: 3.5cqi; display: flex; flex-direction: column; justify-content: center; gap: 1.6cqi; flex: none; }
.pv-shop .pv__banner h4 { font-family: var(--font-display); font-weight: 700; font-size: 5.4cqi; line-height: 1; letter-spacing: -0.02em; margin: 0; color: var(--pv-bannertext, #fff); max-width: 18ch; }
.pv-shop .pv__banner span { align-self: flex-start; font-size: 2.1cqi; font-weight: 700; background: var(--pv-bannertext, #fff); color: var(--pv-accent); padding: 1.2cqi 3cqi; border-radius: 6cqi; }
.pv-shop .pv__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; padding: 3cqi 4cqi 4cqi; }
.pv-shop .pv__grid i { border-radius: 2.4cqi; background: color-mix(in srgb, var(--pv-ink) 5%, var(--pv-bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pv-ink) 7%, transparent); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pv-shop .pv__grid i::before { content: ""; height: 62%; background: var(--pv-prod, color-mix(in srgb, var(--pv-accent) 22%, var(--pv-bg))); }
.pv-shop .pv__grid i:nth-child(2)::before { background: var(--pv-prod2, color-mix(in srgb, var(--pv-ink) 14%, var(--pv-bg))); }
.pv-shop .pv__grid i:nth-child(3)::before { background: var(--pv-prod3, var(--pv-art)); }
.pv-shop .pv__grid i::after { content: ""; position: absolute; left: 2cqi; bottom: 2.4cqi; width: 55%; height: 2cqi; border-radius: 1cqi; background: color-mix(in srgb, var(--pv-ink) 22%, transparent); }

/* hover interaction overlay */
.pv__view {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(20, 27, 23, 0.34), rgba(20, 27, 23, 0.06));
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.work-card:hover .pv__view { opacity: 1; }
.pv__view span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--ink);
  background: #fff; padding: 9px 16px; border-radius: 100px;
  transform: translateY(6px); transition: transform 0.35s var(--ease);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.work-card:hover .pv__view span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .work-card:hover .pv__screen { transform: none; } }

@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   SPLIT (pricing teaser / tailored builds)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.split__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.split__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.split__card h3 { font-size: 1.3rem; color: var(--ink); }
.split__card p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }
.split__card .btn { margin-top: 24px; align-self: flex-start; }

/* =========================================================
   PRICING PAGE
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.price-card h3 { font-size: 1.08rem; color: var(--ink); }
.price-card__pages { color: var(--muted); font-size: 0.83rem; margin-top: 3px; }
/* base .price (used by specialist cards) */
.price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--accent); margin: 18px 0; line-height: 1.2; }
.price-card__feats { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; }

/* prominent package price — large, bold, accent; consistent across all pricing cards */
.price-card .price, .compare__col .price {
  font-family: var(--font-display); font-weight: 500; color: var(--accent);
  font-size: 1.3rem; line-height: 1.05; letter-spacing: -0.02em;
}
.price-card .price { margin: 12px 0 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.compare__col .price { margin: 12px 0 12px; }
.price__from {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 5px; text-transform: none;
}
/* deliverables as aligned check-bullets */
.price-card__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.price-card__list li {
  position: relative; padding-left: 25px;
  color: var(--text); font-size: 0.88rem; line-height: 1.35;
}
.price-card__list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(35, 77, 232, 0.14); color: var(--accent);
  font-size: 9px; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
}
.price-card .btn { margin-top: auto; width: 100%; padding-top: 10px; padding-bottom: 10px; }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.compare__col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.compare__col h3 { font-size: 1.2rem; color: var(--ink); }
.compare__col > p { color: var(--muted); margin-top: 12px; font-size: 0.93rem; }
.compare__col .btn { margin-top: 20px; width: 100%; padding-top: 10px; padding-bottom: 10px; }
.compare .compare__col .btn { margin-top: auto; }
.compare__col__feats { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }
.extras-note { margin-top: 30px; color: var(--muted); font-size: 0.92rem; max-width: 90ch; }

/* =========================================================
   ABOUT
   ========================================================= */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.plain-text { color: var(--muted); font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem); max-width: 90ch; margin-top: 16px; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.accordion { margin-top: 36px; display: grid; gap: 12px; }
.acc-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.3s var(--ease);
}
.acc-item.open { box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left; padding: 20px 24px;
  font-family: var(--font-display); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); font-weight: 500; color: var(--ink);
}
.acc-trigger .icon { flex: none; position: relative; width: 20px; height: 20px; }
.acc-trigger .icon::before, .acc-trigger .icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--accent);
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease);
}
.acc-trigger .icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .acc-trigger .icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.acc-panel__inner { padding: 0 24px 22px; color: var(--muted); max-width: 72ch; font-size: 0.95rem; }

/* =========================================================
   CTA band (full-width blue)
   ========================================================= */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: clamp(48px, 7vw, 86px) var(--gutter); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 14px auto 0; max-width: 52ch; font-size: 1rem; }
.cta-band .btn { margin-top: 28px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); margin-top: 44px; align-items: start; }
.contact-info h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); color: var(--ink); }
.contact-info > p { color: var(--muted); margin-top: 14px; font-size: 0.98rem; }
.booking-box { background: var(--green-soft); border-radius: var(--radius); padding: 24px 26px; margin-top: 28px; }
.booking-box h3 { font-size: 1.15rem; color: var(--ink); }
.booking-box p { color: var(--muted); margin-top: 10px; font-size: 0.92rem; }
.contact-details { margin-top: 30px; }
.contact-details h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 16px; }
.contact-details dl { display: grid; gap: 14px; }
.contact-details .row { color: var(--muted); font-size: 0.95rem; }
.contact-details .row strong { color: var(--text); font-weight: 600; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); }
.form__note { font-size: 0.82rem; font-weight: 600; color: var(--ink); background: var(--green-soft); padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fcfcf9; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(35, 77, 232, 0.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1); }
.field .error { color: #c0392b; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid .error { display: block; }
.form .btn { width: 100%; margin-top: 6px; }
.form__success { display: none; text-align: center; padding: 20px; }
.form__success.show { display: block; animation: cardIn 0.5s var(--ease) both; }
.form__success .check { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: var(--green-soft); color: var(--accent); display: grid; place-items: center; }
.form.sent .form__body { display: none; }

/* =========================================================
   LEGAL
   ========================================================= */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; color: var(--ink); }
.legal h3 { font-size: 1.1rem; margin-top: 26px; color: var(--ink); }
.legal p, .legal li { color: var(--muted); margin-top: 13px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--accent); }
.legal__updated { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* =========================================================
   FOOTER (light)
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 64px) 28px; margin-top: clamp(32px, 4.5vw, 60px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand__logo { height: 40px; width: auto; display: block; margin-bottom: 4px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; display: block; color: var(--ink); }
.footer-brand .sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 32ch; font-size: 0.93rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 0.92rem; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-col .muted { color: var(--muted); font-size: 0.82rem; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 0.86rem; color: var(--muted);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--accent); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px;
    transform: translateX(100%); transition: transform 0.35s var(--ease); z-index: 99; overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 22px; font-size: 1rem; padding: 15px; }

  .cards-3, .cards-2, .features, .steps, .price-grid, .compare, .approach, .split, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .browser__body { grid-template-columns: 1fr; }
  .browser__img { min-height: 200px; }
  .phone { position: static; width: 100%; max-width: 220px; margin: 18px auto 0; }
}
@media (max-width: 620px) {
  .cards-3, .cards-2, .features, .steps, .price-grid, .compare, .approach, .split, .work-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .tagrow { gap: 14px; }
}
/* =========================================================
   PREMIUM MOTION ENHANCEMENTS
   (motion only — no change to static design/layout/colors)
   ========================================================= */

/* --- Page load + page transition fade --- */
body { animation: pageIn 0.6s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity 0.32s var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Reveal variants (richer scroll entrances) --- */
.reveal.d4 { transition-delay: 0.28s; }
.reveal.d5 { transition-delay: 0.35s; }
.reveal.fade { transform: none; }
.reveal.zoom { transform: translateY(22px) scale(0.985); }
.reveal.zoom.in { transform: none; }

/* --- Hero ambient aura (homepage hero only) --- */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero__aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__aura span {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(66px); will-change: transform;
}
.hero__aura .a1 {
  width: min(620px, 54vw); aspect-ratio: 1 / 1; top: -14%; left: -6%;
  background: radial-gradient(circle at center, rgba(35, 77, 232, 0.20), rgba(35, 77, 232, 0) 68%);
  animation: auraDrift1 20s ease-in-out infinite;
}
.hero__aura .a2 {
  width: min(560px, 50vw); aspect-ratio: 1 / 1; top: 2%; right: -8%;
  background: radial-gradient(circle at center, rgba(99, 125, 105, 0.18), rgba(99, 125, 105, 0) 70%);
  animation: auraDrift2 26s ease-in-out infinite;
}

/* animated particle field (drifting, twinkling) behind hero content */
.hero__particles {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  display: block;
  transform-origin: 50% 42%;
  will-change: transform;
}

/* scroll-linked hero motion (home): content parallaxes up + fades,
   aura fades — the particle zoom/brighten is driven in JS.
   --hp (0 at top → 1 when the hero is scrolled past) is set by JS. */
.hero > .container {
  transform: translate3d(0, calc(var(--hp, 0) * -100px), 0);
  opacity: calc(1 - var(--hp, 0) * 1.35);
  will-change: transform, opacity;
}
.hero .hero__aura { opacity: calc(1 - var(--hp, 0) * 0.85); }
@keyframes auraDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 6%, 0) scale(1.08); }
}
@keyframes auraDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-5%, 4%, 0) scale(1.1); }
}

/* --- Hero headline word-by-word rise (wrapped by JS) --- */
.hero__title .word { display: inline-block; }
.hero__title .word > i {
  display: inline-block; font-style: inherit;
  opacity: 0; transform: translateY(0.5em);
  transition: opacity 0.9s var(--ease), transform 1.05s var(--ease);
}
.hero__title.words-in .word > i { opacity: 1; transform: none; }

/* slower, more gradual hero text entrance (all pages) */
.hero .reveal, .page-hero .reveal { transition-duration: 1s; }

/* =========================================================
   CUSTOM CURSOR (fine-pointer devices only; added by JS)
   ========================================================= */
.cursor {
  --x: -100px; --y: -100px; --s: 1;
  position: fixed; top: 0; left: 0; z-index: 10000;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--accent);
  pointer-events: none;
  transform: translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0) scale(var(--s));
  transition: width 0.28s var(--ease), height 0.28s var(--ease),
    background-color 0.28s var(--ease), border-color 0.28s var(--ease), opacity 0.2s var(--ease);
  will-change: transform;
}
.cursor--hover { width: 34px; height: 34px; background: transparent; }
.cursor--down { --s: 0.78; }
.cursor--hidden { opacity: 0; }
/* white over blue surfaces so it stays visible (size/shape unchanged) */
.cursor--light { background: #fff; border-color: #fff; }
.cursor--hover.cursor--light { background: transparent; border-color: #fff; }

html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea,
html.has-cursor select, html.has-cursor [contenteditable] { cursor: text !important; }

/* =========================================================
   Button hover: colour fill expands from the cursor + label above
   ========================================================= */
.btn { position: relative; overflow: hidden; isolation: isolate; --fill: var(--accent); }
.btn__t, .btn > svg { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 100%);
  width: 0; aspect-ratio: 1 / 1;
  background: var(--fill);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.btn:hover::before { width: 320%; }

/* per-variant fill colour (keeps each button's own palette) */
.btn--primary { --fill: var(--accent-hover); }
.btn--ghost   { --fill: var(--accent); }
.btn--light   { --fill: #e4eafe; }
.btn--dark    { --fill: #000; }

/* keep the rest-state background during hover so the fill does the work */
.btn--primary:hover { background: var(--accent); box-shadow: 0 12px 24px -12px rgba(35, 77, 232, 0.6); }
.btn--ghost:hover   { background: var(--surface); border-color: var(--line-strong); }
.btn--ghost:hover .btn__t, .btn--ghost:hover .arrow { color: #fff; }
.btn--light:hover   { background: #fff; box-shadow: var(--shadow); }
.btn--dark:hover    { background: var(--ink); }

/* --- Mockup float / 3D tilt / parallax are driven in JS (conceptFX) --- */

/* --- Card icon micro-interaction on hover --- */
.card__icon svg { transition: transform 0.45s var(--ease); transform-origin: center bottom; }
.card:hover .card__icon svg { transform: translateY(-4px) scale(1.1) rotate(-3deg); }

/* --- Image zoom (portfolio + concept) --- */
.mock__img { overflow: hidden; }
.mock__img img { transition: transform 0.6s var(--ease); }
.work-card:hover .mock__img img { transform: scale(1.07); }
.browser__img { overflow: hidden; }
.browser__img img { transition: transform 0.7s var(--ease); }
.concept:hover .browser__img img { transform: scale(1.04); }

/* --- Button polish: gentle scale + press feedback --- */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-2px) scale(1.015); }
.btn:active { transform: translateY(0) scale(0.985); }

/* --- Nav link animated underline (hover only; active unchanged) --- */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* --- Filter chips press feedback --- */
.filter { will-change: transform; }
.filter:active { transform: scale(0.96); }

/* --- Work / pricing / step hover lift refinement (shadow fade already set) --- */
.price-card, .work-card__visual, .split__card, .step, .card { will-change: transform; }

/* --- Animated success checkmark (draw-in) --- */
.form__success .check svg path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
}
.form__success.show .check svg path {
  animation: drawCheck 0.5s var(--ease) 0.2s forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* --- Accordion content fades as it expands --- */
.acc-panel__inner { opacity: 0; transition: opacity 0.35s var(--ease) 0.05s; }
.acc-item.open .acc-panel__inner { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  body { animation: none; opacity: 1; }
  .browser { animation: none; transform: scale(1); }
  .phone { animation: none; transform: none; }
  .acc-panel__inner { opacity: 1; }
  .hero__aura span { animation: none; }
  .hero__title .word > i { opacity: 1; transform: none; }
}

/* =========================================================
   Toast notifications — fixed top-right, auto-dismiss.
   Used by the contact form for API/submission errors so the
   form layout itself is never shifted by a status banner.
   ========================================================= */
.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 260px;
  max-width: 380px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.toast--show  { opacity: 1; transform: translateX(0); }
.toast--leave { opacity: 0; transform: translateX(16px); }
.toast--error   { border-left-color: #c0392b; }
.toast--success { border-left-color: #2a7a3a; }
.toast__icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 122, 58, 0.12);
  color: #2a7a3a;
}
.toast__icon svg { display: block; width: 14px; height: 14px; }
.toast__msg { flex: 1; word-wrap: break-word; overflow-wrap: anywhere; }
.toast__close {
  flex: none;
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.toast__close:hover { color: var(--ink); background: rgba(20, 27, 23, 0.06); }
@media (max-width: 600px) {
  .toast-stack { top: 12px; right: 12px; left: 12px; max-width: none; }
  .toast { min-width: 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .toast        { transition: opacity 0.15s; transform: none; }
  .toast--show  { transform: none; }
  .toast--leave { transform: none; }
}

/* =========================================================
   Form submit button: layout stability across every state
   (rest / hover / focus / active / loading / submission).
   Scoped to .form so the site-wide button hover lift is
   unchanged for CTAs elsewhere on the site.
   ========================================================= */
.form .btn {
  min-height: 50px;         /* reserve vertical space before any state swap */
}
.form .btn:hover,
.form .btn:focus,
.form .btn:active {
  /* Override the global .btn:hover translate+scale so the form button
     does not shift while the rest of the form stays visually anchored. */
  transform: none;
}
.form .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.form .btn[aria-busy="true"],
.form .btn.is-loading,
.form .btn[disabled] {
  cursor: default;
  opacity: 0.9;
}
.form .btn::before {
  /* Remove the global button hover-fill pseudo-element inside the
     form card entirely. Its growth to 320% width, combined with the
     button's overflow:hidden, triggers paint + overflow recomputation
     inside .form__body on every hover frame — which reads as the
     whole card shaking. The subtle background-color + box-shadow
     transition on .btn--primary:hover is the only hover feedback the
     submit button needs. */
  display: none;
}
.form .btn .btn__t {
  position: relative;
  z-index: 2;
  display: inline-block;     /* stable baseline so text can't wobble */
}
