/* =========================================================
   DesignX Creative Agency — static HTML version
   ========================================================= */

:root {
  --kilim-motif: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E");
  --bg: #eeeeee;
  --white: #ffffff;
  --ink: #000000;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --muted: #6b6b6b;
  --line: #d4d4d4;
  --lime: #bcff00;

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 25px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-weight: 700; margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.mono { font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.display-xl { font-size: clamp(54px, 9vw, 120px); line-height: 1; text-transform: uppercase; }
.display-l { font-size: clamp(38px, 5.2vw, 70px); font-weight: 500; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; }
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.outline-dark { color: transparent; -webkit-text-stroke: 1.5px #000; }
.outline-light { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.outline-grey { color: transparent; -webkit-text-stroke: 1.5px #9a9a9a; }
.text-muted { color: var(--muted); }
.section--dark .text-muted { color: #a3a3a3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  padding: 16px 28px; border-radius: 8px;
  background: var(--white); color: var(--ink);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--lime); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--lime); color: var(--ink); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--white); }
.btn svg { width: 14px; height: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 11px; text-transform: uppercase; }
.link-arrow svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(10px, 1vw, 16px);
  transition: transform .45s var(--ease);
}
.header.is-hidden { transform: translateY(-140%); }
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 clamp(18px, 2.8vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
  transition: background .35s, color .35s, box-shadow .35s;
}
.header.is-scrolled .header__bar { background: rgba(0, 0, 0, .7); }
/* light pages */
.page-light .header__bar { background: rgba(255, 255, 255, .92); color: var(--ink); border-color: rgba(0,0,0,.04); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.page-light .header__logo img { filter: invert(1); }

.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  position: relative; font-family: var(--f-display); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .02em; padding: 8px 4px; white-space: nowrap;
}

.header__right { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; font-size: 11px; text-transform: uppercase; padding: 8px 10px; border-radius: 8px; }
.lang__btn svg { width: 10px; height: 10px; transition: transform .3s; }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 8px;
  background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.lang__menu a:hover { background: var(--bg); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path .6s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); }
.menu-open { overflow: hidden; }
.menu-open .header__bar { background: transparent; border-color: transparent; color: var(--white); box-shadow: none; }
.menu-open.page-light .header__logo img { filter: none; }
.mobile-menu nav a { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 8vw, 44px); line-height: 1.35; text-transform: uppercase; }
.mobile-menu nav a[aria-current="page"] { color: var(--lime); }
.mobile-menu__foot { display: grid; gap: 18px; margin-top: 40px; color: #bdbdbd; }
.mobile-menu__langs { display: flex; gap: 16px; font-family: var(--f-display); font-size: 12px; text-transform: uppercase; }

/* =========================================================
   Socials
   ========================================================= */
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); font-family: var(--f-display); font-weight: 700; font-size: 12px;
  transition: background .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.socials--dark a { border-color: rgba(0,0,0,.2); }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; background: #050010; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 1; padding: 140px var(--gutter) 80px; width: 100%; max-width: 1600px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__eyebrow { margin-bottom: 22px; opacity: .9; }
.hero__title { font-size: clamp(26px, 3.4vw, 64px); line-height: 1.12; }
.hero__line { display: block; }
@media (min-width: 961px) { .hero__line { white-space: nowrap; } }
.hero__title .dim { background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,.35) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { max-width: 560px; margin: 26px auto 34px; font-size: 16px; font-weight: 500; opacity: .85; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; z-index: 1; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   Intro (Created in Baku)
   ========================================================= */
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.intro__title { font-size: clamp(30px, 3.4vw, 45px); text-transform: uppercase; line-height: 1.13; }
.intro__deco { width: 70px; margin-top: 30px; opacity: .7; animation: float 5s ease-in-out infinite; }
.intro__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; max-width: 520px; justify-self: end; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro__media:hover img { transform: scale(1.05); }
@keyframes float { 50% { transform: translateY(-10px) rotate(6deg); } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(60px, 8vw, 110px); }
.pillar { position: relative; padding-top: 40px; }
.pillar__num { position: absolute; top: -18px; left: -4px; font-family: var(--f-display); font-weight: 700; font-size: 90px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #d0d0d0; z-index: 0; letter-spacing: -2px; }
.pillar h3 { position: relative; font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.pillar p { color: #3a3a3a; font-size: 14px; max-width: 340px; }

/* =========================================================
   Quotes slider (dark)
   ========================================================= */
.quotes { background: var(--ink); color: var(--white); padding: clamp(90px, 12vw, 170px) 0; }
.quotes__grid { display: grid; grid-template-columns: 300px 1fr 20px; gap: clamp(30px, 5vw, 70px); align-items: center; }
.quotes__media img { width: 100%; border-radius: 16px; }
.quotes__track { position: relative; min-height: 200px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.quote blockquote { margin: 0 0 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; }
.quote cite { display: block; font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.quote small { color: #a3a3a3; font-size: 13px; }
.dots { display: flex; flex-direction: column; gap: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: #555; transition: background .3s, transform .3s; }
.dots button.is-active { background: var(--white); transform: scale(1.3); }

/* =========================================================
   Section heading (OUR PORTFOLIO / OUR TEAM)
   ========================================================= */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.shead__title { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.shead__big { font-family: var(--f-display); font-size: clamp(44px, 5.6vw, 76px); font-weight: 500; line-height: 1.1; letter-spacing: 2px; text-transform: uppercase; }
.shead__sub { font-family: var(--f-display); font-size: clamp(16px, 1.7vw, 24px); font-weight: 700; text-transform: uppercase; line-height: 1.25; padding-bottom: 12px; }
.shead__text { max-width: 420px; font-size: 14px; }

/* =========================================================
   Portfolio marquee
   ========================================================= */
.marquee { overflow: hidden; padding: 40px 0 80px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

.pcard {
  position: relative; flex: 0 0 auto; width: 300px; background: var(--white); border-radius: var(--radius);
  padding: 22px 22px 46px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(0,0,0,.08); }
.pcard h3 { font-size: 19px; margin-bottom: 4px; }
.pcard__cat { font-size: 12px; color: var(--muted); display: block; margin-bottom: 18px; }
.pcard__img { border-radius: 14px; overflow: hidden; aspect-ratio: 750 / 890; background: var(--bg); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__num {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  width: 58px; height: 58px; border-radius: 50%; background: var(--white); border: 8px solid var(--bg);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 12px;
}

/* =========================================================
   Team list
   ========================================================= */
.team-list { margin-top: 50px; background: var(--white); border-radius: 20px; border: 1px solid #ccc; overflow: hidden; }
.team-row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px clamp(18px, 3vw, 36px); border-bottom: 1px solid #ccc; transition: background .35s;
}
.team-row:last-child { border-bottom: 0; }
.team-row:hover { background: var(--ink); color: var(--white); }
.team-row__name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.team-row h3 { font-size: clamp(20px, 2.3vw, 30px); }
.team-row__role { font-size: 13px; }
.team-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 220px; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-6deg); transition: opacity .3s, transform .4s var(--ease);
}
.team-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.team-preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Services (dark, staggered cards)
   ========================================================= */
.services__head .shead__big { font-size: clamp(40px, 5.6vw, 76px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; align-items: start; }
.svc-grid .svc:nth-child(1) { margin-top: 260px; }
.svc-grid .svc:nth-child(2) { margin-top: 130px; }
.svc {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--white);
  transition: transform .5s var(--ease);
}
.svc:hover { transform: translateY(-10px); }
.svc__img { aspect-ratio: 750 / 640; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { position: relative; padding: 30px 28px 34px; margin-top: -30px; background: var(--ink-2); border-radius: 22px 22px 0 0; }
.svc__tag { position: absolute; top: -36px; left: 0; background: var(--ink-2); padding: 10px 18px 4px; border-radius: 14px 14px 0 0; font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--lime); }
.svc h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.svc p { color: #c9c9c9; font-size: 14px; }
.svc__arrow { position: absolute; right: 24px; top: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.svc:hover .svc__arrow { transform: scale(1); }
.svc__arrow svg { width: 16px; height: 16px; }

/* =========================================================
   Studio / video
   ========================================================= */
.studio__title { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.studio__title .tag { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.5vw, 50px); color: var(--line); text-transform: uppercase; padding-bottom: 10px; }
.video-card { position: relative; display: block; margin-top: 50px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1505 / 707; background: #ccc; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-card:hover img { transform: scale(1.03); }
.play {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.9); display: grid; place-items: center; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255,255,255,.08); transition: transform .4s var(--ease), background .3s;
}
.play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: pulse 2.2s infinite; }
.video-card:hover .play { transform: scale(1.1); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.play svg { width: 24px; height: 24px; margin-left: 4px; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   Features around oval
   ========================================================= */
.features { display: grid; grid-template-columns: 1fr 300px 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.features__col { display: grid; gap: 70px; }
.feature { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.feature__num { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px #cfcfcf; }
.feature h3 { font-size: 21px; margin-bottom: 12px; }
.feature p { font-size: 14px; color: #3a3a3a; }
.features__col--right .feature { grid-template-columns: 1fr auto; text-align: right; }
.features__col--right .feature__num { order: 2; }
.oval { position: relative; aspect-ratio: 300 / 456; border-radius: 999px; overflow: hidden; background: #000; }
.oval > img { width: 100%; height: 100%; object-fit: cover; }
.oval > img.oval__memoji { position: absolute; inset: 0; margin: auto; width: 34%; height: auto; object-fit: contain; animation: float 5s ease-in-out infinite; }

/* =========================================================
   Clients / testimonials
   ========================================================= */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; align-items: start; }
.clients-grid .client:nth-child(1) { margin-top: 200px; }
.clients-grid .client:nth-child(2) { margin-top: 100px; }
.client { position: relative; background: var(--ink-2); border-radius: var(--radius); padding: 18px 18px 60px; }
.client__logo { position: relative; display: block; background: var(--white); border-radius: 20px; overflow: hidden; aspect-ratio: 1.1; }
.client__logo img { width: 100%; height: 100%; object-fit: contain; padding: 14%; }
.client__stars { position: absolute; top: 0; right: 0; background: var(--ink-2); color: var(--white); padding: 6px 12px 10px 16px; border-bottom-left-radius: 16px; font-size: 11px; letter-spacing: 2px; }
.client__text { margin: 26px 10px 22px; color: #d4d4d4; font-size: 14px; }
.client__name { margin: 0 10px; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--white); }
.client__role { margin: 0 10px; font-size: 12px; color: #a3a3a3; }
.client__q { position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--ink-2); border: 8px solid var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--f-display); font-size: 22px; font-weight: 700; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: var(--lime); color: var(--ink); border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 4vw, 56px); text-transform: uppercase; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding: 90px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 200px; margin-bottom: 22px; }
.footer__brand p { color: #a3a3a3; font-size: 14px; max-width: 340px; margin-bottom: 26px; }
.footer h4 { font-size: 18px; margin-bottom: 22px; }
.footer__links { display: grid; gap: 10px; font-size: 14px; color: #cfcfcf; }
.footer__links a:hover { color: var(--lime); }
.newsletter { display: flex; border-bottom: 1px solid #555; }
.newsletter input { flex: 1; background: none; border: 0; color: #fff; padding: 12px 0; font: inherit; outline: none; min-width: 0; }
.newsletter input::placeholder { color: #a3a3a3; }
.newsletter button { color: #fff; padding: 0 4px; }
.newsletter button svg { width: 14px; height: 14px; }
.footer__bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid #262626; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8a8a8a; }
.footer__big { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 10.5vw, 170px); line-height: .9; letter-spacing: -2px; color: transparent; -webkit-text-stroke: 1px #2c2c2c; margin-top: 60px; white-space: nowrap; text-align: center; user-select: none; }

/* To-top */
.to-top {
  position: fixed; right: 18px; bottom: 24px; z-index: 80; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center; border: 1px solid #333;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime); color: var(--ink); }
.to-top svg { width: 16px; height: 16px; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { padding: 180px 0 60px; }
.page-hero__title { font-size: clamp(44px, 8vw, 120px); text-transform: uppercase; line-height: .95; }
.page-hero__lead { max-width: 640px; margin-top: 28px; font-size: 16px; color: #3a3a3a; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 24px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.about-text p + p { margin-top: 18px; }
.about-text p { font-size: 16px; color: #262626; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { border-radius: 20px; width: 100%; aspect-ratio: 750/1028; object-fit: cover; }
.about-photos img:nth-child(2) { margin-top: 60px; }
.about-photos img:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.stat { background: var(--white); border-radius: 20px; padding: 28px; }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(42px, 5vw, 64px); line-height: 1; margin-bottom: 12px; }
.stat p { font-size: 14px; color: #3a3a3a; }
.section--dark .stat { background: var(--ink-2); }
.section--dark .stat p { color: #c9c9c9; }

.logos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.logos li { background: var(--white); border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; }
.logos img { opacity: .75; transition: opacity .3s, transform .3s; }
.logos li:hover img { opacity: 1; transform: scale(1.06); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.step { border-top: 2px solid var(--ink); padding-top: 24px; }
.step__num { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14px; color: #3a3a3a; }

.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.tile { background: var(--white); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), background .4s, color .4s; }
.tile img { width: 64px; height: 64px; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 14px; color: #3a3a3a; flex: 1; transition: color .4s; }
.tile:hover { transform: translateY(-6px); background: var(--ink); color: var(--white); }
.tile:hover p { color: #c9c9c9; }
.tile:hover img { filter: invert(1); }

/* Services page cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard { position: relative; display: flex; flex-direction: column; min-height: 420px; background: var(--white); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform .5s var(--ease), background .4s, color .4s; }
.scard__num { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--muted); }
.scard h3 { font-size: clamp(22px, 2.1vw, 28px); margin: 18px 0 14px; }
.scard p { font-size: 14px; color: #3a3a3a; transition: color .4s; }
.scard__art { margin-top: auto; padding-top: 24px; }
.scard__art img { width: 100%; max-height: 180px; object-fit: contain; object-position: left bottom; }
.scard .link-arrow { margin-top: 20px; }
.scard:hover { transform: translateY(-8px); background: var(--ink); color: var(--white); }
.scard:hover p { color: #c9c9c9; }
.scard:hover .scard__num { color: var(--lime); }
.scard--dark { background: var(--ink); color: var(--white); }
.scard--dark p { color: #c9c9c9; }
.scard--lime { background: var(--lime); }
.scard--lime:hover { background: var(--ink); }

.ticker { overflow: hidden; background: var(--ink); color: var(--white); padding: 26px 0; }
.ticker__track { display: flex; gap: 50px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 44px); text-transform: uppercase; }
.ticker__track span { display: inline-flex; align-items: center; gap: 50px; }
.ticker__track span::after { content: "✦"; color: var(--lime); }

.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-cta > div { border-radius: var(--radius); padding: clamp(30px, 5vw, 60px); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.split-cta h2 { font-size: clamp(28px, 3.4vw, 48px); text-transform: uppercase; line-height: 1.05; }

/* AI page */
.ai-hero { padding: 190px 0 80px; text-align: center; }
.ai-hero h1 { font-size: clamp(44px, 9vw, 130px); line-height: .95; text-transform: uppercase; }
.ai-hero h1 .ai { display: inline-block; background: var(--lime); padding: 0 .2em; border-radius: .15em; transform: rotate(-3deg); }
.ai-hero p { margin: 26px auto 34px; font-size: 18px; max-width: 520px; }
.ai-tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ai-tools li { background: var(--white); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 20%; transition: transform .4s var(--ease); }
.ai-tools li:hover { transform: translateY(-6px) rotate(-2deg); }
.ai-flow { border-radius: var(--radius); overflow: hidden; background: #1b1b1b; }
.ai-flow img { width: 100%; }
.ai-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-stats .stat__num { color: var(--lime); }
.ai-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-feature { background: var(--white); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; }
.ai-feature__num { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--muted); }
.ai-feature h3 { margin-top: auto; font-size: 20px; }
.ai-feature p { font-size: 14px; color: #3a3a3a; }
.ai-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-gallery img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 12px 20px; border-radius: 999px; border: 1px solid #c9c9c9; font-family: var(--f-display); font-weight: 700; font-size: 12px; transition: .3s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pitem { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); transition: opacity .4s, transform .4s var(--ease); text-align: left; }
.pitem.is-hidden { display: none; }
.pitem__img { aspect-ratio: 750/1011; overflow: hidden; }
.pitem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pitem:hover .pitem__img img { transform: scale(1.06); }
.pitem__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 18px; transform: translateY(10px); opacity: .96; transition: transform .4s var(--ease); }
.pitem:hover .pitem__meta { transform: none; }
.pitem__meta h3 { font-size: 16px; }
.pitem__meta span { font-size: 12px; color: var(--muted); }
.pitem__meta i { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.pitem__meta i svg { width: 14px; height: 14px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.form { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: var(--white); border: 1px solid transparent; border-radius: 16px; padding: 20px 22px;
  font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 170px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(188,255,0,.5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__note { font-size: 13px; color: var(--muted); }
.form__status { font-size: 14px; font-weight: 600; }
.cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cinfo a { display: block; background: var(--white); border-radius: 20px; padding: 24px; transition: background .3s, color .3s, transform .3s var(--ease); }
.cinfo a:hover { background: var(--ink); color: var(--white); transform: translateY(-4px); }
.cinfo small { display: block; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.cinfo strong { font-family: var(--f-display); font-size: 15px; word-break: break-word; }
.contact-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-gallery img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(.2); transition: filter .4s, transform .5s var(--ease); }
.contact-gallery img:hover { filter: none; transform: scale(1.03); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 70px 16px 30px; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__body { width: min(1000px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox__body img { max-height: 78vh; width: auto; border-radius: 18px; }
.lightbox__body iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px; background: #000; }
.lightbox__caption { margin-top: 16px; color: #fff; text-align: center; font-family: var(--f-display); font-weight: 700; }
.lightbox__caption span { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: #a3a3a3; margin-top: 4px; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track, .ticker__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__right .lang { display: none; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .svc-tiles, .ai-features, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .intro__grid, .about-grid, .contact-grid, .split-cta { grid-template-columns: 1fr; }
  .intro__media { justify-self: start; }
  .pillars { grid-template-columns: 1fr; gap: 50px; }
  .quotes__grid { grid-template-columns: 1fr; }
  .quotes__media { max-width: 240px; }
  .dots { flex-direction: row; }
  .svc-grid, .clients-grid, .svc-cards, .pgrid, .ai-stats { grid-template-columns: 1fr 1fr; }
  .svc-grid .svc:nth-child(n), .clients-grid .client:nth-child(n) { margin-top: 0; }
  .svc-grid .svc:nth-child(3), .clients-grid .client:nth-child(3) { grid-column: span 2; max-width: 50%; justify-self: center; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .features__col--right .feature { grid-template-columns: auto 1fr; text-align: left; }
  .features__col--right .feature__num { order: 0; }
  .oval { grid-column: span 2; grid-row: 1; width: 240px; justify-self: center; }
  .ai-tools { grid-template-columns: repeat(4, 1fr); }
  .ai-gallery, .contact-gallery { grid-template-columns: repeat(2, 1fr); }
  .team-preview { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .hero__title { font-size: 26px; }
  .display-xl { font-size: 40px; }
  .page-hero__title { font-size: 36px; }
  .shead__big, .services__head.shead__big { font-size: 32px; }
  .ai-hero h1 { font-size: 34px; }
  .intro__title { font-size: 26px; }
  .split-cta h2, .cta-band h2 { font-size: 26px; }
  .header { top: 10px; }
  .header__bar { height: 62px; border-radius: 18px; }
  .header__logo img { height: 24px; }
  .svc-grid, .clients-grid, .svc-cards, .pgrid, .ai-stats, .features, .svc-tiles, .ai-features, .steps, .stats, .cinfo, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .svc-grid .svc:nth-child(3), .clients-grid .client:nth-child(3) { grid-column: auto; max-width: none; }
  .oval { grid-column: auto; }
  .features__col { gap: 40px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .ai-tools { grid-template-columns: repeat(3, 1fr); }
  .pcard { width: 250px; }
  .team-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 18px; }
  .shead { align-items: flex-start; }
  .about-photos img:nth-child(2) { margin-top: 30px; }
  .footer__bottom { flex-direction: column; }
  .page-hero { padding: 140px 0 40px; }
  .ai-hero { padding: 140px 0 60px; }
  .play { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
}
.shead__big--m { font-size: clamp(32px, 4vw, 56px); }
@media (max-width: 640px) {
  .shead__big--m { font-size: 26px; }
  .hero__title { font-size: 22px; }
}

/* Intro globe */
.intro__globe { position: relative; width: 100%; background: transparent; overflow: visible; cursor: grab; touch-action: pan-y; user-select: none; }
.intro__globe.is-dragging { cursor: grabbing; }
.intro__globe canvas { display: block; width: 100%; height: 100%; }
.globe__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.5); pointer-events: none; white-space: nowrap; }
.globe__hint::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: middle; box-shadow: 0 0 0 1.5px #000; }

/* Nav hover: kilim motif (Azerbaijani/Turkic carpet ornament) instead of the oval */
.nav { gap: clamp(20px, 2.3vw, 36px); }
.nav a::before, .nav a::after { content: ""; position: absolute; pointer-events: none; background: currentColor; border: 0; border-radius: 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.nav a::before { /* square motif, left of the word */
  width: 14px; height: 14px; left: -19px; top: 50%; inset-block-end: auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E");
  opacity: 0; transform: translateY(-50%) scale(0) rotate(-135deg);
  transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.nav a::after { /* carpet border strip under the word, woven out from the centre */
  inset: auto 0 -1px 0; width: auto; height: 6px; border: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 7 5%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%223%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 7 5%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%223%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-size: 8.4px 6px; mask-size: 8.4px 6px; -webkit-mask-position: center; mask-position: center;
  opacity: 0; transform: none; clip-path: inset(0 50% 0 50%);
  transition: clip-path .5s cubic-bezier(.65,0,.35,1), opacity .2s;
}
.nav a:hover::before, .nav a:focus-visible::before { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); animation: kilimSpin 4s steps(8, end) .6s infinite; }
.nav a:hover::after, .nav a:focus-visible::after { opacity: .9; transform: none; clip-path: inset(0 0 0 0); }
/* current page: motif stays, in lime on the dark header */
.nav a[aria-current="page"]::before { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); background: var(--lime); }
.nav a[aria-current="page"]::after { opacity: 0; transform: none; clip-path: inset(0 50% 0 50%); }
.nav a[aria-current="page"]:hover::after { opacity: .9; clip-path: inset(0 0 0 0); }
.page-light .nav a[aria-current="page"]::before { background: var(--ink); }
@keyframes kilimSpin { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nav a::before, .nav a::after { transition: none; animation: none !important; } }

/* ---------- Buttons: lime kilim fill on hover, motif stamp on click ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; --fill: var(--lime); --fill-ink: var(--ink); }
.btn--lime { --fill: var(--white); }
.btn:hover { background: var(--white); }
.btn--dark:hover { background: var(--ink); }
.btn--lime:hover { background: var(--lime); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--fill); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 22 22%22 shape-rendering=%22crispEdges%22%3E%3Cg fill=%22%23000%22 fill-opacity=%22.13%22%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%229%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%229%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2212%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2212%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2220%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2220%22 width=%221%22 height=%221%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 22px 22px;
  clip-path: circle(0% at var(--bx, 50%) var(--by, 50%));
  transition: clip-path .55s cubic-bezier(.65,0,.35,1);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(150% at var(--bx, 50%) var(--by, 50%)); animation: kilimDrift 2.2s linear infinite; }
.btn:hover, .btn:focus-visible { color: var(--fill-ink); }
.btn svg { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.btn:hover svg { transform: rotate(45deg); }
.btn__stamp {
  position: absolute; z-index: -1; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none;
  background: var(--fill-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  animation: kilimStamp .7s cubic-bezier(.2,.7,.3,1) forwards;
}
.btn:active { transform: translateY(0) scale(.97); }
@keyframes kilimDrift { from { background-position: 0 0; } to { background-position: 22px -22px; } }
@keyframes kilimStamp {
  0% { transform: scale(.4) rotate(-90deg); opacity: .9; }
  60% { opacity: .35; }
  100% { transform: scale(9) rotate(0deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; animation: none !important; } .btn__stamp { display: none; } }

/* light pages: once scrolled the bar turns dark, so switch its content to white */
.page-light .header.is-scrolled .header__bar { color: var(--white); border-color: rgba(255,255,255,.08); }
.page-light .header.is-scrolled .header__logo img { filter: none; }
.page-light .header.is-scrolled .nav a[aria-current="page"]::before { background: var(--lime); }

/* =====================================================================
   Service detail pages (service-*.html)
   ===================================================================== */
.svc-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; padding: 170px 0 70px; color: var(--white); background: #050010; overflow: hidden; }
.svc-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__inner { position: relative; z-index: 1; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.svc-hero__title { font-size: clamp(40px, 7.4vw, 118px); line-height: .95; text-transform: uppercase; }
.breadcrumbs--light { color: rgba(255,255,255,.75); }
.breadcrumbs--light a:hover { color: var(--lime); }

.workflow__head { margin-bottom: 50px; }
.workflow__eyebrow { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); text-transform: uppercase; color: #bdbdbd; letter-spacing: 1px; }
.workflow__title { font-size: clamp(38px, 7vw, 104px); line-height: 1; text-transform: uppercase; color: #8f8f8f; overflow-wrap: anywhere; }
.workflow__title .outline-dark { -webkit-text-stroke-width: 2px; }

.wsteps { display: flex; flex-direction: column; gap: 28px; }
.wstep {
  position: sticky; top: calc(100px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  height: min(74vh, 660px); background: var(--bg);
}
.wstep__media { border-radius: var(--radius); overflow: hidden; background: #111; }
.wstep__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wstep:hover .wstep__media img { transform: scale(1.04); }
.wstep__card { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.wstep__card--dark { background: var(--ink); color: var(--white); }
.wstep__card h3 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; max-width: 14ch; }
.wstep__foot { margin-top: auto; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 30px; }
.wstep__num { font-family: var(--f-display); font-weight: 500; font-size: clamp(64px, 8vw, 128px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.wstep__card--dark .wstep__num { -webkit-text-stroke-color: var(--lime); }
.wstep__foot p { justify-self: end; max-width: 340px; font-size: 15px; opacity: .85; }

.svc-talk { display: flex; justify-content: center; margin-top: 80px; }
.btn.talk-circle { width: 180px; height: 180px; padding: 0; border-radius: 50%; justify-content: center; text-align: center; font-size: 17px; }
.btn.talk-circle svg { width: 16px; height: 16px; }
.btn.talk-circle:hover { transform: scale(1.06); }

.svc-other { padding-top: 0; }
.svc-other__label { color: var(--muted); margin-bottom: 18px; text-transform: uppercase; font-size: 12px; }
.svc-other__list { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-other__item {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px;
  border: 1px solid #d2d2d2; font-family: var(--f-display); font-weight: 700; font-size: 14px; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.svc-other__item .mono { color: var(--muted); font-size: 11px; transition: color .3s; }
.svc-other__item svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.svc-other__item:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-other__item:hover .mono { color: var(--lime); }
.svc-other__item:hover svg { transform: rotate(45deg); }

@media (max-width: 960px) {
  .wstep { position: relative; top: 0; grid-template-columns: 1fr; height: auto; }
  .wstep__media { aspect-ratio: 4 / 3; }
  .wstep__card { min-height: 300px; }
}
@media (max-width: 640px) {
  .svc-hero { min-height: 52vh; padding: 140px 0 50px; }
  .svc-hero__title { font-size: 38px; }
  .workflow__title { font-size: 34px; }
  .wstep__foot { grid-template-columns: 1fr; gap: 18px; }
  .wstep__foot p { justify-self: start; }
  .btn.talk-circle { width: 150px; height: 150px; font-size: 15px; }
}

/* =====================================================================
   Portfolio — bento grid
   ===================================================================== */
.container--wide { max-width: calc(1760px + var(--gutter) * 2); }
.page-portfolio-hero { padding-bottom: 30px; }
.pgrid--bento {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 9.2vw, 176px);
  grid-auto-flow: row dense; gap: clamp(12px, 1.2vw, 20px);
}
.pgrid--bento .pitem { grid-row: span 3; min-height: 0; isolation: isolate; }
.pgrid--bento .pitem--big { grid-column: span 2; grid-row: span 4; }
.pgrid--bento .pitem--tall { grid-row: span 4; }
.pgrid--bento .pitem--sq { grid-row: span 3; }
.pgrid--bento .pitem--info { grid-row: span 1; }
.pgrid--bento .pitem--cta { grid-column: span 2; grid-row: span 3; }
.pgrid--bento .pitem__img { position: absolute; inset: 0; aspect-ratio: auto; }
.pgrid--bento .pitem__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,.62) 100%); }
.pgrid--bento .pitem:hover .pitem__img img { transform: scale(1.05); }
.pitem__chip {
  position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22);
}
.pgrid--bento .pitem__meta {
  left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 1.8vw, 28px); border-radius: 0;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; transform: none; opacity: 1;
  align-items: flex-end;
}
.pgrid--bento .pitem__meta h3 { font-size: clamp(18px, 1.5vw, 26px); line-height: 1.1; transition: transform .5s var(--ease); }
.pgrid--bento .pitem--big .pitem__meta h3 { font-size: clamp(26px, 2.8vw, 48px); text-transform: uppercase; }
.pgrid--bento .pitem__meta i { width: 46px; height: 46px; background: #fff; color: var(--ink); transform: scale(.85) rotate(-45deg); transition: transform .5s cubic-bezier(.34,1.56,.64,1), background .3s; }
.pgrid--bento .pitem:hover .pitem__meta i { background: var(--lime); transform: scale(1) rotate(0); }
.pgrid--bento .pitem:hover .pitem__meta h3 { transform: translateY(-4px); }

/* info + CTA tiles */
.pitem--info { display: flex; align-items: center; gap: 16px; padding: 0 24px; border-radius: var(--radius); }
.pitem--count { background: var(--ink); color: #fff; }
.pitem--count strong { font-family: var(--f-display); font-size: clamp(40px, 3.6vw, 64px); line-height: 1; color: var(--lime); }
.pitem--count span, .pitem--world span:last-child { font-family: var(--f-display); font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.3; }
.pitem--world { background: var(--lime); color: var(--ink); }
.pitem__kilim { flex: none; width: 38px; height: 38px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 9 9%22 shape-rendering=%22crispEdges%22%3E%3Crect x=%224%22 y=%220%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%220%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: kilimSpin 6s steps(8, end) infinite; }
.pitem--cta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 18px; padding: clamp(24px, 2.6vw, 44px); background: var(--white); border-radius: var(--radius); }
.pitem--cta .mono { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.pitem--cta h3 { font-size: clamp(28px, 3vw, 52px); line-height: 1.05; text-transform: uppercase; max-width: 12ch; }

/* filter re-pack animation */
.pitem.is-pop { animation: pitemPop .55s var(--ease) both; }
@keyframes pitemPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .pgrid--bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(100px, 14vw, 160px); }
}
@media (max-width: 640px) {
  .pgrid--bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pgrid--bento .pitem, .pgrid--bento .pitem--big, .pgrid--bento .pitem--tall, .pgrid--bento .pitem--sq, .pgrid--bento .pitem--cta { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .pgrid--bento .pitem--info { aspect-ratio: auto; min-height: 96px; }
  .pgrid--bento .pitem--cta { aspect-ratio: auto; min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .pitem.is-pop { animation: none; } .pitem__kilim { animation: none; } }

/* CTA tile becomes a wide 2x1 banner at the end of the bento grid */
.pgrid--bento .pitem--cta { grid-row: span 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 2.4vw, 40px); }
.pgrid--bento .pitem--cta h3 { font-size: clamp(20px, 1.9vw, 32px); max-width: none; }
.pgrid--bento .pitem--cta .mono { display: none; }

/* =====================================================================
   Project pages (work-*.html)
   ===================================================================== */
.whero { padding-bottom: 40px; }
.whero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 4vw, 80px); align-items: end; }
.wchip { display: inline-flex; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 12px; transition: background .3s, color .3s; }
.wchip:hover { background: var(--lime); color: var(--ink); }
.whero__title { font-size: clamp(48px, 8.4vw, 150px); line-height: .92; text-transform: uppercase; overflow-wrap: anywhere; }
.wmeta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(30px, 4vw, 60px); background: #d6d6d6; border: 1px solid #d6d6d6; border-radius: 18px; overflow: hidden; }
.wmeta > div { background: var(--bg); padding: 18px 20px; }
.wmeta dt { font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.wmeta dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.3; }
.whero__cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; background: #111; }
.whero__cover img { width: 100%; height: 100%; object-fit: cover; }

.wlabel { font-size: 12px; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; letter-spacing: .06em; }
.wlabel::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--lime); border: 1.5px solid var(--ink); transform: rotate(45deg); vertical-align: 1px; }
.wabout__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; border-top: 1px solid #d6d6d6; padding-top: 40px; }
.wabout__text { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 32px); line-height: 1.35; }

.wproc { padding-top: 0; }
.wproc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wproc__item { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); min-height: 280px; display: flex; flex-direction: column; transition: background .4s, color .4s; }
.wproc__item:hover { background: var(--ink); color: var(--white); }
.wproc__num { font-family: var(--f-display); font-size: clamp(44px, 4.4vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: -webkit-text-stroke-color .4s; }
.wproc__item:hover .wproc__num { -webkit-text-stroke-color: var(--lime); }
.wproc__item h3 { margin: auto 0 12px; padding-top: 30px; font-size: clamp(20px, 1.8vw, 26px); }
.wproc__item p { font-size: 14px; opacity: .8; }

.wmedia { padding-top: 0; }
.wvideos { display: grid; gap: 20px; margin-bottom: 60px; }
.wvideos--short { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); max-width: 1100px; }
.wvideos--wide { grid-template-columns: 1fr; }
.yt { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.yt--short { aspect-ratio: 9 / 16; }
.yt--wide { aspect-ratio: 16 / 9; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); transition: transform .45s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.yt__play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt:hover .yt__play { transform: scale(1.12); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.wgallery { display: grid; gap: 20px; grid-auto-flow: dense; }
.wgallery--2 { grid-template-columns: repeat(2, 1fr); }
.wgallery--3 { grid-template-columns: repeat(3, 1fr); }
.gimg { display: block; border-radius: var(--radius); overflow: hidden; background: #e2e2e2; }
.gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gimg:hover img { transform: scale(1.03); }
.gimg--wide { grid-column: 1 / -1; }
.gimg--long { grid-column: 1 / -1; height: 82vh; overflow-y: auto; overscroll-behavior: contain; }
.gimg--long img { height: auto; }
.gimg--long:hover img { transform: none; }

.wreview-sec { padding-top: 0; }
.wreview { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: clamp(30px, 5vw, 80px); }
.wreview .wlabel { color: #a3a3a3; }
.wreview blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.35; max-width: 1100px; }
.wreview figcaption { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.wreview figcaption img, .wreview__initials { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.wreview__initials { display: grid; place-items: center; background: var(--lime); color: var(--ink); font-family: var(--f-display); font-weight: 700; }
.wreview figcaption strong { display: block; font-family: var(--f-display); }
.wreview figcaption small { color: #a3a3a3; font-size: 13px; }

.wnav-sec { padding-top: 0; }
.wnav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.wnav__card { position: relative; display: flex; align-items: center; gap: 20px; padding: 16px; background: var(--white); border-radius: var(--radius); transition: background .35s, color .35s; }
.wnav__card img { width: 92px; height: 120px; object-fit: cover; border-radius: 14px; flex: none; transition: transform .5s var(--ease); }
.wnav__card--next { flex-direction: row-reverse; text-align: right; }
.wnav__txt .mono { display: block; font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.wnav__txt strong { display: block; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 26px); }
.wnav__txt small { color: var(--muted); font-size: 13px; }
.wnav__card:hover { background: var(--ink); color: var(--white); }
.wnav__card:hover img { transform: scale(1.06) rotate(-2deg); }
.wnav__card:hover .mono { color: var(--lime); }
.wnav__all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 34px; border-radius: var(--radius); background: var(--lime); font-family: var(--f-display); font-weight: 700; font-size: 13px; text-transform: uppercase; text-align: center; transition: transform .35s var(--ease); }
.wnav__all:hover { transform: translateY(-3px); }

@media (max-width: 1180px) {
  .wmeta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .whero__grid, .wabout__grid { grid-template-columns: 1fr; }
  .whero__cover { aspect-ratio: 4 / 3; }
  .wproc__grid { grid-template-columns: 1fr; }
  .wproc__item { min-height: 0; }
  .wnav { grid-template-columns: 1fr 1fr; }
  .wnav__all { grid-column: 1 / -1; grid-row: 1; flex-direction: row; }
}
@media (max-width: 640px) {
  .whero__title { font-size: 44px; }
  .wgallery--2, .wgallery--3 { grid-template-columns: 1fr; }
  .wvideos--short { grid-template-columns: 1fr 1fr; gap: 12px; }
  .yt__play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .wnav { grid-template-columns: 1fr; }
  .wnav__card--next { flex-direction: row; text-align: left; }
  .gimg--long { height: 70vh; }
  .pgrid--bento .pitem--cta { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px; }
}

/* project pages: flexible meta row, 4-step grids, live-site link */
.wmeta { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.wmeta dd a { border-bottom: 1.5px solid var(--lime); transition: background .3s; }
.wmeta dd a:hover { background: var(--lime); }
.wproc__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .wproc__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .wproc__grid--4 { grid-template-columns: 1fr; } }

/* CTA tile back to a 2x3 block (fills the last bento slot) */
.pgrid--bento .pitem--cta { grid-row: span 3; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 18px; padding: clamp(24px, 2.6vw, 44px); }
.pgrid--bento .pitem--cta h3 { font-size: clamp(28px, 3vw, 52px); max-width: 12ch; }
.pgrid--bento .pitem--cta .mono { display: block; }
@media (max-width: 640px) { .pgrid--bento .pitem--cta { grid-row: auto; } }

/* bento: wide project tile (2x3) + full-width CTA strip at the end */
.pgrid--bento .pitem--wide { grid-column: span 2; grid-row: span 3; }
.pgrid--bento .pitem--wide .pitem__meta h3 { font-size: clamp(24px, 2.4vw, 40px); text-transform: uppercase; }
.pgrid--bento .pitem--cta { grid-column: 1 / -1; grid-row: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.pgrid--bento .pitem--cta .mono { width: 100%; }
.pgrid--bento .pitem--cta h3 { max-width: 16ch; }
@media (max-width: 640px) {
  .pgrid--bento .pitem--wide { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .pgrid--bento .pitem--cta { grid-row: auto; flex-direction: column; align-items: flex-start; }
}

/* CTA tile: 2x3 block next to the last 2-column project */
.pgrid--bento .pitem--cta { grid-column: span 2; grid-row: span 3; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.pgrid--bento .pitem--cta h3 { max-width: 12ch; }
@media (max-width: 640px) { .pgrid--bento .pitem--cta { grid-column: auto; grid-row: auto; } }

/* --- titles: never break inside a word; main.js shrinks the font until the longest word fits --- */
.whero__title, .svc-hero__title, .workflow__title, .page-hero__title, .ai-hero h1 { overflow-wrap: normal !important; word-break: normal; hyphens: manual !important; -webkit-hyphens: manual !important; }
/* --- project info row: no default <dd> indent, long values wrap inside their cell --- */
.wmeta { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.wmeta dd { margin: 0; overflow-wrap: anywhere; }
.wmeta dd a { display: inline; }
.whero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.whero__text, .wabout__grid > *, .wmeta > div { min-width: 0; }
@media (max-width: 960px) { .whero__grid { grid-template-columns: minmax(0, 1fr); } }

/* hero: the grid track must not grow to the nowrap title width, so the fit script can shrink it */
.hero { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 961px) {
  .features { grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px) minmax(0, 1fr); }
  .features__col, .feature > * { min-width: 0; }
  .feature h3 { font-size: clamp(16px, 1.55vw, 21px); }
}
/* reset browser default margins on the review block */
.wreview, .wreview blockquote { margin: 0; }
.wreview blockquote { overflow-wrap: break-word; }

/* =====================================================================
   Portfolio hero — lime kilim layer (like the buttons) + title made of squares
   ===================================================================== */
.pf-hero { position: relative; isolation: isolate; padding-bottom: 70px; margin-bottom: 30px; }
.pf-hero__bg {
  position: absolute; inset: 0 12px 0; z-index: -1; border-radius: 0 0 var(--radius) var(--radius);
  background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 22 22%22 shape-rendering=%22crispEdges%22%3E%3Cg fill=%22%23000%22 fill-opacity=%22.13%22%3E%3Crect x=%225%22 y=%221%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%222%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%223%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%224%22 width=%221%22 height=%221%22/%3E%3Crect x=%221%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%229%22 y=%225%22 width=%221%22 height=%221%22/%3E%3Crect x=%222%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%228%22 y=%226%22 width=%221%22 height=%221%22/%3E%3Crect x=%223%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%227%22 y=%227%22 width=%221%22 height=%221%22/%3E%3Crect x=%224%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%226%22 y=%228%22 width=%221%22 height=%221%22/%3E%3Crect x=%225%22 y=%229%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2212%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2213%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2214%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2215%22 width=%221%22 height=%221%22/%3E%3Crect x=%2212%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2220%22 y=%2216%22 width=%221%22 height=%221%22/%3E%3Crect x=%2213%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2219%22 y=%2217%22 width=%221%22 height=%221%22/%3E%3Crect x=%2214%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2218%22 y=%2218%22 width=%221%22 height=%221%22/%3E%3Crect x=%2215%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2217%22 y=%2219%22 width=%221%22 height=%221%22/%3E%3Crect x=%2216%22 y=%2220%22 width=%221%22 height=%221%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 26px 26px;
  clip-path: circle(0% at 12% 88%);
  animation: pfReveal 1.25s cubic-bezier(.65,0,.35,1) .15s forwards, kilimDrift 3.2s linear infinite;
}
@keyframes pfReveal { to { clip-path: circle(150% at 12% 88%); } }
.pf-hero .breadcrumbs, .pf-hero .breadcrumbs a { color: rgba(0,0,0,.6); }
.pf-hero .page-hero__lead { color: #1d1d1d; }
.pf-hero .btn__stamp { z-index: 0; }
.pf-stamp { position: absolute; z-index: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; background: var(--ink);
  -webkit-mask: var(--kilim-motif) center / 100% 100% no-repeat; mask: var(--kilim-motif) center / 100% 100% no-repeat;
  animation: kilimStamp .9s cubic-bezier(.2,.7,.3,1) forwards; }
/* pixel title: the real text stays for SEO / screen readers, the canvas draws it */
[data-pixel-title].is-pixel { position: relative; color: transparent !important; }
[data-pixel-title].is-pixel .outline-dark { -webkit-text-stroke-color: transparent; }
[data-pixel-title] canvas { position: absolute; left: 0; top: 0; pointer-events: auto; }
@media (max-width: 640px) { .pf-hero__bg { inset: 0 0 0; border-radius: 0 0 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .pf-hero__bg { animation: none; clip-path: none; } }

/* =====================================================================
   AI / Workflows — grid tile (no photo), project page, live runbook
   ===================================================================== */
.pitem--ai { background: #0c0d0b; color: #fff; }
.pitem--ai::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 100% 0%, rgba(188,255,0,.16), transparent 55%),
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px; pointer-events: none; }
.pitem--ai .pitem__chip { background: rgba(188,255,0,.12); border-color: rgba(188,255,0,.35); color: var(--lime); }
.aitile { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(56px, 4.4vw, 70px) clamp(18px, 1.8vw, 28px) clamp(18px, 1.8vw, 28px); }
.aitile__code { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
.aitile h3 { margin-top: 8px; font-size: clamp(22px, 2.2vw, 36px); line-height: 1.05; text-transform: uppercase; }
.aitile__sub { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.7); max-width: 34ch; }
.aipipe { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; counter-reset: n; padding-right: 60px; }
.aipipe__n { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: border-color .3s, background .3s, color .3s, box-shadow .3s; }
.aipipe__n + .aipipe__n::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1px; background: rgba(255,255,255,.22); }
.aipipe__n b { font-family: var(--f-display); font-size: 12px; font-weight: 700; }
.aipipe__n span { font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; }
.aipipe__n.is-done { border-color: rgba(188,255,0,.4); }
.aipipe__n.is-on { border-color: var(--lime); background: var(--lime); color: var(--ink); box-shadow: 0 0 24px rgba(188,255,0,.45); }
.aipipe__n.is-on span { color: rgba(0,0,0,.6); }
.aitile__go { position: absolute; right: clamp(18px, 1.8vw, 28px); bottom: clamp(18px, 1.8vw, 28px); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); transform: rotate(-45deg) scale(.85);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), background .3s; }
.aitile__go svg { width: 14px; height: 14px; }
.pitem--ai:hover .aitile__go { background: var(--lime); transform: none; }
@media (max-width: 640px) { .pgrid--bento .pitem--ai { aspect-ratio: auto; min-height: 380px; } .aipipe { padding-right: 56px; gap: 8px 18px; } }

/* AI project page */
.aihero__meta { margin: 6px 0 14px; font-size: 13px; color: #4e7a00; }
.aihero__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-top: 26px; }
.aihero__lead { font-size: clamp(16px, 1.3vw, 20px); color: #333; max-width: 62ch; }
.aihero__stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.aihero__stack li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid #dcdcdc; font-size: 13px; font-weight: 500; }
@media (max-width: 960px) { .aihero__row { grid-template-columns: 1fr; } .aihero__stack { justify-content: flex-start; } }

.rbsec { padding-top: 10px; }
.rb { background: #0c0d0b; color: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 44px); }
.rb__label { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.rb__input { width: 100%; min-height: 96px; resize: vertical; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #fff;
  border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.55; outline: none; transition: border-color .3s; }
.rb__input:focus { border-color: var(--lime); }
.rb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 0 22px; }
.rb__presets, .rb__decide { display: flex; flex-wrap: wrap; gap: 8px; }
.rb__chip { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13px; transition: .25s; }
.rb__chip:hover { border-color: var(--lime); }
.rb__chip.is-active { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.rb__run { --fill: var(--lime); --fill-ink: var(--ink); background: #fff; color: var(--ink); }
.btn.rb__run[disabled] { opacity: .75; cursor: progress; }
.rb__dot { width: 9px; height: 9px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 4px rgba(24,169,87,.2); }
.rb__nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rb__node { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 14px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s, box-shadow .3s; }
.rb__num { font-size: 11px; color: rgba(255,255,255,.45); }
.rb__node strong { font-family: var(--f-display); font-size: 15px; line-height: 1.2; }
.rb__tool { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; }
.rb__state { margin-top: 8px; align-self: flex-start; padding: 3px 8px; border-radius: 6px; font-size: 11px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.rb__log { font-size: 11.5px; line-height: 1.45; color: rgba(255,255,255,.78); overflow-wrap: anywhere; }
.rb__node[data-state="active"] { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(188,255,0,.18); }
.rb__node[data-state="ok"] { border-color: rgba(188,255,0,.55); }
.rb__node[data-state="ok"] .rb__state { background: var(--lime); color: var(--ink); }
.rb__node[data-state="warn"] { border-color: rgba(255,190,60,.7); }
.rb__node[data-state="warn"] .rb__state { background: #ffbe3c; color: var(--ink); }
.rb__node[data-state="stop"] { border-color: rgba(255,110,90,.75); }
.rb__node[data-state="stop"] .rb__state { background: #ff6e5a; color: #fff; }
.rb__node[data-state="await"] { border-color: rgba(120,170,255,.75); }
.rb__node[data-state="await"] .rb__state { background: #78aaff; color: var(--ink); }
.rb__node[data-state="skip"] { opacity: .55; }
.rb__out { margin-top: 16px; min-height: 90px; padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(255,255,255,.18); }
.rb__out.is-done { border-style: solid; border-color: var(--lime); background: rgba(188,255,0,.06); }
.rb__ph { font-size: 13px; color: rgba(255,255,255,.5); }
.rb__out.is-wait .rb__ph { color: var(--lime); }
.rb__out-title { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--lime); margin-bottom: 8px; }
.rb__out-body { margin: 0; font-family: var(--f-mono); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: rgba(255,255,255,.9); }
.rb__out-body.is-prose { font-family: var(--f-body, inherit); font-size: 15px; }
.rb__decide { margin-top: 14px; }
.rb__note { margin-top: 16px; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.45); max-width: 90ch; }

.aioutcome__box { background: var(--lime); border-radius: var(--radius); padding: clamp(26px, 4vw, 60px); }
.aioutcome__box .wlabel { color: rgba(0,0,0,.6); }
.aioutcome__box .wlabel::before { background: var(--ink); }
.aioutcome__text { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.3; max-width: 34ch; }
.wnav__ai { width: 92px; height: 120px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #0c0d0b; color: var(--lime); font-size: 15px; }

/* CTA at the end of the grid: full-width strip, or 2x3 block when that closes a gap (main.js decides) */
.pgrid--bento .pitem--cta { grid-column: 1 / -1; grid-row: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.pgrid--bento .pitem--cta.is-half { grid-column: span 2; grid-row: span 3; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.pgrid--bento .pitem--cta .mono { width: 100%; }
.pgrid--bento .pitem--cta h3 { max-width: 16ch; }
@media (max-width: 640px) { .pgrid--bento .pitem--cta, .pgrid--bento .pitem--cta.is-half { grid-column: auto; grid-row: auto; flex-direction: column; align-items: flex-start; } }
.pgrid--bento { position: relative; }
.rb__input, .rb__log, .rb__out-body, .rb__ph, .rb__note, .aitile__sub { text-transform: none; letter-spacing: 0; }

/* ---------- AI tiles v2: each system has its own colour + mini interface ---------- */
.pitem--ai .aitile { padding: clamp(54px, 4.2vw, 66px) clamp(18px, 1.8vw, 28px) clamp(18px, 1.8vw, 28px); gap: 0; }
.aiui { margin-top: auto; font-size: 13px; }
.aiui p { margin: 0; }
/* FlowDesk — dark, big */
.aitile--flowdesk .aiui--msg { margin-top: 28px; max-width: 520px; }
.aiui__bubble { padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); line-height: 1.45; }
.aiui__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; font-size: 11px; text-transform: none; }
.aiui__tags span { padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.08); }
.aiui__tags .is-warn { background: #ffbe3c; color: var(--ink); }
.aiui__tags .is-ok { background: var(--lime); color: var(--ink); }
.aitile--flowdesk .aipipe { margin-top: auto; }
/* SupportPilot — white */
.pitem--ai.aitile--supportpilot { background: #fff; color: var(--ink); }
.aitile--supportpilot::before { background: radial-gradient(120% 70% at 0% 100%, rgba(120,170,255,.22), transparent 60%); }
.aitile--supportpilot .aitile__code, .aitile--supportpilot .aitile__sub { color: rgba(0,0,0,.55); }
.aitile--supportpilot .pitem__chip { background: #eef3ff; border-color: #c9d8ff; color: #2f5fd0; }
.aiui--chat { display: flex; flex-direction: column; gap: 10px; }
.aiui__q { align-self: flex-end; max-width: 85%; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; line-height: 1.4; }
.aiui__a { max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #eef3ff; line-height: 1.45; }
.aiui__src { display: inline-block; margin-bottom: 6px; padding: 3px 7px; border-radius: 6px; background: #fff; color: #2f5fd0; font-size: 10.5px; text-transform: none; }
.aiui__btns { display: flex; gap: 6px; margin-top: 10px; }
.aiui__btns b { padding: 5px 10px; border-radius: 999px; font-size: 11px; background: var(--ink); color: #fff; }
.aiui__btns b + b { background: transparent; color: var(--ink); border: 1px solid rgba(0,0,0,.2); }
.aitile--supportpilot .aitile__go { background: var(--ink); color: #fff; }
/* InsightLens — lime */
.pitem--ai.aitile--insightlens { background: var(--lime); color: var(--ink); }
.aitile--insightlens::before { background: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px) 0 0 / 24px 24px; }
.aitile--insightlens .aitile__code, .aitile--insightlens .aitile__sub { color: rgba(0,0,0,.6); }
.aitile--insightlens .pitem__chip { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); color: var(--ink); }
.aiui--doc { padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.18); transform: rotate(-2deg); font-size: 12px; line-height: 1.7; text-transform: none; }
.aiui__doc-h { color: rgba(0,0,0,.45); margin-bottom: 6px !important; font-size: 11px; }
.aiui--doc .is-bad { background: rgba(255,110,90,.18); border-radius: 4px; padding: 0 4px; }
.aiui__flag { margin-top: 6px !important; color: #d0402c; font-weight: 700; }
.aitile--insightlens .aitile__go { background: var(--ink); color: var(--lime); }
/* ResearchLoop — paper */
.pitem--ai.aitile--researchloop { background: #f3ede2; color: var(--ink); }
.aitile--researchloop::before { background: radial-gradient(90% 90% at 100% 100%, rgba(196,160,92,.25), transparent 60%); }
.aitile--researchloop .aitile__code, .aitile--researchloop .aitile__sub { color: rgba(0,0,0,.55); }
.aitile--researchloop .pitem__chip { background: #fff; border-color: #e0d6c4; color: #7a5a1c; }
.aiui--brief { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: end; }
.aiui__agents { display: flex; flex-direction: column; gap: 6px; font-size: 11px; text-transform: none; }
.aiui__agents span { padding: 5px 9px; border-radius: 8px; background: #fff; border: 1px solid #e0d6c4; white-space: nowrap; }
.aiui__agents .is-out { background: var(--ink); color: #fff; border-color: var(--ink); }
.aiui__page { padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(80,60,20,.12); }
.aiui__page p:not(.aiui__doc-h) { display: flex; flex-direction: column; gap: 4px; margin-top: 8px !important; }
.aiui__page b { font-family: var(--f-display); font-size: 11px; text-transform: uppercase; }
.aiui__page i { display: block; height: 6px; border-radius: 3px; background: #ece4d4; }
.aiui__page i.s { width: 60%; }
.aitile--researchloop .aitile__go { background: var(--ink); color: #fff; }
/* OpenClaw — dark kanban */
.aiui--kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-right: 56px; }
.aiui__col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.05); }
.aiui__col > p { font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; }
.aiui__card { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.aiui__card b { font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.aiui__card i { font-style: normal; font-size: 10px; color: rgba(255,255,255,.55); text-transform: none; }
.aiui__col:nth-child(2) .aiui__card { border-color: rgba(188,255,0,.5); }
.aiui__col:nth-child(3) .aiui__card { border-color: #78aaff; }
.aiui__col:nth-child(3) .aiui__card i { color: #78aaff; }
.aiui__col:nth-child(4) .aiui__card i { color: var(--lime); }
.aitile--openclaw::before { background: radial-gradient(100% 80% at 0% 0%, rgba(120,170,255,.18), transparent 55%); }
@media (max-width: 640px) {
  .aiui--kanban { grid-template-columns: 1fr 1fr; padding-right: 0; padding-bottom: 54px; }
  .aiui--brief { grid-template-columns: 1fr; }
  .pgrid--bento .pitem--ai { min-height: 460px; }
}

.pitem--ai .aitile__go { top: clamp(14px, 1.4vw, 20px); bottom: auto; width: 40px; height: 40px; }
.pgrid--bento .pitem--tall.pitem--ai .aitile h3 { font-size: clamp(18px, 1.75vw, 28px); }
.pitem--ai .aipipe, .aiui--kanban { padding-right: 0; }
@media (max-width: 640px) { .aiui--kanban { padding-bottom: 0; } }

/* ---------- contact form: bot check + states ---------- */
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #d0402c; box-shadow: 0 0 0 4px rgba(208,64,44,.14); }
.botcheck { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--white); border: 1px solid #dcdcdc; transition: border-color .3s, box-shadow .3s; }
.botcheck__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); position: relative; }
.botcheck__icon::after { content: ""; position: absolute; inset: 8px; background: var(--lime); -webkit-mask: var(--kilim-motif) center / 100% 100% no-repeat; mask: var(--kilim-motif) center / 100% 100% no-repeat; }
.botcheck__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; min-width: 0; }
.botcheck__text strong { font-family: var(--f-display); font-size: 14px; }
.botcheck__text span { color: var(--muted); }
.botcheck__q { color: var(--ink); font-size: 14px; white-space: nowrap; }
.botcheck__input { width: 64px; margin-left: auto; padding: 10px 8px; text-align: center; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 12px; background: var(--bg); outline: none; }
.botcheck__input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(188,255,0,.5); }
.botcheck__new { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #dcdcdc; transition: transform .4s var(--ease), background .3s; }
.botcheck__new svg { width: 16px; height: 16px; }
.botcheck__new:hover { background: var(--lime); transform: rotate(180deg); }
.botcheck.is-bad { border-color: #d0402c; box-shadow: 0 0 0 4px rgba(208,64,44,.12); }
.botcheck.is-ok { border-color: #18a957; }
.botcheck.is-ok .botcheck__icon { background: #18a957; }
.form__status[data-kind="err"] { color: #c62f1c; }
.form__status[data-kind="ok"] { color: #128a46; }
.form__send[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) { .botcheck { flex-wrap: wrap; } .botcheck__text { flex: 1 1 60%; } .botcheck__input { margin-left: 0; } }

/* ---------- clients: endless review wall ---------- */
.wall { position: relative; width: 100vw; margin: 60px 0 0 calc(50% - 50vw); display: flex; flex-direction: column; gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.wall__row { overflow: hidden; }
.wall__track { display: flex; gap: 18px; width: max-content; animation: wallMove var(--dur, 60s) linear infinite; }
.wall__dup { display: flex; gap: 18px; }
.wall__row--rev .wall__track { animation-direction: reverse; }
.wall__row:hover .wall__track { animation-play-state: paused; }
@keyframes wallMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.rcard { flex: none; display: flex; flex-direction: column; gap: 14px; width: 360px; min-height: 210px; padding: 20px 22px; border-radius: 20px;
  background: #1a1a1a; color: #fff; border: 1px solid rgba(255,255,255,.07); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.rcard:hover { background: #222; border-color: rgba(188,255,0,.45); transform: translateY(-3px); }
.rcard__head { display: flex; align-items: center; gap: 12px; }
.rcard__head > span:not([class]) { display: flex; flex-direction: column; min-width: 0; }
.rcard__head b { font-family: var(--f-display); font-size: 15px; }
.rcard__head small { font-size: 12px; color: rgba(255,255,255,.55); }
.rcard__logo, .rcard__av { flex: none; width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.rcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.rcard__av { border-radius: 50%; }
.rcard__av img { width: 100%; height: 100%; object-fit: cover; }
.rcard__av--i { background: var(--lime); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.rcard__stars { margin-left: auto; font-style: normal; font-size: 12px; letter-spacing: 2px; color: var(--lime); }
.rcard__text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard--proj { position: relative; width: 250px; padding: 0; overflow: hidden; justify-content: flex-end; }
.rcard--proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rcard--proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.75)); }
.rcard--proj:hover img { transform: scale(1.06); }
.rcard__proj { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.rcard__proj small { font-size: 10px; color: var(--lime); text-transform: uppercase; }
.rcard__proj b { font-family: var(--f-display); font-size: 17px; text-transform: uppercase; }
.rcard__go { position: absolute; z-index: 1; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: rotate(-45deg); transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s; }
.rcard__go svg { width: 12px; height: 12px; }
.rcard--proj:hover .rcard__go { transform: none; background: var(--lime); }
@media (max-width: 640px) { .rcard { width: 290px; } .rcard--proj { width: 210px; } }
@media (prefers-reduced-motion: reduce) { .wall__track { animation: none; } .wall__row { overflow-x: auto; } .wall__dup { display: none; } }
.section:has(> .container > .wall) { overflow: hidden; }

/* =====================================================================
   QA pass — responsive fixes
   ===================================================================== */
/* green "7 countries" tile mirrors the "17 projects" tile */
.pitem--world strong { font-family: var(--f-display); font-size: clamp(40px, 3.6vw, 64px); line-height: 1; color: var(--ink); }
.pitem--world span:not(.pitem__kilim) { font-family: var(--f-display); font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.3; }
.pitem--world .pitem__kilim { margin-left: auto; width: 34px; height: 34px; }
.pitem--info { overflow: hidden; }
.pitem--info > span:not(.pitem__kilim) { min-width: 0; }

/* fitted headings: never break inside a word, the script shrinks them */
.intro__title, .shead__big, .cta-band h2, .split-cta h2 { overflow-wrap: normal; hyphens: manual; }

/* project navigation on narrow phones */
.wnav__card, .wnav__txt { min-width: 0; }
.wnav__txt strong { overflow-wrap: anywhere; }

/* portfolio on phones: big pixel title, consistent tile titles */
@media (max-width: 640px) {
  .pf-hero .page-hero__title { font-size: 15vw; }
  .pgrid--bento .pitem__meta h3, .pgrid--bento .pitem--big .pitem__meta h3 { font-size: 24px; text-transform: uppercase; }
  .pgrid--bento .pitem--info { min-height: 88px; }
}

/* small phones (320–380px) */
@media (max-width: 380px) {
  .feature { gap: 12px; }
  .feature__num { font-size: 46px; }
  .feature h3 { font-size: 18px; }
  .hero__title { font-size: 20px; }
  .btn { padding: 14px 22px; }
  .wnav__card img, .wnav__ai { width: 70px; height: 92px; }
}

/* grid children may shrink below their longest word (the fit script then scales the heading) */
.intro__grid > *, .wsteps, .wstep > *, .about-grid > *, .split-cta > * { min-width: 0; }
.display-xl { overflow-wrap: normal; }
@media (max-width: 380px) { .wstep__card h3 { font-size: 20px; } }
.studio__title .display-xl { min-width: 0; max-width: 100%; }
