/* =====================================================================
   Yakclick — page components: home, products, services, about, blog, contact
   Built on brand.css tokens + site.css primitives. Logical properties only.
   ===================================================================== */

/* Direction flip for transforms that must mirror in RTL (translate/rotateY signs). */
:root { --flip: 1; }
[dir="rtl"] { --flip: -1; }

/* Staggered children: parent .yc-reveal[data-stagger]; site.js sets --i on each child.
   Uses the independent `translate` property so it composes with a child's own transform (tilt cards). */
html.has-js .yc-reveal[data-stagger] > * { opacity: 0; translate: 0 14px; transition: opacity var(--yc-dur-slow) var(--yc-ease-out), translate var(--yc-dur-slow) var(--yc-ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.has-js .yc-reveal[data-stagger].is-visible > * { opacity: 1; translate: none; }
html[data-motion="off"].has-js .yc-reveal[data-stagger] > * { opacity: 1; translate: none; transition: none; }

/* =====================================================================
   HOME · HERO — one sentence, one artefact. Ink stage in both themes.
   Copy centred; the three.js scene fills a wide stage under it with a
   mosaic of real product screens on tilt cards bleeding off the bottom.
   ===================================================================== */
.yc-hero { position: relative; overflow: clip; isolation: isolate; padding: clamp(40px, 6vw, 84px) 0 0; background: var(--yc-ink); color: var(--yc-ink-fg); }
.yc-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* The glow behind every ink hero is the mesh canvas (js/cinematic.js [data-mesh]); its static
   fallback gradient lives on the canvas element itself, so the band never reads flat. */
.yc-hero__bg .yc-mesh { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 10%, rgba(40,112,232,.30), transparent 70%), radial-gradient(40% 40% at 90% 90%, rgba(31,138,91,.16), transparent 70%); }
.yc-hero__bg .grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 100%); }
.yc-hero__copy { text-align: center; max-width: 960px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.yc-hero__kicker { margin: 0 0 clamp(20px, 2.4vw, 30px); justify-content: center; text-align: center; text-wrap: balance; }
/* Eyebrow on ink: the same small-caps label, in the ink palette, no box around it. */
.yc-eyebrow--ink { color: var(--yc-ink-soft); }
.yc-eyebrow--ink .n { color: var(--yc-blue-300); }
.yc-eyebrow--ink .n::after { display: none; }
.yc-hero h1 { font-size: var(--yc-fs-5xl); line-height: 1.02; margin: 0 0 clamp(18px, 2vw, 26px); max-width: 15ch; color: #fff; text-wrap: balance; }
[dir="rtl"] .yc-hero h1 { max-width: 22ch; font-size: clamp(2.4rem, 1.3rem + 4vw, 4.6rem); line-height: 1.25; }
.yc-hero h1 .a { background: linear-gradient(92deg, #7FB0FF 0%, #2870E8 32%, #4FD1A1 58%, #7FB0FF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: yc-sheen 7s linear infinite; }
@keyframes yc-sheen { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
.yc-hero .lead { font-size: var(--yc-fs-lg); color: var(--yc-ink-soft); max-width: 58ch; margin: 0 0 clamp(24px, 2.6vw, 34px); text-wrap: pretty; }
.yc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.yc-hero__note { display: block; text-align: center; max-width: 100%; margin: 18px 0 0; font-size: var(--yc-fs-xs); color: var(--yc-ink-soft); }
.yc-hero__note svg { width: 14px; height: 14px; color: var(--yc-green); vertical-align: -2px; margin-inline-end: 6px; }
/* the stage */
.yc-hero__stage { position: relative; margin-top: clamp(40px, 5.5vw, 76px); aspect-ratio: 21 / 9; }
/* The scene is the backdrop, not the artefact: dimmed, and faded out towards the bottom where
   the mosaic sits, so the live dashboards never show through the real screens. */
.yc-hero__scene { position: absolute; inset: 0; border-radius: var(--yc-radius-xl); overflow: hidden; will-change: transform; opacity: .6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,.5) 62%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,.5) 62%, transparent 92%); }
.yc-hero__scene::before { content: ""; position: absolute; inset: -10%; z-index: 0; pointer-events: none; background: radial-gradient(45% 50% at 50% 50%, rgba(40,112,232,.28), transparent 70%); }
.yc-hero__scene .yk3d { position: absolute; inset: 0; z-index: 1; }
.yc-hero .yk3d__fallback--light { display: none; }
.yc-hero .yk3d__fallback--dark { display: block; }
/* mosaic of real screens on tilt cards, in front of the scene */
.yc-mosaic { position: absolute; inset: 0; pointer-events: none; perspective: 1800px; z-index: 3; }
.yc-mosaic__card { --by: 0deg; --rx: 0deg; --ry: 0deg; --py: 0px; position: absolute; margin: 0; width: 30%; border-radius: 14px; overflow: hidden; background: #0F1523; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset; pointer-events: auto; will-change: transform;
  transform: translate3d(0, var(--py), 0) rotateX(var(--rx)) rotateY(calc(var(--by) + var(--ry))); transform-style: preserve-3d; transition: box-shadow .4s var(--yc-ease); }
.yc-mosaic__card:hover { box-shadow: 0 50px 110px rgba(0,0,0,.6), 0 0 0 1px rgba(127,176,255,.35) inset; }
.yc-mosaic__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.yc-mosaic__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.yc-mosaic__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
/* Three screens in a shallow fan, all inside the stage: the centre one largest and front. */
.yc-mosaic__card--1 { inset-inline-start: 2%; bottom: 6%; width: 27%; --by: calc(16deg * var(--flip)); z-index: 2; }
.yc-mosaic__card--2 { inset-inline-end: 2%; bottom: 6%; width: 27%; --by: calc(-16deg * var(--flip)); z-index: 2; }
.yc-mosaic__card--3 { inset-inline-start: 50%; bottom: 0; width: 42%; translate: calc(-50% * var(--flip)) 0; z-index: 3; }
/* proof row under the stage */
.yc-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); padding: 26px 0 clamp(32px, 4vw, 52px); border-top: 1px solid var(--yc-ink-line); }
.yc-hero__stats b { display: block; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(28px, 2.6vw, 42px); letter-spacing: -.035em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.yc-hero__stats b em { font-style: normal; color: var(--yc-blue-300); }
/* The nested <span> inherits the figure's type rather than the label's. `:not()` keeps the
   odometer's own three-part display intact — this reset used to win over `.yc-odo` on
   specificity and flattened the digit strip into a visible 0–9 run across the whole band. */
.yc-hero__stats b > span:not(.yc-odo) { display: inline; }
.yc-hero__stats b span { font: inherit; color: inherit; margin: 0; letter-spacing: inherit; text-transform: none; }
.yc-hero__stats > div > span { display: block; margin-top: 8px; font-size: var(--yc-fs-2xs); line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--yc-ink-soft); }
[dir="rtl"] .yc-hero__stats > div > span { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
[dir="rtl"] .yc-hero__stats b { font-family: var(--yc-font-rtl); letter-spacing: 0; }
@media (max-width: 960px) {
  .yc-hero__stage { aspect-ratio: 4 / 3; margin-top: 36px; }
  .yc-mosaic__card--1, .yc-mosaic__card--2 { display: none; }
  .yc-mosaic__card--3 { width: 82%; bottom: 0; }
  .yc-hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .yc-hero h1 { max-width: none; }
}
@media (max-width: 480px) { .yc-hero__stage { aspect-ratio: 1 / 1; } .yc-hero__note { padding-inline-end: 56px; } }

/* Section headings: no widows. */
.yc-head2 h2, .yc-head2 h3 { text-wrap: balance; }

/* =====================================================================
   HOME · TRUST STRIP — label · monochrome logo marquee (js/cinematic.js drives it;
   the CSS loop below only runs without JS)
   ===================================================================== */
.yc-trust { border-block: 1px solid var(--yc-line); background: var(--yc-surface); }
.yc-trust__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding-block: 22px; }
.yc-trust__lbl { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); white-space: nowrap; padding-inline-end: clamp(16px, 2vw, 32px); border-inline-end: 1px solid var(--yc-line); }
[dir="rtl"] .yc-trust__lbl { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-logostrip { position: relative; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.yc-logostrip__track, .yc-logostrip__set { display: flex; align-items: center; gap: clamp(28px, 3vw, 44px); width: max-content; }
html:not(.has-js) .yc-logostrip__track { animation: yc-marquee 52s linear infinite; }
@keyframes yc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* RTL: the track overflows to the start (left) side, so it has to travel the other way, not simply in reverse. */
html:not(.has-js) [dir="rtl"] .yc-logostrip__track { animation-name: yc-marquee-rtl; }
@keyframes yc-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
html[data-motion="off"] .yc-logostrip { mask-image: none; -webkit-mask-image: none; overflow-x: auto; } html[data-motion="off"] .yc-logostrip__track { animation: none !important; }
.yc-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--yc-text-faint); font-weight: 600; font-size: var(--yc-fs-sm); white-space: nowrap; transition: color var(--yc-dur); }
.yc-logo img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--yc-surface-2); filter: grayscale(1); opacity: .7; transition: filter var(--yc-dur), opacity var(--yc-dur); }
.yc-logo:hover { color: var(--yc-text); }
.yc-logo:hover img { filter: none; opacity: 1; }
.yc-logo .mk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--yc-line-strong); color: var(--yc-text-soft); font-family: var(--yc-font-head); font-weight: 800; font-size: 10px; letter-spacing: .02em; }
@media (max-width: 860px) {
  .yc-trust__in { grid-template-columns: 1fr; gap: 14px; }
  .yc-trust__lbl { border: 0; padding: 0; }
}

/* =====================================================================
   HOME · SYSTEMS — sticky-stack narrative: the device frame + 3D stack stay pinned while one
   block per system scrolls past (≥ lg); below lg the blocks are an accordion under the frame.
   Selection: site.js (tabs/panels/scene), driven from scroll by js/cinematic.js.
   ===================================================================== */
#systems.yc-band { padding-top: clamp(44px, 6vw, 84px); } /* the trust strip already separates it from the hero */
.yc-systems { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.yc-systems__stage { position: sticky; top: 96px; min-width: 0; }
.yc-systems__visual { position: relative; z-index: 1; }
.yc-systems__visual::before { content: ""; position: absolute; inset: -8% max(-6%, calc(-1 * var(--yc-gutter))); /* never past the page gutter: it widened the document on phones */ z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--yc-blue) 18%, transparent), transparent 70%); }
.yc-device { border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface); overflow: hidden; box-shadow: var(--yc-shadow-lg); }
.yc-device__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--yc-line); background: var(--yc-surface-2); }
.yc-device__bar .dots { display: flex; gap: 6px; }
.yc-device__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--yc-line-strong); }
.yc-device__bar .url { flex: 1; max-width: 360px; margin-inline: auto; height: 24px; line-height: 22px; border-radius: 6px; border: 1px solid var(--yc-line); background: var(--yc-surface); font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); color: var(--yc-text-faint); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 12px; }
.yc-device__screen { position: relative; aspect-ratio: 16 / 10; background: var(--yc-surface-2); overflow: hidden; }
.yc-device__screen img, .yc-device__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity var(--yc-dur-slow) var(--yc-ease), transform 900ms var(--yc-ease-out); will-change: opacity; }
.yc-device__screen .is-on { opacity: 1; transform: none; z-index: 1; }
.yc-device__ph { display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--yc-text-faint); }
.yc-device__ph .ic { width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-blue); background: var(--yc-surface); }
.yc-device__ph .ic svg { width: 26px; height: 26px; }
.yc-device__ph b { font-family: var(--yc-font-head); font-size: var(--yc-fs-lg); color: var(--yc-text); }
/* screen position: thin bars, no box behind them */
.yc-device__dots { position: absolute; z-index: 2; bottom: 12px; inset-inline-end: 14px; display: flex; gap: 5px; }
.yc-device__dots:empty { display: none; }
.yc-device__dots i { width: 14px; height: 2px; border-radius: 1px; background: rgba(255,255,255,.45); transition: width var(--yc-dur), background-color var(--yc-dur); }
.yc-device__dots i.is-on { width: 24px; background: #fff; }
.yc-systems__scene { position: absolute; z-index: 2; inset-block-end: -28px; inset-inline-start: -28px; width: clamp(180px, 30%, 300px); aspect-ratio: 1; border-radius: var(--yc-radius-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--yc-line); background: linear-gradient(160deg, var(--yc-surface) 0%, var(--yc-surface-2) 100%); box-shadow: var(--yc-shadow-lg); }
.yc-systems__scene .yk3d { position: absolute; inset: 0; }
.yc-systems__scene .yk3d__labels { display: none; }
.yc-systems__scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(var(--yc-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--yc-line-soft) 1px, transparent 1px); background-size: 32px 32px; opacity: .5;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 100%); }
/* the list of systems */
.yc-systems__list { display: flex; flex-direction: column; border-top: 1px solid var(--yc-line); min-width: 0; }
.yc-systems__item { border-bottom: 1px solid var(--yc-line); padding: clamp(28px, 4vw, 56px) 0; transition: opacity var(--yc-dur-slow) var(--yc-ease); }
html.has-js .yc-systems__item { opacity: .38; }
html.has-js .yc-systems__item.is-active { opacity: 1; }
.yc-systems__tab { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: transparent; text-align: start; cursor: pointer; color: var(--yc-text); transition: color var(--yc-dur) var(--yc-ease); }
.yc-systems__tab .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); }
.yc-systems__tab .t { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-2xl); letter-spacing: -.02em; line-height: 1.15; color: inherit; }
[dir="rtl"] .yc-systems__tab .t { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-systems__tab .go { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-text-faint); transition: background-color var(--yc-dur), border-color var(--yc-dur), color var(--yc-dur); }
.yc-systems__tab .go svg { width: 14px; height: 14px; }
[dir="rtl"] .yc-systems__tab .go svg { transform: scaleX(-1); }
.yc-systems__tab[aria-selected="true"] .n { color: var(--yc-blue-text); }
.yc-systems__tab[aria-selected="true"] .go { background: var(--yc-text); border-color: var(--yc-text); color: var(--yc-bg); }
.yc-systems__tab:focus-visible { outline: none; box-shadow: var(--yc-focus); border-radius: 6px; }
.yc-systems__panel { display: grid; gap: 0; padding-top: 16px; padding-inline-start: 48px; }
.yc-systems__panel > p { color: var(--yc-text-soft); font-size: var(--yc-fs-base); margin: 0 0 20px; max-width: 46ch; }
.yc-systems__lbl { display: block; font-size: var(--yc-fs-2xs); letter-spacing: .1em; text-transform: uppercase; color: var(--yc-text-faint); font-weight: 600; margin-bottom: 6px; }
[dir="rtl"] .yc-systems__lbl { letter-spacing: 0; text-transform: none; }
/* modules: a ruled two-column list, no boxes */
.yc-systems__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0 0 22px; padding: 0; list-style: none; }
.yc-systems__mods li { font-size: var(--yc-fs-sm); color: var(--yc-text); padding: 8px 0; border-bottom: 1px solid var(--yc-line-soft); }
.yc-systems__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 1023px) {
  .yc-systems { grid-template-columns: 1fr; }
  .yc-systems__stage { position: relative; top: auto; }
  .yc-systems__scene { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; margin-top: 12px; box-shadow: none; }
  .yc-systems__list { margin-top: 28px; }
  .yc-systems__item { padding: 0; }
  html.has-js .yc-systems__item { opacity: 1; }
  .yc-systems__tab { min-height: 64px; padding: 14px 0; }
  .yc-systems__tab .t { font-size: var(--yc-fs-xl); }
  .yc-systems__tab .go { transition: transform var(--yc-dur) var(--yc-ease), background-color var(--yc-dur), border-color var(--yc-dur), color var(--yc-dur); }
  .yc-systems__tab[aria-selected="true"] .go { transform: rotate(90deg); }
  [dir="rtl"] .yc-systems__tab[aria-selected="true"] .go { transform: rotate(-90deg); }
  .yc-systems__panel { padding: 0 0 26px 48px; animation: yc-panel var(--yc-dur-slow) var(--yc-ease-out); }
  [dir="rtl"] .yc-systems__panel { padding: 0 48px 26px 0; }
  .yc-systems__mods { grid-template-columns: 1fr; }
}
@keyframes yc-panel { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 560px) { .yc-device__bar .url { display: none; } .yc-systems__panel, [dir="rtl"] .yc-systems__panel { padding-inline: 0; } }

/* =====================================================================
   HOME · INDUSTRIES — six CSS-3D tilt cards with depth layers and glow
   ===================================================================== */
.yc-inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yc-inds .yc-ind { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 250px; padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--yc-radius-lg); background: var(--yc-surface); border: 1px solid var(--yc-line); box-shadow: none; transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: border-color .35s var(--yc-ease), box-shadow .35s var(--yc-ease); }
.yc-inds .yc-ind::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--yc-ease);
  background: radial-gradient(60% 60% at var(--gx) var(--gy), color-mix(in srgb, var(--yc-blue) 16%, transparent), transparent 70%); }
.yc-inds .yc-ind:hover { border-color: color-mix(in srgb, var(--yc-blue) 45%, var(--yc-line)); box-shadow: 0 24px 60px color-mix(in srgb, var(--yc-blue) 12%, transparent); }
.yc-inds .yc-ind:hover::before { opacity: 1; }
.yc-inds .yk3d-tilt__glare { border-radius: inherit; }
.yc-ind__art { position: absolute; inset-inline-end: -6%; bottom: -8%; width: 56%; height: 66%; color: var(--yc-text); opacity: .12; pointer-events: none; transform: translateZ(4px); transition: opacity .4s var(--yc-ease), transform .4s var(--yc-ease); filter: none; }
.yc-inds .yc-ind:hover .yc-ind__art { opacity: .28; transform: translateZ(14px) scale(1.04); }
.yc-ind__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; transform: translateZ(24px); }
.yc-ind__ic { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--yc-line); background: var(--yc-surface); display: grid; place-items: center; color: var(--yc-text); transition: background-color var(--yc-dur), color var(--yc-dur), border-color var(--yc-dur); }
.yc-ind__ic svg { width: 20px; height: 20px; }
.yc-inds .yc-ind:hover .yc-ind__ic { background: var(--yc-blue); border-color: var(--yc-blue); color: #fff; }
.yc-ind__n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); }
.yc-ind__body { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; transform: translateZ(30px); }
.yc-ind h3 { font-size: var(--yc-fs-lg); margin: 0; }
.yc-ind p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; max-width: 30ch; }
.yc-ind .yc-link { margin-top: 8px; font-size: var(--yc-fs-xs); }
.yc-ind .yc-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 900px) { .yc-inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .yc-inds { grid-template-columns: 1fr; } .yc-inds .yc-ind { min-height: 0; } .yc-ind__body { margin-top: 24px; } }

/* =====================================================================
   HOME · WHAT WE BUILD — bento grid, gradient hairlines, animated illustrations
   ===================================================================== */
.yc-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.yc-bento__card { grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface);
  transition: transform .45s var(--yc-ease-out), box-shadow .45s var(--yc-ease-out), border-color var(--yc-dur); overflow: hidden; }
.yc-bento__card:nth-child(1), .yc-bento__card:nth-child(2) { grid-column: span 3; }
.yc-bento__card:nth-child(6) { grid-column: span 6; flex-direction: row; align-items: stretch; }
.yc-bento__card:nth-child(6) .yc-bento__art { flex: 0 0 42%; height: auto; min-height: 200px; border-bottom: 0; border-inline-end: 1px solid var(--yc-line-soft); }
.yc-bento__card:nth-child(6) .yc-bento__text { align-self: center; max-width: 60ch; padding: 28px 32px; }
.yc-bento__card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px color-mix(in srgb, var(--yc-blue) 12%, transparent); }
.yc-bento__art { position: relative; height: 200px; overflow: hidden; display: grid; place-items: center; padding: 16px 24px; border-bottom: 1px solid var(--yc-line-soft);
  background: radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--yc-blue) 8%, var(--yc-surface-2)), var(--yc-surface-2)); }
.yc-bento__art .yc-illo { width: min(100%, 280px); }
.yc-bento__card:nth-child(6) .yc-bento__art .yc-illo { width: min(100%, 320px); }
.yc-bento__text { padding: 22px 24px 26px; }
.yc-bento__text h3 { font-size: var(--yc-fs-lg); margin: 0 0 8px; }
.yc-bento__text p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; }
@media (max-width: 1100px) { .yc-bento { grid-template-columns: 1fr 1fr; } .yc-bento__card, .yc-bento__card:nth-child(1), .yc-bento__card:nth-child(2) { grid-column: span 1; } .yc-bento__card:nth-child(5), .yc-bento__card:nth-child(6) { grid-column: span 2; } }
@media (max-width: 600px) { .yc-bento__card:nth-child(6) { grid-column: span 1; flex-direction: column; } .yc-bento__card:nth-child(6) .yc-bento__art { flex: none; height: 160px; min-height: 0; border-inline-end: 0; border-bottom: 1px solid var(--yc-line-soft); } .yc-bento__card:nth-child(6) .yc-bento__text { padding: 22px 24px 26px; } }
@media (max-width: 600px) {
  .yc-bento { grid-template-columns: 1fr; }
  /* Every card is its own row here. Any leftover `span 2` from the wider breakpoints creates an
     implicit second column, which pairs cards up again and stretches the shorter one to its
     neighbour's height — that is where ~450px of blank card came from on a phone. */
  .yc-bento__card, .yc-bento__card:nth-child(1), .yc-bento__card:nth-child(2),
  .yc-bento__card:nth-child(5), .yc-bento__card:nth-child(6) { grid-column: auto; }
  .yc-bento__art { height: auto; min-height: 160px; }
  .yc-bento__art .yc-illo, .yc-bento__card:nth-child(6) .yc-bento__art .yc-illo { width: min(100%, 220px); }
}
/* =====================================================================
   HOME · PROCESS — the discover · design · build · launch strip (_IlloProcess) over a sticky
   card stack (>= 860px: each step pins and the next lands over it, js/cinematic.js scales the
   covered card back); a scroll-snap rail below.
   ===================================================================== */
.yc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); counter-reset: st; position: relative; margin: 0; padding: 0; list-style: none; }
.yc-step { counter-increment: st; position: relative; }
.yc-step::before { content: "0" counter(st); display: block; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; color: var(--yc-text); margin-bottom: 16px; }
[dir="rtl"] .yc-step::before { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-step h4 { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-lg); margin: 0 0 8px; }
[dir="rtl"] .yc-step h4 { font-family: var(--yc-font-rtl); }
.yc-step p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; }
.yc-step__n { display: none; }
.yc-steps--inline .yc-step { padding-top: 22px; border-top: 1px solid var(--yc-line); }
/* the strip */
.yc-steps__art { margin: 0 0 clamp(20px, 3vw, 36px); padding: clamp(16px, 2.5vw, 32px) clamp(20px, 3vw, 40px); border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface); }
.yc-steps__art .yc-illo { max-width: 960px; margin-inline: auto; }
/* the stack */
.yc-steps--stack { display: block; }
.yc-steps--stack .yc-step { position: sticky; top: calc(var(--yc-navh, 64px) + 24px + var(--i, 0) * 12px); margin-bottom: 16px; }
.yc-steps--stack .yc-step:last-child { margin-bottom: 0; }
.yc-steps--stack .yc-step::before { content: none; }
.yc-steps--stack .yc-step__in { position: relative; display: grid; grid-template-columns: 72px minmax(0, .46fr) minmax(0, .54fr); gap: clamp(16px, 3vw, 48px); align-items: start; padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 48px);
  border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface); box-shadow: 0 -16px 40px -24px color-mix(in srgb, var(--yc-ink) 35%, transparent); will-change: transform; transform-origin: 50% 0; }
/* number, title and body share one baseline row: the small type is padded down to the h4 cap line */
.yc-steps--stack .yc-step__n { display: block; font-family: var(--yc-font-mono); font-size: var(--yc-fs-sm); font-weight: 600; letter-spacing: .08em; line-height: 1.3; color: var(--yc-blue-text); padding-top: .9em; }
.yc-steps--stack .yc-step h4 { font-size: var(--yc-fs-2xl); margin: 0; max-width: 18ch; line-height: 1.15; text-wrap: balance; }
.yc-steps--stack .yc-step p { font-size: var(--yc-fs-base); max-width: 58ch; padding-top: .5em; }
.yc-steps--stack .yc-step:nth-child(even) .yc-step__in { background: var(--yc-surface-2); }
/* the timing note: plain text on a rule, no box */
.yc-steps__note { display: flex; align-items: flex-start; gap: 12px; margin-top: clamp(26px, 3vw, 40px); padding-top: 18px; border-top: 1px solid var(--yc-line); font-size: var(--yc-fs-sm); color: var(--yc-text-soft); max-width: 72ch; }
.yc-steps__note svg { width: 18px; height: 18px; color: var(--yc-blue); flex: none; margin-top: 2px; }
@media (max-width: 859px) {
  .yc-steps__art { padding: 14px 16px; }
  .yc-steps--stack { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--yc-gutter)); padding: 4px var(--yc-gutter) 8px; }
  .yc-steps--stack::-webkit-scrollbar { display: none; }
  .yc-steps--stack .yc-step { position: relative; top: auto; flex: 0 0 min(78%, 320px); scroll-snap-align: start; margin: 0; }
  .yc-steps--stack .yc-step__in { display: block; min-height: 0; padding: 22px 20px; border-radius: var(--yc-radius-lg); box-shadow: none; }
  .yc-steps--stack .yc-step__n { padding: 0 0 12px; }
  .yc-steps--stack .yc-step h4 { font-size: var(--yc-fs-lg); margin-bottom: 8px; }
  .yc-steps--stack .yc-step p { font-size: var(--yc-fs-sm); padding-top: 0; }
  .yc-steps--inline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .yc-steps--inline { grid-template-columns: 1fr; } }

/* =====================================================================
   HOME · METRICS — ink band, particle grid behind big tabular numbers
   ===================================================================== */
.yc-metricsband { position: relative; overflow: hidden; isolation: isolate; }
.yc-metricsband::before, .yc-metricsband::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--yc-blue-300) 70%, transparent) 50%, transparent); }
.yc-metricsband::before { top: 0; } .yc-metricsband::after { bottom: 0; }
.yc-metricsband__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .8; }
.yc-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--yc-ink-line); border-block: 1px solid var(--yc-ink-line); }
.yc-metric { background: color-mix(in srgb, var(--yc-ink) 72%, transparent); backdrop-filter: blur(2px); padding: clamp(26px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.yc-metric b { display: block; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(38px, 4.4vw, 68px); line-height: .95; letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.yc-metric b em { font-style: normal; color: var(--yc-blue-300); }
.yc-metric b > span:not(.yc-odo) { display: inline; font: inherit; color: inherit; margin: 0; }
.yc-metric b .yc-odo { font: inherit; color: inherit; }
.yc-metric > span { display: block; margin-top: 12px; font-size: var(--yc-fs-sm); color: var(--yc-ink-soft); }
[dir="rtl"] .yc-metric b { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-band--ink .yc-head2 { border-top-color: var(--yc-ink-line); }
.yc-band--ink .yc-head2 p { color: var(--yc-ink-soft); }
@media (max-width: 1000px) { .yc-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .yc-metrics { grid-template-columns: 1fr 1fr; } .yc-metric:last-child { grid-column: 1 / -1; } }

/* =====================================================================
   TESTIMONIALS — scroll-snap rail, dots, auto-advance (site.js)
   ===================================================================== */
.yc-slider { position: relative; }
.yc-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 2 * 16px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.yc-slider__track::-webkit-scrollbar { display: none; }
.yc-slider__track > * { scroll-snap-align: start; }
.yc-slider__track:focus-visible { outline: none; box-shadow: var(--yc-focus); border-radius: var(--yc-radius-lg); }
.yc-slider__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.yc-slider__dots { display: flex; gap: 6px; }
.yc-slider__dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--yc-line-strong); transition: width var(--yc-dur), background-color var(--yc-dur); }
.yc-slider__dots i.is-on { width: 22px; background: var(--yc-text); }
.yc-slider__nav { display: flex; justify-content: flex-end; gap: 8px; }
.yc-sbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--yc-line-strong); background: var(--yc-surface); color: var(--yc-text); display: grid; place-items: center; cursor: pointer; transition: background-color var(--yc-dur-fast), border-color var(--yc-dur-fast), color var(--yc-dur-fast); }
.yc-sbtn svg { width: 18px; height: 18px; }
.yc-sbtn:hover { background: var(--yc-text); border-color: var(--yc-text); color: var(--yc-bg); }
.yc-sbtn:focus-visible { outline: none; box-shadow: var(--yc-focus); }
[dir="rtl"] .yc-sbtn svg { transform: scaleX(-1); }
@media (max-width: 900px) { .yc-slider__track { grid-auto-columns: minmax(280px, 86%); } }
.yc-quote2 { display: flex; flex-direction: column; height: 100%; margin: 0; background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); padding: clamp(24px, 2.2vw, 32px); transition: border-color var(--yc-dur), transform var(--yc-dur) var(--yc-ease); }
.yc-quote2:hover { border-color: var(--yc-line-strong); }
.yc-quote2 .qm { width: 28px; height: 28px; color: var(--yc-blue); opacity: .9; margin-bottom: 16px; }
.yc-quote2 blockquote { margin: 0; flex: 1; }
.yc-quote2 p { font-size: var(--yc-fs-base); color: var(--yc-text); line-height: 1.6; margin: 0 0 22px; text-wrap: pretty; }
.yc-quote2 .who { margin-top: auto; border-top: 1px solid var(--yc-line-soft); padding-top: 16px; display: flex; align-items: center; gap: 12px; }
.yc-quote2 .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--yc-surface-2); flex: none; }
.yc-quote2 .who .avi { width: 44px; height: 44px; border-radius: 50%; background: var(--yc-surface-2); color: var(--yc-text); display: grid; place-items: center; font-family: var(--yc-font-head); font-weight: 800; font-size: 13px; flex: none; }
.yc-quote2 .nm { font-weight: 600; font-size: var(--yc-fs-sm); color: var(--yc-text); }
.yc-quote2 .rl { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.yc-quote2 .rl .city { display: inline-flex; align-items: center; gap: 4px; padding-inline-start: 8px; border-inline-start: 1px solid var(--yc-line); }
.yc-quote2 .rl .city svg { width: 12px; height: 12px; color: var(--yc-blue); }
.yc-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .yc-quotes { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ — numbered accordion with animated height (site.js)
   ===================================================================== */
/* Full container width, like every other section on the page: capped at 960px the accordion left a
   permanently empty ~360px column beside it on desktop, which read as an unfinished band. The rows
   now line up with the section heading's rule; the answer keeps its own reading measure below. */
.yc-faq { border-top: 1px solid var(--yc-line); }
.yc-faq__item { border-bottom: 1px solid var(--yc-line); }
.yc-faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 22px 4px; font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-lg); letter-spacing: -.012em; color: var(--yc-text); transition: color var(--yc-dur); }
.yc-faq__item summary:hover { color: var(--yc-blue); }
.yc-faq__item summary:focus-visible { outline: none; box-shadow: inset var(--yc-focus); border-radius: 8px; }
[dir="rtl"] .yc-faq__item summary { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-faq__item summary::-webkit-details-marker { display: none; }
.yc-faq__item summary .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); }
.yc-faq__item[open] summary .n { color: var(--yc-blue-text); }
.yc-faq__item .ic { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-text-soft); transition: transform var(--yc-dur) var(--yc-ease), background-color var(--yc-dur), color var(--yc-dur), border-color var(--yc-dur); }
.yc-faq__item .ic svg { width: 14px; height: 14px; }
.yc-faq__item[open] .ic { transform: rotate(45deg); background: var(--yc-text); border-color: var(--yc-text); color: var(--yc-bg); }
.yc-faq__body { overflow: hidden; }
.yc-faq__body > p { margin: 0; padding: 0 4px 24px 58px; max-width: 76ch; color: var(--yc-text-soft); line-height: 1.7; }
[dir="rtl"] .yc-faq__body > p { padding: 0 58px 24px 4px; }
@media (max-width: 600px) { .yc-faq__item summary { grid-template-columns: minmax(0, 1fr) auto; } .yc-faq__item summary .n { display: none; } .yc-faq__body > p, [dir="rtl"] .yc-faq__body > p { padding: 0 4px 22px; } }

/* =====================================================================
   FINAL CTA — ink billboard with a drifting gradient glow
   ===================================================================== */
.yc-cta2 { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--yc-radius-xl); background: var(--yc-ink); color: #fff; padding: clamp(44px, 7vw, 96px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: end; border: 1px solid rgba(255,255,255,.06); }
.yc-cta2__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block;
  background: radial-gradient(55% 60% at 85% 10%, rgba(40,112,232,.34), transparent 70%), radial-gradient(40% 50% at 8% 100%, rgba(31,138,91,.22), transparent 70%); }
.yc-cta2::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--yc-blue) 40%, var(--yc-green) 70%, transparent); opacity: .9; }
.yc-cta2 > :not(.yc-cta2__mesh) { position: relative; z-index: 1; } /* the mesh must stay absolute or it takes grid cell 1 */
.yc-cta2 .yc-eyebrow { color: var(--yc-ink-soft); }
.yc-cta2 h2 { color: #fff; font-size: var(--yc-fs-4xl); margin: 0 0 16px; max-width: 14ch; text-wrap: balance; }
.yc-cta2 p { color: var(--yc-ink-soft); font-size: var(--yc-fs-lg); max-width: 46ch; margin: 0; }
.yc-cta2__acts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.yc-cta2__acts .btn-yc { width: 100%; max-width: 320px; justify-content: center; }
.yc-cta2__acts .btn-yc-primary { background: #fff; color: var(--yc-ink); }
.yc-cta2__acts .btn-yc-primary:hover { background: var(--yc-blue); color: #fff; }
.yc-cta2__acts .btn-yc-wa { color: #fff; border-color: rgba(255,255,255,.28); }
.yc-cta2__acts .btn-yc-wa:hover { border-color: #25D366; color: #fff; background: rgba(37,211,102,.1); }
.yc-cta2__acts small { display: inline-flex; align-items: center; gap: 8px; color: var(--yc-ink-soft); font-size: var(--yc-fs-xs); }
.yc-cta2__acts small svg { width: 14px; height: 14px; color: var(--yc-green); }
.yc-cta2__link { color: var(--yc-ink-soft); font-size: var(--yc-fs-xs); margin-top: 4px; }
.yc-cta2__link:hover { color: #fff; }
@media (max-width: 800px) { .yc-cta2 { grid-template-columns: 1fr; } .yc-cta2__acts { align-items: stretch; } .yc-cta2__acts .btn-yc { max-width: none; } }

/* ---- motion off: every home animation collapses ---- */
html[data-motion="off"] .yc-hero h1 .a, html[data-motion="off"] .yc-il *, html[data-motion="off"] .yc-il__int *, html[data-motion="off"] .yc-systems__panel { animation: none !important; }
html[data-motion="off"] .yc-mosaic__card, html[data-motion="off"] .yc-hero__scene { transform: none !important; }
html[data-motion="off"].has-js .yc-systems__item { opacity: 1; transition: none; }

/* =====================================================================
   PRODUCTS INDEX — ink hero over the product stack · sticky segmented nav
   (scroll-spied) · one alternating feature row per system with a floating,
   tilting device frame that cycles the real screens.
   ===================================================================== */
.yc-prhero { position: relative; overflow: clip; isolation: isolate; padding: clamp(36px, 5vw, 64px) 0 0; background: var(--yc-ink); color: var(--yc-ink-fg); }
.yc-prhero .yc-breadcrumb, .yc-pdhero .yc-breadcrumb { color: var(--yc-ink-soft); }
.yc-prhero .yc-breadcrumb a, .yc-pdhero .yc-breadcrumb a { color: var(--yc-ink-soft); }
.yc-prhero .yc-breadcrumb a:hover, .yc-pdhero .yc-breadcrumb a:hover { color: #fff; }
.yc-prhero .yc-breadcrumb [aria-current], .yc-pdhero .yc-breadcrumb [aria-current] { color: #fff; }
.yc-prhero .yc-breadcrumb li + li::before, .yc-pdhero .yc-breadcrumb li + li::before { color: var(--yc-ink-line); }
.yc-prhero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-bottom: clamp(40px, 5vw, 80px); }
.yc-prhero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.yc-prhero__copy .yc-eyebrow { margin-bottom: 22px; }
.yc-prhero h1 { font-size: var(--yc-fs-4xl); line-height: 1.04; margin: 0 0 20px; color: #fff; max-width: 14ch; text-wrap: balance; }
[dir="rtl"] .yc-prhero h1 { max-width: 20ch; line-height: 1.3; }
.yc-prhero h1 .a { background: linear-gradient(92deg, #7FB0FF 0%, #2870E8 40%, #4FD1A1 70%, #7FB0FF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: yc-sheen 7s linear infinite; }
.yc-prhero h1 .b { display: block; color: var(--yc-ink-soft); font-weight: 700; font-size: .62em; letter-spacing: -.02em; margin-top: 10px; }
[dir="rtl"] .yc-prhero h1 .b { letter-spacing: 0; }
.yc-prhero .lead { font-size: var(--yc-fs-lg); color: var(--yc-ink-soft); max-width: 50ch; margin: 0 0 28px; text-wrap: pretty; }
.yc-prhero__stage { position: relative; aspect-ratio: 4 / 3; }
.yc-prhero__scene { position: absolute; inset: -6% -8%; will-change: transform; }
.yc-prhero__scene::before { content: ""; position: absolute; inset: -6%; z-index: 0; pointer-events: none; background: radial-gradient(48% 50% at 50% 55%, rgba(40,112,232,.34), transparent 70%); }
.yc-prhero__scene .yk3d { position: absolute; inset: 0; z-index: 1; aspect-ratio: auto; }
/* the segmented nav below names the systems; the stack never carries pill labels, live or static */
.yc-prhero__scene .yk3d__labels, .yc-prhero__scene .yk3d--products:not(.is-live) .yk3d__labels { display: none; }
.yc-prhero__scene .yk3d__label { background: rgba(15,21,32,.72); border-color: rgba(255,255,255,.14); color: var(--yc-ink-soft); }
.yc-prhero__scene .yk3d__label.is-active { color: #fff; border-color: var(--yc-blue-300); }
@media (max-width: 960px) {
  .yc-prhero__grid { grid-template-columns: 1fr; gap: 24px; }
  .yc-prhero h1 { max-width: none; }
  .yc-prhero__stage { aspect-ratio: 16 / 10; max-width: 640px; }
}

/* sticky segmented nav */
.yc-segnav { position: sticky; top: 62px; z-index: 40; background: color-mix(in srgb, var(--yc-bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--yc-line); transition: box-shadow var(--yc-dur) var(--yc-ease); }
.yc-segnav.is-stuck { box-shadow: 0 10px 30px color-mix(in srgb, var(--yc-ink) 8%, transparent); }
.yc-segnav__in { display: flex; align-items: center; gap: 18px; height: 60px; }
.yc-segnav__lbl { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); white-space: nowrap; }
[dir="rtl"] .yc-segnav__lbl { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
/* flat underline tabs: the active link carries a 2px bar on the nav's bottom rule */
.yc-segnav__seg { display: flex; gap: 4px; align-self: stretch; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.yc-segnav__seg::-webkit-scrollbar { display: none; }
.yc-segnav__seg a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-size: var(--yc-fs-xs); font-weight: 600; color: var(--yc-text-soft); white-space: nowrap; min-height: 60px; transition: color var(--yc-dur); }
.yc-segnav__seg a .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); color: var(--yc-text-faint); letter-spacing: .06em; }
.yc-segnav__seg a::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--yc-text); opacity: 0; transition: opacity var(--yc-dur); }
.yc-segnav__seg a:hover { color: var(--yc-text); }
.yc-segnav__seg a.is-active { color: var(--yc-text); }
.yc-segnav__seg a.is-active::after { opacity: 1; }
.yc-segnav__seg a.is-active .n { color: var(--yc-blue-text); }
@media (max-width: 960px) { .yc-segnav { top: 60px; } .yc-segnav__lbl { display: none; } .yc-segnav__in { height: 56px; } .yc-segnav__seg { margin-inline: calc(-1 * var(--yc-gutter)); padding-inline: var(--yc-gutter); } .yc-segnav__seg a { min-height: 56px; } }

/* feature rows */
#products { overflow: clip; }
.yc-prows { display: grid; gap: clamp(56px, 8vw, 128px); padding-block: clamp(16px, 3vw, 40px) 0; }
.yc-prow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; scroll-margin-top: 140px; }
.yc-prow:nth-child(even) .yc-prow__text { order: 2; }
.yc-prow__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.yc-prow h2 { font-size: var(--yc-fs-3xl); margin: 0 0 10px; }
.yc-prow h2 a { color: inherit; }
.yc-prow h2 a:hover { color: var(--yc-blue); }
.yc-prow__tag { font-family: var(--yc-font-head); font-weight: 600; font-size: var(--yc-fs-lg); color: var(--yc-blue-text); letter-spacing: -.01em; margin: 0 0 12px; line-height: 1.3; text-wrap: balance; }
[dir="rtl"] .yc-prow__tag { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-prow__sum { color: var(--yc-text-soft); font-size: var(--yc-fs-base); margin: 0 0 22px; max-width: 50ch; text-wrap: pretty; }
.yc-prow__lbl { display: block; font-size: var(--yc-fs-2xs); letter-spacing: .1em; text-transform: uppercase; color: var(--yc-text-faint); font-weight: 600; margin-bottom: 10px; }
[dir="rtl"] .yc-prow__lbl { letter-spacing: 0; text-transform: none; }
/* modules: a ruled two-column list */
.yc-prow__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; width: 100%; max-width: 520px; margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--yc-line); }
.yc-prow__mods li { padding: 9px 0; border-bottom: 1px solid var(--yc-line-soft); font-size: var(--yc-fs-sm); font-weight: 500; color: var(--yc-text); }
.yc-prow__mods li.more a { color: var(--yc-text-soft); }
.yc-prow__mods li.more a:hover { color: var(--yc-blue); }
/* facts: a ruled fact row — figure over small-caps label, divided by hairlines, no chips */
.yc-prow__facts { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; margin: 0 0 26px; padding: 0; }
.yc-prow__facts > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.yc-prow__facts > div + div { padding-inline-start: 22px; margin-inline-start: 22px; border-inline-start: 1px solid var(--yc-line); }
.yc-prow__facts dt { font-size: var(--yc-fs-2xs); letter-spacing: .08em; text-transform: uppercase; color: var(--yc-text-faint); font-weight: 600; white-space: nowrap; line-height: 1.3; }
@media (max-width: 480px) { .yc-prow__facts { grid-auto-flow: row; grid-template-columns: repeat(3, auto); } .yc-prow__facts dt { white-space: normal; max-width: 8em; } .yc-prow__facts > div + div { padding-inline-start: 14px; margin-inline-start: 14px; } }
[dir="rtl"] .yc-prow__facts dt { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-prow__facts dd { margin: 0; font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-xl); letter-spacing: -.02em; line-height: 1.1; color: var(--yc-text); font-variant-numeric: tabular-nums; }
.yc-prow__facts dd em { font-style: normal; color: var(--yc-blue-text); }
[dir="rtl"] .yc-prow__facts dd { font-family: var(--yc-font-rtl); letter-spacing: 0; }
/* illustration accent: a small scene above the copy (Illustrations/README.md — reads at 160px) */
.yc-prow__illo { width: 176px; margin-bottom: 22px; opacity: .92; }
@media (max-width: 960px) { .yc-prow__illo { display: none; } }
@media (max-width: 480px) { .yc-prow__mods { grid-template-columns: 1fr; } }
.yc-prow__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.yc-prow__media { position: relative; min-width: 0; perspective: 1600px; }
.yc-prow__glow { position: absolute; inset: -12% -8%; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--yc-blue) 20%, transparent), transparent 70%); }
.yc-device--float { --rx: 0deg; --ry: 0deg; position: relative; z-index: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: box-shadow .4s var(--yc-ease); will-change: transform; }
.yc-device--float.is-tilting { box-shadow: 0 40px 90px color-mix(in srgb, var(--yc-ink) 22%, transparent); }
.yc-prow:nth-child(odd) .yc-device--float { --ry-base: calc(-4deg * var(--flip)); }
.yc-prow:nth-child(even) .yc-device--float { --ry-base: calc(4deg * var(--flip)); }
html.has-js .yc-prow:not(:hover) .yc-device--float { transform: rotateX(2deg) rotateY(var(--ry-base, 0deg)); }
@media (max-width: 960px) {
  .yc-prow, .yc-prow:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .yc-prow:nth-child(even) .yc-prow__text { order: 0; }
  .yc-prow__media { order: -1; }
  html.has-js .yc-prow:not(:hover) .yc-device--float { transform: none; }
}
.yc-custom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--yc-line); background: var(--yc-surface); border-radius: var(--yc-radius-lg); margin-top: clamp(56px, 8vw, 128px); scroll-margin-top: 140px; }
.yc-custom h2 { font-size: var(--yc-fs-2xl); margin: 0 0 6px; text-wrap: balance; }
.yc-prow h2, .yc-pdhero h1, .yc-featurerow__text h3, .yc-deploy__card h3, .yc-mod h4 { text-wrap: balance; }
.yc-custom p { margin: 0; color: var(--yc-text-soft); font-size: var(--yc-fs-sm); max-width: 60ch; }
@media (max-width: 700px) { .yc-custom { grid-template-columns: 1fr; } }

/* =====================================================================
   PRODUCT DETAIL — cinematic ink hero (tilted device, parallax, thumbs),
   fact strip, overview, pinned feature rows, modules ledger with glyphs,
   roles diagram, deployment cards, chips, FAQ.
   ===================================================================== */
.yc-pdhero { position: relative; overflow: clip; isolation: isolate; padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 56px); background: var(--yc-ink); color: var(--yc-ink-fg); }
.yc-pdhero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.yc-pdhero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.yc-pdhero__copy .yc-eyebrow { color: var(--yc-ink-soft); gap: 14px; flex-wrap: wrap; }
.yc-pdhero__copy .yc-eyebrow .n { color: var(--yc-blue-300); }
.yc-pdhero__copy .yc-eyebrow .n::after { background: var(--yc-ink-line); }
.yc-pdhero h1 { font-size: var(--yc-fs-4xl); color: #fff; margin: 0 0 14px; max-width: 16ch; }
[dir="rtl"] .yc-pdhero h1 { max-width: 22ch; }
.yc-pdhero__tag { font-family: var(--yc-font-head); font-weight: 600; font-size: var(--yc-fs-xl); color: var(--yc-blue-300); letter-spacing: -.01em; line-height: 1.3; margin: 0 0 14px; max-width: 30ch; text-wrap: balance; }
[dir="rtl"] .yc-pdhero__tag { font-family: var(--yc-font-rtl); letter-spacing: 0; }
.yc-pdhero .lead { font-size: var(--yc-fs-lg); color: var(--yc-ink-soft); max-width: 50ch; margin: 0 0 26px; text-wrap: pretty; }
.yc-pdhero__stage { position: relative; min-width: 0; }
.yc-pdhero__glow { position: absolute; inset: -14% -10%; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(50% 50% at 55% 45%, rgba(40,112,232,.36), transparent 70%); }
.yc-pdhero__persp { position: relative; z-index: 1; perspective: 1800px; }
.yc-device--hero { --rx: 0deg; --ry: 0deg; --py: 0px; border-color: rgba(255,255,255,.14); background: #0F1523; box-shadow: 0 50px 110px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset; transform-style: preserve-3d; will-change: transform;
  transform: translate3d(0, var(--py), 0) rotateX(calc(4deg + var(--rx))) rotateY(calc(-9deg * var(--flip) + var(--ry))); transition: box-shadow .4s var(--yc-ease); }
.yc-device--hero .yc-device__bar { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.yc-device--hero .yc-device__bar .dots i { background: rgba(255,255,255,.22); }
.yc-device--hero .yc-device__bar .url { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--yc-ink-soft); }
.yc-device--hero .yc-device__screen { background: #0F1523; aspect-ratio: 3 / 2; }
.yc-thumbs { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 18px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.yc-thumbs::-webkit-scrollbar { display: none; }
.yc-thumbs button { flex: 0 0 auto; width: 84px; padding: 0; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #0F1523; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity var(--yc-dur), border-color var(--yc-dur), transform var(--yc-dur) var(--yc-ease); }
.yc-thumbs button img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.yc-thumbs button:hover { opacity: .85; }
.yc-thumbs button.is-on { opacity: 1; border-color: var(--yc-blue-300); transform: translateY(-2px); }
.yc-thumbs button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--yc-ink), 0 0 0 4px var(--yc-blue-300); }
.yc-pdfacts { list-style: none; margin: clamp(32px, 5vw, 64px) 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, .85fr)) minmax(0, 1.45fr); gap: clamp(12px, 2vw, 28px); border-top: 1px solid var(--yc-ink-line); }
.yc-pdfacts b { display: block; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.035em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.yc-pdfacts b.txt { font-size: clamp(16px, 1.25vw, 19px); letter-spacing: -.01em; line-height: 1.3; padding-top: 6px; text-wrap: balance; }
/* platforms: one span per item; the separator is glued to the item so a wrap never starts with "·" */
.yc-pdfacts b.txt span { white-space: nowrap; }
.yc-pdfacts b.txt span + span::before { content: "·"; margin-inline: .45em; color: var(--yc-ink-soft); font-weight: 600; }
.yc-pdfacts b em { font-style: normal; color: var(--yc-blue-300); }
.yc-pdfacts b span { font: inherit; color: inherit; }
/* rolling digits are one span each; keep them left-to-right in RTL so ۱۵۰ does not read as ۰۵۱ */
.yc-pdfacts .yc-odo { direction: ltr; unicode-bidi: isolate; }
.yc-pdfacts li > span { display: block; margin-top: 8px; font-size: var(--yc-fs-2xs); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--yc-ink-soft); line-height: 1.4; }
[dir="rtl"] .yc-pdfacts li > span { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
[dir="rtl"] .yc-pdfacts b { font-family: var(--yc-font-rtl); letter-spacing: 0; }
@media (max-width: 960px) {
  .yc-pdhero__grid { grid-template-columns: 1fr; gap: 28px; }
  .yc-pdhero__stage { order: -1; max-width: 760px; }
  .yc-device--hero { transform: none !important; }
  .yc-pdhero h1 { max-width: none; }
  .yc-pdfacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .yc-pdfacts { gap: 16px 12px; } .yc-pdfacts b { font-size: 24px; } .yc-thumbs button { width: 68px; } }

/* intro */
.yc-prodintro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.yc-prodintro > p { font-size: var(--yc-fs-xl); line-height: 1.5; color: var(--yc-text); margin: 0; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }
[dir="rtl"] .yc-prodintro > p { letter-spacing: 0; }
.yc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.yc-checks li { display: flex; align-items: flex-start; gap: 11px; font-size: var(--yc-fs-sm); color: var(--yc-text); line-height: 1.5; }
.yc-checks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--yc-blue); }
@media (max-width: 900px) { .yc-prodintro { grid-template-columns: 1fr; } }

/* feature deep-dives — media pins while the text scrolls on wide screens */
.yc-features { display: grid; gap: clamp(48px, 7vw, 112px); }
.yc-featurerow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.yc-featurerow:nth-child(even) .yc-featurerow__text { order: 2; }
.yc-featurerow__text h3 { font-size: var(--yc-fs-2xl); margin: 8px 0 14px; max-width: 22ch; }
.yc-featurerow__text > p:not(.yc-featurerow__note) { font-size: var(--yc-fs-base); color: var(--yc-text-soft); margin: 0 0 22px; max-width: 54ch; text-wrap: pretty; }
.yc-featurerow__note { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--yc-line-soft); font-size: var(--yc-fs-sm); color: var(--yc-text-faint); max-width: 52ch; }
.yc-featurerow__note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--yc-blue); }
.yc-featurerow__media { position: sticky; top: 96px; perspective: 1400px; min-width: 0; }
.yc-featurerow__frame { --rx: 0deg; --ry: 0deg; border-radius: var(--yc-radius-lg); background: var(--yc-surface); border: 1px solid var(--yc-line); padding: clamp(10px, 1.4vw, 18px); box-shadow: var(--yc-shadow-lg); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; will-change: transform; transition: border-color var(--yc-dur); }
.yc-featurerow__frame.is-tilting { border-color: color-mix(in srgb, var(--yc-blue) 40%, var(--yc-line)); }
.yc-featurerow__frame img { display: block; width: 100%; height: auto; border-radius: calc(var(--yc-radius-lg) - 8px); }
@media (max-width: 960px) { .yc-featurerow, .yc-featurerow:nth-child(even) { grid-template-columns: 1fr; gap: 22px; } .yc-featurerow:nth-child(even) .yc-featurerow__text { order: 0; } .yc-featurerow__media { position: static; } }

/* modules ledger */
.yc-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0; background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); overflow: hidden; }
.yc-mod { position: relative; display: flex; flex-direction: column; padding: 22px 22px 24px; background: var(--yc-surface); transition: background-color var(--yc-dur); box-shadow: 1px 1px 0 0 var(--yc-line); }
.yc-mod:hover { background: var(--yc-bg); }
.yc-mod > * { position: relative; z-index: 1; }
/* spotlight border (cinematic.js [data-spotlight]): the light crosses the ledger's hairlines */
[data-spotlight].is-lit > .yc-mod::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(300px circle at var(--mx) var(--my), color-mix(in srgb, var(--yc-blue) 9%, transparent), transparent 70%); }
[data-spotlight].is-lit > .yc-mod { box-shadow: 1px 1px 0 0 color-mix(in srgb, var(--yc-blue) 35%, var(--yc-line)); }
.yc-mod__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.yc-mod__ic { width: 40px; height: 40px; flex: none; border-radius: 11px; border: 1px solid var(--yc-line); color: var(--yc-text); display: grid; place-items: center; background: var(--yc-surface); transition: background-color var(--yc-dur), color var(--yc-dur), border-color var(--yc-dur); }
.yc-mod__ic svg { width: 19px; height: 19px; }
.yc-mod:hover .yc-mod__ic { background: var(--yc-text); border-color: var(--yc-text); color: var(--yc-bg); }
.yc-mod__n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); }
.yc-mod h4 { font-size: var(--yc-fs-base); margin: 0 0 6px; }
.yc-mod p { font-size: var(--yc-fs-xs); color: var(--yc-text-soft); margin: 0; line-height: 1.55; }
/* The closing lead tile spans the whole last row. As a single cell it landed alone whenever the
   module count did not happen to fill the row — eight modules in a four-column grid left three
   empty cells and a ~200px hole — and that breaks differently for every product. Full width is the
   one layout that is correct for any module count at any column count. */
.yc-mod--more { color: inherit; text-decoration: none; background: color-mix(in srgb, var(--yc-blue) 5%, var(--yc-surface));
  grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 8px 20px; padding: 20px 22px; }
.yc-mod--more .yc-mod__top { grid-row: 1 / -1; margin-bottom: 0; }
.yc-mod--more h4 { grid-column: 2; margin: 0; align-self: end; }
.yc-mod--more p { grid-column: 2; align-self: start; }
.yc-mod--more .yc-link { grid-column: 3; grid-row: 1 / -1; margin-top: 0; padding-top: 0; font-size: var(--yc-fs-xs); white-space: nowrap; }
.yc-mod--more .yc-mod__ic { color: var(--yc-blue-text); border-style: dashed; }
.yc-mod--more:hover { background: color-mix(in srgb, var(--yc-blue) 10%, var(--yc-surface)); }
.yc-mod--more:hover .yc-mod__ic { background: var(--yc-blue); border-color: var(--yc-blue); color: #fff; }
@media (max-width: 560px) {
  .yc-mod--more { grid-template-columns: auto minmax(0, 1fr); }
  .yc-mod--more .yc-link { grid-column: 1 / -1; grid-row: auto; padding-top: 12px; }
}
/* module glyphs: 48×22 animated marks, run while in view */
.yc-mg { --a: var(--yc-blue); --b: var(--yc-green); --s: var(--yc-line-strong); position: relative; margin-inline-start: auto; width: 48px; height: 22px; display: flex; align-items: flex-end; gap: 3px; opacity: .85; }
.yc-mg i { display: block; animation-play-state: paused; }
.yc-mod.in-view .yc-mg i, .yc-mod.in-view .yc-mg svg path { animation-play-state: running; }
.yc-mg--chart i { flex: 1; height: 40%; border-radius: 2px 2px 0 0; background: var(--s); animation: yc-mg-bar 3.6s var(--yc-ease) infinite; }
.yc-mg--chart i:nth-child(1) { --h: 55%; animation-delay: 0s; } .yc-mg--chart i:nth-child(2) { --h: 80%; animation-delay: .25s; background: var(--a); } .yc-mg--chart i:nth-child(3) { --h: 45%; animation-delay: .5s; } .yc-mg--chart i:nth-child(4) { --h: 95%; animation-delay: .75s; background: var(--b); } .yc-mg--chart i:nth-child(5) { --h: 65%; animation-delay: 1s; }
@keyframes yc-mg-bar { 0%, 100% { height: 30%; } 40%, 70% { height: var(--h); } }
.yc-mg--calendar { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 5px 1fr 1fr; gap: 2px; align-items: stretch; }
.yc-mg--calendar i { border-radius: 2px; background: var(--s); }
.yc-mg--calendar i.h { grid-column: 1 / -1; background: var(--a); }
.yc-mg--calendar i:not(.h) { animation: yc-mg-blink 4s var(--yc-ease) infinite; }
.yc-mg--calendar i:nth-child(3) { animation-delay: .6s; } .yc-mg--calendar i:nth-child(5) { animation-delay: 1.4s; } .yc-mg--calendar i:nth-child(7) { animation-delay: 2.2s; }
@keyframes yc-mg-blink { 0%, 70%, 100% { background: var(--s); } 80%, 92% { background: var(--b); } }
.yc-mg--ledger { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 3px; }
.yc-mg--ledger i.r { height: 3px; border-radius: 2px; background: var(--s); animation: yc-mg-row 3s var(--yc-ease) infinite; }
.yc-mg--ledger i.r:nth-child(2) { animation-delay: .3s; width: 80%; } .yc-mg--ledger i.r:nth-child(3) { animation-delay: .6s; width: 60%; }
.yc-mg--ledger i.t { height: 4px; border-radius: 2px; background: var(--a); animation: yc-il-pulse 3s var(--yc-ease) infinite; }
@keyframes yc-mg-row { 0% { opacity: 0; translate: calc(-6px * var(--flip)) 0; } 20%, 80% { opacity: 1; translate: none; } 100% { opacity: 0; } }
.yc-mg--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-items: stretch; }
.yc-mg--grid i { border-radius: 2px; background: var(--s); animation: yc-mg-tile 4.2s var(--yc-ease) infinite; }
.yc-mg--grid i:nth-child(2) { animation-delay: .7s; } .yc-mg--grid i:nth-child(4) { animation-delay: 1.4s; } .yc-mg--grid i:nth-child(6) { animation-delay: 2.1s; }
@keyframes yc-mg-tile { 0%, 60%, 100% { background: var(--s); scale: 1; } 70%, 85% { background: var(--a); scale: 1.12; } }
.yc-mg--pulse svg { width: 100%; height: 100%; overflow: visible; }
.yc-mg--pulse path { fill: none; stroke: var(--a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; animation: yc-mg-draw 3s linear infinite; animation-play-state: paused; }
@keyframes yc-mg-draw { 0% { stroke-dashoffset: 120; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.yc-mg--check { align-items: center; justify-content: flex-end; }
.yc-mg--check i.ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--s); animation: yc-mg-ring 3.2s var(--yc-ease) infinite; }
.yc-mg--check i.tick { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 5px; height: 9px; border: solid var(--b); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; animation: yc-mg-tick 3.2s var(--yc-ease) infinite; }
@keyframes yc-mg-ring { 0%, 30% { border-color: var(--s); } 45%, 85% { border-color: var(--b); } 100% { border-color: var(--s); } }
@keyframes yc-mg-tick { 0%, 40% { opacity: 0; scale: .4; } 50%, 85% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.yc-mg--message { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 3px; }
.yc-mg--message i { height: 6px; border-radius: 3px; background: var(--s); animation: yc-mg-bubble 3.6s var(--yc-ease) infinite; }
.yc-mg--message i.b1 { width: 60%; } .yc-mg--message i.b2 { width: 80%; align-self: flex-end; background: var(--a); animation-delay: .4s; } .yc-mg--message i.b3 { width: 45%; animation-delay: .8s; }
@keyframes yc-mg-bubble { 0% { opacity: 0; translate: 0 4px; } 15%, 80% { opacity: 1; translate: none; } 100% { opacity: 0; } }
.yc-mg--rows { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 3px; }
.yc-mg--rows i { height: 4px; border-radius: 2px; background: var(--s); animation: yc-mg-row 3s var(--yc-ease) infinite; }
.yc-mg--rows i:nth-child(2) { width: 70%; animation-delay: .3s; background: var(--a); } .yc-mg--rows i:nth-child(3) { width: 85%; animation-delay: .6s; }

/* roles diagram — hub + spokes; SVG lines animate a packet along each spoke */
.yc-rolediag { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin-inline: auto; }
.yc-rolediag__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
[dir="rtl"] .yc-rolediag__lines { transform: scaleX(-1); }
/* spokes draw from the hub as the diagram scrolls in (js/cinematic.js [data-svgdraw] → --draw 0..1) */
.yc-rolediag__lines .base { fill: none; stroke: var(--yc-blue); stroke-opacity: .55; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw, 1) * 100); }
@keyframes yc-rd-flow { to { stroke-dashoffset: -100; } }
.yc-rolediag__hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 22px; border-radius: var(--yc-radius-lg); background: var(--yc-text); color: var(--yc-bg); text-align: center; box-shadow: 0 20px 50px color-mix(in srgb, var(--yc-blue) 22%, transparent); min-width: 150px; max-width: 220px; }
.yc-rolediag__hub .ic { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--yc-bg) 14%, transparent); display: grid; place-items: center; color: var(--yc-blue-300); }
.yc-rolediag__hub .ic svg { width: 22px; height: 22px; }
.yc-rolediag__hub b { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-sm); line-height: 1.25; }
[dir="rtl"] .yc-rolediag__hub b { font-family: var(--yc-font-rtl); }
.yc-rolediag__hub small { font-size: var(--yc-fs-2xs); color: color-mix(in srgb, var(--yc-bg) 70%, transparent); letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .yc-rolediag__hub small { letter-spacing: 0; text-transform: none; }
.yc-rolediag__node { position: absolute; inset-inline-start: var(--x); top: var(--y); translate: calc(-50% * var(--flip)) -50%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--yc-radius-sm); border: 1px solid var(--yc-line); background: var(--yc-surface); color: var(--yc-text); font-weight: 600; font-size: var(--yc-fs-sm); white-space: nowrap; box-shadow: var(--yc-shadow);
  opacity: 0; transform: translateY(6px); transition: opacity var(--yc-dur-slow) var(--yc-ease-out), transform var(--yc-dur-slow) var(--yc-ease-out); transition-delay: calc(var(--i) * 70ms); }
.yc-rolediag.is-drawn .yc-rolediag__node, html:not(.has-js) .yc-rolediag__node { opacity: 1; transform: none; }
.yc-rolediag__node .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); color: var(--yc-blue-text); letter-spacing: .06em; }
@keyframes yc-rd-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
/* narrow screens: the ellipse has no room, so the diagram becomes a ruled grid — hub first, then the roles */
@media (max-width: 640px) {
  .yc-rolediag { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .yc-rolediag__lines { display: none; }
  .yc-rolediag__hub { position: static; translate: none; grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; text-align: start; gap: 12px; padding: 14px 16px; max-width: none; box-shadow: none; }
  .yc-rolediag__hub .ic { width: 36px; height: 36px; flex: none; }
  .yc-rolediag__hub small { display: none; }
  .yc-rolediag__node { position: static; translate: none; transform: none; opacity: 1; white-space: normal; box-shadow: none; padding: 12px 14px; font-size: var(--yc-fs-xs); transition: none; }
}

/* deployment / engagement cards */
.yc-deploy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yc-deploy__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface); transition: transform var(--yc-dur) var(--yc-ease), border-color var(--yc-dur), box-shadow var(--yc-dur); }
.yc-deploy__card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--yc-blue) 40%, var(--yc-line)); box-shadow: 0 24px 60px color-mix(in srgb, var(--yc-blue) 10%, transparent); }
.yc-deploy__card h3 { font-size: var(--yc-fs-xl); margin: 6px 0 0; }
.yc-deploy__card p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; flex: 1; }
.yc-deploy__card .yc-link { margin-top: 6px; }
.yc-deploy__for { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yc-text-faint); }
[dir="rtl"] .yc-deploy__for { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-deploy__art { --a: var(--yc-blue); --b: var(--yc-green); --s: var(--yc-line-strong); position: relative; display: flex; align-items: flex-end; gap: 6px; width: 72px; height: 44px; margin-bottom: 8px; }
.yc-deploy__art i { display: block; border-radius: 4px; background: var(--s); }
.yc-deploy__art--1 i:nth-child(1) { width: 34px; height: 44px; border-radius: 6px; background: linear-gradient(var(--a), var(--a)) padding-box, var(--s); border: 2px solid var(--s); background: var(--yc-surface); }
.yc-deploy__art--1 i:nth-child(2) { width: 34px; height: 30px; border: 2px solid var(--a); background: var(--yc-surface); }
.yc-deploy__art--1 i:nth-child(3) { position: absolute; inset-inline-start: 8px; top: 10px; width: 18px; height: 4px; background: var(--a); }
.yc-deploy__art--2 i:nth-child(1) { width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--a) 22%, var(--yc-surface)); border: 2px solid var(--a); }
.yc-deploy__art--2 i:nth-child(2) { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--a) 12%, var(--yc-surface)); border: 2px solid var(--s); margin-inline-start: -14px; }
.yc-deploy__art--2 i:nth-child(3) { width: 22px; height: 22px; border-radius: 50%; background: var(--b); margin-inline-start: -10px; }
.yc-deploy__art--3 i:nth-child(1) { width: 30px; height: 38px; border-radius: 6px; border: 2px solid var(--s); background: var(--yc-surface); }
.yc-deploy__art--3 i:nth-child(2) { width: 14px; height: 3px; background: var(--a); margin-bottom: 18px; }
.yc-deploy__art--3 i:nth-child(3) { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--a); background: color-mix(in srgb, var(--a) 14%, var(--yc-surface)); }
@media (max-width: 900px) { .yc-deploy { grid-template-columns: 1fr; } }

/* who for — a ruled three-column list */
.yc-forwho { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--yc-line); }
.yc-forwho li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--yc-line); color: var(--yc-text); font-size: var(--yc-fs-base); font-weight: 500; }
.yc-forwho li svg { width: 16px; height: 16px; color: var(--yc-blue); flex: none; }
@media (max-width: 900px) { .yc-forwho { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .yc-forwho { grid-template-columns: 1fr; } }

/* detail-page rhythm is tighter than the marketing home */
.yc-pd .yc-band { padding-block: clamp(40px, 5.5vw, 88px); }
.yc-pd .yc-band--ink { padding-block: 0; }
/* sticky bar, solid: a rectangle with square-cornered buttons, not a floating pill */
.yc-sticky--solid .yc-sticky__in { border-radius: var(--yc-radius); padding: 10px 10px 10px 22px; backdrop-filter: none; box-shadow: 0 18px 50px color-mix(in srgb, var(--yc-ink) 30%, transparent); }
[dir="rtl"] .yc-sticky--solid .yc-sticky__in { padding: 10px 22px 10px 10px; }
.yc-sticky--solid .btn-yc { border-radius: var(--yc-radius-sm); }
@media (max-width: 700px) { .yc-sticky--solid .yc-sticky__in { padding: 8px; } }
/* related */
.yc-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.yc-related a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius); background: var(--yc-surface); color: var(--yc-text); font-weight: 600; font-size: var(--yc-fs-sm); transition: border-color var(--yc-dur), transform var(--yc-dur); }
.yc-related a:hover { border-color: var(--yc-text); transform: translateY(-2px); color: var(--yc-text); }
.yc-related a svg { width: 16px; height: 16px; flex: none; color: var(--yc-text-faint); }
[dir="rtl"] .yc-related a svg { transform: scaleX(-1); }

/* =====================================================================
   SERVICES (pass 7) — ink statement hero with a low-saturation mesh and one
   large line illustration · 8 ruled tiles with illustrations + spotlight ·
   why (ruled 3-col list) · how we work (Sections/_Process) ·
   stack kinetic marquee · detail: ruled checklist, device-framed cases,
   engagement cards, plain stack line. No pills, chips or badges.
   ===================================================================== */
/* ==== services: hero ==== */
.yc-svhero { position: relative; isolation: isolate; overflow: clip; padding: clamp(24px, 3.5vw, 48px) 0 clamp(56px, 7vw, 112px); }
.yc-svhero__bg .yc-mesh { opacity: .55; filter: saturate(.72) blur(24px); transform: scale(1.08);
  background: radial-gradient(55% 50% at 25% 15%, rgba(40,112,232,.26), transparent 70%), radial-gradient(45% 40% at 85% 85%, rgba(31,138,91,.14), transparent 70%); }
.yc-svhero__bg .grid { opacity: .35; }
.yc-svhero .yc-breadcrumb, .yc-svhero .yc-breadcrumb a { color: var(--yc-ink-soft); }
.yc-svhero .yc-breadcrumb li + li::before { color: rgba(255,255,255,.28); }
.yc-svhero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.yc-svhero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.yc-svhero__copy .yc-eyebrow { margin-bottom: 22px; }
.yc-svhero h1 { font-size: var(--yc-fs-4xl); line-height: 1.04; margin: 0 0 20px; color: #fff; max-width: 15ch; text-wrap: balance; }
[dir="rtl"] .yc-svhero h1 { max-width: 20ch; line-height: 1.3; }
.yc-svhero h1 .a { color: var(--yc-blue-300); }
.yc-svhero--detail h1 { max-width: 18ch; }
.yc-svhero .lead { font-size: var(--yc-fs-lg); color: var(--yc-ink-soft); max-width: 50ch; margin: 0 0 28px; text-wrap: pretty; }
.yc-svhero__cta { justify-content: flex-start; }
.yc-svhero__stage { position: relative; }
.yc-svhero__frame { position: relative; border-radius: var(--yc-radius-xl); border: 1px solid var(--yc-ink-line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); padding: clamp(22px, 3vw, 44px); }
.yc-svhero__frame::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--yc-blue) 22%, transparent), transparent 72%); filter: blur(28px); }
/* the illustration inherits the band's tokens; on ink the ink strokes become paper */
.yc-svhero .yc-illo { --yc-text: var(--yc-ink-fg); --yc-line-strong: rgba(255,255,255,.34); --yc-surface: color-mix(in srgb, #fff 7%, var(--yc-ink)); --yc-surface-2: color-mix(in srgb, #fff 12%, var(--yc-ink)); }
@media (max-width: 960px) {
  .yc-svhero { padding-bottom: clamp(40px, 6vw, 72px); }
  .yc-svhero__grid { grid-template-columns: 1fr; gap: 36px; }
  .yc-svhero h1, [dir="rtl"] .yc-svhero h1 { max-width: none; }
  .yc-svhero__frame { max-width: 560px; }
}

/* ==== services: tiles ==== */
.yc-svcgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--yc-line); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); overflow: hidden; }
.yc-svc { position: relative; display: flex; flex-direction: column; background: var(--yc-surface); transition: background-color var(--yc-dur); }
.yc-svc:hover { background: var(--yc-bg); }
.yc-svc__art { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--yc-line-soft); background: var(--yc-surface-2); overflow: hidden; }
.yc-svc__art .yc-svillo { width: 100%; max-width: 260px; }
.yc-svc__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; flex: 1; }
.yc-svc__label { display: block; min-height: 1.2em; font-size: var(--yc-fs-2xs); line-height: 1.2; color: var(--yc-text-faint); font-weight: 500; }
.yc-svc h2 { font-size: var(--yc-fs-lg); margin: 0; }
.yc-svc p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; flex: 1; text-wrap: pretty; }
.yc-svc .yc-link { margin-top: 10px; font-size: var(--yc-fs-xs); }
.yc-svc .yc-link::after { content: ""; position: absolute; inset: 0; }
[data-spotlight].is-lit > .yc-svc { box-shadow: none; }
@media (max-width: 1100px) { .yc-svcgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .yc-svcgrid { grid-template-columns: 1fr; } .yc-svc__art { aspect-ratio: 16 / 9; } .yc-svc__art .yc-svillo { max-width: 240px; } }

/* service illustrations — Sections/_ServiceIllo wraps an Illustrations/_Illo* partial */
.yc-svillo { display: block; width: 100%; line-height: 0; }
.yc-svillo .yc-illo { width: 100%; }
/* "web" is the finished-product half of the custom-dev scene: crop a 16:10 window onto it */
.yc-svillo--web { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.yc-svillo--web .yc-illo { position: absolute; top: 0; inset-inline-start: 0; width: 120%; translate: -17% -8%; }
[dir="rtl"] .yc-svillo--web .yc-illo { translate: 17% -8%; }
/* in the hero the web scene is shown whole — the crop is a tile-sized device only */
.yc-svhero .yc-svillo--web { aspect-ratio: auto; overflow: visible; }
.yc-svhero .yc-svillo--web .yc-illo, [dir="rtl"] .yc-svhero .yc-svillo--web .yc-illo { position: static; width: 100%; translate: none; }

/* ==== services: why — ruled 3-col list, one icon stroke, no cards ==== */
.yc-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--yc-line); }
.yc-why__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: start; align-content: start; padding: clamp(22px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--yc-line); }
.yc-why__ic { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--yc-line-strong); display: grid; place-items: center; color: var(--yc-text); }
.yc-why__ic svg { width: 20px; height: 20px; stroke-width: 1.75; }
.yc-why__n { position: absolute; top: clamp(22px, 2.4vw, 30px); inset-inline-end: 0; font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); }
.yc-why__item h3 { font-size: var(--yc-fs-lg); margin: 6px 0 6px; padding-inline-end: 40px; }
.yc-why__item p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; text-wrap: pretty; }
.yc-why__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 900px) { .yc-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .yc-why { grid-template-columns: 1fr; } }

/* ==== services: stack marquee ==== */
.yc-stackband { padding-bottom: clamp(40px, 6vw, 88px); }
.yc-stackband .yc-head2 { margin-bottom: clamp(20px, 3vw, 40px); }
.yc-stack { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.yc-stack__track, .yc-stack__set { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); width: max-content; padding: 4px 0; }
html:not(.has-js) .yc-stack__track { animation: yc-marquee 46s linear infinite; }
html:not(.has-js) [dir="rtl"] .yc-stack__track { animation-name: yc-marquee-rtl; }
.yc-stack__item { flex: none; font-family: var(--yc-font-head); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--yc-text-faint); white-space: nowrap; transition: color var(--yc-dur); }
.yc-stack__item:hover { color: var(--yc-text); }
.yc-stack__item::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--yc-blue); margin-inline-start: clamp(28px, 4vw, 56px); vertical-align: middle; opacity: .7; }
.yc-stack__item:nth-child(3n)::after { background: var(--yc-green); }
html[data-motion="off"] .yc-stack { mask-image: none; -webkit-mask-image: none; overflow-x: auto; } html[data-motion="off"] .yc-stack__track { animation: none !important; }
/* detail: the service's own stack as one plain ruled line */
.yc-stackline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: clamp(24px, 3vw, 40px) 0 0; padding-top: 22px; border-top: 1px solid var(--yc-line); font-size: var(--yc-fs-sm); color: var(--yc-text); font-weight: 500; }
.yc-stackline__lbl { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); margin-inline-end: 10px; }
[dir="rtl"] .yc-stackline__lbl { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-stackline__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--yc-line-strong); }

/* ==== services: detail — ruled checklist, device-framed cases ==== */
.yc-deliver { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--yc-line); }
.yc-deliver__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--yc-line); font-size: var(--yc-fs-base); font-weight: 500; color: var(--yc-text); }
.yc-deliver__item .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-text-faint); min-width: 2.2em; }
[dir="rtl"] .yc-deliver__item .n { letter-spacing: 0; }
.yc-deliver__item .t { text-wrap: pretty; }
.yc-deliver__item .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--yc-line-strong); color: var(--yc-green-text); }
.yc-deliver__item .ic svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .yc-deliver { grid-template-columns: 1fr; } }
.yc-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.yc-case { display: flex; flex-direction: column; border-radius: var(--yc-radius-lg); border: 1px solid var(--yc-line); background: var(--yc-surface); overflow: hidden; transition: border-color var(--yc-dur), transform var(--yc-dur) var(--yc-ease); }
.yc-case:hover { border-color: var(--yc-line-strong); transform: translateY(-3px); }
.yc-case__shot { --rx: 0deg; --ry: 0deg; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px) 0; background: var(--yc-surface-2); border-bottom: 1px solid var(--yc-line-soft); perspective: 1200px; }
.yc-case__device { border: 1px solid var(--yc-line-strong); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 6px 6px 0; background: var(--yc-surface); box-shadow: var(--yc-shadow); overflow: hidden; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.yc-case__device img { display: block; width: 100%; height: auto; border-radius: 7px 7px 0 0; border: 1px solid var(--yc-line); border-bottom: 0; }
.yc-case__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 26px; }
.yc-case__body .yc-eyebrow { margin: 0; }
.yc-case__body h3 { margin: 0; font-size: var(--yc-fs-xl); }
.yc-case__body p { margin: 0; font-size: var(--yc-fs-sm); color: var(--yc-text-soft); text-wrap: pretty; }
.yc-case__fact { font-size: var(--yc-fs-xs); font-weight: 600; color: var(--yc-green-text); }
@media (max-width: 800px) { .yc-cases { grid-template-columns: 1fr; } }

/* motion off */
html[data-motion="off"] .yc-prhero h1 .a, html[data-motion="off"] .yc-mg * { animation: none !important; }
html[data-motion="off"] .yc-device--float, html[data-motion="off"] .yc-device--hero, html[data-motion="off"] .yc-featurerow__frame, html[data-motion="off"] .yc-case__device { transform: none !important; }
html[data-motion="off"] .yc-rolediag__lines .base { stroke-dashoffset: 0; }
html[data-motion="off"] .yc-rolediag__node { opacity: 1; transform: none; transition: none; }

/* showcase carousel */
/* (the screenshot carousel + showcase frame were retired with the pass-3 product hero) */

/* =====================================================================
   ABOUT
   ===================================================================== */
.yc-featrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.yc-featrow__text h3 { font-size: var(--yc-fs-2xl); margin: 10px 0 16px; }
.yc-featrow__text p { color: var(--yc-text-soft); font-size: var(--yc-fs-lg); margin: 0 0 16px; }
@media (max-width: 860px) { .yc-featrow { grid-template-columns: 1fr; gap: 32px; } }
.yc-time { padding: clamp(22px, 2.2vw, 32px); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); }
.yc-time ol { list-style: none; margin: 0; padding: 0; position: relative; }
.yc-time ol::before { content: ""; position: absolute; inset-block: 8px 12px; inset-inline-start: 48px; width: 1px; background: var(--yc-line); }
.yc-time li { position: relative; display: flex; gap: 20px; padding-bottom: 24px; }
.yc-time li:last-child { padding-bottom: 0; }
.yc-time .yr { flex: none; width: 60px; font-family: var(--yc-font-head); font-weight: 800; font-size: var(--yc-fs-sm); letter-spacing: -.02em; color: var(--yc-text-faint); font-variant-numeric: tabular-nums; padding-top: 2px; direction: ltr; }
.yc-time .tx { min-width: 0; padding-inline-start: 12px; }
.yc-time .tx b { display: block; font-size: var(--yc-fs-sm); font-weight: 600; color: var(--yc-text); line-height: 1.35; }
.yc-time .tx small { display: block; margin-top: 4px; font-size: var(--yc-fs-xs); color: var(--yc-text-faint); line-height: 1.55; }
.yc-time li:last-child .tx b { color: var(--yc-blue); }
.yc-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--yc-line); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); overflow: hidden; }
.yc-value { padding: clamp(24px, 2.6vw, 40px); background: var(--yc-surface); }
.yc-value .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; color: var(--yc-blue-text); display: block; margin-bottom: 26px; }
.yc-value h3 { font-size: var(--yc-fs-xl); margin: 0 0 10px; }
.yc-value p { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); margin: 0; }
@media (max-width: 760px) { .yc-values { grid-template-columns: 1fr; } }
.yc-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.yc-member { position: relative; padding: 0; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); overflow: hidden; transition: transform var(--yc-dur), box-shadow var(--yc-dur), border-color var(--yc-dur); }
.yc-member:hover { transform: translateY(-3px); box-shadow: var(--yc-shadow); border-color: var(--yc-line-strong); }
.yc-member .avph { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: var(--yc-surface-2); filter: saturate(.9); }
.yc-member__body { padding: 18px 20px 20px; }
.yc-member .nm { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-base); color: var(--yc-text); }
[dir="rtl"] .yc-member .nm { font-family: var(--yc-font-rtl); }
.yc-member .rl { font-size: var(--yc-fs-xs); color: var(--yc-blue); font-weight: 600; margin-top: 3px; }
.yc-member .xp { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); margin-top: 6px; }
@media (max-width: 1000px) { .yc-team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .yc-team { grid-template-columns: 1fr; } }
.yc-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yc-office { padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); display: grid; gap: 8px; }
.yc-office b { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-lg); }
[dir="rtl"] .yc-office b { font-family: var(--yc-font-rtl); }
.yc-office span { font-size: var(--yc-fs-sm); color: var(--yc-text-soft); line-height: 1.55; }
.yc-office a { font-size: var(--yc-fs-sm); font-weight: 600; color: var(--yc-text); display: inline-flex; gap: 8px; align-items: center; }
.yc-office a svg { width: 14px; height: 14px; color: var(--yc-text-faint); }
@media (max-width: 640px) { .yc-offices { grid-template-columns: 1fr; } }

/* =====================================================================
   CONTACT
   ===================================================================== */
.yc-contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.yc-contact__form { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-xl); background: var(--yc-surface); }
.yc-contact__form h2 { font-size: var(--yc-fs-xl); margin: 0 0 22px; }
.yc-contact__side { display: grid; gap: 0; border-top: 1px solid var(--yc-line); }
.yc-contact__side .item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--yc-line); align-items: start; }
.yc-contact__side .ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-text); }
.yc-contact__side .ic svg { width: 19px; height: 19px; }
.yc-contact__side .t { font-size: var(--yc-fs-2xs); letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); font-weight: 600; margin-bottom: 6px; }
[dir="rtl"] .yc-contact__side .t { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-contact__side .s { font-size: var(--yc-fs-base); color: var(--yc-text); line-height: 1.55; }
.yc-contact__side .s a { color: var(--yc-text); font-weight: 500; }
.yc-contact__side .s a:hover { color: var(--yc-blue); }
.yc-contact__side .s small { display: block; color: var(--yc-text-faint); font-size: var(--yc-fs-xs); margin-top: 3px; }
.yc-contact__wa { margin-top: 22px; }
@media (max-width: 860px) { .yc-contact { grid-template-columns: 1fr; } }

/* =====================================================================
   BLOG ARTICLE
   ===================================================================== */
.yc-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.yc-article__head { max-width: var(--yc-container-narrow); margin-inline: auto; padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.yc-article__head h1 { font-size: var(--yc-fs-4xl); margin: 0 0 18px; }
.yc-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: var(--yc-fs-xs); color: var(--yc-text-faint); }
.yc-article__meta .cat { color: var(--yc-blue); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
[dir="rtl"] .yc-article__meta .cat { letter-spacing: 0; text-transform: none; }
.yc-article__cover { max-width: var(--yc-container); margin: 0 auto clamp(28px, 4vw, 56px); border-radius: var(--yc-radius-xl); overflow: hidden; border: 1px solid var(--yc-line); background: var(--yc-surface-2); }
.yc-article__cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.yc-article__body { max-width: var(--yc-container-narrow); margin-inline: auto; }
.yc-article__foot { max-width: var(--yc-container-narrow); margin: clamp(32px, 4vw, 56px) auto 0; padding-top: 24px; border-top: 1px solid var(--yc-line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* =====================================================================
   PRIVACY / simple documents
   ===================================================================== */
.yc-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.yc-doc__toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: var(--yc-fs-sm); }
.yc-doc__toc a { padding: 8px 0; color: var(--yc-text-soft); border-bottom: 1px solid var(--yc-line-soft); display: flex; gap: 10px; }
.yc-doc__toc a .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); color: var(--yc-text-faint); padding-top: 4px; }
.yc-doc__toc a:hover { color: var(--yc-text); }
.yc-doc__sec { padding: clamp(20px, 2.5vw, 36px) 0; border-bottom: 1px solid var(--yc-line); }
.yc-doc__sec:first-child { padding-top: 0; }
.yc-doc__sec h2 { font-size: var(--yc-fs-xl); margin: 0 0 12px; display: flex; gap: 14px; align-items: baseline; }
.yc-doc__sec h2 .n { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); font-weight: 600; color: var(--yc-blue); letter-spacing: .08em; }
.yc-doc__sec p { color: var(--yc-text-soft); max-width: var(--yc-measure); margin: 0; }
.yc-doc__upd { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); margin-top: 22px; }
@media (max-width: 760px) { .yc-doc { grid-template-columns: 1fr; } .yc-doc__toc { position: static; } }

/* =====================================================================
   PASS 4 · ABOUT — ink hero with the layered "two offices" scene, drawing
   timeline, illustrated value cards, duotone team, map-style office cards
   ===================================================================== */
.yc-abhero { position: relative; overflow: clip; isolation: isolate; padding: clamp(28px, 4vw, 56px) 0 0; background: var(--yc-ink); color: var(--yc-ink-fg); }
.yc-abhero .yc-breadcrumb, .yc-abhero .yc-breadcrumb a { color: var(--yc-ink-soft); }
.yc-abhero .yc-breadcrumb a:hover, .yc-abhero .yc-breadcrumb [aria-current] { color: #fff; }
.yc-abhero .yc-breadcrumb li + li::before { color: var(--yc-ink-line); }
.yc-abhero__copy { text-align: center; max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.yc-abhero__copy .yc-eyebrow { margin-bottom: clamp(18px, 2.2vw, 28px); }
.yc-abhero h1 { font-size: var(--yc-fs-5xl); line-height: 1.02; margin: 0 0 clamp(16px, 2vw, 24px); max-width: 16ch; color: #fff; text-wrap: balance; }
[dir="rtl"] .yc-abhero h1 { max-width: 22ch; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.25; }
.yc-abhero h1 .a { background: linear-gradient(92deg, #7FB0FF 0%, #2870E8 40%, #4FD1A1 70%, #7FB0FF 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: yc-sheen 7s linear infinite; }
.yc-abhero .lead { font-size: var(--yc-fs-lg); color: var(--yc-ink-soft); max-width: 60ch; margin: 0; text-wrap: pretty; }
.yc-abhero__stage { position: relative; margin-top: clamp(28px, 4vw, 56px); aspect-ratio: 2.7 / 1; border-radius: var(--yc-radius-xl) var(--yc-radius-xl) 0 0; overflow: hidden; border: 1px solid var(--yc-ink-line); border-bottom: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(40,112,232,.16), transparent 70%); --mx: 0; --my: 0; }
.yc-abscene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yc-abscene .ly { will-change: transform; translate: calc(var(--mx) * var(--dz, 1) * 14px) calc(var(--my) * var(--dz, 1) * 8px); transition: translate .6s var(--yc-ease-out); }
.yc-abscene .ly--1 { --dz: .25; } .yc-abscene .ly--2 { --dz: .45; } .yc-abscene .ly--3 { --dz: .6; } .yc-abscene .ly--4 { --dz: .8; } .yc-abscene .ly--5 { --dz: 1; } .yc-abscene .ly--6 { --dz: 1.1; }
.yc-abscene .rt--draw { stroke-dashoffset: 0; }
.in-view .yc-abscene .rt--draw { animation: yc-route 3.2s linear infinite; }
@keyframes yc-route { to { stroke-dashoffset: -30; } }
.yc-abscene .pin-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.in-view .yc-abscene .pin-ring { animation: yc-pinring 2.6s ease-out infinite; }
.yc-abscene .pin--jalal .pin-ring { animation-delay: -1.3s; }
@keyframes yc-pinring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.yc-abscene .pin path, .yc-abscene .pin circle:not(.pin-ring) { transform-box: fill-box; transform-origin: 50% 100%; }
.in-view .yc-abscene .pin > path { animation: yc-pinbob 3.4s var(--yc-ease) infinite; }
@keyframes yc-pinbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.yc-abscene .win rect { opacity: .35; }
.in-view .yc-abscene .win rect { animation: yc-win 4.8s ease-in-out infinite; }
.yc-abscene .win rect:nth-child(3n) { animation-delay: -1.6s; } .yc-abscene .win rect:nth-child(3n+1) { animation-delay: -3.1s; }
@keyframes yc-win { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
/* map labels: typographic, no boxes */
.yc-abscene__lbl { position: absolute; z-index: 3; translate: calc(var(--mx) * var(--dz, 1) * 14px) calc(var(--my) * var(--dz, 1) * 8px); transition: translate .6s var(--yc-ease-out); font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); white-space: nowrap; }
[dir="rtl"] .yc-abscene__lbl { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-abscene__lbl--kabul { --dz: 1; inset-inline-start: 16%; top: 36%; }
.yc-abscene__lbl--jalal { --dz: 1.1; inset-inline-end: 14%; top: 46%; color: #A8F0CF; }
.yc-abscene__lbl--km { --dz: .8; inset-inline-start: 50%; top: 64%; margin-inline-start: -8ch; font-family: var(--yc-font-mono); color: var(--yc-ink-soft); }
[dir="rtl"] .yc-abscene__lbl--km { font-family: var(--yc-font-rtl); }
.yc-abhero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); padding: 26px 0 clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--yc-ink-line); }
.yc-abhero__stats b { display: block; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(28px, 2.6vw, 42px); letter-spacing: -.035em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.yc-abhero__stats b em { font-style: normal; color: var(--yc-blue-300); }
.yc-abhero__stats > div > span { display: block; margin-top: 8px; font-size: var(--yc-fs-2xs); line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--yc-ink-soft); }
[dir="rtl"] .yc-abhero__stats > div > span { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
[dir="rtl"] .yc-abhero__stats b { font-family: var(--yc-font-rtl); letter-spacing: 0; }
@media (max-width: 960px) {
  .yc-abhero h1 { max-width: none; }
  .yc-abhero__stage { aspect-ratio: 4 / 3; }
  .yc-abscene__lbl--kabul { inset-inline-start: 6%; top: 30%; } .yc-abscene__lbl--jalal { inset-inline-end: 4%; top: 42%; } .yc-abscene__lbl--km { top: 70%; }
  .yc-abhero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .yc-abhero__stage { aspect-ratio: 1 / 1; } .yc-abscene__lbl--km { display: none; } }
html[data-motion="off"] .yc-abscene .ly, html[data-motion="off"] .yc-abscene__lbl { translate: none; transition: none; } html[data-motion="off"] .yc-abscene *, html[data-motion="off"] .yc-abhero h1 .a { animation: none !important; }

/* timeline whose spine is an SVG path drawn on scroll (js/cinematic.js [data-svgdraw] → --draw 0..1) */
.yc-time--draw ol { padding-inline-start: 0; }
.yc-time--draw ol::before { display: none; }
.yc-time__spine { position: absolute; inset-block: 8px 12px; inset-inline-start: 48px; width: 8px; height: auto; overflow: visible; }
.yc-time__spine path { fill: none; stroke-width: 2; stroke-linecap: round; }
.yc-time__spine .base { stroke: var(--yc-line); }
.yc-time__spine .draw { stroke: var(--yc-blue); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw, 1) * 100); }
.yc-time--draw li { transition: opacity .4s var(--yc-ease); }
html.has-js .yc-time--draw li { opacity: .38; }
html.has-js .yc-time--draw li.is-on { opacity: 1; }
.yc-time--draw li.is-on .yr { color: var(--yc-blue-text); }
.yc-time--draw li:last-child.is-on .tx b { color: var(--yc-green-text); }
html[data-motion="off"].has-js .yc-time--draw li { opacity: 1; } html[data-motion="off"] .yc-time__spine .draw { stroke-dashoffset: 0; }

/* illustrated value cards */
.yc-values--art { gap: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.yc-values--art .yc-value { position: relative; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); overflow: hidden; transition: transform var(--yc-dur) var(--yc-ease), border-color var(--yc-dur), box-shadow var(--yc-dur); }
.yc-values--art .yc-value:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--yc-blue) 40%, var(--yc-line)); box-shadow: 0 24px 60px color-mix(in srgb, var(--yc-blue) 10%, transparent); }
.yc-values--art .yc-value::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--yc-blue), var(--yc-green), transparent); opacity: 0; transition: opacity var(--yc-dur); }
.yc-values--art .yc-value:hover::after { opacity: 1; }
.yc-value__art { height: 118px; margin: -8px 0 18px; display: grid; place-items: center; color: var(--yc-blue); border-radius: 12px; background: radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--yc-blue) 8%, var(--yc-surface-2)), var(--yc-surface-2)); }
.yc-value__art svg { width: min(100%, 200px); height: 100px; }
.yc-value__art .d { stroke-dasharray: 260; stroke-dashoffset: 260; }
.yc-value__art .f { fill: color-mix(in srgb, var(--yc-blue) 30%, transparent); }
.in-view .yc-value__art .d { animation: yc-draw 1.2s var(--yc-ease-out) forwards; }
.in-view .yc-value__art .d2 { animation-delay: .15s; } .in-view .yc-value__art .d3 { animation-delay: .3s; } .in-view .yc-value__art .d4 { animation-delay: .45s; } .in-view .yc-value__art .d5 { animation-delay: .6s; } .in-view .yc-value__art .d6 { animation-delay: .75s; }
@keyframes yc-draw { to { stroke-dashoffset: 0; } }
.yc-value__art .a { color: var(--yc-green); stroke: currentColor; }
:root[data-theme="dark"] .yc-values--art .yc-value { background: color-mix(in srgb, var(--yc-surface) 70%, transparent); backdrop-filter: blur(10px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yc-values--art .yc-value { background: color-mix(in srgb, var(--yc-surface) 70%, transparent); backdrop-filter: blur(10px); } }
html[data-motion="off"] .yc-value__art .d { stroke-dashoffset: 0; animation: none !important; }

/* team: duotone until hover / focus; initials tile when the photo is missing */
.yc-member__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--yc-surface-2); }
.yc-member .avph { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter var(--yc-dur-slow) var(--yc-ease), transform var(--yc-dur-slow) var(--yc-ease-out); }
.yc-member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--yc-blue) 22%, transparent), color-mix(in srgb, var(--yc-ink) 35%, transparent)); mix-blend-mode: multiply; opacity: 1; transition: opacity var(--yc-dur-slow) var(--yc-ease); pointer-events: none; }
.yc-member:hover .avph, .yc-member:focus-visible .avph, .yc-member:focus-within .avph { filter: none; transform: scale(1.04); }
.yc-member:hover .yc-member__photo::after, .yc-member:focus-visible .yc-member__photo::after { opacity: 0; }
.yc-member:focus-visible { outline: none; box-shadow: var(--yc-focus); }
.avph--ini { display: grid; place-items: center; font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; color: var(--yc-text-faint); background: repeating-linear-gradient(135deg, var(--yc-surface-2) 0 10px, var(--yc-surface) 10px 20px); filter: none !important; }

/* offices: map-style cards */
.yc-offices { gap: 20px; }
.yc-office--map { padding: 0; gap: 0; overflow: hidden; transition: transform var(--yc-dur) var(--yc-ease), border-color var(--yc-dur), box-shadow var(--yc-dur); }
.yc-office--map:hover { transform: translateY(-3px); border-color: var(--yc-line-strong); box-shadow: var(--yc-shadow); }
.yc-office__map { position: relative; height: 190px; color: var(--yc-text); background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--yc-blue) 10%, var(--yc-surface-2)), var(--yc-surface-2)); border-bottom: 1px solid var(--yc-line); }
.yc-office--east .yc-office__map { background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--yc-green) 10%, var(--yc-surface-2)), var(--yc-surface-2)); }
.yc-office--east .yc-office__map .pin path, .yc-office--east .yc-office__map .pin circle { fill: var(--yc-green); }
.yc-office--east .yc-office__map .pin circle:nth-child(1) { fill: none; stroke: var(--yc-green); }
.yc-office--east .yc-office__map .pin circle:last-child { fill: #fff; }
.yc-office__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.yc-office__map .pin-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.in-view .yc-office__map .pin-ring { animation: yc-pinring 2.6s ease-out infinite; }
.yc-office--east .yc-office__map .pin-ring { animation-delay: -1.3s; }
.yc-office__map .pin > path { transform-box: fill-box; transform-origin: 50% 100%; }
.in-view .yc-office__map .pin > path { animation: yc-pinbob 3.4s var(--yc-ease) infinite; }
.yc-office__body { padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 10px; }
.yc-office__body .yc-eyebrow { margin-bottom: 2px; }
.yc-office__body h3 { font-size: var(--yc-fs-xl); margin: 0 0 4px; }
.yc-office__row { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--yc-fs-sm); color: var(--yc-text-soft); line-height: 1.55; }
.yc-office__row svg { width: 16px; height: 16px; color: var(--yc-text-faint); margin-top: 3px; }
.yc-office__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
html[data-motion="off"] .yc-office__map * { animation: none !important; }

/* =====================================================================
   PASS 4 · CONTACT — drifting glow, WhatsApp card, promise, mini offices, mini FAQ, success
   ===================================================================== */
.yc-contactband { position: relative; overflow: clip; isolation: isolate; }
.yc-contactband__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.yc-contactband__bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.yc-contactband__bg i:first-child { width: 46vw; max-width: 720px; aspect-ratio: 1; top: -20%; inset-inline-end: -12%; background: radial-gradient(closest-side, color-mix(in srgb, var(--yc-blue) 22%, transparent), transparent 70%); animation: yc-drift 18s ease-in-out infinite alternate; }
.yc-contactband__bg i:last-child { width: 34vw; max-width: 520px; aspect-ratio: 1; bottom: -18%; inset-inline-start: -10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--yc-green) 16%, transparent), transparent 70%); animation: yc-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes yc-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(calc(-6% * var(--flip)), 8%, 0) scale(1.12); } }
html[data-motion="off"] .yc-contactband__bg i { animation: none !important; }
.yc-contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.yc-contact__form { position: relative; backdrop-filter: blur(6px); }
.yc-contact__aside { display: flex; flex-direction: column; gap: 14px; }
.yc-contact__aside > .yc-eyebrow { margin: 22px 0 6px; }
.yc-wacard { display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--yc-radius-lg); background: var(--yc-text); color: var(--yc-bg); border: 1px solid transparent; transition: transform var(--yc-dur) var(--yc-ease), box-shadow var(--yc-dur), background-color var(--yc-dur); }
.yc-wacard:hover { transform: translateY(-2px); background: #128C4A; color: #fff; box-shadow: 0 16px 40px rgba(37,211,102,.28); }
.yc-wacard__ic { width: 48px; height: 48px; border-radius: 14px; background: #25D366; color: #fff; display: grid; place-items: center; }
.yc-wacard__ic svg { width: 26px; height: 26px; }
.yc-wacard__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yc-wacard__t b { font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-lg); line-height: 1.2; }
[dir="rtl"] .yc-wacard__t b { font-family: var(--yc-font-rtl); }
.yc-wacard__t span { font-size: var(--yc-fs-xs); opacity: .78; line-height: 1.45; }
.yc-wacard__go svg { width: 20px; height: 20px; transition: transform var(--yc-dur) var(--yc-ease); }
.yc-wacard:hover .yc-wacard__go svg { transform: translateX(3px); }
[dir="rtl"] .yc-wacard__go svg { transform: scaleX(-1); }
[dir="rtl"] .yc-wacard:hover .yc-wacard__go svg { transform: scaleX(-1) translateX(3px); }
.yc-promise { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); }
.yc-promise__ic { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-blue); }
.yc-promise__ic svg { width: 18px; height: 18px; }
.yc-promise > div { display: flex; flex-direction: column; gap: 3px; }
.yc-promise > div b { font-size: var(--yc-fs-sm); font-weight: 600; }
.yc-promise > div span { font-size: var(--yc-fs-xs); color: var(--yc-text-soft); line-height: 1.5; }
.yc-contact__offices { display: grid; gap: 10px; }
.yc-officemini { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius); background: var(--yc-surface); align-items: start; }
.yc-officemini__pin { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--yc-blue) 10%, var(--yc-surface-2)); color: var(--yc-blue); }
.yc-officemini--east .yc-officemini__pin { background: color-mix(in srgb, var(--yc-green) 10%, var(--yc-surface-2)); color: var(--yc-green); }
.yc-officemini__pin svg { width: 17px; height: 17px; }
.yc-officemini > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yc-officemini b { font-size: var(--yc-fs-sm); font-weight: 600; }
.yc-officemini span { font-size: var(--yc-fs-xs); color: var(--yc-text-soft); line-height: 1.5; }
.yc-officemini small { font-size: var(--yc-fs-2xs); color: var(--yc-text-faint); margin-top: 2px; }
.yc-minifaq { border-top: 1px solid var(--yc-line); }
.yc-minifaq__item { border-bottom: 1px solid var(--yc-line); }
.yc-minifaq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: var(--yc-fs-sm); font-weight: 600; color: var(--yc-text); min-height: 44px; }
.yc-minifaq__item summary::-webkit-details-marker { display: none; }
.yc-minifaq__item summary span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--yc-line); display: grid; place-items: center; flex: none; color: var(--yc-text-soft); transition: transform var(--yc-dur) var(--yc-ease), background-color var(--yc-dur), color var(--yc-dur); }
.yc-minifaq__item summary span svg { width: 12px; height: 12px; }
.yc-minifaq__item[open] summary span { transform: rotate(45deg); background: var(--yc-text); color: var(--yc-bg); border-color: var(--yc-text); }
.yc-minifaq__item p { margin: 0 0 16px; font-size: var(--yc-fs-sm); color: var(--yc-text-soft); max-width: 46ch; }
.yc-sent { text-align: center; padding: clamp(20px, 3vw, 36px) 0 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.yc-sent__mark { width: 72px; height: 72px; color: var(--yc-green); margin-bottom: 8px; }
.yc-sent__mark svg { width: 100%; height: 100%; }
.yc-sent__mark .c { stroke-dasharray: 150; stroke-dashoffset: 150; animation: yc-draw .8s var(--yc-ease-out) forwards; }
.yc-sent__mark .t { stroke-dasharray: 40; stroke-dashoffset: 40; animation: yc-draw .5s var(--yc-ease-out) .5s forwards; }
.yc-sent h2 { margin: 0; }
.yc-sent p { color: var(--yc-text-soft); max-width: 44ch; margin: 0; }
.yc-sent__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.yc-contact__formwrap.is-reopen { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--yc-line); }
@media (max-width: 860px) { .yc-contact { grid-template-columns: 1fr; } }

/* =====================================================================
   PASS 4 · BLOG — editorial index, empty state, article rail/TOC/share/author
   ===================================================================== */
/* category filter: flat underline tabs on one rule */
.yc-filter { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--yc-line); }
.yc-filter button { position: relative; font: inherit; font-size: var(--yc-fs-sm); font-weight: 600; padding: 12px 14px; min-height: 44px; cursor: pointer; background: transparent; border: 0; color: var(--yc-text-soft); transition: color var(--yc-dur-fast); }
.yc-filter button::after { content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--yc-text); opacity: 0; transition: opacity var(--yc-dur-fast); }
.yc-filter button:hover { color: var(--yc-text); }
.yc-filter button.is-on { color: var(--yc-text); }
.yc-filter button.is-on::after { opacity: 1; }
.yc-filter button:focus-visible { outline: none; box-shadow: var(--yc-focus); border-radius: 6px; }
.yc-feat { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-xl); overflow: hidden; background: var(--yc-surface); margin-bottom: clamp(32px, 5vw, 64px); transition: border-color var(--yc-dur), box-shadow var(--yc-dur); }
.yc-feat:hover { border-color: var(--yc-line-strong); box-shadow: var(--yc-shadow); }
.yc-feat__cover { display: block; min-height: 320px; background: var(--yc-surface-2); overflow: hidden; }
.yc-feat__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--yc-ease-out); }
.yc-feat:hover .yc-feat__cover img { transform: scale(1.03); }
.yc-feat__ph { display: grid; place-items: center; height: 100%; background: var(--yc-ink); color: rgba(255,255,255,.12); font-family: var(--yc-font-head); font-weight: 800; font-size: clamp(120px, 18vw, 260px); line-height: 1; }
.yc-feat__body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); }
.yc-feat__body h2 { font-size: var(--yc-fs-2xl); margin: 0 0 12px; }
.yc-feat__body h2 a { color: var(--yc-text); }
.yc-feat__body h2 a::after { content: ""; position: absolute; inset: 0; }
.yc-feat__body p { color: var(--yc-text-soft); margin: 0 0 22px; max-width: 48ch; }
.yc-feat__body .yc-link { margin-top: auto; }
.yc-postlist { display: grid; border-top: 1px solid var(--yc-line); }
.yc-post { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) 160px 40px; gap: clamp(16px, 2.5vw, 36px); align-items: center; padding: clamp(20px, 2.5vw, 30px) 0; border-bottom: 1px solid var(--yc-line); transition: background-color var(--yc-dur-fast); }
.yc-post:hover { background: color-mix(in srgb, var(--yc-surface) 60%, transparent); }
.yc-post__date time { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; color: var(--yc-text-faint); }
.yc-post__date b { font-family: var(--yc-font-head); font-weight: 800; font-size: var(--yc-fs-3xl); line-height: 1; letter-spacing: -.03em; color: var(--yc-text); }
.yc-post__date span { font-size: var(--yc-fs-2xs); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
[dir="rtl"] .yc-post__date span { letter-spacing: 0; text-transform: none; }
.yc-post__body h3 { font-size: var(--yc-fs-xl); margin: 0 0 6px; }
.yc-post__body h3 a { color: var(--yc-text); }
.yc-post__body h3 a::after { content: ""; position: absolute; inset: 0; }
.yc-post__body p { margin: 0; color: var(--yc-text-soft); font-size: var(--yc-fs-sm); max-width: 62ch; }
.yc-post__body .yc-blogcard__meta { margin-bottom: 8px; }
.yc-post__thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--yc-line); background: var(--yc-surface-2); }
.yc-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yc-post__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--yc-line); display: grid; place-items: center; color: var(--yc-text-soft); transition: background-color var(--yc-dur), border-color var(--yc-dur), color var(--yc-dur); justify-self: end; }
.yc-post__go svg { width: 16px; height: 16px; }
[dir="rtl"] .yc-post__go svg { transform: scaleX(-1); }
.yc-post:hover .yc-post__go { background: var(--yc-text); border-color: var(--yc-text); color: var(--yc-bg); }
.yc-post:not(:has(.yc-post__thumb)) { grid-template-columns: 84px minmax(0, 1fr) 40px; }
.yc-post[hidden], .yc-feat[hidden] { display: none; }
.yc-postlist__none { text-align: center; color: var(--yc-text-faint); padding: 40px 0; }
@media (max-width: 900px) { .yc-feat { grid-template-columns: 1fr; } .yc-feat__cover { min-height: 0; aspect-ratio: 16 / 9; } .yc-post { grid-template-columns: 64px minmax(0, 1fr) 40px; } .yc-post__thumb { display: none; } .yc-post:not(:has(.yc-post__thumb)) { grid-template-columns: 64px minmax(0, 1fr) 40px; } }
@media (max-width: 480px) { .yc-post { grid-template-columns: minmax(0, 1fr) 40px; } .yc-post:not(:has(.yc-post__thumb)) { grid-template-columns: minmax(0, 1fr) 40px; } .yc-post__date { display: none; } }

.yc-blogempty { position: relative; text-align: center; padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 48px); border: 1px solid var(--yc-line); border-radius: var(--yc-radius-xl); background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--yc-blue) 8%, var(--yc-surface)), var(--yc-surface) 70%); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.yc-blogempty::after { content: ""; position: absolute; inset-inline: 20%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--yc-blue), var(--yc-green), transparent); }
.yc-blogempty__art { width: min(100%, 300px); color: var(--yc-text-soft); margin-bottom: 18px; }
.yc-blogempty__art .pg { fill: var(--yc-surface); }
.yc-blogempty__art .pg1 { opacity: .35; } .yc-blogempty__art .pg2 { opacity: .65; }
.yc-blogempty__art .ln path { stroke-dasharray: 120; stroke-dashoffset: 120; }
.in-view .yc-blogempty__art .ln path { animation: yc-draw 1s var(--yc-ease-out) forwards; }
.in-view .yc-blogempty__art .ln path:nth-child(2) { animation-delay: .15s; } .in-view .yc-blogempty__art .ln path:nth-child(3) { animation-delay: .3s; } .in-view .yc-blogempty__art .ln path:nth-child(4) { animation-delay: .45s; } .in-view .yc-blogempty__art .ln path:nth-child(5) { animation-delay: .6s; }
.yc-blogempty__art .pen { color: var(--yc-blue); transform-box: fill-box; transform-origin: 100% 0; }
.in-view .yc-blogempty__art .pen { animation: yc-pen 2.8s var(--yc-ease) infinite; }
@keyframes yc-pen { 0%, 100% { transform: rotate(0) translate(0, 0); } 50% { transform: rotate(-6deg) translate(-6px, 4px); } }
.yc-blogempty__art .dot { fill: var(--yc-green); stroke: none; opacity: .5; }
.in-view .yc-blogempty__art .dot { animation: yc-win 3s ease-in-out infinite; }
.yc-blogempty__art .d2 { animation-delay: -1s !important; } .yc-blogempty__art .d3 { animation-delay: -2s !important; }
.yc-blogempty h2 { font-size: var(--yc-fs-3xl); margin: 0 0 12px; }
.yc-blogempty > p { color: var(--yc-text-soft); max-width: 52ch; font-size: var(--yc-fs-lg); margin: 0 0 26px; text-wrap: pretty; }
.yc-blogempty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.yc-blogempty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--yc-line); width: min(100%, 560px); }
@media (max-width: 420px) { .yc-blogempty__acts { flex-direction: column; align-items: stretch; width: 100%; } .yc-blogempty__acts .btn-yc { justify-content: center; } }
html[data-motion="off"] .yc-blogempty__art * { animation: none !important; stroke-dashoffset: 0; }

/* article */
.yc-article__head { max-width: 76ch; }
.yc-article__head h1 { font-size: var(--yc-fs-4xl); margin: 14px 0 18px; }
.yc-article__lead { font-size: var(--yc-fs-lg); color: var(--yc-text-soft); max-width: 62ch; margin: 0 0 22px; text-wrap: pretty; }
.yc-article__by { display: inline-flex; align-items: center; gap: 12px; padding: 0; }
.yc-article__by .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yc-text); color: var(--yc-bg); font-size: var(--yc-fs-2xs); font-weight: 700; letter-spacing: .04em; }
.yc-article__by > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.yc-article__by b { font-size: var(--yc-fs-sm); font-weight: 600; }
.yc-article__by small { font-size: var(--yc-fs-2xs); color: var(--yc-text-faint); }
.yc-article__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; max-width: var(--yc-container-narrow); margin-inline: auto; }
.yc-article__col { min-width: 0; }
.yc-article__body { max-width: 70ch; margin: 0; }
.yc-article__body h2, .yc-article__body h3 { scroll-margin-top: 100px; }
.yc-article__rail { display: none; }
.yc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.yc-toc ol::before { content: ""; position: absolute; inset-block: 4px; inset-inline-start: 0; width: 1px; background: var(--yc-line); }
.yc-toc a { display: block; padding: 6px 0 6px 14px; font-size: var(--yc-fs-xs); color: var(--yc-text-soft); line-height: 1.4; border-inline-start: 1px solid transparent; margin-inline-start: 0; transition: color var(--yc-dur-fast), border-color var(--yc-dur-fast); }
[dir="rtl"] .yc-toc a { padding: 6px 14px 6px 0; }
.yc-toc li.lv3 a { padding-inline-start: 26px; font-size: var(--yc-fs-2xs); }
.yc-toc a:hover { color: var(--yc-text); }
.yc-toc a.is-on { color: var(--yc-blue); border-inline-start-color: var(--yc-blue); font-weight: 600; }
.yc-toc { margin-bottom: 28px; }
.yc-share--rail { display: grid; gap: 6px; }
.yc-share__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; font: inherit; font-size: var(--yc-fs-xs); font-weight: 600; color: var(--yc-text-soft); cursor: pointer; text-align: start; transition: background-color var(--yc-dur-fast), color var(--yc-dur-fast), border-color var(--yc-dur-fast); }
.yc-share__btn > span { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--yc-line); display: grid; place-items: center; flex: none; }
.yc-share__btn > span svg { width: 15px; height: 15px; }
.yc-share__btn:hover { background: var(--yc-surface-2); color: var(--yc-text); }
.yc-share__btn--wa > span { color: #25D366; }
.yc-share__btn.is-done { color: var(--yc-green); }
.yc-share__btn.is-done > span { background: var(--yc-green); border-color: var(--yc-green); color: #fff; }
.yc-share--row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--yc-line); }
.yc-share--row .yc-toc__lbl { margin: 0 6px 0 0; }
.yc-share--row .btn-yc.is-done { border-color: var(--yc-green); color: var(--yc-green); }
.yc-author { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: clamp(24px, 3vw, 36px); padding: 20px 22px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); }
.yc-author__av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--yc-text); color: var(--yc-bg); font-family: var(--yc-font-head); font-weight: 700; font-size: var(--yc-fs-base); letter-spacing: .02em; }
.yc-author b { display: block; font-size: var(--yc-fs-base); font-weight: 600; margin-bottom: 4px; }
.yc-author p { margin: 0 0 6px; font-size: var(--yc-fs-sm); color: var(--yc-text-soft); }
.yc-author small { font-size: var(--yc-fs-xs); color: var(--yc-text-faint); }
.yc-article__foot { justify-content: flex-start; }
@media (min-width: 1100px) {
  .yc-article__grid { max-width: none; grid-template-columns: 220px minmax(0, 70ch); justify-content: center; }
  .yc-article__rail { display: block; position: sticky; top: 100px; }
  .yc-share--row { display: none; }
}

/* =====================================================================
   PASS 4 · PRIVACY / documents — sticky rail with scroll-spy + anchors
   ===================================================================== */
.yc-doc { grid-template-columns: 240px minmax(0, 1fr); }
.yc-doc__rail { position: sticky; top: 96px; display: grid; gap: 22px; }
.yc-doc__toc { position: static; }
.yc-doc__toc a { position: relative; align-items: baseline; transition: color var(--yc-dur-fast); }
.yc-doc__toc a::before { content: ""; position: absolute; inset-inline-start: -14px; top: 8px; bottom: 8px; width: 2px; background: var(--yc-blue); opacity: 0; transform: scaleY(.4); transition: opacity var(--yc-dur-fast), transform var(--yc-dur-fast) var(--yc-ease-out); }
.yc-doc__toc a.is-on { color: var(--yc-text); font-weight: 600; }
.yc-doc__toc a.is-on .n { color: var(--yc-blue); }
.yc-doc__toc a.is-on::before { opacity: 1; transform: none; }
.yc-doc__card { padding: 18px 20px; border: 1px solid var(--yc-line); border-radius: var(--yc-radius-lg); background: var(--yc-surface); display: grid; gap: 6px; }
.yc-doc__card b { font-size: var(--yc-fs-sm); font-weight: 600; }
.yc-doc__card p { margin: 0; font-size: var(--yc-fs-xs); color: var(--yc-text-soft); }
.yc-doc__card .yc-link { font-size: var(--yc-fs-xs); margin-top: 4px; }
.yc-doc__body { max-width: 72ch; }
.yc-doc__sec { scroll-margin-top: 100px; }
.yc-doc__sec h2 { position: relative; }
.yc-doc__anchor { margin-inline-start: 6px; color: var(--yc-text-faint); font-weight: 500; opacity: 0; transition: opacity var(--yc-dur-fast); font-family: var(--yc-font-mono); font-size: var(--yc-fs-sm); }
.yc-doc__sec h2:hover .yc-doc__anchor, .yc-doc__anchor:focus-visible { opacity: 1; }
.yc-doc__sec p { font-size: var(--yc-fs-lg); line-height: 1.7; }
@media (max-width: 760px) { .yc-doc { grid-template-columns: 1fr; } .yc-doc__rail { position: static; } .yc-doc__card { display: none; } .yc-doc__anchor { opacity: 1; } }

/* =====================================================================
   PASS 4 · ERROR — illustrated ledger page with a lens
   ===================================================================== */
.yc-errpage { position: relative; padding: clamp(48px, 8vw, 120px) 0; overflow: clip; min-height: 60vh; display: grid; align-items: center; }
.yc-errpage::before { content: ""; position: absolute; inset-inline-start: -10%; top: -20%; width: 55%; height: 140%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--yc-blue) 12%, transparent), transparent 70%); }
.yc-err { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.yc-err__art { color: var(--yc-text-soft); width: 100%; max-width: 460px; margin-inline: auto; }
.yc-err__art svg { display: block; width: 100%; height: auto; }
.yc-err__art .sheet { fill: var(--yc-surface); }
.yc-err__art .fold { fill: var(--yc-surface-2); }
.yc-err__art .rows path { stroke-dasharray: 160; stroke-dashoffset: 160; }
.in-view .yc-err__art .rows path { animation: yc-draw 1s var(--yc-ease-out) forwards; }
.in-view .yc-err__art .rows path:nth-child(2) { animation-delay: .12s; } .in-view .yc-err__art .rows path:nth-child(3) { animation-delay: .24s; } .in-view .yc-err__art .rows path:nth-child(4) { animation-delay: .36s; } .in-view .yc-err__art .rows path:nth-child(5) { animation-delay: .48s; }
.yc-err__art .marks circle { fill: var(--yc-line-strong); stroke: none; }
.yc-err__art .code text { font-family: var(--yc-font-head); font-weight: 800; font-size: 44px; letter-spacing: -.04em; fill: var(--yc-text); stroke: none; }
.yc-err__art .lens { color: var(--yc-blue); transform-box: fill-box; transform-origin: 30% 30%; }
.in-view .yc-err__art .lens { animation: yc-lens 6s var(--yc-ease) infinite; }
.yc-err__art .lens .glass { fill: color-mix(in srgb, var(--yc-blue) 12%, transparent); stroke: none; }
@keyframes yc-lens { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(-70px, -60px) rotate(-4deg); } 66% { transform: translate(-30px, 10px) rotate(3deg); } }
.yc-err__art .dots circle { fill: var(--yc-green); stroke: none; opacity: .4; }
.in-view .yc-err__art .dots circle { animation: yc-win 3.2s ease-in-out infinite; }
.yc-err__art .dots .d2 { animation-delay: -.8s !important; } .yc-err__art .dots .d3 { animation-delay: -1.6s !important; } .yc-err__art .dots .d4 { animation-delay: -2.4s !important; }
.yc-err__copy h1 { margin: 0 0 14px; }
.yc-err__lead { font-size: var(--yc-fs-lg); color: var(--yc-text-soft); max-width: 48ch; margin: 0 0 8px; }
.yc-err__hint { color: var(--yc-text-faint); font-size: var(--yc-fs-sm); margin: 0 0 24px; }
.yc-err__links { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--yc-line); }
.yc-err__links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px 20px; }
.yc-err__links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; min-height: 40px; color: var(--yc-text); font-weight: 500; font-size: var(--yc-fs-sm); }
.yc-err__links a svg { width: 14px; height: 14px; color: var(--yc-blue); transition: transform var(--yc-dur); }
.yc-err__links a:hover { color: var(--yc-blue); }
.yc-err__links a:hover svg { transform: translateX(3px); }
[dir="rtl"] .yc-err__links a svg { transform: scaleX(-1); }
[dir="rtl"] .yc-err__links a:hover svg { transform: scaleX(-1) translateX(3px); }
.yc-err__rid { margin-top: 20px; color: var(--yc-text-faint); }
.yc-err__rid code { font-family: var(--yc-font-mono); font-size: var(--yc-fs-2xs); }
@media (max-width: 860px) { .yc-err { grid-template-columns: 1fr; } .yc-err__art { max-width: 320px; } .yc-errpage { min-height: 0; } }
@media (max-width: 420px) { .yc-error__acts .btn-yc { width: 100%; justify-content: center; } }
html[data-motion="off"] .yc-err__art * { animation: none !important; stroke-dashoffset: 0; }

/* ==== about ==== */
/* Pass 7 · About. Hero: the shared _IlloOffices drawing is the front layer of the map stage; the
   illustration's tokens are re-pointed so ink strokes read as light on the ink band. Under the
   stage a plain typographic row names the two cities (no boxes, no chips). Values: spotlight
   hairline on the three cards. Offices: address / hours / phone / WhatsApp as ruled rows. */
.yc-abhero__illo { position: absolute; inset-inline: 0; bottom: -4%; margin-inline: auto; width: min(58%, 640px); z-index: 2; pointer-events: none; will-change: transform; transform-origin: 50% 100%;
  translate: calc(var(--mx) * 14px) calc(var(--my) * 8px); transition: translate .6s var(--yc-ease-out); }
.yc-abhero__illo .yc-illo { --yc-text: #F4F6FA; --yc-line-strong: rgba(255,255,255,.34); --yc-surface: #141B2A; --yc-surface-2: #1B2438; --yc-blue: #7FB0FF; --yc-green: #4FD1A1; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.yc-abhero__illo .yc-illo .fb { fill-opacity: .22; } .yc-abhero__illo .yc-illo .fg { fill-opacity: .22; }
.yc-abscene__lbl { display: none; }
.yc-abhero__places { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: baseline; padding: 16px 0 22px; font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yc-ink-soft); }
[dir="rtl"] .yc-abhero__places { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
.yc-abhero__place--kabul { color: #fff; justify-self: start; }
.yc-abhero__place--kabul::before, .yc-abhero__place--jalal::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yc-blue-300); margin-inline-end: 10px; vertical-align: 1px; }
.yc-abhero__place--jalal { color: #A8F0CF; justify-self: end; text-align: end; }
.yc-abhero__place--jalal::before { background: #4FD1A1; }
.yc-abhero__place--km { font-family: var(--yc-font-mono); font-weight: 500; letter-spacing: .04em; text-align: center; }
[dir="rtl"] .yc-abhero__place--km { font-family: var(--yc-font-rtl); }
/* the drawing is not mirrored (Kabul stays west/left), so in RTL the labels swap grid columns to stay under their cities */
[dir="rtl"] .yc-abhero__place--kabul { grid-column: 3; grid-row: 1; justify-self: end; text-align: end; }
[dir="rtl"] .yc-abhero__place--jalal { grid-column: 1; grid-row: 1; justify-self: start; text-align: start; }
[dir="rtl"] .yc-abhero__place--km { grid-column: 2; grid-row: 1; }
.yc-abhero h1, .yc-values .yc-value h3, .yc-office__body h3, .yc-head2 h2 { text-wrap: balance; }
@media (max-width: 960px) { .yc-abhero__stage { aspect-ratio: 3 / 2; } .yc-abhero__illo { width: min(78%, 520px); } }
@media (max-width: 520px) { .yc-abhero__stage { aspect-ratio: 5 / 4; } .yc-abhero__illo { width: 100%; bottom: -2%; } .yc-abhero__places { grid-template-columns: 1fr; gap: 8px; } .yc-abhero__place--kabul, .yc-abhero__place--jalal, .yc-abhero__place--km { justify-self: start; text-align: start; } .yc-abhero__place--km { padding-top: 4px; } }
html[data-motion="off"] .yc-abhero__illo { translate: none; transition: none; }
/* values: spotlight hairline (js/cinematic.js [data-spotlight]; plain hairline otherwise) */
.yc-values--art.is-lit > .yc-value { border-color: transparent;
  background: linear-gradient(var(--yc-surface), var(--yc-surface)) padding-box,
              radial-gradient(280px circle at var(--mx) var(--my), color-mix(in srgb, var(--yc-blue) 70%, var(--yc-line)), var(--yc-line) 72%) border-box; }
.yc-values--art.is-lit > .yc-value::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in srgb, var(--yc-blue) 7%, transparent), transparent 70%); }
.yc-values--art .yc-value > * { position: relative; z-index: 1; }
.yc-values--art .yc-value:hover { transform: none; box-shadow: none; }
.yc-value__art { height: 120px; margin: 0 0 20px; border-radius: var(--yc-radius); }
.yc-value__art svg { width: min(100%, 180px); height: 92px; }
html[data-motion="off"] .yc-values--art.is-lit > .yc-value { background: var(--yc-surface); border-color: var(--yc-line); } html[data-motion="off"] .yc-values--art.is-lit > .yc-value::before { display: none; }
/* offices: ruled rows, two of them links */
.yc-office__body { gap: 6px; }
.yc-office__body .yc-eyebrow { margin-bottom: 0; }
.yc-office__body h3 { margin: 0 0 10px; }
.yc-office__rows { display: grid; border-top: 1px solid var(--yc-line); }
.yc-office__rows .yc-office__row { padding: 12px 0; border-bottom: 1px solid var(--yc-line); align-items: center; }
.yc-office__rows .yc-office__row:last-child { border-bottom: 0; }
.yc-office__rows .yc-office__row svg { margin-top: 0; }
.yc-office .yc-office__row--link { display: grid; grid-template-columns: 18px minmax(0, 1fr) 16px; gap: 10px; font-size: var(--yc-fs-sm); color: var(--yc-text); font-weight: 500; min-height: 44px; transition: color var(--yc-dur-fast); }
.yc-office__row--link:hover { color: var(--yc-blue); }
.yc-office__row--link i { display: grid; place-items: center; color: var(--yc-text-faint); transition: transform var(--yc-dur) var(--yc-ease), color var(--yc-dur-fast); }
.yc-office__row--link i svg { width: 14px; height: 14px; }
.yc-office__row--link:hover i { color: var(--yc-blue); transform: translateX(3px); }
[dir="rtl"] .yc-office__row--link i svg { transform: scaleX(-1); }
[dir="rtl"] .yc-office__row--link:hover i { transform: translateX(-3px); }
.yc-office__row--wa > svg:first-child { color: #25D366; }
[dir="rtl"] .yc-office__row > span[dir="ltr"] { text-align: right; }
.yc-office__row--link:focus-visible { outline: none; box-shadow: var(--yc-focus); border-radius: 6px; }

/* ==== contact ==== */
/* the form is the product: it stays put while the aside scrolls (≥ 1100px), fields are taller */
@media (min-width: 1100px) { .yc-contact__form { position: sticky; top: 96px; } }
.yc-form--float .yc-field--float input { min-height: 60px; }
.yc-form--float .yc-field--float textarea { min-height: 200px; }
#contact-head .yc-pagehead__note { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--yc-line); min-width: 240px; font-size: var(--yc-fs-base); color: var(--yc-text); font-weight: 500; }
#contact-head .yc-pagehead__note small { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); }
[dir="rtl"] #contact-head .yc-pagehead__note small { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
/* Pass 7 · Contact: a very quiet mesh behind the band (data-mesh; the canvas's own static glow
   without JS), the support illustration heading the aside, balanced headings. */
.yc-contactband__bg .yc-mesh { opacity: .38; filter: blur(48px); transform: scale(1.1); }
.yc-contactband__bg i { display: none; }
:root[data-theme="dark"] .yc-contactband__bg .yc-mesh { opacity: .55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yc-contactband__bg .yc-mesh { opacity: .55; } }
.yc-contact__illo { width: min(100%, 360px); margin: -6px 0 6px; }
.yc-contact__form h2, .yc-sent h2 { text-wrap: balance; }
.yc-contact__aside > .yc-eyebrow { margin: 26px 0 8px; }
.yc-form__foot small { text-wrap: pretty; }
@media (max-width: 860px) { .yc-contact__illo { display: none; } }

/* ==== blog ==== */
/* Pass 7 · Blog: the empty state uses the shared _IlloEmpty drawing; editorial rhythm. */
.yc-blogempty__art { width: min(100%, 280px); margin-bottom: 22px; }
.yc-blogempty__art .yc-illo { color: var(--yc-text); }
.yc-blogempty h2, .yc-feat__body h2, .yc-post__body h3, .yc-article__head h1 { text-wrap: balance; }
.yc-article__body h2, .yc-article__body h3 { text-wrap: balance; }

/* ==== privacy ==== */
#privacy-head .yc-pagehead__note { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--yc-line); min-width: 200px; font-size: var(--yc-fs-base); color: var(--yc-text); font-weight: 500; font-variant-numeric: tabular-nums; }
#privacy-head .yc-pagehead__note small { font-size: var(--yc-fs-2xs); font-weight: 600; letter-spacing: var(--yc-track-label); text-transform: uppercase; color: var(--yc-text-faint); }
[dir="rtl"] #privacy-head .yc-pagehead__note small { letter-spacing: 0; text-transform: none; font-size: var(--yc-fs-xs); }
/* Pass 7 · Privacy: document rhythm; the "last updated" line is a plain line in the header note and the footer. */
.yc-doc__sec h2 { text-wrap: balance; }
.yc-doc__upd { padding-top: 18px; }

/* ==== error ==== */
/* Pass 7 · Error: the shared _Illo404 drawing (≈ 320–440px, centred beside the copy). */
.yc-err__art--illo { max-width: 440px; }
.yc-err__art--illo .yc-illo { color: var(--yc-text); }
.yc-err__copy h1 { text-wrap: balance; }
@media (max-width: 860px) { .yc-err__art--illo { max-width: 320px; } }

/* =====================================================================
   Pass 8 · placing the hero scenes, the module spots and the new product
   screens. See wwwroot/img/illustrations/README.md (placement table) and
   wwwroot/img/products/README.md (the three canvases).
   ===================================================================== */

/* --- Process: the 1920×480 panorama from 640px up, the 640×200 strip below it, where the
       scene's near cards would close up on top of the mid layer. --- */
.yc-steps__art--narrow { display: none; }
.yc-steps__art--wide .yc-illo { max-width: 1200px; margin-inline: auto; }
@media (max-width: 640px) {
  .yc-steps__art--wide { display: none; }
  .yc-steps__art--narrow { display: block; }
}

/* --- Service heroes: the 960×600 studio / helpdesk scene in the ink frame. --- */
.yc-svscene { display: block; width: 100%; line-height: 0; }
.yc-svscene .yc-illo { width: 100%; }

/* --- About hero: the offices scene is 3:2, not the 8:5 strip it replaced, so it needs its own
       width at each step or it grows out of the top of the stage. --- */
.yc-abhero__illo--scene { width: min(62%, 660px); bottom: -5%; }
@media (max-width: 960px) { .yc-abhero__illo--scene { width: min(80%, 560px); } }
@media (max-width: 520px) { .yc-abhero__illo--scene { width: 100%; bottom: -2%; } }

/* --- About: the team scene as the section's art, above the faces. Hidden on a phone, where the
       scene is under the 480px floor and the real portraits say more. --- */
.yc-team__art { max-width: 720px; margin: 0 auto clamp(22px, 3vw, 40px); }
@media (max-width: 560px) { .yc-team__art { display: none; } }

/* --- Contact: the helpdesk scene heads the aside ("what happens next"), the offices scene sits
       above the two addresses. Both are wider than the old 320×200 illustration, and both go
       when the aside is narrower than the scenes can carry. --- */
.yc-contact__illo { width: 100%; max-width: 520px; }
.yc-contact__citiesart { width: 100%; max-width: 520px; margin: 2px 0 12px; }
@media (max-width: 860px) { .yc-contact__illo { display: block; max-width: 620px; } .yc-contact__citiesart { max-width: 620px; } }
@media (max-width: 560px) { .yc-contact__illo, .yc-contact__citiesart { display: none; } }

/* --- Product detail: the system's own hero scene, under the overview prose; the 320x200
       illustration of the same subject takes over on a phone. --- */
.yc-prodscene { max-width: 860px; margin: clamp(28px, 4vw, 56px) auto 0; }
.yc-prodscene--narrow { display: none; max-width: 340px; }
@media (max-width: 560px) {
  .yc-prodscene--wide { display: none; }
  .yc-prodscene--narrow { display: block; }
}

/* --- Product detail: the module ledger. Every card carries the same structure — the fixed-height
       top row (icon, number, animated glyph) then the title — so a row is never a mix of tall and
       short cards. The module spot (240×180), where the module has one, is a low-opacity watermark
       *behind* the card, out of flow and masked away from the text, so a module with no spot simply
       reads as plain rather than leaving 130–180px of dead space under it. --- */
.yc-mod { min-height: 176px; overflow: hidden; }
.yc-mod > .yc-mod__wm {
  position: absolute; z-index: 0; inset-block-end: -34px; inset-inline-end: -22px;
  width: 150px; max-width: 52%; pointer-events: none; opacity: .11;
  transition: opacity var(--yc-dur), scale var(--yc-dur);
  /* Fades out well before it reaches the title, so the drawing never muddies the body copy. */
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 92%);
  mask-image: linear-gradient(to top, #000 40%, transparent 92%);
}
.yc-mod > .yc-mod__wm .yc-illo { width: 100%; }
.yc-mod:hover > .yc-mod__wm { opacity: .2; scale: 1.04; }
:root[data-theme="dark"] .yc-mod > .yc-mod__wm { opacity: .16; }
:root[data-theme="dark"] .yc-mod:hover > .yc-mod__wm { opacity: .26; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .yc-mod > .yc-mod__wm { opacity: .16; }
  :root:not([data-theme="light"]) .yc-mod:hover > .yc-mod__wm { opacity: .26; }
}
html[data-motion="off"] .yc-mod > .yc-mod__wm { transition: none; }
@media (max-width: 520px) { .yc-mod { min-height: 0; } .yc-mod > .yc-mod__wm { width: 132px; } }

/* Outside English the catalogue has no module prose, so the ledger is a compact index of titles.
   Same card, same rules, less height — a deliberate dense grid rather than tall boxes with a hole. */
.yc-mods--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); }
.yc-mods--compact .yc-mod { min-height: 128px; padding: 18px 18px 20px; }
.yc-mods--compact .yc-mod__top { margin-bottom: 12px; }
.yc-mods--compact .yc-mod h4 { margin-bottom: 0; }
.yc-mods--compact .yc-mod > .yc-mod__wm { width: 116px; inset-block-end: -12px; }
.yc-mods--compact .yc-mod--more .yc-link { padding-top: 10px; }

/* --- Phone canvases (390×844) inside a landscape device frame: `cover` would show a sliver of
       the top edge, so contain them and let the frame's ground show through. --- */
.yc-device__screen img.is-phone { object-fit: contain; object-position: center; padding: 12px 0; }
.yc-thumbs button img.is-phone { object-fit: contain; background: #0F1523; }
