/* ==========================================================
   تسعين — Tis'een  |  main stylesheet
   Display: Zain (swashes VF, "long" axis)  ·  Text: Rubik
   ========================================================== */

@font-face {
  font-family: "Zain";
  src: url("../fonts/zain-swashes.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+0640;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-arabic.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --lime: #c6ff33;
  --violet: #7d39eb;
  --stone: #5c5c5c;      /* secondary text on white (7:1) */
  --ash: #a6a6a6;        /* secondary text on black (8:1) */
  --line: #e3e3e3;
  --line-dark: #2a2a2a;
  --wash: #f4f4f4;

  --display: "Zain", "Rubik", system-ui, sans-serif;
  --text: "Rubik", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* no CSS smooth scrolling: it fights ScrollTrigger’s refresh and the page-top reset (Lenis handles smoothness) */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--violet); color: var(--paper); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; inset-inline-start: 16px; top: -120px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Latin terms inside Arabic headings fall back to Rubik; keep them quiet */
.term { font-family: var(--text); font-weight: 500; font-size: .42em; letter-spacing: 0; color: var(--stone); vertical-align: middle; white-space: nowrap; }
.on-ink .term, .ink .term { color: var(--ash); }
.num { font-family: var(--text); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---------- display type ---------- */
.d1, .d2, .d3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "long" 0;
  letter-spacing: 0;
}
.d1 { font-size: clamp(2.6rem, 6.6vw, 6.4rem); line-height: 1.22; text-wrap: balance; }
.d2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.3; text-wrap: balance; }
.d3 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1.4; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.85; color: var(--stone); max-width: 38em; }
.ink .lead { color: var(--ash); }
.muted { color: var(--stone); }

/* the swash: a stretchable final letter */
.sw { font-variation-settings: "long" var(--long, 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 1.6em;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; background: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.ink .btn--ghost { border-color: var(--paper); color: var(--paper); }
.ink .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.ink .btn--lime:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn:active { transform: scale(.98); }

.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; padding-block: .3em;
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 100% 1.5px;
  transition: background-size .35s var(--ease);
}
.link:hover { background-size: 0 1.5px; background-position: 0 100%; }
.link svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(-4px); }

/* the logo's dot — a rounded diamond, used as the brand marker */
.dot {
  display: inline-block; width: .5em; height: .5em; flex: none;
  background: var(--lime); border-radius: 22%;
  transform: rotate(45deg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 40px; height: 40px; color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 1.7rem; line-height: 1; padding-top: .1em; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { position: relative; font-weight: 500; font-size: 1rem; padding-block: 6px; color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--violet); }
.header-cta { min-height: 44px; padding-inline: 1.3em; font-size: .95rem; }

.menu-btn {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  position: relative; margin-inline-end: -10px;
}
.menu-btn span {
  position: absolute; inset-inline: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-open .menu-btn span { background: var(--paper); }
.menu-open .menu-btn span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav a {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: clamp(2.2rem, 11vw, 3.4rem); line-height: 1.5;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s, transform .5s var(--ease);
}
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu nav a[aria-current="page"] .dot { opacity: 1; }
.mobile-menu nav a .dot { font-size: .35em; opacity: 0; }
.mobile-menu .btn { width: 100%; }
.menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .brand svg { color: var(--paper); }
.menu-open .brand-name { color: var(--paper); }
.menu-open .header-cta { visibility: hidden; }
html.menu-lock { overflow: hidden; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .brand svg { width: 36px; height: 36px; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.ink { background: var(--ink); color: var(--paper); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 52rem; }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 120px); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hero h1 { max-width: 11.5em; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: clamp(20px, 2.5vw, 32px); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.5vw, 44px); }
.hero-mark { width: clamp(200px, 27vw, 400px); aspect-ratio: 1; color: var(--ink); }
.hero-mark svg { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* load sequence (only when motion is OK; JS adds .is-ready) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { opacity: 0; transform: translateY(.35em); }
  .js .hero .lead, .js .hero-actions { opacity: 0; transform: translateY(12px); }
  .js .hero-mark svg { transform: rotate(-90deg) scale(.6); opacity: 0; }
  .js .hero .sw { --long: 0; }

  .is-ready .hero h1 .line { animation: rise .9s var(--ease) forwards; }
  .is-ready .hero h1 .line:nth-child(2) { animation-delay: .12s; }
  .is-ready .hero .lead { animation: rise .8s var(--ease) .35s forwards; }
  .is-ready .hero-actions { animation: rise .8s var(--ease) .45s forwards; }
  .is-ready .hero-mark svg { animation: turn 1.1s var(--ease-io) .15s forwards; }
  .is-ready .hero .sw { animation: stretch 1.3s var(--ease-io) .95s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes turn { to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes stretch { from { font-variation-settings: "long" 0; } to { font-variation-settings: "long" 560; } }
.hero .sw { --long: 560; }

/* ---------- platforms row ---------- */
.platforms { border-block: 1px solid var(--line); }
.platforms .wrap { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; padding-block: 26px; }
.platforms p { font-size: .95rem; color: var(--stone); }
.platforms ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.platforms li { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 1.15rem; }
.platforms li + li::before { content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 22%; transform: rotate(45deg); margin-inline-end: 0; }
@media (max-width: 760px) {
  .platforms ul { gap: 6px 22px; }
  .platforms li + li::before { display: none; }
}

/* ---------- pillars (home) ---------- */
.pillars { border-top: 1px solid var(--ink); }
.pillar {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px clamp(24px, 5vw, 80px);
  padding-block: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.pillar h3 { display: flex; align-items: baseline; gap: 14px; }
.pillar h3 .dot { font-size: .4em; transform: rotate(45deg) translateY(-.4em); }
.pillar-sub { font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.pillar .desc { color: var(--stone); max-width: 40em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: .85rem; font-weight: 500; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 760px) { .pillar { grid-template-columns: 1fr; } }

/* ---------- why (stretch) ---------- */
.why { overflow: hidden; }
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.why-word {
  font-family: var(--display);
  font-size: clamp(6rem, 21vw, 19rem);
  line-height: 1.05;
  white-space: nowrap;
  color: var(--paper);
  font-variation-settings: "long" var(--long, 0);
  margin-block: -.06em -.1em;
}
.why-word .dot { font-size: .18em; vertical-align: .3em; margin-inline-start: .15em; }
.why-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; }
.why-body p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.85; color: #e9e9e9; max-width: 34em; }
.why-body .link { color: var(--lime); justify-self: start; }
@media (max-width: 760px) { .why-body { grid-template-columns: 1fr; } }

/* ---------- results strip ---------- */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.result { padding: clamp(24px, 3vw, 40px) 0 0; padding-inline-end: clamp(16px, 3vw, 40px); }
.result + .result { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(16px, 3vw, 40px); }
.result .big { font-family: var(--text); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.1; letter-spacing: -.02em; }
.result .big small { font-size: .45em; font-weight: 500; margin-inline-start: .25em; letter-spacing: 0; }
.result .desc { margin-top: 12px; color: var(--stone); font-size: .98rem; line-height: 1.7; }
.results-foot { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) {
  .results { grid-template-columns: 1fr; }
  .result + .result { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .result { padding-block: 24px; }
}

/* ---------- testimonials ---------- */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84vw);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 20px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--ink) var(--line);
  overscroll-behavior-x: contain;
}
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--wash); border-radius: 4px;
}
.quote blockquote { font-size: 1.08rem; line-height: 1.9; }
.quote blockquote::before { content: "”"; display: block; font-family: var(--text); font-size: 3.4rem; line-height: .7; margin-bottom: 8px; color: var(--violet); }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--stone); font-size: .92rem; }
.quotes-nav { display: flex; gap: 8px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s;
}
.round-btn:hover { background: var(--ink); color: var(--paper); }
.round-btn svg { width: 18px; height: 18px; }
.sec-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }

/* ---------- CTA block ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px clamp(24px, 6vw, 96px); }
.cta h2 .line { display: block; }
.cta p { margin-top: 18px; color: var(--ash); max-width: 32em; }
main > .cta:last-child { padding-bottom: clamp(64px, 8vw, 112px); }
main:has(> .cta:last-child) + .site-footer { padding-top: 0; }
main:has(> .cta:last-child) + .site-footer .footer-top { border-top: 1px solid #262626; padding-top: clamp(48px, 6vw, 80px); }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .cta .btn { width: 100%; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-hero .d1 { max-width: 12em; }
.page-hero .lead { margin-top: clamp(20px, 2.5vw, 32px); }
.crumb { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--stone); margin-bottom: 20px; }

/* ---------- services list ---------- */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-index { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 4px; }
.svc-index a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--stone); font-weight: 500; transition: color .25s; }
.svc-index a .dot { opacity: 0; font-size: .7em; transition: opacity .25s; }
.svc-index a:hover, .svc-index a.is-active { color: var(--ink); }
.svc-index a.is-active .dot { opacity: 1; }
.svc { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--ink); }
.svc h2 { margin-bottom: 14px; }
.svc h2 .term { display: block; font-size: 1rem; margin-top: 4px; }
.svc .tagline { font-weight: 600; font-size: 1.12rem; margin-bottom: 16px; }
.svc p { color: var(--stone); max-width: 42em; }
.svc .incl { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; max-width: 42em; }
.svc .incl li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.svc .incl li .dot { font-size: .55em; }
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-index { display: none; }
}
@media (max-width: 560px) { .svc .incl { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { padding: clamp(24px, 2.6vw, 36px) 0 0; padding-inline-end: clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--line-dark); position: relative; }
.ink .step { border-color: #3a3a3a; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--text); font-weight: 600; font-size: .95rem; color: var(--lime); margin-bottom: 26px;
}
.step::after { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 40px; height: 1px; background: var(--lime); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.4; margin-bottom: 4px; }
.step .term { display: block; font-size: .85rem; margin-bottom: 14px; }
.step p { color: var(--ash); font-size: .98rem; line-height: 1.8; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- case studies ---------- */
.cases { display: grid; }
.case {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 80px);
  padding-block: clamp(32px, 4.5vw, 56px); border-top: 1px solid var(--line);
}
.case:first-child { border-top-color: var(--ink); }
.case .kind { display: inline-flex; font-size: .82rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); margin-bottom: 14px; }
.case h3 { margin-bottom: 12px; }
.case .desc { color: var(--stone); max-width: 30em; }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.stat { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .big { font-family: var(--text); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.stat .big small { font-size: .5em; font-weight: 500; margin-inline-start: .2em; letter-spacing: 0; }
.stat > span { display: block; margin-top: 8px; font-size: .92rem; color: var(--stone); line-height: 1.6; }
.proof-btn { margin-top: 20px; border: 0; padding-inline: 0; background-color: transparent; color: inherit; cursor: pointer; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .case-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- portfolio grid ---------- */
.folio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.work { display: grid; gap: 14px; }
.work-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--paper); position: relative; border: 1px solid var(--line); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work-media img { transform: scale(1.04); }
.work-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; background: var(--ink); color: var(--paper);
}
.work-ph .d3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.work-ph svg { width: 34px; height: 34px; color: var(--paper); opacity: .9; }
.work:nth-child(3n+2) .work-ph { background: var(--wash); color: var(--ink); }
.work:nth-child(3n+2) .work-ph svg { color: var(--ink); }
.work h3 { font-weight: 600; font-size: 1.1rem; line-height: 1.5; }
.work p { color: var(--stone); font-size: .95rem; }
@media (max-width: 700px) { .folio { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.name-story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.angle-fig { width: clamp(180px, 24vw, 340px); aspect-ratio: 1; position: relative; }
.angle-fig svg { width: 100%; height: 100%; }
.name-story p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; color: var(--stone); max-width: 32em; }
.name-story h2 { margin-bottom: 18px; }
@media (max-width: 760px) { .name-story { grid-template-columns: 1fr; } .angle-fig { width: 160px; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.value { padding-top: 24px; border-top: 1.5px solid var(--ink); }
.value h3 { margin-bottom: 12px; }
.value p { color: var(--stone); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; gap: 36px; } }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.team li { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid #262626; font-size: 1.08rem; font-weight: 500; }
.team li .dot { font-size: .55em; }
.team li:nth-child(3n+2), .team li:nth-child(3n+3) { padding-inline-start: 24px; border-inline-start: 1px solid #262626; }
@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; }
  .team li:nth-child(3n+2), .team li:nth-child(3n+3) { padding-inline-start: 0; border-inline-start: 0; }
}

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.split p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; color: var(--stone); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .98rem; }
.field .opt { color: var(--stone); font-weight: 400; font-size: .9rem; }
.input {
  width: 100%; min-height: 56px; padding: 14px 18px;
  border: 1.5px solid #cfcfcf; border-radius: 6px; background: var(--paper);
  font-size: 1.02rem; line-height: 1.6;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #8a8a8a; }
.input:hover { border-color: #9a9a9a; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(125 57 235 / .25); }
textarea.input { min-height: 150px; resize: vertical; }
.input[aria-invalid="true"] { border-color: #c4271e; }
.err { color: #b3261e; font-size: .9rem; display: none; }
.field.has-error .err { display: block; }
input[type="tel"].input, input[type="email"].input { direction: ltr; text-align: right; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px;
  border: 1.5px solid #cfcfcf; border-radius: 999px; font-size: .95rem; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s; cursor: pointer;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-note { font-size: .92rem; color: var(--stone); }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .form .btn { justify-self: stretch; } }

.contact-card { background: var(--ink); color: var(--paper); padding: clamp(28px, 3.5vw, 44px); border-radius: 4px; display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.3; }
.contact-list { display: grid; gap: 22px; }
.contact-list dt { color: var(--ash); font-size: .9rem; margin-bottom: 2px; }
.contact-list dd { font-size: 1.15rem; font-weight: 500; }
.contact-list a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials-text { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials a {
  width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid #3a3a3a; display: grid; place-items: center;
  transition: background-color .25s, border-color .25s, color .25s;
}
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.socials svg { width: 19px; height: 19px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 96px) 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2.4fr)) minmax(0, 2.6fr); gap: 40px clamp(24px, 4vw, 56px); }
.footer-brand svg { width: 56px; height: 56px; color: var(--paper); margin-bottom: 22px; }
.footer-brand p { color: var(--ash); max-width: 26em; font-size: .98rem; }
.site-footer h2 { font-size: .95rem; font-weight: 500; color: var(--ash); margin-bottom: 16px; }
.site-footer li + li { margin-top: 10px; }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--lime); }
.footer-cr { font-size: .95rem; }
.footer-cr .num { font-size: 1.1rem; font-weight: 500; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 88px); padding-top: 24px; border-top: 1px solid #262626;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ash); font-size: .9rem;
}
.footer-bottom .socials a { width: 42px; height: 42px; }
.footer-word {
  font-family: var(--display); color: var(--paper);
  font-size: clamp(5rem, 24vw, 22rem); line-height: .95; white-space: nowrap;
  margin-top: clamp(40px, 6vw, 80px); margin-bottom: -.12em;
  font-variation-settings: "long" var(--long, 0);
  overflow: hidden;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 90vh; }
.lightbox::backdrop { background: rgb(0 0 0 / .85); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: 4px; }
.lightbox .round-btn { position: absolute; top: 8px; inset-inline-end: 8px; background: var(--paper); border-color: var(--paper); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf .d1 { margin-bottom: 16px; }
.nf .lead { margin-inline: auto; margin-bottom: 32px; }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.work-media button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.work-media button:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }

/* ==========================================================
   v2 — richer home: collage hero, marquee, bento, pinned work,
   proof cards, flow, FAQ
   ========================================================== */
.pill, .kicker {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-size: .92rem; font-weight: 500; color: var(--ink);
}
.pill { padding: 7px 16px 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.kicker { color: var(--stone); }
.ink .kicker { color: var(--ash); }
.pill .dot, .kicker .dot { font-size: .7em; }
.wash { background: var(--wash); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row .sec-head { margin-bottom: 0; }
.head-row > .link { flex: none; }

/* ---------- hero v2 ---------- */
.hero2 { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.hero2-grid {
  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: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero2-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero2-copy { display: grid; gap: clamp(18px, 2.2vw, 28px); justify-items: start; }
.hero2 h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1.22; }
.hero2 h1 .line { display: block; }
.hero2 .lead { max-width: 32em; }
.hero2 .hero-actions { margin-top: 4px; }
.hero2 .sw { --long: 560; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.trust li { display: grid; gap: 2px; padding-inline: 0 22px; margin-inline-end: 22px; border-inline-end: 1px solid var(--line); }
.trust li:last-child { border: 0; margin: 0; padding: 0; }
.trust strong { font-size: 1.6rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-align: right; }
.trust span { font-size: .88rem; color: var(--stone); }

.collage { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 640px; justify-self: end; }
.c-card {
  position: absolute; margin: 0; overflow: hidden; border-radius: 18px; background: var(--paper);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .28), 0 0 0 1px rgb(0 0 0 / .06);
  will-change: transform;
}
.c-card img { width: 100%; height: 100%; object-fit: cover; }
.c-1 { width: 78%; aspect-ratio: 3 / 2; top: 22%; left: 6%; transform: rotate(-3deg); z-index: 2; }
.c-2 { width: 52%; aspect-ratio: 3 / 2; top: 0; right: 0; transform: rotate(5deg); z-index: 1; }
.c-3 { width: 54%; aspect-ratio: 3 / 2; bottom: 0; right: 4%; transform: rotate(-6deg); z-index: 3; }
.fchip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / .3); will-change: transform;
}
.fchip strong { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.fchip small { display: block; font-size: .8rem; opacity: .75; }
.fchip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.fchip-ic svg { width: 22px; height: 22px; }
.fchip--lime { background: var(--lime); color: var(--ink); top: 12%; left: 0; }
.fchip--lime .fchip-ic { background: var(--ink); color: var(--lime); }
.fchip--ink { background: var(--ink); color: var(--paper); bottom: 14%; left: 2%; }
.fchip--ink .fchip-ic { background: var(--lime); color: var(--ink); }
.c-mark { position: absolute; z-index: 5; width: 72px; height: 72px; top: 50%; right: -10px; color: var(--ink); filter: drop-shadow(0 12px 24px rgb(0 0 0 / .25)); }
.c-mark svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .fchip--lime { animation: bob 6s ease-in-out infinite; }
  .fchip--ink { animation: bob 7s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .hero2-inner { grid-template-columns: 1fr; }
  .collage { justify-self: center; max-width: 520px; }
}
@media (max-width: 560px) {
  .trust li { padding-inline-end: 14px; margin-inline-end: 14px; }
  .trust strong { font-size: 1.3rem; }
  .fchip { padding: 8px 12px 8px 10px; gap: 8px; }
  .fchip-ic { width: 32px; height: 32px; }
  .fchip strong { font-size: 1rem; }
  .c-mark { width: 52px; height: 52px; right: 0; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; background: var(--lime); border-radius: 22%; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marq 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marq { to { transform: translateX(50%); } }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.stat2 { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.stat2 .ic, .reasons .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.stat2 .ic svg, .reasons .ic svg { width: 24px; height: 24px; }
.stat2 .big { font-family: var(--text); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; }
.stat2 .big small { font-size: .45em; font-weight: 500; margin-inline-start: .3em; letter-spacing: 0; }
.stat2 .desc { color: var(--stone); font-size: .95rem; line-height: 1.6; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: clamp(12px, 1.6vw, 20px); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 22px; background: var(--wash); color: var(--ink);
  overflow: hidden; isolation: isolate;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.tile .term { font-size: .85rem; color: var(--stone); vertical-align: baseline; transition: color .45s; }
.tile h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.35; }
.tile p { color: var(--stone); font-size: .98rem; line-height: 1.7; transition: color .45s; max-width: 28em; }
.tile-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); margin-bottom: auto;
  transition: transform .6s var(--ease-io), background-color .45s, color .45s;
}
.tile-ic svg { width: 28px; height: 28px; }
.tile-ic + * { margin-top: 28px; }
.tile-go {
  position: absolute; top: clamp(22px, 2.4vw, 32px); inset-inline-end: clamp(22px, 2.4vw, 32px);
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  border: 1.5px solid currentColor; opacity: .25; transition: opacity .35s, transform .45s var(--ease), background-color .35s, color .35s;
}
.tile-go svg { width: 18px; height: 18px; }
.tile:hover { background: var(--ink); color: var(--paper); }
.tile:hover p, .tile:hover .term { color: var(--ash); }
.tile:hover .tile-ic { transform: rotate(-90deg); background: var(--lime); color: var(--ink); }
.tile:hover .tile-go { opacity: 1; background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateX(-4px); }
.tile--feature { grid-row: span 3; background: var(--ink); color: var(--paper); }
.bento > .tile:last-child { grid-column: span 2; }
.tile--feature p, .tile--feature .term { color: var(--ash); }
.tile--feature .tile-ic { background: var(--lime); }
.tile--feature .tile-go { opacity: .6; }
.tile--feature:hover { background: #111; }
.tile-figure { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.mini-chart span { flex: 1; height: var(--h); background: #2c2c2c; border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.mini-chart span:last-child { background: var(--lime); }
.mini-label { font-size: .95rem; color: var(--ash); }
.mini-label strong { color: var(--lime); font-size: 1.2rem; font-weight: 600; margin-inline-end: 6px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / -1; grid-row: auto; }
  .bento > .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > .tile:last-child { grid-column: auto; }
  .mini-chart { height: 100px; }
}

/* ---------- pinned horizontal work ---------- */
.hwork { padding-block: clamp(72px, 9vw, 128px); overflow: clip; }
.hwork-pin { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; overflow: hidden; }
.hwork-track {
  display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.hwork-track::-webkit-scrollbar { display: none; }
.is-pinned .hwork-track { overflow: visible; }
.hcard { flex: none; width: clamp(290px, 40vw, 600px); scroll-snap-align: start; display: grid; gap: 16px; }
.hcard-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.hcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hcard:hover .hcard-media img { transform: scale(1.05); }
.hcard-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hcard-meta h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.hcard-meta span { color: var(--stone); font-size: .95rem; }

/* ---------- why v2 ---------- */
.why2 .why-word { margin-bottom: clamp(24px, 3vw, 48px); }
.why2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why2-copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.why2-copy p { color: #e4e4e4; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.9; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.reasons li { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border: 1px solid #2a2a2a; border-radius: 20px; background: #0b0b0b; transition: border-color .35s, transform .45s var(--ease); }
.reasons li:hover { border-color: var(--lime); transform: translateY(-4px); }
.reasons h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.4; margin-top: 10px; }
.reasons p { color: var(--ash); font-size: .98rem; line-height: 1.7; }
@media (max-width: 860px) {
  .why2-grid { grid-template-columns: 1fr; }
  .why2-copy { position: static; }
}
@media (max-width: 520px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- proof cards ---------- */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.proof { display: grid; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.proof:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .3); }
.proof-media { all: unset; position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: var(--wash); }
.proof-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.proof:hover .proof-media img { transform: scale(1.05); }
.proof-media:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.zoom {
  position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 500;
}
.zoom svg { width: 16px; height: 16px; }
.proof-body { display: grid; gap: 8px; padding: clamp(20px, 2.2vw, 28px); }
.proof-body .kind { justify-self: start; display: inline-flex; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.proof-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.4; }
.proof-nums { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; border-top: 1px solid var(--line); }
.proof-nums p { display: grid; gap: 2px; padding-top: 14px; }
.proof-nums p + p { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.proof-nums strong { font-size: 1.55rem; font-weight: 600; line-height: 1.2; text-align: right; }
.proof-nums span { color: var(--stone); font-size: .9rem; }
@media (max-width: 960px) { .proofs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .proofs { grid-template-columns: 1fr; } }

/* ---------- flow (process) ---------- */
.flow-wrap { position: relative; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); position: relative; }
.flow-line { position: absolute; top: 36px; inset-inline: 36px; height: 2px; background: #d9d9d9; }
.flow-line span { display: block; height: 100%; background: var(--ink); transform-origin: right; }
.fstep { position: relative; display: grid; gap: 10px; align-content: start; }
.fstep-ic {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); position: relative; z-index: 1;
  transition: background-color .35s, transform .5s var(--ease-io);
}
.fstep-ic svg { width: 30px; height: 30px; }
.fstep-n { font-weight: 600; color: var(--stone); font-size: .9rem; margin-top: 14px; text-align: right; }
.fstep h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.4; }
.fstep p { color: var(--stone); font-size: .98rem; line-height: 1.7; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow-line { display: none; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- testimonials v2 ---------- */
.quote { border-radius: 20px; background: var(--wash); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--lime); display: grid; place-items: center; flex: none; }
.avatar svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq details { border-bottom: 1px solid #d6d6d6; }
.faq details:first-child { border-top: 1px solid #d6d6d6; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 24px; font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--ink); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background-color .3s; }
.faq-ic svg { width: 18px; height: 18px; }
.faq details[open] .faq-ic { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq summary:hover .faq-ic { background: var(--ink); color: var(--paper); }
.faq details[open] summary:hover .faq-ic { background: var(--lime); color: var(--ink); }
.faq-a { padding-bottom: 24px; color: var(--stone); max-width: 40em; overflow: hidden; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }
}

/* ---------- CTA v2 ---------- */
.cta2 .wrap { align-items: center; }
.cta2 .hero-actions { margin-top: 28px; }
.cta2 .btn--ghost { border-color: #555; }
.cta-mark { width: clamp(160px, 22vw, 320px); aspect-ratio: 1; color: var(--paper); }
.cta-mark svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .cta-mark { width: 120px; order: -1; } .cta2 .btn { width: auto; } }
@media (max-width: 560px) {
  .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .trust li { margin: 0; padding-inline: 0 10px; }
  .trust li + li { padding-inline-start: 10px; }
  .trust span { font-size: .78rem; line-height: 1.5; }
}

/* ==========================================================
   v3 — result cards, chat testimonials, tags
   ========================================================== */
.hero2-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hero2 h1 { font-size: clamp(2.6rem, 5.8vw, 5.8rem); }


/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--wash); color: var(--ink); white-space: nowrap; }
.tag--lime { background: var(--lime); color: var(--ink); }
.tag--violet { background: var(--violet); color: var(--paper); }
.tag--ink { background: var(--ink); color: var(--paper); }
.tag--line { background: transparent; border: 1px solid var(--line); }

/* ---------- result cards ---------- */
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.rcard {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: var(--wash); color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.rcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgb(0 0 0 / .35); }
.rcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rcard-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); }
.rcard-ic svg { width: 26px; height: 26px; }
.rcard h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.8rem); line-height: 1.35; }
.rcard-brief { color: var(--stone); font-size: .98rem; line-height: 1.75; }
.rcard-nums { display: grid; grid-template-columns: 1fr 1fr; margin: auto 0 0; padding-top: 22px; border-top: 1px solid #dcdcdc; gap: 0; }
.rcard-nums div { display: grid; gap: 4px; }
.rcard-nums div + div { border-inline-start: 1px solid #dcdcdc; padding-inline-start: 18px; }
.rcard-nums dt { order: 2; font-size: .85rem; color: var(--stone); }
.rcard-nums dd { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.15; letter-spacing: -.01em; text-align: right; }
.rcard-nums dd small { font-size: .5em; font-weight: 500; margin-inline-start: .3em; }
.rcard-btn {
  margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.rcard-btn svg { width: 18px; height: 18px; }
.rcard-btn:hover { background: var(--ink); color: var(--paper); }
.rcard--ink { background: var(--ink); color: var(--paper); }
.rcard--ink .rcard-ic { background: var(--lime); color: var(--ink); }
.rcard--ink .rcard-brief, .rcard--ink .rcard-nums dt { color: var(--ash); }
.rcard--ink .rcard-nums, .rcard--ink .rcard-nums div + div { border-color: #2c2c2c; }
.rcard--ink .rcard-btn { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.rcard--ink .rcard-btn:hover { background: var(--paper); border-color: var(--paper); }
@media (max-width: 960px) { .rcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rcards { grid-template-columns: 1fr; } }

/* ---------- chat testimonials ---------- */
.talk { overflow: hidden; }
.talk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.talk-copy { display: grid; gap: 20px; justify-items: start; }
.talk-facts { display: grid; gap: 12px; margin-top: 8px; }
.talk-facts li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.talk-facts .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); flex: none; }
.talk-facts .ic svg { width: 20px; height: 20px; }
.talk-phone { position: relative; display: grid; justify-items: center; }
.talk-phone::before {
  content: ""; position: absolute; inset: 8% -10% 8% -10%; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 50%, rgb(125 57 235 / .16), transparent 70%);
}
.phone {
  position: relative; width: min(100%, 380px); border-radius: 44px; padding: 12px;
  background: var(--ink); box-shadow: 0 50px 90px -40px rgb(0 0 0 / .55);
}
.phone-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--paper); }
.phone-bar strong { display: block; font-weight: 600; line-height: 1.2; }
.phone-bar small { display: block; font-size: .78rem; color: var(--ash); }
.phone-avatar { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; color: var(--paper); flex: none; }
.phone-avatar svg { width: 100%; height: 100%; }
.phone-ic { margin-inline-start: auto; color: var(--ash); }
.phone-ic svg { width: 22px; height: 22px; }
.phone-screen {
  position: relative; height: clamp(420px, 52vh, 540px); overflow: hidden; border-radius: 32px;
  background: #ecebe6;
  background-image: radial-gradient(rgb(0 0 0 / .05) 1px, transparent 1px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.thread { display: grid; gap: 14px; padding: 18px 14px 4px; }
.msg {
  justify-self: start; max-width: 88%; padding: 12px 14px 8px; border-radius: 4px 18px 18px 18px;
  background: var(--paper); color: var(--ink); box-shadow: 0 1px 1px rgb(0 0 0 / .08);
  font-size: .93rem; line-height: 1.75;
}
.msg:nth-child(even) { border-radius: 4px 18px 18px 18px; }
.msg-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.msg-who { font-size: .76rem; font-weight: 600; color: var(--violet); }
.msg-time { font-size: .72rem; color: #8a8a8a; }
.phone-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #1c1c1c; color: #8a8a8a; font-size: .9rem; padding-inline-start: 18px; }
.phone-send { width: 38px; height: 38px; border-radius: 999px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.phone-send svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .phone-screen .thread { animation: feed 60s linear infinite; }
  .phone-screen:hover .thread, .phone-screen:focus .thread { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-screen { overflow-y: auto; }
  .thread--clone { display: none; }
}
@keyframes feed { to { transform: translateY(-100%); } }
@media (max-width: 860px) {
  .talk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .hero2-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
}

/* ==========================================================
   v4 — services page: chips, alternating blocks with visuals
   ========================================================== */
.page-hero2 { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 88px); }
.page-hero2 .wrap { position: relative; display: grid; gap: clamp(18px, 2.2vw, 26px); justify-items: start; }
.page-hero2 .d1 { max-width: 13em; }
.page-hero2 .lead { max-width: 40em; }
.page-hero2 .hero2-grid { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%); }
.svc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.svc-chips a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 500; font-size: .95rem;
  transition: border-color .3s, background-color .3s, color .3s, transform .3s var(--ease);
}
.svc-chips .ic { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--wash); transition: background-color .3s, transform .5s var(--ease-io); }
.svc-chips .ic svg { width: 18px; height: 18px; }
.svc-chips a:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-chips a:hover .ic { background: var(--lime); transform: rotate(-90deg); }

.svl-title .term { font-size: .9rem; color: var(--stone); vertical-align: baseline; }
.svl-title .tagline { font-weight: 600; font-size: 1.15rem; }
.svl-body .desc { color: var(--stone); max-width: 36em; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-block: 10px 14px; width: 100%; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; }
.checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: var(--lime); flex: none; stroke-width: 2.4; }
@media (max-width: 900px) {
    }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ==========================================================
   v5 — work page: jump cards, filters, colored result cards, portfolio
   ========================================================== */
.jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.jump-card {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease);
}
.jump-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.jump-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); flex: none; }
.jump-card .ic--violet { background: var(--violet); color: var(--paper); }
.jump-card .ic svg { width: 24px; height: 24px; }
.jump-card strong { display: block; font-weight: 600; }
.jump-card small { display: block; color: var(--stone); font-size: .88rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #d0d0d0; background: transparent;
  font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
[data-filter-items] > .is-hidden { display: none; }

.rcards--work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcard-nums { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.rcard-nums div + div { padding-inline-start: 14px; }
.rcards--work .rcard-nums dd { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.rcard--violet { background: #f2ecfd; }
.rcard--violet .rcard-ic { background: var(--violet); color: var(--paper); }
.rcard--violet .rcard-nums, .rcard--violet .rcard-nums div + div { border-color: #ddd0f7; }
@media (max-width: 960px) { .rcards--work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rcards--work { grid-template-columns: 1fr; } }

.folio2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.fcard { display: grid; gap: 16px; }
.fcard-media {
  all: unset; position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; cursor: zoom-in;
  background: var(--paper); box-shadow: 0 1px 0 rgb(0 0 0 / .04);
}
.fcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fcard-media:hover img { transform: scale(1.04); }
.fcard-media:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.fcard-zoom {
  position: absolute; top: 16px; inset-inline-start: 16px; width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center; background: var(--ink); color: var(--lime);
  transform: scale(.7); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.fcard-zoom svg { width: 20px; height: 20px; }
.fcard-media:hover .fcard-zoom, .fcard-media:focus-visible .fcard-zoom { transform: none; opacity: 1; }
.fcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fcard-meta h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.35; }
@media (max-width: 700px) { .folio2 { grid-template-columns: 1fr; } }
/* work page: numbers as clear rows (label ↔ value) */
.rcards--work .rcard-nums { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; padding-top: 6px; }
.rcards--work .rcard-nums div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid #dcdcdc; }
.rcards--work .rcard-nums div + div { border-inline-start: 0; padding-inline-start: 0; }
.rcards--work .rcard-nums div:last-child { border-bottom: 0; }
.rcards--work .rcard-nums dt { order: 0; font-size: .92rem; }
.rcards--work .rcard-nums dd { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.rcards--work .rcard--ink .rcard-nums div { border-color: #2c2c2c; }
.rcards--work .rcard--violet .rcard-nums div { border-color: #ddd0f7; }

/* ==========================================================
   v6 — about page
   ========================================================== */
.about-hero-grid { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px) !important; align-items: center; justify-items: stretch !important; }
.about-hero-copy { display: grid; gap: clamp(18px, 2.2vw, 26px); justify-items: start; }
@media (max-width: 900px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.photo-frame { position: relative; margin: 0; display: grid; gap: 12px; }
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: var(--wash); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px;
  color: var(--stone); font-size: .92rem; font-weight: 500;
  background:
    repeating-linear-gradient(45deg, rgb(0 0 0 / .035) 0 12px, transparent 12px 24px),
    var(--wash);
  border: 1.5px dashed #c9c9c9; border-radius: inherit;
}
.photo-ph svg { width: 40px; height: 40px; color: var(--ink); opacity: .55; }
.photo-frame--hero::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; background: var(--lime); border-radius: 26px; top: -18px; left: -18px; z-index: -1; }
.photo-frame--hero { isolation: isolate; }
.photo-frame--hero .photo { aspect-ratio: 5 / 4; }
.photo-badge {
  position: absolute; bottom: -22px; right: 24px; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; border-radius: 18px; background: var(--ink); color: var(--paper);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .45);
}
.photo-badge .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.photo-badge .ic svg { width: 22px; height: 22px; }
.photo-badge strong { display: block; font-weight: 600; }
.photo-badge small { display: block; color: var(--ash); font-size: .85rem; }

/* name story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; }
.story-angle { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-angle path { stroke: #4a4a4a; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.story-angle path:first-child { stroke: var(--paper); stroke-width: 3; }
.story-angle .arc { stroke: var(--lime); stroke-width: 3; }
.story-deg { position: absolute; top: 52%; left: 52%; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; color: var(--lime); }
.story-mark { position: absolute; width: 34%; aspect-ratio: 1; top: 8%; right: 6%; color: var(--paper); }
.story-mark svg { width: 100%; height: 100%; }
.story-copy { display: grid; gap: 18px; justify-items: start; }
.story-copy > p { color: #e4e4e4; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.9; }
.story-legs { display: grid; gap: 12px; width: 100%; }
.story-legs li { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid #2a2a2a; border-radius: 18px; background: #0b0b0b; }
.story-legs .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--ink); flex: none; }
.story-legs li + li .ic { background: var(--violet); color: var(--paper); }
.story-legs .ic svg { width: 24px; height: 24px; }
.story-legs strong { display: block; font-weight: 600; }
.story-legs small { display: block; color: var(--ash); font-size: .9rem; }
.story-note { color: var(--ash) !important; font-size: .98rem !important; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-visual { max-width: 340px; justify-self: center; } }

/* values */
.values2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.value2 { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border-radius: 24px; background: var(--wash); transition: transform .45s var(--ease); }
.value2:hover { transform: translateY(-6px); }
.value2-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 16px; transition: transform .6s var(--ease-io); }
.value2-ic svg { width: 30px; height: 30px; }
.value2 h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.35; }
.value2 p { color: var(--stone); }
.value2--lime { background: var(--lime); }
.value2--lime p { color: #2b3a00; }
@media (max-width: 860px) { .values2 { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 2vw, 24px); }
.gallery .g1 { grid-row: span 2; }
.gallery .g1 .photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
.gallery figcaption { font-weight: 500; color: var(--stone); font-size: .95rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .g1 { grid-row: auto; } .gallery .g1 .photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* team */
.team2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team2 li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #2a2a2a; border-radius: 18px; background: #0b0b0b; font-weight: 500; font-size: 1.02rem; transition: border-color .3s; }
.team2 li:hover { border-color: var(--lime); }
.team2 .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #1c1c1c; color: var(--lime); flex: none; }
.team2 .ic svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .team2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team2 { grid-template-columns: 1fr; } }

/* path */
.path { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.path-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: p; }
.path-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); font-weight: 600; }
.path-steps .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--lime); flex: none; }
.path-steps .ic svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .path-steps { grid-template-columns: 1fr; } }
/* contact card with icons */
.contact-card { border-radius: 26px; }
.contact-list > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.contact-list .ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #1c1c1c; color: var(--lime); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list dt { margin: 0; }
.contact-list dd { margin: 0; }
.form .input { border-radius: 14px; }
@media (max-width: 560px) { .photo-frame--hero::before { top: -10px; left: -6px; } .photo-badge { right: 12px; } }

/* ==========================================================
   v7 — live-site structure: pillars, why with photo, logo strip, CTA with photo
   ========================================================== */
.pillars2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.6vw, 36px); border-radius: 26px; background: var(--wash); color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgb(0 0 0 / .35); }
.pcard-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 18px; transition: transform .6s var(--ease-io); }
.pcard-ic svg { width: 32px; height: 32px; }
.pcard h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.3; }
.pcard-sub { font-weight: 600; }
.pcard-desc { color: var(--stone); font-size: .98rem; line-height: 1.8; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.pcard-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .82rem; font-weight: 500; }
.pcard-tags svg { width: 15px; height: 15px; }
.pcard-go { position: absolute; top: clamp(24px, 2.6vw, 36px); inset-inline-end: clamp(24px, 2.6vw, 36px); width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid currentColor; opacity: .3; transition: opacity .3s, background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.pcard-go svg { width: 18px; height: 18px; }
.pcard:hover .pcard-go { opacity: 1; background: var(--lime); border-color: var(--lime); color: var(--ink); transform: translateX(-4px); }
.pcard--ink { background: var(--ink); color: var(--paper); }
.pcard--ink .pcard-ic { background: var(--lime); color: var(--ink); }
.pcard--ink .pcard-desc { color: var(--ash); }
.pcard--ink .pcard-tags li { background: #1c1c1c; color: var(--paper); }
@media (max-width: 960px) { .pillars2 { grid-template-columns: 1fr; } }

.why3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.why3-copy { display: grid; gap: 20px; justify-items: start; }
.why3-points { display: grid; gap: 12px; width: 100%; }
.why3-points li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--paper); font-weight: 500; }
.why3-points .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); flex: none; }
.why3-points .ic svg { width: 21px; height: 21px; }
.why3-photo .photo { aspect-ratio: 4 / 5; }
.why3-photo { isolation: isolate; }
.why3-photo::before { content: ""; position: absolute; width: 40%; aspect-ratio: 1; border-radius: 26px; background: var(--violet); bottom: -18px; left: -18px; z-index: -1; }
.why3--flip .why3-photo::before { background: var(--lime); top: -18px; bottom: auto; right: -18px; left: auto; }
@media (max-width: 900px) { .why3 { grid-template-columns: minmax(0, 1fr); } .why3-photo .photo { aspect-ratio: 4 / 3; } .why3--flip .why3-photo { order: 2; } }
@media (max-width: 560px) { .why3-photo::before { left: -6px; bottom: -10px; } .why3--flip .why3-photo::before { right: -6px; top: -10px; } }

.marquee--logos { padding-block: 34px 38px; }
.marquee-label { text-align: center; color: var(--ash); font-size: .92rem; margin-bottom: 22px; }
.marquee--logos li { gap: 56px; padding-inline-end: 56px; }
.marquee--logos li.logo-item::after { display: none; }
.logo-item { padding-inline-end: 72px !important; }
.logo-item img { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; transition: opacity .3s, filter .3s; }
.marquee--logos:hover .logo-item img { opacity: .6; }
.marquee--logos .logo-item:hover img { opacity: 1; filter: none; }

.cta3 { position: relative; overflow: hidden; }
.cta3-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.cta3-copy { display: grid; gap: 18px; justify-items: start; }
.cta3-copy .line { display: block; }
.cta3-copy p { color: var(--ash); max-width: 32em; }
.cta3 .btn--ghost { border-color: #555; }
.cta3-photo .photo { aspect-ratio: 5 / 4; background: #161616; }
.cta3-photo .photo-ph { background: repeating-linear-gradient(45deg, rgb(255 255 255 / .04) 0 12px, transparent 12px 24px), #161616; border-color: #3a3a3a; color: var(--ash); }
.cta3-photo .photo-ph svg { color: var(--paper); }
.cta3-photo { isolation: isolate; }
.cta3-photo::before { content: ""; position: absolute; width: 36%; aspect-ratio: 1; border-radius: 26px; background: var(--lime); top: -18px; right: -18px; z-index: -1; }
@media (max-width: 900px) { .cta3-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cta3-photo::before { right: -6px; top: -10px; } }
main > .cta3:last-child { padding-bottom: clamp(64px, 8vw, 112px); }
main:has(> .cta3:last-child) + .site-footer { padding-top: 0; }
main:has(> .cta3:last-child) + .site-footer .footer-top { border-top: 1px solid #262626; padding-top: clamp(48px, 6vw, 80px); }

/* ==========================================================
   v8 — testimonials carousel (spotlight card), logo marquee tuning
   ========================================================== */
.testi { overflow: hidden; }
.testi .head-row { margin-bottom: clamp(28px, 4vw, 48px); }
.testi-ctrl { display: flex; align-items: center; gap: 10px; }
.testi-count { font-weight: 500; color: var(--stone); margin-inline-end: 8px; font-size: .95rem; }
.testi-count b { color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.round-btn--ink { background: var(--ink); color: var(--paper); }
.round-btn--ink:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.testi-track {
  display: flex; gap: clamp(14px, 1.8vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: 0; scroll-padding-inline: 0;
  padding-block: 14px 26px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.testi-track::-webkit-scrollbar { display: none; }
.tcard {
  flex: none; width: calc((100% - 2 * clamp(14px, 1.8vw, 22px)) / 3); scroll-snap-align: start; margin: 0;
  display: grid; grid-template-rows: auto 1fr auto; gap: 26px;
  padding: clamp(26px, 2.8vw, 38px); border-radius: 30px; background: var(--wash); color: var(--ink);
  transition: background-color .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
  cursor: pointer;
}
.tcard-q { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background-color .6s, color .6s, transform .7s var(--ease-io); }
.tcard-q svg { width: 28px; height: 28px; }
.tcard blockquote { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.95; color: var(--stone); transition: color .6s; }
.tcard figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #dcdcdc; transition: border-color .6s; }
.tcard-av { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime); flex: none; transition: background-color .6s, color .6s; }
.tcard-av svg { width: 24px; height: 24px; }
.tcard figcaption strong { display: block; font-weight: 600; }
.tcard figcaption small { display: block; color: var(--stone); font-size: .9rem; }
.tcard.is-active { background: var(--ink); color: var(--paper); transform: translateY(-10px); box-shadow: 0 40px 70px -40px rgb(0 0 0 / .6); }
.tcard.is-active .tcard-q { background: var(--lime); transform: scale(1.06); }
.tcard.is-active blockquote { color: #ececec; }
.tcard.is-active figcaption { border-color: #2a2a2a; }
.tcard.is-active .tcard-av { background: var(--violet); color: var(--paper); }
.tcard.is-active figcaption small { color: var(--ash); }
.testi-foot { display: flex; align-items: center; gap: 24px; }
.testi-bar { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.testi-bar span { display: block; height: 100%; width: 0; background: var(--ink); }
.testi-dots { display: flex; gap: 10px; }
.testi-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 3px; background: #cfcfcf; transform: rotate(45deg); cursor: pointer; transition: background-color .3s, transform .3s; }
.testi-dots button.is-on { background: var(--lime); transform: rotate(45deg) scale(1.35); }
@media (max-width: 560px) { .testi-count { display: none; } .tcard { min-height: 0; } }

.marquee--logos .marquee-track { animation-duration: 30s; }
.logo-item img { height: 46px; filter: none; opacity: .92; }

/* ==========================================================
   v9 — particle-logo hero
   ========================================================== */
.hero3 { padding-block: clamp(12px, 2vw, 24px) clamp(48px, 6vw, 88px); }
.hstage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  min-height: min(680px, calc(100svh - var(--header-h) - 40px));
  border-radius: 28px; padding-inline-start: clamp(28px, 5vw, 72px);
}
.hstage-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 60% at 22% 50%, rgb(125 57 235 / .22), transparent 70%),
    radial-gradient(30% 40% at 30% 60%, rgb(198 255 51 / .08), transparent 70%);
}
.hstage .hero2-copy { padding-block: clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
.hstage .pill { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: var(--paper); }
.hstage .pill .dot { color: var(--lime); }
.hstage h1 { font-size: clamp(2.4rem, 5vw, 5.2rem); }
.hvis { position: relative; align-self: stretch; min-height: 520px; cursor: crosshair; touch-action: pan-y; }
.hvis-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hvis-logo { position: absolute; inset: 0; margin: auto; width: 62%; aspect-ratio: 1; height: auto; max-height: 62%; color: var(--paper); transition: opacity .6s; }
.hvis-logo svg { width: 100%; height: 100%; }
.hvis-logo svg path, .hvis-logo svg { fill: currentColor; }
.hvis.is-live .hvis-logo { opacity: 0; }
@media (max-width: 900px) {
  .hstage { grid-template-columns: 1fr; padding-inline: clamp(22px, 5vw, 40px); min-height: 0; border-radius: 22px; }
  .hvis { order: -1; min-height: 340px; margin-inline: calc(-1 * clamp(22px, 5vw, 40px)); }
  .hstage .hero2-copy { padding-block: 4px 40px; }
}
@media (max-width: 560px) { .hvis { min-height: 290px; } .hstage .pill { font-size: .8rem; padding-inline: 12px; } }

/* ==========================================================
   v11 — services as clean editorial rows
   ========================================================== */
.svl-list { border-top: 1px solid var(--ink); counter-reset: svl; }
.svl-row {
  position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
  padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svl-row::before {
  content: ""; position: absolute; top: -1px; inset-inline-start: 0; height: 2px; width: 0; background: var(--lime);
  transition: width .9s var(--ease);
}
.svl-row:hover::before { width: 100%; }
.svl-mark { display: grid; gap: 18px; justify-items: start; }
.svl-n { font-size: .95rem; font-weight: 700; color: var(--stone); letter-spacing: .04em; }
.svl-ic {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); transition: background-color .4s, color .4s, transform .7s var(--ease-io);
}
.svl-ic svg { width: 32px; height: 32px; }
.svl-title { display: grid; gap: 12px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.svl-title .term { direction: ltr; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.svl-title .d2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.svl-body { display: grid; gap: 14px; justify-items: start; padding-top: 6px; }
.svl-body .checks { margin-block: 6px 10px; padding: 22px 24px; border-radius: 20px; background: var(--wash); }
@media (max-width: 1000px) {
  .svl-row { grid-template-columns: 96px minmax(0, 1fr); }
  .svl-body { grid-column: 2; }
  .svl-title { position: static; }
}
@media (max-width: 640px) {
  .svl-row { grid-template-columns: 1fr; gap: 18px; }
  .svl-body { grid-column: auto; }
  .svl-mark { grid-auto-flow: column; align-items: center; justify-content: space-between; width: 100%; }
  .svl-ic { width: 56px; height: 56px; border-radius: 17px; order: -1; }
  .svl-ic svg { width: 26px; height: 26px; }
  .svl-body .checks { padding: 18px; }
}

/* portfolio covers — shown as designed, no crop */
.folio2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fcard-media { aspect-ratio: 884 / 802; border-radius: 0; overflow: visible; background: none; box-shadow: none; transition: transform .6s var(--ease), filter .6s var(--ease); }
.fcard-media img { object-fit: contain; transition: none; }
.fcard-media:hover { transform: translateY(-6px); filter: drop-shadow(0 22px 30px rgb(0 0 0 / .18)); }
.fcard-media:hover img { transform: none; }
@media (max-width: 960px) { .folio2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .folio2 { grid-template-columns: 1fr; } }

/* ==========================================================
   v12 — icon boxes: the box turns 90° and changes colour, the icon stays still
   ========================================================== */
.pcard-ic, .value2-ic, .fstep-ic, .svl-ic {
  --bx: var(--ink); --bx-h: var(--lime); --ic-h: var(--ink); --bd: transparent;
  position: relative; isolation: isolate; background: none !important; border-color: transparent !important; transform: none !important;
  transition: color .4s;
}
.pcard-ic::before, .value2-ic::before, .fstep-ic::before, .svl-ic::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--bx); border: 1.5px solid var(--bd);
  transition: transform .7s var(--ease-io), background-color .4s, border-color .4s;
}
.pcard--ink .pcard-ic { --bx: var(--lime); --bx-h: var(--paper); --ic-h: var(--ink); }
.value2--lime .value2-ic { --bx-h: var(--violet); --ic-h: var(--paper); }
.fstep-ic { --bx: var(--paper); --bd: var(--ink); }
.pcard:hover .pcard-ic, .value2:hover .value2-ic, .fstep:hover .fstep-ic, .svl-row:hover .svl-ic { color: var(--ic-h); }
.pcard:hover .pcard-ic::before, .value2:hover .value2-ic::before, .fstep:hover .fstep-ic::before, .svl-row:hover .svl-ic::before {
  background: var(--bx-h); transform: rotate(-90deg);
}
@media (prefers-reduced-motion: reduce) {
  .pcard:hover .pcard-ic::before, .value2:hover .value2-ic::before, .fstep:hover .fstep-ic::before, .svl-row:hover .svl-ic::before { transform: none; }
}

/* photo focal points — the source photos are 4:3, frames crop them to 4:5 / 5:4 */
.photo img[data-photo="why"] { object-position: 74% 50%; }
.photo img[data-photo="planning"] { object-position: 55% 50%; }
.photo img[data-photo="cta"] { object-position: 100% 50%; }
.photo img[data-photo="team"] { object-position: 50% 50%; }

/* ==========================================================
   v13 — specialties, privacy page
   ========================================================== */
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.spec { display: grid; gap: 6px; align-content: start; padding: clamp(20px, 2.2vw, 28px); border-radius: 22px; background: var(--wash); transition: transform .45s var(--ease); }
.spec:hover { transform: translateY(-4px); }
.spec-ic { --bx: var(--ink); --bx-h: var(--lime); --ic-h: var(--ink); position: relative; isolation: isolate; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--lime); margin-bottom: 12px; transition: color .4s; }
.spec-ic::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bx); transition: transform .7s var(--ease-io), background-color .4s; }
.spec:hover .spec-ic { color: var(--ic-h); }
.spec:hover .spec-ic::before { background: var(--bx-h); transform: rotate(-90deg); }
.spec-ic svg { width: 26px; height: 26px; }
.spec-name { font-weight: 700; font-size: 1.08rem; }
.spec-sub { color: var(--stone); font-size: .92rem; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .spec { padding: 18px; } .spec-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .spec:hover .spec-ic::before { transform: none; } }

.prose { max-width: 820px; display: grid; gap: 14px; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 22px; }
.prose p, .prose li { color: var(--stone); line-height: 1.95; }
.prose ul { display: grid; gap: 6px; padding-inline-start: 1.2em; list-style: disc; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: inherit; opacity: .75; }
.footer-bottom a:hover { opacity: 1; }

/* testimonials stay inside the page width: 3 cards on desktop, 2 on tablet, 1 on phones */
@media (max-width: 1100px) { .tcard { width: calc((100% - clamp(14px, 1.8vw, 22px)) / 2); } }
@media (max-width: 680px) { .tcard { width: 88%; } }

/* ==========================================================
   v14 — works hero visual: an abstract results dashboard (no real client figures)
   ========================================================== */
.work-hero-grid { display: grid !important; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px) !important; align-items: center; justify-items: stretch !important; }
.work-hero .d1 { max-width: none; font-size: clamp(2.6rem, 4.8vw, 4.8rem); }
.wkv { position: relative; padding: 26px 7% 30px; width: 100%; max-width: 460px; justify-self: center; }
.wkv-main {
  position: relative; overflow: hidden; display: grid; gap: 0; align-content: start;
  aspect-ratio: 5 / 4; padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; background: var(--ink); color: var(--paper);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .55);
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 100% 25%; background-position: 0 100%;
}
.wkv-head { display: flex; flex-direction: row-reverse; align-items: center; gap: 14px; }
.wkv-head .wkv-skel { justify-items: end; }
.wkv-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--ink); flex: none; }
.wkv-ic svg { width: 22px; height: 22px; }
.wkv-skel { display: grid; gap: 8px; flex: 1; }
.wkv-skel i { display: block; height: 9px; border-radius: 9px; background: #2c2c2c; width: 46%; }
.wkv-skel i + i { width: 28%; background: #222; }
.wkv-skel--dark i { background: #e7e7e7; } .wkv-skel--dark i + i { background: #f0f0f0; }
.wkv-plot { position: absolute; left: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); bottom: clamp(22px, 2.4vw, 32px); height: 58%; direction: ltr; }
.wkv-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 7%; }
.wkv-bars span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(#3a3a3a, #232323); transform-origin: bottom; }
.wkv-bars .is-hi { background: linear-gradient(var(--lime), #9fd11a); }
.wkv-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wkv-line { fill: none; stroke: var(--violet); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; filter: drop-shadow(0 4px 10px rgb(125 57 235 / .6)); }
.wkv-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--violet); left: calc(97.5% - 7px); bottom: calc(91.7% - 7px); }
.wkv-card { position: absolute; border-radius: 22px; box-shadow: 0 24px 50px -24px rgb(0 0 0 / .45); }
.wkv-card--ring { top: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 16px 18px; width: min(220px, 52%); background: var(--paper); border: 1px solid var(--line); }
.wkv-ring { width: 50px; height: 50px; flex: none; transform: rotate(-90deg); }
.wkv-ring-bg { fill: none; stroke: #eee; stroke-width: 6; }
.wkv-ring-fg { fill: none; stroke: var(--violet); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 72 100; }
.wkv-card--tiles { bottom: 0; left: 0; display: grid; grid-template-columns: repeat(2, 46px); gap: 8px; padding: 14px; background: var(--lime); }
.wkv-tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.wkv-tile.t1 { background: var(--ink); } .wkv-tile.t2 { background: var(--violet); } .wkv-tile.t3 { background: var(--paper); }
.wkv-tile.t4 { background: rgb(0 0 0 / .08); color: var(--ink); } .wkv-tile svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .wkv-bars span { animation: wkv-grow 1.1s var(--ease-io) both; }
  .wkv-bars span:nth-child(2) { animation-delay: .07s; } .wkv-bars span:nth-child(3) { animation-delay: .14s; } .wkv-bars span:nth-child(4) { animation-delay: .21s; }
  .wkv-bars span:nth-child(5) { animation-delay: .28s; } .wkv-bars span:nth-child(6) { animation-delay: .35s; } .wkv-bars span:nth-child(7) { animation-delay: .42s; } .wkv-bars span:nth-child(8) { animation-delay: .49s; }
  .wkv-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wkv-draw 1.6s var(--ease-io) .6s forwards; }
  .wkv-dot { opacity: 0; animation: wkv-fade .4s ease 2.1s forwards, wkv-pulse 2.4s ease-in-out 2.5s infinite; }
  .wkv-ring-fg { stroke-dasharray: 0 100; animation: wkv-ring 1.4s var(--ease-io) .5s forwards; }
  .wkv-card--ring { animation: bob 7s ease-in-out infinite; }
  .wkv-card--tiles { animation: bob 8s ease-in-out -3s infinite; }
}
@keyframes wkv-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wkv-draw { to { stroke-dashoffset: 0; } }
@keyframes wkv-fade { to { opacity: 1; } }
@keyframes wkv-ring { to { stroke-dasharray: 72 100; } }
@keyframes wkv-pulse { 50% { box-shadow: 0 0 0 10px rgb(125 57 235 / 0); } 0%, 100% { box-shadow: 0 0 0 0 rgb(125 57 235 / .45); } }
@media (max-width: 900px) {
  .work-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .wkv { max-width: 500px; width: 100%; justify-self: center; }
}
@media (max-width: 480px) { .wkv-card--tiles { grid-template-columns: repeat(2, 38px); } .wkv-tile { width: 38px; height: 38px; border-radius: 11px; } .wkv-ring { width: 40px; height: 40px; } }
