/* ==========================================================================
   ARBSQ — أرابيسك وورلد
   Brand system: The Gate (البوابة) · Thmanyah Sans · #3A39FF / #1C1A34
   ========================================================================== */

/* ---------- Typeface: Thmanyah Sans is the only brand face (Arabic + Latin) */
@font-face { font-family: 'Thmanyah Sans'; src: url('../fonts/thmanyah-sans-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('../fonts/thmanyah-sans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('../fonts/thmanyah-sans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('../fonts/thmanyah-sans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('../fonts/thmanyah-sans-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* The Gate's geometry is driven by two registered properties so it can animate. */
@property --r { syntax: '<length>'; inherits: false; initial-value: 16px; }
@property --c { syntax: '<length-percentage>'; inherits: false; initial-value: 32px; }
@property --p { syntax: '<percentage>'; inherits: true; initial-value: 0%; }

:root {
  /* Primary */
  --blue: #3A39FF;      /* Pantone 2728 C */
  --navy: #1C1A34;      /* Pantone 5255 C */
  --paper: #F1F6FD;
  --sky: #DCE9F7;
  --white: #FFFFFF;
  /* Secondary */
  --purple: #874FFF;
  --coral: #FF7676;
  --light: #7CC3FF;
  --orange: #FE6237;
  --lime: #CFF665;
  --green: #0F5924;
  --lavender: #DCB8FE;
  --amber: #FFB62E;

  --ink: var(--navy);
  --muted: rgba(28, 26, 52, .66);
  --line: rgba(28, 26, 52, .12);
  --line-light: rgba(255, 255, 255, .16);

  --font: 'Thmanyah Sans', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;

  /* Brand scale: Display Black 90 · Bold 60 · Medium 40 · Bold 28 · Regular 16 · Light 12 */
  --fs-display: clamp(3rem, 1.3rem + 6.2vw, 7.4rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 4.4vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 2.8vw, 3.9rem);
  --fs-h3: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem);
  --fs-h4: clamp(1.25rem, 1.08rem + .55vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: .8125rem;

  --gut: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --sec: clamp(96px, 11vw, 184px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hdr: 84px;
}

/* ---------- Reset & base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[lang="en"] body, body[data-lang="en"] { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
[lang="en"] h1, [lang="en"] h2, [lang="en"] h3 { line-height: 1.08; letter-spacing: -.02em; }
/* Brand stylistic set (ss01): the long, flat finals — ن ب ت ك ف ق ي — that echo the
   logo's extended kaf. Arabic display text only; Latin keeps its default a/g. */
:lang(ar):is(h1, h2, h3, h4, .h-display, .hero-title, .ph-title, .cs-title, .cta-title, .nx-title, .stack-title,
  .tk-item, .qt-text, .mn-list a, .stat-num, .label),
:lang(ar) :is(h1, h2, h3, h4, .h-display, .tk-item, .qt-text, .mn-list a, .nx-title) { font-feature-settings: "ss01"; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[data-theme="navy"] :focus-visible, [data-theme="blue"] :focus-visible { outline-color: var(--lime); }
.sr, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 2000; background: var(--blue); color: #fff; padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
[dir="rtl"] .arw { transform: scaleX(-1); }
.num, [dir="ltr"] { font-variant-numeric: lining-nums; }

/* ---------- Logo — recoloured through a mask so it follows the brand colour rules.
   Never separated, rotated or distorted; min width 120px on screen. */
.logo-mask {
  display: block;
  aspect-ratio: 3 / 1;
  background: currentColor;
  -webkit-mask: url('../brand/arbsq-logo.svg') center / contain no-repeat;
  mask: url('../brand/arbsq-logo.svg') center / contain no-repeat;
}

/* ---------- Labels / eyebrows */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 500; color: var(--blue);
  margin-bottom: clamp(16px, 2vw, 28px);
}
[lang="en"] .label { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.label-gate { width: 12px; height: 12px; background: currentColor; --r: 2px; --c: 5px; flex: none; }
.label-light { color: var(--lime); }
.label-orange { color: var(--orange); }
.eyebrow { font-size: .9375rem; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }

.h-display { font-size: var(--fs-h2); font-weight: 700; }
.ln { display: block; overflow: hidden; padding-block: .24em .16em; margin-block: -.24em -.16em; }
.ln > span { display: inline-block; }

/* ---------- Buttons — the Gate as a button */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding-inline: 26px 20px;
  color: var(--btn-fg); font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: color .4s var(--ease);
}
.btn-bg { position: absolute; inset: 0; z-index: -1; background: var(--btn-bg); --r: 12px; --c: 16px; transition: transform .6s var(--ease), background-color .4s var(--ease); }
.btn-label { position: relative; display: block; overflow: hidden; height: 1.5em; line-height: 1.5; }
.btn-label > span { display: block; transition: transform .6s var(--ease); }
.btn-label > span::after { content: attr(data-text); position: absolute; top: 100%; inset-inline-start: 0; }
.btn-ico { display: grid; place-items: center; width: 22px; height: 22px; overflow: hidden; }
.btn-ico .arw { width: 20px; transition: transform .6s var(--ease); }
.btn:hover .btn-label > span { transform: translateY(-100%); }
.btn:hover .btn-bg { transform: scale(1.04); }
.btn:hover .btn-ico .arw { transform: translateX(4px); }
[dir="rtl"] .btn:hover .btn-ico .arw { transform: scaleX(-1) translateX(4px); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn-white:hover { --btn-fg: var(--navy); }
.btn-ghost { --btn-bg: rgba(255, 255, 255, .14); --btn-fg: #fff; }
.btn-ghost:hover .btn-bg { background: rgba(255, 255, 255, .24); }
.btn-line { --btn-bg: rgba(58, 57, 255, .08); --btn-fg: var(--blue); }
.btn-line:hover { --btn-fg: #fff; }
.btn-line:hover .btn-bg { background: var(--blue); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ==========================================================================
   Loader — the nine signature tiles assemble under the animated logo
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: #fff; pointer-events: none; }
html:not(.js) .loader, html.intro-seen .loader { display: none; }
html.js:not(.intro-seen) body { overflow: hidden; }
.ld-panel { position: absolute; inset: 0; background: var(--navy); --r: 0px; --c: 0px; transition: transform 1.1s var(--ease-io), --c 1.1s var(--ease-io); }
.ld-center { position: relative; display: grid; justify-items: center; gap: clamp(20px, 3vw, 36px); }
.ld-logo { position: relative; width: clamp(200px, 26vw, 340px); aspect-ratio: 3 / 1; }
.ld-logo .logo-mask { position: absolute; inset: 0; color: #fff; }
.ld-ar, .ld-lat { position: absolute; inset: 0; }
/* Arabic wordmark — everything but the Latin band — wipes in right → left. */
.ld-ar { clip-path: polygon(0 0, 100% 0, 100% 100%, 54% 100%, 54% 82%, 23% 82%, 23% 100%, 0 100%); }
.ld-ar .logo-mask { clip-path: inset(0 0 0 100%); animation: ld-wipe 1.1s var(--ease) .55s forwards; }
/* Latin “ARBSQ” wipes in left → right once the Arabic has landed. */
.ld-lat { clip-path: inset(82% 46% 0 23%); }
.ld-lat .logo-mask { clip-path: inset(0 100% 0 0); animation: ld-wipe .8s var(--ease) 1.25s forwards; }
@keyframes ld-wipe { to { clip-path: inset(0 0 0 0); } }
/* a lime sweep that travels with the Arabic wipe */
.ld-bar { position: absolute; top: -8%; bottom: -8%; width: 3px; right: 0; background: var(--lime); opacity: 0; animation: ld-bar 1.1s var(--ease) .55s forwards; }
@keyframes ld-bar { 0% { right: 0; opacity: 1; } 85% { opacity: 1; } 100% { right: 100%; opacity: 0; } }
.ld-tiles { display: flex; gap: clamp(6px, .8vw, 10px); direction: ltr; }
.ld-tile { width: clamp(26px, 3.2vw, 40px); aspect-ratio: 1; --r: 5px; --c: 9px; overflow: hidden; transform: translateY(24px) scale(0) rotate(-35deg); opacity: 0; animation: ld-tile .9s var(--spring) calc(.15s + var(--i) * 70ms) forwards; }
.ld-tile img { width: 100%; height: 100%; object-fit: cover; animation: ld-breathe 2.4s ease-in-out calc(1.2s + var(--i) * 90ms) infinite; }
@keyframes ld-tile { to { transform: none; opacity: 1; } }
@keyframes ld-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35) rotate(8deg); } }
.ld-meta { position: absolute; inset-inline: var(--gut); bottom: clamp(20px, 4vh, 40px); display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-small); color: rgba(255, 255, 255, .55); }
.ld-count { font-variant-numeric: tabular-nums; direction: ltr; color: #fff; }
.ld-count b { font-weight: 700; font-size: 1.1rem; }
/* exit */
.loader.is-done .ld-tile { animation: ld-tile-out .7s var(--ease-io) calc(var(--i) * 35ms) forwards; opacity: 1; transform: none; }
.loader.is-done .ld-logo, .loader.is-done .ld-meta { transition: transform .9s var(--ease-io), opacity .6s; transform: translateY(-40px); opacity: 0; }
.loader.is-done .ld-panel { transform: translateY(-101%); --c: 38vw; transition-delay: .25s; }
@keyframes ld-tile-out { from { transform: none; opacity: 1; } to { transform: translateY(-60px) scale(.4) rotate(30deg); opacity: 0; } }

/* Page transition panel */
.pt { position: fixed; inset: 0; z-index: 990; pointer-events: none; }
.pt-panel { position: absolute; inset: 0; background: var(--blue); --r: 0px; --c: 30vw; transform: translateY(101%); display: grid; place-items: center; overflow: hidden; }
.pt-panel img { width: min(70vmin, 560px); opacity: .9; animation: spin 14s linear infinite; }
html.pt-leave .pt-panel { transform: none; --c: 0px; transition: transform .7s var(--ease-io), --c .7s var(--ease-io); }
html.pt-cover .pt-panel { transform: none; --c: 0px; }
html.pt-cover.pt-out .pt-panel { transform: translateY(-101%); --c: 30vw; transition: transform .9s var(--ease-io), --c .9s var(--ease-io); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Header — a floating gate-shaped bar
   ========================================================================== */
.hdr { position: fixed; top: 30px; inset-inline: 0; z-index: 960; pointer-events: none; transition: transform .7s var(--ease), top .6s var(--ease); }
/* sits inside the hero with even breathing room, then tucks up once the page scrolls */
.hdr.is-scrolled { top: 14px; }
.hdr-bar {
  pointer-events: auto;
  width: min(1240px, calc(100% - 28px));
  margin-inline: auto;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: 22px 10px;
  background: rgba(241, 246, 253, .74);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  --r: 16px; --c: 22px;
  color: var(--navy);
  transition: background-color .4s;
}
[dir="ltr"] .hdr-bar { padding-inline: 22px 10px; }
.hdr.is-hidden { transform: translateY(-130%); }
.hdr.is-scrolled .hdr-bar { background: rgba(255, 255, 255, .86); }
.hdr-logo { width: 128px; flex: none; color: var(--navy); }
.hdr-nav { display: flex; gap: 6px; }
.hdr-link { position: relative; padding: 8px 14px; font-weight: 500; font-size: .98rem; }
.hdr-link > span { position: relative; display: block; overflow: hidden; height: 1.6em; line-height: 1.6; }
.hdr-link > span::after { content: attr(data-text); position: absolute; inset-inline-start: 0; top: 100%; color: var(--blue); }
.hdr-link > span, .hdr-link > span::after { transition: transform .5s var(--ease); }
.hdr-link:hover > span { transform: translateY(0); }
.hdr-link:hover > span::after { transform: translateY(-100%); }
.hdr-link::before { content: ''; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .5s var(--ease); }
[dir="ltr"] .hdr-link::before { --origin: left; }
.hdr-link.is-active::before { transform: scaleX(1); }
.hdr-end { display: flex; align-items: center; gap: 8px; }
.hdr-lang { display: grid; place-items: center; min-width: 44px; height: 44px; font-weight: 700; font-size: .95rem; border-radius: 10px; transition: background-color .3s, color .3s; }
.hdr-lang:hover { background: var(--navy); color: #fff; }
.hdr-cta { height: 48px; }
.hdr-burger { display: none; position: relative; width: 48px; height: 48px; }
.hdr-burger i { position: absolute; inset-inline-start: 13px; width: 22px; height: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr-burger i:first-of-type { top: 19px; }
.hdr-burger i:last-of-type { top: 27px; width: 14px; }
html.menu-open .hdr-burger i:first-of-type { top: 23px; transform: rotate(45deg); }
html.menu-open .hdr-burger i:last-of-type { top: 23px; width: 22px; transform: rotate(-45deg); }

/* Menu overlay */
.menu { position: fixed; inset: 0; z-index: 950; visibility: hidden; color: #fff; }
.menu-bg { position: absolute; inset: 0; background: var(--navy); --r: 0px; --c: 0px; transform: translateY(-101%); transition: transform .9s var(--ease-io); }
.menu-in { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 120px var(--gut) 40px; gap: 32px; }
.mn-list { display: grid; gap: 4px; align-content: center; }
.mn-list li { overflow: hidden; }
.mn-list a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.4rem, 9vw, 4.5rem); font-weight: 900; line-height: 1.3; transform: translateY(110%); transition: transform .9s var(--ease) calc(.2s + var(--i) * 70ms), color .3s; }
.mn-list a:hover { color: var(--light); }
.mn-num { font-size: .875rem; font-weight: 500; color: var(--lime); }
.mn-arw { width: 28px; margin-inline-start: auto; align-self: center; opacity: .5; }
.mn-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; opacity: 0; transition: opacity .6s .5s; }
.mn-tiles { display: flex; gap: 8px; direction: ltr; }
.mn-tile { width: 36px; aspect-ratio: 1; --r: 5px; --c: 9px; overflow: hidden; }
.mn-tile img { width: 100%; height: 100%; object-fit: cover; }
.mn-mail, .mn-lang { font-weight: 500; }
html.menu-open .menu { visibility: visible; }
html.menu-open .menu-bg { transform: none; }
html.menu-open .mn-list a { transform: none; }
html.menu-open .mn-side { opacity: 1; }

/* ==========================================================================
   Hero — the cover: blue Gate, stepped-diamond mandala, kashida headline
   ========================================================================== */
.hero { padding: 12px; }
.hero-gate {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 24px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(128px, 18vh, 200px) var(--gut) clamp(32px, 5vw, 64px);
  background: var(--blue); color: #fff;
  --r: 28px; --c: clamp(72px, 9vw, 168px);
  transform-origin: 50% 0;
}
.hero-mandala {
  position: absolute; top: 50%;
  inset-inline-end: calc(-1 * clamp(120px, 16vw, 300px));
  width: min(118vh, 82vw); aspect-ratio: 1;
  translate: 0 -50%;
  -webkit-mask-image: linear-gradient(to var(--fade, right), #000 38%, transparent 88%);
  mask-image: linear-gradient(to var(--fade, right), #000 38%, transparent 88%);
}
[dir="ltr"] .hero-mandala { --fade: left; }
.hero-mandala-in { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.mandala-svg { width: 100%; height: 100%; overflow: visible; }
.mandala-svg .ring { transform-box: view-box; transform-origin: 50px 50px; animation: spin calc(140s + var(--i) * 30s) linear infinite; }
.mandala-svg .ring:nth-child(even) { animation-direction: reverse; }
html.js .mandala-svg .ring { opacity: 0; scale: .7; transition: opacity 1.2s var(--ease) calc(var(--i) * 90ms + .2s), scale 1.6s var(--ease) calc(var(--i) * 90ms + .2s); }
html.is-ready .mandala-svg .ring { opacity: 1; scale: 1; }
.hero-date { position: absolute; inset: 0; display: grid; place-content: center; color: #fff; }
.hero-mark { width: clamp(64px, 6.4vw, 112px); }
.hero-in { position: relative; z-index: 1; max-width: min(1100px, 64%); }
@media (max-width: 1023px) { .hero-in { max-width: none; } }
.hero-eyebrow { color: rgba(255, 255, 255, .86); margin-bottom: clamp(18px, 2.4vw, 32px); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(207, 246, 101, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(207, 246, 101, 0); } 100% { box-shadow: 0 0 0 0 rgba(207, 246, 101, 0); } }
.hero-title { font-size: var(--fs-display); font-weight: 900; line-height: 1.12; }
[lang="en"] .hero-title { line-height: .98; letter-spacing: -.035em; font-size: clamp(2.8rem, 1.2rem + 5.2vw, 6.4rem); }
.hero-foot { display: flex; margin-top: clamp(32px, 4.4vw, 60px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { position: absolute; bottom: 28px; inset-inline-end: var(--gut); display: none; align-items: center; gap: 12px; font-size: var(--fs-small); color: rgba(255, 255, 255, .7); }
.hero-scroll-line { width: 48px; height: 1px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; inset: 0; background: #fff; animation: scrollline 2.2s var(--ease-io) infinite; }
@keyframes scrollline { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
/* Hero option B — cinematic */
.hero-cine { background: var(--navy); isolation: isolate; }
.cine-amb { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(42px) saturate(1.35) brightness(.62); opacity: .78; z-index: -2; }
.cine-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to var(--shade-dir, left), rgba(28, 26, 52, .94) 0%, rgba(28, 26, 52, .7) 38%, rgba(28, 26, 52, .18) 100%),
  linear-gradient(to top, rgba(28, 26, 52, .7), rgba(28, 26, 52, 0) 40%),
  radial-gradient(120% 90% at 50% 50%, rgba(58, 57, 255, 0) 50%, rgba(58, 57, 255, .28) 100%); }
[dir="ltr"] .cine-shade { --shade-dir: right; }
.cine-grain { position: absolute; inset: -50%; z-index: -1; opacity: .13; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cine-frame { position: absolute; z-index: 0; top: 50%; inset-inline-end: clamp(32px, 7vw, 140px); margin: 0; height: min(72%, 680px); aspect-ratio: 9 / 16; translate: 0 -46%; will-change: transform; }
.cine-gate { position: absolute; inset: 0; overflow: hidden; background: #000; --r: 22px; --c: clamp(48px, 5vw, 84px); }
.cine-vid { width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.06); transition: transform 8s linear; }
html.is-ready .cine-vid { transform: none; }
.cine-gate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 26, 52, .55), rgba(28, 26, 52, 0) 35%); pointer-events: none; }
.cine-cap { position: absolute; top: calc(100% + 16px); inset-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-small); color: rgba(255, 255, 255, .72); }
.cine-link { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.cine-link:hover { color: #fff; }
.cine-rec { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: rec 1.6s ease-in-out infinite; flex: none; }
@keyframes rec { 50% { opacity: .25; } }
.hero-cine.is-paused .cine-rec { animation: none; opacity: .4; }
.cine-toggle { position: relative; width: 40px; height: 40px; flex: none; background: rgba(255, 255, 255, .12); --r: 8px; --c: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: background-color .3s; }
.cine-toggle:hover { background: rgba(255, 255, 255, .24); }
.cine-toggle i { width: 3px; height: 12px; background: #fff; border-radius: 1px; }
.hero-cine.is-paused .cine-toggle i:first-child { width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; border-radius: 0; margin-inline-start: 3px; }
.hero-cine.is-paused .cine-toggle i:last-child { display: none; }
html.js .cine-frame { opacity: 0; }
html.is-ready .cine-frame { opacity: 1; transition: opacity 1.6s var(--ease) .3s; }
@media (max-width: 1023px) {
  .cine-frame { height: min(56%, 520px); inset-inline-end: 24px; top: 34%; }
}
@media (max-width: 767px) {
  .cine-amb { display: none; }
  .cine-frame { inset: 0; height: auto; aspect-ratio: auto; translate: none; transform: none !important; }
  .cine-gate { --c: 0px; --r: 0px; }
  .cine-vid { opacity: .5; }
  .cine-cap { top: calc(var(--hdr) + 22px); bottom: auto; inset-inline: auto 16px; justify-content: flex-end; }
  .cine-link { display: none; }
  .cine-shade { background: linear-gradient(to top, rgba(28, 26, 52, .92) 10%, rgba(28, 26, 52, .35) 60%, rgba(28, 26, 52, .55) 100%); }
}

/* hero entrance */
html.js .hero .ln > span { transform: translateY(112%); }
html.js .hero-eyebrow, html.js .hero-foot > * { opacity: 0; transform: translateY(20px); }
html.is-ready .hero .ln > span { transform: none; transition: transform 1.3s var(--ease) calc(var(--i) * 130ms + .15s); }
html.is-ready .hero-eyebrow, html.is-ready .hero-foot > * { opacity: 1; transform: none; transition: opacity 1s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
html.is-ready .hero-foot > :last-child { transition-delay: .62s; }
html.js .hero-gate { --c: 0px; }
html.is-ready .hero-gate { --c: clamp(72px, 9vw, 168px); transition: --c 1.6s var(--ease) .1s; }

/* ==========================================================================
   Ticker / marquees
   ========================================================================== */
.ticker { overflow: hidden; padding-block: clamp(20px, 2.6vw, 36px); border-block: 1px solid var(--line); }
.ticker-blue { background: var(--blue); color: #fff; border: 0; }
.tk-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.tk-group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-inline-end: clamp(24px, 3vw, 48px); }
.tk-item { font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); font-weight: 900; white-space: nowrap; line-height: 1.4; }
.tk-tile { width: clamp(36px, 3.6vw, 56px); aspect-ratio: 1; --r: 6px; --c: 13px; overflow: hidden; flex: none; animation: spin-tile 8s var(--ease-io) infinite; }
.tk-tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes spin-tile { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(90deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .tk-track, [dir="rtl"] .mq-track { animation-name: marquee-rtl; }
.ticker:hover .tk-track { animation-play-state: paused; }

/* ==========================================================================
   Generic section head
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 32px clamp(32px, 6vw, 120px); margin-bottom: clamp(40px, 6vw, 88px); }
.sec-head-end { display: grid; gap: 24px; justify-items: start; }
.sec-lede { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; line-height: 1.7; }
[data-theme="navy"] .sec-lede, [data-theme="blue"] .sec-lede { color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Intro — scroll-lit statement + counters
   ========================================================================== */
.intro { padding-block: var(--sec); }
.intro-statement { font-size: clamp(1.7rem, 1rem + 2.6vw, 3.6rem); font-weight: 700; line-height: 1.45; max-width: 24em; }
[lang="en"] .intro-statement { line-height: 1.2; letter-spacing: -.02em; }
[data-words] .w { opacity: .14; transition: opacity .35s linear, color .35s; }
[data-words] .w.is-lit { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 120px); }
.stat { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 6px; }
.stat-num { font-size: clamp(2.6rem, 1.6rem + 3vw, 5rem); font-weight: 900; color: var(--blue); line-height: 1; direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }
[dir="rtl"] .stat-num { text-align: right; }
.stat-num i { font-style: normal; color: var(--navy); }
.stat-label { color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   Featured work — stacked gate cards (profile project layout)
   ========================================================================== */
.featured { padding-bottom: var(--sec); }
.stack { display: grid; gap: 6vh; }
.stack-card { position: sticky; top: calc(var(--hdr) + 22px + var(--i) * 14px); }
.stack-link { display: block; position: relative; height: min(76vh, 780px); transform-origin: 50% 0; will-change: transform; }
.stack-media { position: absolute; inset: 0; overflow: hidden; background: var(--blue); --r: 26px; --c: clamp(56px, 7vw, 116px); }
.stack-img { position: absolute; inset: -9% 0; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.stack-link:hover .stack-img img { transform: scale(1.04); }
.stack-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 26, 52, .55), rgba(28, 26, 52, 0) 45%); pointer-events: none; }
.stack-tag {
  position: absolute; top: 22px; inset-inline-start: 22px;
  max-width: min(480px, calc(100% - 44px));
  /* the Gate cut is always top-right, so its clearance is physical, not logical */
  padding: 22px 26px 24px; padding-right: max(56px, calc(var(--c) - 4px));
  background: var(--blue); color: #fff;
  --r: 16px; --c: max(30px, calc(clamp(56px, 7vw, 116px) - 34px));
}
.stack-num { flex: none; align-self: flex-start; font-size: 2.4rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7); }
.stack-title { font-size: var(--fs-h4); font-weight: 700; margin-bottom: 8px; }
.stack-client { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.stack-client .sep { opacity: .5; margin-inline: 4px; }
.stack-panel {
  position: absolute; bottom: 22px; inset-inline-end: 22px;
  width: min(440px, calc(100% - 44px));
  display: flex; align-items: flex-end; gap: 20px;
  padding: 22px 24px;
  background: rgba(28, 26, 52, .5); color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  --r: 16px; --c: 22px;
}
.stack-panel p { flex: 1; font-size: .98rem; line-height: 1.7; }
.stack-go { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: #fff; color: var(--blue); --r: 10px; --c: 14px; transition: background-color .4s, color .4s; }
.stack-go .arw { width: 22px; transition: transform .6s var(--ease); }
.stack-link:hover .stack-go { background: var(--lime); color: var(--navy); }
.stack-link:hover .stack-go .arw { transform: rotate(45deg); }
[dir="rtl"] .stack-link:hover .stack-go .arw { transform: scaleX(-1) rotate(45deg); }

/* ==========================================================================
   The Gate — pattern switcher (frame fixed, pattern changes)
   ========================================================================== */
.gs { background: var(--navy); color: #fff; padding-block: var(--sec); overflow: hidden; }
.gs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.gs-body { font-size: var(--fs-lead); color: rgba(255, 255, 255, .78); margin-top: 28px; max-width: 34em; line-height: 1.75; }
.gs-hint { margin-top: 36px; font-size: var(--fs-small); color: rgba(255, 255, 255, .5); }
.gs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gs-tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 16px; font-weight: 500; border-radius: 10px; background: rgba(255, 255, 255, .06); transition: background-color .3s, color .3s; }
.gs-tab { padding-inline: 6px 16px; }
.gs-tab-pat { width: 32px; height: 32px; flex: none; overflow: hidden; background: var(--blue); --r: 6px; --c: 10px; transition: transform .6s var(--spring); }
.gs-tab-pat img { width: 100%; height: 100%; object-fit: cover; }
.gs-tab:hover .gs-tab-pat { transform: rotate(-8deg) scale(1.08); }
.gs-tab.is-on .gs-tab-pat img { animation: spin 14s linear infinite; }
.gs-tab:hover { background: rgba(255, 255, 255, .14); }
.gs-tab.is-on { background: #fff; color: var(--navy); }
.gs-stage { position: relative; aspect-ratio: 5 / 6; width: 100%; max-width: 560px; justify-self: center; }
.gs-shadow { position: absolute; inset: 0; translate: 18px 18px; background: var(--light); opacity: .9; --r: 30px; --c: clamp(72px, 9vw, 132px); }
[dir="rtl"] .gs-shadow { translate: -18px 18px; }
.gs-frame { position: absolute; inset: 0; background: var(--blue); overflow: hidden; --r: 30px; --c: clamp(72px, 9vw, 132px); }
.gs-layer { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); transition: clip-path 1.2s var(--ease-io); background: var(--blue); }
.gs-layer.is-on { clip-path: circle(75% at 50% 50%); }
.gs-layer svg, .gs-layer img { width: 100%; height: 100%; object-fit: cover; animation: spin 90s linear infinite; transform-origin: 50% 50%; }
/* rotating layers: a centred square wider than the frame's diagonal, so no edge ever shows while it spins */
.gs-layer[data-layer="1"] img, .gs-layer[data-layer="5"] img { position: absolute; top: 50%; left: 50%; width: 175%; height: auto; aspect-ratio: 1; max-width: none; translate: -50% -50%; }
.gs-layer[data-layer="2"] img, .gs-layer[data-layer="3"] img, .gs-layer[data-layer="4"] img { animation: none; }
.gs-layer[data-layer="0"] .ring { transform-box: view-box; transform-origin: 50px 50px; animation: spin calc(80s + var(--i) * 20s) linear infinite; }
.gs-layer[data-layer="0"] .ring:nth-child(even) { animation-direction: reverse; }
.gs-progress { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--lime); transform: scaleX(0); transform-origin: var(--origin, right); z-index: 5; }
[dir="ltr"] .gs-progress { --origin: left; }
.gs.is-playing .gs-progress { animation: gsprog var(--dur, 3.6s) linear forwards; }
@keyframes gsprog { to { transform: scaleX(1); } }
.gs-outline { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 6 8; pointer-events: none; }
.gs-compact { padding-block: clamp(80px, 9vw, 140px); }

/* ==========================================================================
   Services teaser rows
   ========================================================================== */
.svc { padding-block: var(--sec); }
.svc-list { border-top: 1px solid var(--line); }
.svc-a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.3fr) 64px 32px;
  align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding-block: clamp(22px, 2.4vw, 34px); padding-inline: 12px;
  border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.svc-a::before { content: ''; position: absolute; inset: -1px 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.svc-n { font-size: .9rem; font-weight: 500; color: var(--blue); transition: color .5s; }
.svc-t { font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; }
.svc-s { color: var(--muted); transition: color .5s; }
.svc-tile { width: 56px; aspect-ratio: 1; --r: 7px; --c: 16px; overflow: hidden; transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .7s var(--spring), opacity .4s; }
.svc-tile img { width: 100%; height: 100%; object-fit: cover; }
.svc-arw .arw { width: 24px; transition: transform .6s var(--ease); }
.svc-a:hover { color: #fff; }
.svc-a:hover::before { transform: scaleY(1); }
.svc-a:hover .svc-n { color: var(--lime); }
.svc-a:hover .svc-s { color: rgba(255, 255, 255, .82); }
.svc-a:hover .svc-tile { transform: none; opacity: 1; }
.svc-a:hover .svc-arw .arw { transform: translateX(6px); }
[dir="rtl"] .svc-a:hover .svc-arw .arw { transform: scaleX(-1) translateX(6px); }

/* ==========================================================================
   Values — sky band, orange accents, octagonal compass (profile)
   ========================================================================== */
.values { background: var(--sky); padding-block: var(--sec); overflow: hidden; }
.values .sec-head { align-items: center; }
.val-compass { justify-self: end; width: clamp(150px, 16vw, 220px); }
.val-compass svg { width: 100%; overflow: visible; }
.cp-orbit { fill: none; stroke: var(--orange); stroke-width: 1; stroke-dasharray: 2 5; }
.cp-oct { fill: var(--navy); }
.cp-dots { fill: var(--orange); transform-origin: 100px 100px; animation: spin 30s linear infinite; }
.val-compass text { fill: #fff; font-family: var(--font); font-weight: 700; font-size: 22px; }
.val-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.val {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 360px; padding: 26px 24px 28px;
  background: #fff; --r: 20px; --c: 44px;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.val-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 28px; }
.val-ico { width: 60px; color: var(--orange); }
.val-n { font-size: 1.25rem; font-weight: 700; color: var(--orange); margin-inline-end: 34px; }
.val-t { font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
.val-b { font-size: .95rem; color: var(--muted); line-height: 1.75; transition: color .5s; }
.val:hover { background: var(--navy); color: #fff; }
.val:hover .val-b { color: rgba(255, 255, 255, .76); }
.ico { width: 100%; height: auto; overflow: visible; }
.ico-frame { stroke-width: 1.5; }
.val:hover .ico-glyph { animation: ico-pop .7s var(--spring); }
@keyframes ico-pop { 40% { transform: scale(.86); } }
.ico-glyph { transform-origin: 24px 24px; }

/* ==========================================================================
   Journey — pinned horizontal path inside a blue Gate
   ========================================================================== */
.jr { position: relative; }
.jr-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 12px; }
.jr-gate { position: relative; height: 100%; overflow: hidden; background: var(--blue); color: #fff; --r: 28px; --c: clamp(64px, 8vw, 150px); display: flex; flex-direction: column; }
.jr-bg { position: absolute; width: 120vmax; max-width: none; top: 50%; inset-inline-end: -40vmax; translate: 0 -50%; opacity: .1; rotate: var(--rot, 0deg); pointer-events: none; }
.jr-head { position: relative; padding-top: clamp(110px, 15vh, 150px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.jr-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.jr-head .h-display { max-width: 15em; }
.jr-meter { width: clamp(120px, 18vw, 260px); height: 3px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; margin-bottom: 14px; }
.jr-meter-fill { position: absolute; inset: 0; background: var(--lime); transform: scaleX(var(--jp, 0)); transform-origin: var(--origin, right); }
[dir="ltr"] .jr-meter-fill { --origin: left; }
.jr-viewport { position: relative; flex: 1; display: flex; align-items: center; min-height: 0; }
.jr-track { position: relative; display: flex; gap: clamp(32px, 5vw, 88px); padding-inline: var(--gut) calc(var(--gut) + 10vw); width: max-content; will-change: transform; }
.jr-line { position: absolute; inset-inline: 0; top: calc(clamp(4.2rem, 6vw, 6.5rem) + 30px); height: 40px; pointer-events: none; }
.jr-line svg { width: 100%; height: 100%; overflow: visible; }
[dir="rtl"] .jr-line svg { transform: scaleX(-1); }
.jr-path-bg, .jr-path { fill: none; vector-effect: non-scaling-stroke; }
.jr-path-bg { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.jr-path { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--jl, 0) * 1000); }
.jr-step { position: relative; width: clamp(270px, 25vw, 380px); display: grid; align-content: start; gap: 14px; opacity: .42; transition: opacity .6s var(--ease); }
.jr-step.is-on { opacity: 1; }
.jr-n { font-size: clamp(4.2rem, 6vw, 6.5rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .75); direction: ltr; text-align: start; }
[dir="rtl"] .jr-n { text-align: right; }
.jr-ico { width: 64px; height: 64px; display: block; color: #fff; background: var(--blue); position: relative; z-index: 1; }
.jr-step.is-on .jr-ico .ico-frame { fill: #fff; }
.jr-step.is-on .jr-ico .ico-glyph { stroke: var(--blue); }
.jr-ico .ico-frame, .jr-ico .ico-glyph { transition: fill .5s, stroke .5s; }
.jr-t { font-size: var(--fs-h4); font-weight: 700; margin-top: 10px; }
.jr-b { color: rgba(255, 255, 255, .8); font-size: .98rem; line-height: 1.75; }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote { padding-block: var(--sec); }
.qt { display: grid; justify-items: center; text-align: center; gap: 32px; max-width: 1100px; margin-inline: auto; }
.qt-mark { width: 72px; aspect-ratio: 1; --r: 9px; --c: 20px; overflow: hidden; }
.qt-mark img { width: 100%; height: 100%; object-fit: cover; animation: spin 24s linear infinite; }
.qt-text { font-size: clamp(1.8rem, 1rem + 3vw, 3.9rem); font-weight: 900; line-height: 1.4; }
[lang="en"] .qt-text { line-height: 1.12; letter-spacing: -.02em; }
.qt-who { display: grid; gap: 2px; text-align: start; }
.qt-name { font-weight: 700; font-size: 1.1rem; }
.qt-role { color: var(--muted); font-size: .95rem; }

/* CEO portrait — the cut-out rises out of the Gate. The frame copy is clipped by the
   Gate; the pop copy shows only what sits above the frame's top edge (--pop). */
.ceo { position: relative; aspect-ratio: var(--ar); --pop: 34%; }
.ceo-bust { --ar: 640 / 687; width: 150px; --pop: 38%; }
.ceo-34 { --ar: 1120 / 1631; width: 100%; --pop: 22%; }
.ceo-frame { position: absolute; inset: var(--pop) 0 0 0; overflow: hidden; background: var(--blue); --r: 14px; --c: 34px; }
.ceo-34 .ceo-frame { --r: 26px; --c: clamp(64px, 7vw, 104px); }
.ceo-pat { position: absolute; inset: -20%; width: 140%; height: 140%; max-width: none; object-fit: cover; transition: transform 2.4s var(--ease); }
.ceo:hover .ceo-pat { transform: rotate(24deg) scale(1.06); }
.ceo-pop { position: absolute; inset: 0; clip-path: inset(0 0 calc(100% - var(--pop) - 2px) 0); pointer-events: none; }
.ceo-img { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: auto; max-width: none; transition: transform 1.3s var(--ease) .15s; }
.rv:not(.is-in) .ceo-img { transform: translateY(14%); }
.qt-by { display: flex; align-items: flex-end; gap: 20px; margin-top: 8px; }
.qt-by .qt-who { padding-bottom: 6px; }

/* Option B — portrait-led split */
.qb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 140px); align-items: center; }
.qb-art { position: relative; width: min(100%, 440px); justify-self: center; }
.qb-art .ceo { z-index: 1; }
.qb-ring { position: absolute; inset: 22% 0 0 0; translate: 18px 18px; background: var(--lavender); --r: 26px; --c: clamp(64px, 7vw, 104px); }
[dir="rtl"] .qb-ring { translate: -18px 18px; }
.qb-tile { position: absolute; z-index: 2; bottom: -30px; inset-inline-end: -30px; width: clamp(64px, 7vw, 96px); aspect-ratio: 1; --r: 9px; --c: 22px; overflow: hidden; animation: float 7s ease-in-out infinite; }
.qb-tile img { width: 100%; height: 100%; object-fit: cover; }
.qb-body .qt-text { font-size: clamp(1.7rem, 1rem + 2.3vw, 3.3rem); text-align: start; margin-top: 20px; }
.qb-by { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 3vw, 44px); }
.qb-line { width: 56px; height: 3px; background: var(--blue); flex: none; }

/* ==========================================================================
   Clients marquee
   ========================================================================== */
.clients { padding-block: var(--sec) calc(var(--sec) * .8); overflow: hidden; }
.mq { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 14px; width: max-content; animation: marquee 110s linear infinite; padding-inline-end: 14px; }
.mq-rev .mq-track { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
.lg { flex: none; width: clamp(150px, 14vw, 200px); height: clamp(86px, 8vw, 108px); display: grid; place-items: center; padding: 16px 24px; background: #fff; --r: 14px; --c: 22px; }
.lg img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
.lg:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding-block: 0 var(--sec); }
.cta-gate { position: relative; overflow: hidden; min-height: clamp(520px, 78vh, 760px); display: grid; place-items: center; text-align: center; padding: clamp(64px, 8vw, 120px) var(--gut); background: var(--blue); color: #fff; --r: 30px; --c: clamp(72px, 10vw, 180px); }
.cta-burst { position: absolute; width: 160vmax; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%; animation: spin 120s linear infinite; pointer-events: none; }
.cta-burst svg { width: 100%; height: 100%; }
.cta-tiles { position: absolute; inset: 0; pointer-events: none; }
.cta-tile { position: absolute; width: clamp(48px, 6vw, 88px); aspect-ratio: 1; --r: 8px; --c: 20px; overflow: hidden; animation: float 7s ease-in-out calc(var(--i) * -1.3s) infinite; translate: var(--mx, 0) var(--my, 0); transition: translate 1.2s var(--ease); }
.cta-tile img { width: 100%; height: 100%; object-fit: cover; }
.cta-tile:nth-child(1) { top: 12%; left: 8%; }
.cta-tile:nth-child(2) { top: 18%; right: 11%; width: clamp(40px, 4.4vw, 64px); }
.cta-tile:nth-child(3) { bottom: 14%; left: 14%; width: clamp(36px, 4vw, 56px); }
.cta-tile:nth-child(4) { bottom: 12%; right: 7%; }
.cta-tile:nth-child(5) { top: 46%; left: 3%; width: clamp(30px, 3vw, 44px); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
.cta-in { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta-in .label { margin: 0; }
.cta-title { font-size: var(--fs-display); font-weight: 900; line-height: 1.12; }
[lang="en"] .cta-title { line-height: .98; letter-spacing: -.035em; }
.cta-body { font-size: var(--fs-lead); color: rgba(255, 255, 255, .85); max-width: 30em; }
.cta-btn { position: relative; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 6px; width: clamp(150px, 14vw, 190px); aspect-ratio: 1; margin-top: 18px; color: var(--navy); font-weight: 700; font-size: 1.05rem; }
.cta-btn-bg { position: absolute; inset: 0; z-index: -1; background: #fff; --r: 22px; --c: 46px; transition: transform .7s var(--ease), background-color .4s; }
.cta-btn-a { width: 30px; transition: transform .7s var(--ease); }
.cta-btn:hover .cta-btn-bg { transform: scale(1.08) rotate(-4deg); background: var(--lime); }
.cta-btn:hover .cta-btn-a { transform: rotate(45deg); }
[dir="rtl"] .cta-btn:hover .cta-btn-a { transform: scaleX(-1) rotate(45deg); }

/* ==========================================================================
   Page head (inner pages)
   ========================================================================== */
.ph { padding-top: clamp(150px, 22vh, 240px); padding-bottom: clamp(40px, 6vw, 96px); }
.ph-title { font-size: var(--fs-h1); font-weight: 900; line-height: 1.15; }
[lang="en"] .ph-title { line-height: 1; letter-spacing: -.035em; }
.ph-lede { margin-top: clamp(20px, 2.6vw, 36px); font-size: var(--fs-lead); color: var(--muted); max-width: 38em; line-height: 1.7; }

/* ==========================================================================
   Work index
   ========================================================================== */
.wk-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.chips, .views { display: flex; flex-wrap: wrap; gap: 6px; }
.chip, .view { height: 42px; padding-inline: 16px; border-radius: 10px; font-weight: 500; background: rgba(28, 26, 52, .05); transition: background-color .3s, color .3s; }
.chip sup { font-size: .7rem; margin-inline-start: 4px; opacity: .6; }
.chip:hover, .view:hover { background: rgba(58, 57, 255, .1); }
.chip.is-on, .view.is-on { background: var(--navy); color: #fff; }
.wk-wrap { padding-bottom: var(--sec); }
.wk-list[data-view="list"] { border-top: 1px solid var(--line); }
.wk-list[data-view="list"] .wk-a {
  position: relative; display: grid;
  grid-template-columns: 44px minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr) 110px 28px;
  align-items: center; gap: clamp(14px, 2vw, 32px);
  padding-block: clamp(20px, 2vw, 28px); border-bottom: 1px solid var(--line);
  transition: opacity .4s, padding .6s var(--ease);
}
.wk-list[data-view="list"] .wk-media { display: none; }
.wk-n { font-size: .85rem; color: var(--blue); font-weight: 500; }
.wk-t { font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); font-weight: 700; line-height: 1.35; }
.wk-c, .wk-f { color: var(--muted); font-size: .95rem; }
.wk-y { font-size: .95rem; text-align: end; }
.wk-arw .arw { width: 22px; transition: transform .6s var(--ease); }
.wk-list[data-view="list"]:hover .wk-a { opacity: .38; }
.wk-list[data-view="list"] .wk-a:hover { opacity: 1; padding-inline-start: 18px; }
.wk-a:hover .wk-arw .arw { transform: rotate(45deg); color: var(--blue); }
[dir="rtl"] .wk-a:hover .wk-arw .arw { transform: scaleX(-1) rotate(45deg); }
.wk-list[data-view="grid"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.wk-list[data-view="grid"] .wk-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
.wk-list[data-view="grid"] .wk-media { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); margin-bottom: 14px; --r: 18px; --c: 40px; }
.wk-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wk-a:hover .wk-media img { transform: scale(1.06); }
.wk-list[data-view="grid"] .wk-n, .wk-list[data-view="grid"] .wk-f, .wk-list[data-view="grid"] .wk-arw { display: none; }
.wk-list[data-view="grid"] .wk-t { grid-column: 1; font-size: var(--fs-h4); }
.wk-list[data-view="grid"] .wk-y { grid-column: 2; grid-row: 2; align-self: start; color: var(--blue); }
.wk-list[data-view="grid"] .wk-c { grid-column: 1 / -1; }
.wk.is-hidden { display: none; }
.wk.is-entering { animation: wkin .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes wkin { from { opacity: 0; transform: translateY(20px); } }
.wk-float { position: fixed; top: 0; left: 0; z-index: 40; width: 340px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; --r: 16px; --c: 44px; opacity: 0; scale: .6; transition: opacity .4s, scale .6s var(--ease); background: var(--blue); }
.wk-float.is-on { opacity: 1; scale: 1; }
.wk-float img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Case study
   ========================================================================== */
.cs-head { padding-top: clamp(140px, 20vh, 210px); padding-bottom: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: end; }
.back { grid-column: 1; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--blue); width: fit-content; }
.back-arw { width: 20px; transform: scaleX(-1); transition: transform .5s var(--ease); }
[dir="rtl"] .back-arw { transform: none; }
.back:hover .back-arw { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .back:hover .back-arw { transform: translateX(5px); }
.cs-index { grid-column: 2; grid-row: 1; color: var(--muted); font-size: var(--fs-small); }
.cs-title { grid-column: 1 / -1; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 5.4rem); font-weight: 900; line-height: 1.2; max-width: 18em; }
[lang="en"] .cs-title { line-height: 1.02; letter-spacing: -.03em; }
.cs-hero { padding-bottom: clamp(80px, 8vw, 120px); }
.cs-frame { position: relative; }
.cs-shadow { position: absolute; inset: 0; translate: 16px 16px; background: var(--blue); --r: 26px; --c: clamp(56px, 7vw, 120px); }
[dir="rtl"] .cs-shadow { translate: -16px 16px; }
.cs-media { position: relative; overflow: hidden; aspect-ratio: 16 / 8; background: var(--sky); --r: 26px; --c: clamp(56px, 7vw, 120px); }
.cs-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.cs-card-wrap { position: absolute; bottom: clamp(-72px, -5vw, -40px); inset-inline-end: clamp(20px, 4vw, 64px); width: min(560px, calc(100% - 40px)); z-index: 2; }
.cs-card { padding: 30px 28px 26px; background: var(--blue); color: #fff; --r: 18px; --c: 40px; }
.cs-card-tile { position: absolute; z-index: 1; top: -22px; inset-inline-start: 28px; width: 44px; aspect-ratio: 1; --r: 6px; --c: 12px; overflow: hidden; }
.cs-card-tile img { width: 100%; height: 100%; }
.cs-facts { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 18px; }
.cs-facts dt { font-size: var(--fs-small); color: var(--lime); font-weight: 500; margin-bottom: 4px; }
.cs-facts dd { font-weight: 700; line-height: 1.45; }
.cs-body { padding-block: clamp(80px, 9vw, 140px) var(--sec); }
.cs-lede { display: grid; gap: 28px; max-width: 980px; }
.cs-lede p:first-child { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem); font-weight: 700; line-height: 1.5; }
[lang="en"] .cs-lede p:first-child { line-height: 1.25; letter-spacing: -.015em; }
.cs-lede p + p { font-size: var(--fs-lead); color: var(--muted); max-width: 46em; margin-inline-start: auto; }
.cs-scope { background: var(--navy); color: #fff; padding-block: var(--sec); }
.cs-scope-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.cs-scope-count { font-size: clamp(3rem, 2rem + 3vw, 5.4rem); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.sc-list { border-top: 1px solid var(--line-light); }
.sc { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-light); }
.sc-n { color: var(--lime); font-weight: 500; }
.sc-t { font-size: var(--fs-h4); font-weight: 700; }
.sc-b { color: rgba(255, 255, 255, .76); }
.cs-gallery { padding-block: var(--sec); }
.gl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px) clamp(20px, 3vw, 48px); align-items: start; }
.gl { position: relative; margin: 0; }
.gl-0 { grid-column: 1 / span 7; }
.gl-1 { grid-column: 8 / span 5; margin-top: clamp(60px, 14vw, 220px); }
.gl-2 { grid-column: 3 / span 8; }
.gl-shadow { position: absolute; inset: 0; translate: 14px 14px; background: var(--blue); --r: 20px; --c: 52px; }
[dir="rtl"] .gl-shadow { translate: -14px 14px; }
.gl-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); --r: 20px; --c: 52px; }
.gl-media img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; }
.gl-tile { position: absolute; bottom: -26px; inset-inline-start: -18px; width: clamp(56px, 6vw, 84px); aspect-ratio: 1; --r: 8px; --c: 20px; overflow: hidden; z-index: 2; }
.gl-tile img { width: 100%; height: 100%; }
.gl-grid-pat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gl-pat { grid-column: auto; }
.gl-pat .gl-media { aspect-ratio: 1; --r: 26px; --c: 70px; }
.gl-pat img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-next { border-top: 1px solid var(--line); }
.nx { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; padding-block: clamp(64px, 8vw, 128px); }
.nx-label { color: var(--blue); font-weight: 500; }
.nx-title { grid-column: 1; font-size: var(--fs-h1); font-weight: 900; line-height: 1.15; max-width: 14em; transition: color .4s; }
[lang="en"] .nx-title { line-height: 1; letter-spacing: -.03em; }
.nx-client { grid-column: 1; color: var(--muted); }
.nx-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; width: clamp(64px, 7vw, 96px); aspect-ratio: 1; display: grid; place-items: center; background: var(--blue); color: #fff; --r: 12px; --c: 26px; transition: transform .7s var(--ease); }
.nx-go .arw { width: 32px; }
.nx-media { position: absolute; top: 50%; inset-inline-end: calc(var(--gut) + clamp(96px, 10vw, 140px)); width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 3; overflow: hidden; translate: 0 -50%; --r: 16px; --c: 40px; opacity: 0; scale: .7; rotate: -4deg; transition: opacity .5s, scale .8s var(--ease), rotate .8s var(--ease); pointer-events: none; }
.nx-media img { width: 100%; height: 100%; object-fit: cover; }
.nx:hover .nx-media { opacity: 1; scale: 1; rotate: 0deg; }
.nx:hover .nx-title { color: var(--blue); }
.nx:hover .nx-go { transform: rotate(-90deg); }

/* ==========================================================================
   Services page
   ========================================================================== */
.sv-list { padding-bottom: var(--sec); }
.sv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 120px); padding-block: clamp(56px, 7vw, 112px); border-top: 1px solid var(--line); }
.sv-aside { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.sv-n { font-size: clamp(3rem, 2rem + 3vw, 5.6rem); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--blue); direction: ltr; }
.sv-art { width: 100%; max-width: 300px; aspect-ratio: 1; overflow: hidden; --r: 22px; --c: 60px; justify-self: end; }
.sv-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.sv:hover .sv-art img { transform: scale(1.15) rotate(8deg); }
.sv-t { font-size: var(--fs-h2); font-weight: 700; }
.sv-s { margin-top: 24px; font-size: var(--fs-lead); font-weight: 500; line-height: 1.6; }
.sv-l { margin-top: 18px; color: var(--muted); max-width: 40em; line-height: 1.85; }
.ask { padding-block: var(--sec); text-align: center; }
.ask-in { display: grid; justify-items: center; gap: 24px; max-width: 760px; margin-inline: auto; }

/* ==========================================================================
   Studio page
   ========================================================================== */
.story { padding-bottom: var(--sec); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.story-big { font-size: clamp(1.5rem, 1rem + 1.9vw, 2.7rem); font-weight: 700; line-height: 1.55; }
[lang="en"] .story-big { line-height: 1.25; letter-spacing: -.015em; }
.story-side { display: grid; gap: 40px; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.persona-h { font-size: var(--fs-small); font-weight: 500; color: var(--blue); margin-bottom: 14px; }
.ps-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ps { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; background: #fff; color: var(--navy); font-weight: 700; --r: 10px; --c: 16px; }
[dir="rtl"] .ps { padding: 8px 8px 8px 18px; }
.ps-tile { width: 34px; aspect-ratio: 1; --r: 5px; --c: 10px; overflow: hidden; flex: none; }
.ps-tile img { width: 100%; height: 100%; }
.team { padding-block: var(--sec); }
.pp-list { border-top: 1px solid var(--line); }
.pp { border-bottom: 1px solid var(--line); }
.pp-head { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 44px; align-items: center; gap: clamp(14px, 2vw, 32px); padding-block: 18px; text-align: start; }
.pp-av { position: relative; width: 56px; aspect-ratio: 1; --r: 8px; --c: 16px; overflow: hidden; display: grid; place-items: center; }
.pp-av img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.pp-av b { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1rem; line-height: 1; }
.pp-head:hover .pp-av img { transform: scale(1.3) rotate(10deg); }
.pp-name { font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); font-weight: 700; transition: color .3s; }
.pp-role { color: var(--muted); }
.pp-head:hover .pp-name { color: var(--blue); }
.pp-plus { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(58, 57, 255, .08); border-radius: 10px; transition: background-color .4s; }
.pp-plus i { position: absolute; width: 16px; height: 2px; background: var(--blue); transition: transform .5s var(--ease), background-color .4s; }
.pp-plus i:last-child { transform: rotate(90deg); }
.pp[data-open="true"] .pp-plus { background: var(--blue); }
.pp[data-open="true"] .pp-plus i { background: #fff; }
.pp[data-open="true"] .pp-plus i:last-child { transform: rotate(0); }
.pp-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.pp[data-open="true"] .pp-body { grid-template-rows: 1fr; }
.pp-in { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding-inline-start: calc(56px + clamp(14px, 2vw, 32px)); }
.pp-bio { display: grid; gap: 14px; padding-bottom: 32px; color: var(--muted); max-width: 44em; }
.pp-quote { color: var(--blue); font-weight: 700; font-size: 1.1rem; }
.pp-projects { padding-bottom: 32px; }
.pp-projects h4 { font-size: var(--fs-small); color: var(--blue); font-weight: 500; margin-bottom: 10px; }
.pp-projects ul { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-projects li { padding: 6px 12px; background: #fff; border-radius: 8px; font-size: .9rem; }
.all-clients { padding-bottom: var(--sec); }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lg-grid .lg { width: auto; }

/* ==========================================================================
   Contact
   ========================================================================== */
.ct { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; padding-bottom: var(--sec); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.fd { position: relative; display: grid; gap: 6px; }
.fd label { font-size: .9rem; color: var(--muted); font-weight: 500; }
.fd input, .fd select, .fd textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(28, 26, 52, .25); background: transparent; padding: 12px 0; font-size: 1.15rem; border-radius: 0; outline: none; appearance: none; -webkit-appearance: none; }
.fd textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.fd select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A39FF' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat; background-size: 20px; background-position: left 0 center; padding-inline-end: 28px; cursor: pointer; }
[dir="ltr"] .fd select { background-position: right 0 center; }
.fd-line { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .7s var(--ease); }
[dir="ltr"] .fd-line { --origin: left; }
.fd:focus-within .fd-line { transform: scaleX(1); }
.fd:focus-within label { color: var(--blue); }
.fd-wide { grid-column: 1 / -1; }
.fd-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 40px; }
.form-status { font-weight: 500; }
.form-status[data-tone="error"] { color: #B3261E; }
.form-status:not(:empty):not([data-tone="error"]) { color: var(--blue); }
.ct-card { position: sticky; top: calc(var(--hdr) + 32px); overflow: hidden; background: var(--blue); color: #fff; --r: 26px; --c: 72px; }
.ct-pat { position: absolute; width: 150%; max-width: none; top: -30%; inset-inline-end: -45%; opacity: .14; animation: spin 80s linear infinite; }
.ct-in { position: relative; padding: clamp(32px, 4vw, 52px); display: grid; gap: 36px; }
.ct-logo { width: 150px; color: #fff; }
.ct-list { display: grid; gap: 22px; }
.ct-list dt { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--lime); font-weight: 500; margin-bottom: 4px; }
.ct-list dt .ico { width: 26px; color: #fff; }
.ct-list dd { font-size: 1.1rem; font-weight: 700; }
.ct-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ct-tiles { display: flex; gap: 6px; direction: ltr; }
.ct-tiles span { width: 28px; aspect-ratio: 1; --r: 4px; --c: 8px; overflow: hidden; transition: transform .6s var(--spring); }
.ct-tiles img { width: 100%; height: 100%; }
.ct-card:hover .ct-tiles span { transform: translateY(-6px) rotate(-12deg); transition-delay: calc(var(--i) * 30ms); }

/* Location map — Google map recoloured into the brand blue, inside a Gate */
.loc { padding-bottom: var(--sec); }
.loc-gate { position: relative; height: clamp(460px, 52vw, 640px); overflow: hidden; background: var(--sky); --r: 28px; --c: clamp(64px, 8vw, 140px); isolation: isolate; }
.loc-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(1) contrast(1.12) brightness(1.06); transform: scale(1.04); transition: transform 1.6s var(--ease); }
.loc-tint { position: absolute; inset: 0; background: var(--blue); mix-blend-mode: color; pointer-events: none; }
.loc-tint::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 26, 52, .34), rgba(28, 26, 52, 0) 46%); mix-blend-mode: normal; }
.loc-hit { position: absolute; inset: 0; z-index: 1; }
.loc-gate:hover .loc-map { transform: scale(1.08); }
.loc-pin { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -100%; display: grid; justify-items: center; pointer-events: none; transition: translate .6s var(--spring); }
.loc-gate:hover .loc-pin { translate: -50% calc(-100% - 8px); }
.loc-pin-gate { width: 136px; height: 58px; display: grid; place-items: center; background: var(--navy); color: #fff; --r: 10px; --c: 16px; box-shadow: 0 10px 30px rgba(28, 26, 52, .3); }
.loc-pin-gate .logo-mask { width: 98px; }
.loc-dot { position: absolute; top: 100%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--navy); }
.loc-dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--lime); animation: loc-pulse 2.2s var(--ease) infinite; }
@keyframes loc-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.loc-card { position: absolute; z-index: 3; inset-inline-start: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); width: min(440px, calc(100% - 32px)); padding: clamp(22px, 2.4vw, 32px); background: var(--paper); color: var(--navy); --r: 18px; --c: 40px; }
.loc-title { font-size: var(--fs-h4); font-weight: 900; margin-top: 4px; }
.loc-addr { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; color: var(--muted); line-height: 1.7; }
.loc-addr .ico { width: 22px; flex: none; color: var(--blue); margin-top: 3px; }
.loc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.loc-dir { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.loc-dir .arw { width: 16px; transition: transform .5s var(--ease); }
.loc-dir:hover .arw { transform: translate(2px, -2px); }
[dir="rtl"] .loc-dir:hover .arw { transform: scaleX(-1) translate(2px, -2px); }
@media (max-width: 767px) {
  .loc-gate { height: 620px; }
  .loc-pin { top: 34%; }
  .loc-card { inset-inline: 12px; bottom: 12px; width: auto; }
}

/* 404 */
.nf { padding-block: clamp(150px, 22vh, 240px) var(--sec); display: grid; justify-items: center; text-align: center; gap: 24px; }
.nf-gate { position: relative; width: min(320px, 70vw); aspect-ratio: 1; overflow: hidden; --r: 26px; --c: 80px; display: grid; place-items: center; }
.nf-gate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-code { position: relative; font-size: 5rem; font-weight: 900; color: #fff; background: var(--navy); padding: 0 18px; line-height: 1.3; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   Footer — the Gate chain from the brand e-mail signature
   ========================================================================== */
.ftr { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(72px, 9vw, 140px) 28px; }
.ftr-glow { position: absolute; width: 90vw; aspect-ratio: 1; left: 50%; top: -60vw; translate: -50% 0; background: radial-gradient(circle, rgba(58, 57, 255, .55), rgba(58, 57, 255, 0) 62%); pointer-events: none; }
.chain { position: relative; display: flex; align-items: stretch; }
.seg {
  --r: 26px; --c: clamp(46px, 4.6vw, 70px);
  position: relative; flex: 1 1 0; min-width: 0;
  min-height: clamp(300px, 26vw, 380px);
  margin-left: calc(clamp(46px, 4.6vw, 70px) * -.5);
  background: var(--sky); color: var(--navy);
  transition: transform .9s var(--ease), background-color .5s;
}
.seg:first-child { margin-left: 0; }
.seg-brand { flex-grow: 1.35; }
.seg-reach { flex-grow: 1.2; }
.seg-in { height: 100%; display: flex; flex-direction: column; padding: clamp(32px, 3.4vw, 52px) clamp(56px, 5.6vw, 88px); }
.seg-h { font-size: var(--fs-small); font-weight: 500; color: var(--blue); margin-bottom: 18px; }
[lang="en"] .seg-h { letter-spacing: .14em; text-transform: uppercase; }
.seg:hover { background: #fff; transform: translateY(-10px); }
html.js .chain .seg { transform: translateY(60px); opacity: 0; }
html.js .chain.is-in .seg { transform: none; opacity: 1; transition: transform 1.1s var(--ease) calc(var(--k, 0) * 120ms), opacity .8s calc(var(--k, 0) * 120ms), background-color .5s; }
html.js .chain.is-in .seg:hover { transform: translateY(-10px); }
.ft-logo { width: clamp(150px, 13vw, 200px); color: var(--navy); }
.ft-tag { margin-top: 14px; font-weight: 500; color: var(--muted); }
.ft-tiles { margin-top: auto; padding-top: 28px; display: flex; gap: clamp(4px, .5vw, 8px); direction: ltr; }
.ft-tile { width: clamp(22px, 2.2vw, 32px); aspect-ratio: 1; --r: 4px; --c: 8px; overflow: hidden; transition: transform .7s var(--spring); }
.ft-tile img { width: 100%; height: 100%; }
html.js .chain .ft-tile { transform: scale(0) rotate(-40deg); }
html.js .chain.is-in .ft-tile { transform: none; transition: transform .8s var(--spring) calc(.5s + var(--i) * 60ms); }
html.js .chain.is-in .ft-tile:hover { transform: translateY(-8px) rotate(90deg) scale(1.15); transition-delay: 0s; }
.ft-links { display: grid; gap: 4px; }
.ft-links a { display: inline-flex; align-items: baseline; gap: 12px; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 700; line-height: 1.45; }
.ft-links a > span:last-child { position: relative; display: block; overflow: hidden; height: 1.45em; }
.ft-links a > span:last-child::after { content: attr(data-text); position: absolute; inset-inline-start: 0; top: 100%; color: var(--blue); }
.ft-links a > span:last-child, .ft-links a > span:last-child::after { transition: transform .55s var(--ease); }
.ft-links a:hover > span:last-child::after { transform: translateY(-100%); }
.ft-n { font-size: .75rem; color: var(--blue); font-weight: 500; }
.ft-contact { display: grid; gap: 12px; }
.ft-contact a, .ft-contact li > span { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; transition: color .3s; }
.ft-contact a:hover { color: var(--blue); }
.ft-contact .ico { width: 30px; flex: none; color: var(--blue); }
/* Footer mark: the logo fills as you scroll; under the pointer a spotlight opens a
   window onto one of the signature patterns, and a click cycles to the next one. */
@property --rad { syntax: '<length>'; inherits: true; initial-value: 0px; }
.ftr-mark { position: relative; margin-top: clamp(56px, 7vw, 110px); }
.ftr-logo { position: relative; width: min(100%, 1180px); margin-inline: auto; aspect-ratio: 3 / 1; cursor: pointer; --mx: 50%; --my: 50%; --rad: 0px; transition: --rad .7s var(--ease); touch-action: pan-y; }
.ftr-logo.is-on { --rad: clamp(140px, 17vw, 280px); }
.ftr-logo > span { position: absolute; inset: 0; -webkit-mask: url("../brand/arbsq-logo.svg") center / 100% 100% no-repeat; mask: url("../brand/arbsq-logo.svg") center / 100% 100% no-repeat; }
.ftr-logo-base { background: linear-gradient(to var(--fill-dir, left), #fff var(--p, 0%), rgba(255, 255, 255, .1) var(--p, 0%)); }
[dir="ltr"] .ftr-logo-base { --fill-dir: right; }
.ftr-logo > .ftr-logo-pat {
  background-color: var(--lime); background-position: center; background-size: clamp(90px, 9vw, 150px); background-repeat: repeat;
  -webkit-mask-image: url("../brand/arbsq-logo.svg"), radial-gradient(circle var(--rad) at var(--mx) var(--my), #000 55%, transparent 100%);
  -webkit-mask-size: 100% 100%, 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: source-in;
  mask-image: url("../brand/arbsq-logo.svg"), radial-gradient(circle var(--rad) at var(--mx) var(--my), #000 55%, transparent 100%);
  mask-size: 100% 100%, 100% 100%; mask-repeat: no-repeat; mask-composite: intersect;
}
.ftr-logo.is-swap > .ftr-logo-pat { animation: pat-swap .5s var(--ease); }
@keyframes pat-swap { from { background-size: 30px; filter: saturate(2); } }
.ftr-hint { margin-top: 14px; text-align: center; font-size: var(--fs-small); color: rgba(255, 255, 255, .38); }
@media (hover: none) { .ftr-hint { display: none; } }
.ftr-nob { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); margin-top: clamp(36px, 4vw, 56px); color: rgba(255, 255, 255, .7); font-size: 1rem; }
.ftr-nob-t { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; text-align: center; transition: color .3s; }
.ftr-nob-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px 14px; font-weight: 900; letter-spacing: .12em; color: #fff; background: rgba(255, 255, 255, .08); --r: 9px; --c: 13px; transition: background-color .4s, color .4s; }
.ftr-nob-chip .arw { width: 16px; transition: transform .5s var(--ease); }
[dir] .ftr-nob-chip .arw { transform: none; }
.ftr-nob:hover .ftr-nob-t { color: #fff; }
.ftr-nob:hover .ftr-nob-chip { background: var(--lime); color: var(--navy); }
.ftr-nob:hover .ftr-nob-chip .arw { transform: translate(2px, -2px); }
.ftr-bar { margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--fs-small); color: rgba(255, 255, 255, .62); }
.ftr-made { display: inline-flex; align-items: center; gap: 8px; }
.ftr-made .dot { width: 10px; height: 10px; background: var(--lime); --r: 2px; --c: 4px; }
.ftr-top { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.ftr-top-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--blue); --r: 8px; --c: 12px; }
.ftr-top-ico .arw { width: 18px; transform: rotate(-90deg); }
[dir="rtl"] .ftr-top-ico .arw { transform: rotate(-90deg); }

/* ==========================================================================
   Reveal system
   ========================================================================== */
html.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms); }
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .rv-lines .ln > span { transform: translateY(112%); }
html.js .rv-lines.is-in .ln > span { transform: none; transition: transform 1.2s var(--ease) calc(var(--i) * 110ms); }
html.js .rv-scale { opacity: 0; transform: scale(.9); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
html.js .rv-scale.is-in { opacity: 1; transform: none; }
/* The Gate opens: the 45° cut sweeps from a deep diagonal to its rest position. */
html.js .rv-gate:not(.is-in) { --c: 72% !important; opacity: 0; }
html.js .rv-gate { transition: --c 1.5s var(--ease), opacity .8s var(--ease); }
html.js .rv-gate img { transition: transform 1.8s var(--ease); }
html.js .rv-gate:not(.is-in) img { transform: scale(1.18); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .val-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-a { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) 32px; }
  .svc-tile { display: none; }
  .wk-list[data-view="list"] .wk-a { grid-template-columns: 40px minmax(0, 2fr) minmax(0, 1.3fr) 100px 28px; }
  .wk-list[data-view="list"] .wk-f { display: none; }
}
@media (max-width: 1023px) {
  .qb { grid-template-columns: 1fr; }
  .qb-art { width: min(78%, 380px); margin-bottom: 24px; }
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-burger { display: block; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .val-compass { justify-self: start; }
  .gs-grid { grid-template-columns: 1fr; }
  .gs-stage { max-width: 460px; }
  .wk-list[data-view="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid, .ct, .sv { grid-template-columns: 1fr; }
  .sv-aside { position: relative; top: 0; grid-template-columns: auto 160px; justify-content: space-between; }
  .ct-card { position: relative; top: 0; }
  .chain { flex-direction: column; gap: 14px; }
  .seg { margin-left: 0; min-height: 0; flex-basis: auto; }
  .seg-in { padding: 36px clamp(28px, 6vw, 48px) 36px; }
  .seg-brand { order: -1; }
  .seg-reach { order: 1; }
  .pp-in { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 899px) {
  .jr { height: auto !important; }
  .jr-pin { position: relative; height: auto; }
  .jr-gate { height: auto; padding-bottom: 48px; }
  .jr-viewport { display: block; }
  .jr-track { width: auto; flex-direction: column; transform: none !important; padding-inline: var(--gut); padding-top: 40px; gap: 40px; }
  .jr-line, .jr-meter { display: none; }
  .jr-step { width: auto; opacity: 1; grid-template-columns: auto 1fr; column-gap: 20px; }
  .jr-n { grid-row: span 3; font-size: 3.4rem; }
  .jr-ico { display: none; }
  .jr-t { margin-top: 0; }
}
@media (max-width: 767px) {
  .ceo-bust { width: 120px; }
  .qt-by { gap: 14px; }
  :root { --hdr: 76px; }
  .hdr { top: 22px; }
  .hdr.is-scrolled { top: 10px; }
  .hdr-bar { height: 60px; width: calc(100% - 20px); padding-inline: 16px 6px; }
  .hdr-logo { width: 120px; }
  .hdr-lang { display: none; }
  .hero { padding: 8px; }
  .hero-gate { min-height: calc(100svh - 16px); padding-top: 120px; --r: 20px; }
  .hero-mandala { width: 150vw; inset-inline-end: -70vw; top: 30%; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stack-card { position: relative; top: 0; }
  .stack-link { height: auto; display: grid; }
  .stack-media { position: relative; aspect-ratio: 4 / 5; }
  .stack-tag { position: absolute; top: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); padding: 18px 20px; padding-right: 44px; }
  .stack-panel { position: relative; inset: auto; width: auto; margin-top: -1px; background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .svc-a { grid-template-columns: 36px minmax(0, 1fr) 28px; row-gap: 6px; }
  .svc-s { grid-column: 2; grid-row: 2; font-size: .95rem; }
  .svc-arw { grid-column: 3; grid-row: 1; }
  .val-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .val-grid::-webkit-scrollbar { display: none; }
  .val { flex: 0 0 78%; scroll-snap-align: center; min-height: 320px; }
  .wk-list[data-view] { display: grid; grid-template-columns: 1fr; gap: 40px; border: 0; }
  .wk-list[data-view] .wk-a { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 6px 16px !important; padding: 0 !important; border: 0 !important; opacity: 1 !important; }
  .wk-list[data-view] .wk-media { display: block !important; grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 12px; --r: 16px; --c: 36px; background: var(--sky); }
  .wk-list[data-view] .wk-n, .wk-list[data-view] .wk-f, .wk-list[data-view] .wk-arw { display: none; }
  .wk-list[data-view] .wk-y { grid-column: 2; grid-row: 2; color: var(--blue); }
  .wk-list[data-view] .wk-c { grid-column: 1 / -1; }
  .views { display: none; }
  .cs-head { grid-template-columns: 1fr; }
  .cs-index { grid-column: 1; grid-row: auto; }
  .cs-media { aspect-ratio: 4 / 3; }
  .cs-card-wrap { position: relative; bottom: auto; inset-inline-end: auto; width: auto; margin: -36px 12px 0; }
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-facts > div:first-child { grid-column: 1 / -1; }
  .sc { grid-template-columns: 40px minmax(0, 1fr); }
  .sc-b { grid-column: 2; }
  .gl-grid { grid-template-columns: 1fr; }
  .gl-0, .gl-1, .gl-2 { grid-column: auto; margin-top: 0; }
  .gl-grid-pat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .nx { grid-template-columns: 1fr auto; }
  .nx-media { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .pp-head { grid-template-columns: 48px minmax(0, 1fr) 40px; row-gap: 0; }
  .pp-av { width: 48px; grid-row: span 2; }
  .pp-role { grid-column: 2; grid-row: 2; font-size: .9rem; }
  .pp-plus { grid-column: 3; grid-row: 1 / span 2; }
  .pp-in { padding-inline-start: 0; }
  .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-bar { flex-direction: column; align-items: flex-start; }
  }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .rv, html.js .rv-scale { opacity: 1; transform: none; }
  html.js .rv-lines .ln > span, html.js .hero .ln > span { transform: none; }
  .tk-track, .mq-track { animation: none !important; }
  .mq-row, .ticker { overflow-x: auto; }
}

/* Generated by src/lib/gates.mjs — the Gate frame as clip-path polygons. */
.g-tr{clip-path:polygon(0% calc(1 * var(--r)), calc(0.0341 * var(--r)) calc(0.7412 * var(--r)), calc(0.134 * var(--r)) calc(0.5 * var(--r)), calc(0.2929 * var(--r)) calc(0.2929 * var(--r)), calc(0.5 * var(--r)) calc(0.134 * var(--r)), calc(0.7412 * var(--r)) calc(0.0341 * var(--r)), calc(1 * var(--r)) 0%, calc(100% - (0.2278 * var(--r) + 1 * var(--c))) 0%, calc(100% - (0.0855 * var(--r) + 1 * var(--c))) calc(0.0187 * var(--r)), calc(100% - (-0.0472 * var(--r) + 1 * var(--c))) calc(0.0737 * var(--r)), calc(100% - (-0.1611 * var(--r) + 1 * var(--c))) calc(0.1611 * var(--r)), calc(100% - (0.1611 * var(--r))) calc(-0.1611 * var(--r) + 1 * var(--c)), calc(100% - (0.0737 * var(--r))) calc(-0.0472 * var(--r) + 1 * var(--c)), calc(100% - (0.0187 * var(--r))) calc(0.0855 * var(--r) + 1 * var(--c)), 100% calc(0.2278 * var(--r) + 1 * var(--c)), 100% calc(100% - (1 * var(--r))), calc(100% - (0.0341 * var(--r))) calc(100% - (0.7412 * var(--r))), calc(100% - (0.134 * var(--r))) calc(100% - (0.5 * var(--r))), calc(100% - (0.2929 * var(--r))) calc(100% - (0.2929 * var(--r))), calc(100% - (0.5 * var(--r))) calc(100% - (0.134 * var(--r))), calc(100% - (0.7412 * var(--r))) calc(100% - (0.0341 * var(--r))), calc(100% - (1 * var(--r))) 100%, calc(1 * var(--r)) 100%, calc(0.7412 * var(--r)) calc(100% - (0.0341 * var(--r))), calc(0.5 * var(--r)) calc(100% - (0.134 * var(--r))), calc(0.2929 * var(--r)) calc(100% - (0.2929 * var(--r))), calc(0.134 * var(--r)) calc(100% - (0.5 * var(--r))), calc(0.0341 * var(--r)) calc(100% - (0.7412 * var(--r))), 0% calc(100% - (1 * var(--r))))}
.g-trbl{clip-path:polygon(0% calc(1 * var(--r)), calc(0.0341 * var(--r)) calc(0.7412 * var(--r)), calc(0.134 * var(--r)) calc(0.5 * var(--r)), calc(0.2929 * var(--r)) calc(0.2929 * var(--r)), calc(0.5 * var(--r)) calc(0.134 * var(--r)), calc(0.7412 * var(--r)) calc(0.0341 * var(--r)), calc(1 * var(--r)) 0%, calc(100% - (0.2278 * var(--r) + 1 * var(--c))) 0%, calc(100% - (0.0855 * var(--r) + 1 * var(--c))) calc(0.0187 * var(--r)), calc(100% - (-0.0472 * var(--r) + 1 * var(--c))) calc(0.0737 * var(--r)), calc(100% - (-0.1611 * var(--r) + 1 * var(--c))) calc(0.1611 * var(--r)), calc(100% - (0.1611 * var(--r))) calc(-0.1611 * var(--r) + 1 * var(--c)), calc(100% - (0.0737 * var(--r))) calc(-0.0472 * var(--r) + 1 * var(--c)), calc(100% - (0.0187 * var(--r))) calc(0.0855 * var(--r) + 1 * var(--c)), 100% calc(0.2278 * var(--r) + 1 * var(--c)), 100% calc(100% - (1 * var(--r))), calc(100% - (0.0341 * var(--r))) calc(100% - (0.7412 * var(--r))), calc(100% - (0.134 * var(--r))) calc(100% - (0.5 * var(--r))), calc(100% - (0.2929 * var(--r))) calc(100% - (0.2929 * var(--r))), calc(100% - (0.5 * var(--r))) calc(100% - (0.134 * var(--r))), calc(100% - (0.7412 * var(--r))) calc(100% - (0.0341 * var(--r))), calc(100% - (1 * var(--r))) 100%, calc(0.2278 * var(--r) + 1 * var(--c)) 100%, calc(0.0855 * var(--r) + 1 * var(--c)) calc(100% - (0.0187 * var(--r))), calc(-0.0472 * var(--r) + 1 * var(--c)) calc(100% - (0.0737 * var(--r))), calc(-0.1611 * var(--r) + 1 * var(--c)) calc(100% - (0.1611 * var(--r))), calc(0.1611 * var(--r)) calc(100% - (-0.1611 * var(--r) + 1 * var(--c))), calc(0.0737 * var(--r)) calc(100% - (-0.0472 * var(--r) + 1 * var(--c))), calc(0.0187 * var(--r)) calc(100% - (0.0855 * var(--r) + 1 * var(--c))), 0% calc(100% - (0.2278 * var(--r) + 1 * var(--c))))}
.g-tl{clip-path:polygon(0% calc(0.2278 * var(--r) + 1 * var(--c)), calc(0.0187 * var(--r)) calc(0.0855 * var(--r) + 1 * var(--c)), calc(0.0737 * var(--r)) calc(-0.0472 * var(--r) + 1 * var(--c)), calc(0.1611 * var(--r)) calc(-0.1611 * var(--r) + 1 * var(--c)), calc(-0.1611 * var(--r) + 1 * var(--c)) calc(0.1611 * var(--r)), calc(-0.0472 * var(--r) + 1 * var(--c)) calc(0.0737 * var(--r)), calc(0.0855 * var(--r) + 1 * var(--c)) calc(0.0187 * var(--r)), calc(0.2278 * var(--r) + 1 * var(--c)) 0%, calc(100% - (1 * var(--r))) 0%, calc(100% - (0.7412 * var(--r))) calc(0.0341 * var(--r)), calc(100% - (0.5 * var(--r))) calc(0.134 * var(--r)), calc(100% - (0.2929 * var(--r))) calc(0.2929 * var(--r)), calc(100% - (0.134 * var(--r))) calc(0.5 * var(--r)), calc(100% - (0.0341 * var(--r))) calc(0.7412 * var(--r)), 100% calc(1 * var(--r)), 100% calc(100% - (1 * var(--r))), calc(100% - (0.0341 * var(--r))) calc(100% - (0.7412 * var(--r))), calc(100% - (0.134 * var(--r))) calc(100% - (0.5 * var(--r))), calc(100% - (0.2929 * var(--r))) calc(100% - (0.2929 * var(--r))), calc(100% - (0.5 * var(--r))) calc(100% - (0.134 * var(--r))), calc(100% - (0.7412 * var(--r))) calc(100% - (0.0341 * var(--r))), calc(100% - (1 * var(--r))) 100%, calc(1 * var(--r)) 100%, calc(0.7412 * var(--r)) calc(100% - (0.0341 * var(--r))), calc(0.5 * var(--r)) calc(100% - (0.134 * var(--r))), calc(0.2929 * var(--r)) calc(100% - (0.2929 * var(--r))), calc(0.134 * var(--r)) calc(100% - (0.5 * var(--r))), calc(0.0341 * var(--r)) calc(100% - (0.7412 * var(--r))), 0% calc(100% - (1 * var(--r))))}
.g-tlbr{clip-path:polygon(0% calc(0.2278 * var(--r) + 1 * var(--c)), calc(0.0187 * var(--r)) calc(0.0855 * var(--r) + 1 * var(--c)), calc(0.0737 * var(--r)) calc(-0.0472 * var(--r) + 1 * var(--c)), calc(0.1611 * var(--r)) calc(-0.1611 * var(--r) + 1 * var(--c)), calc(-0.1611 * var(--r) + 1 * var(--c)) calc(0.1611 * var(--r)), calc(-0.0472 * var(--r) + 1 * var(--c)) calc(0.0737 * var(--r)), calc(0.0855 * var(--r) + 1 * var(--c)) calc(0.0187 * var(--r)), calc(0.2278 * var(--r) + 1 * var(--c)) 0%, calc(100% - (1 * var(--r))) 0%, calc(100% - (0.7412 * var(--r))) calc(0.0341 * var(--r)), calc(100% - (0.5 * var(--r))) calc(0.134 * var(--r)), calc(100% - (0.2929 * var(--r))) calc(0.2929 * var(--r)), calc(100% - (0.134 * var(--r))) calc(0.5 * var(--r)), calc(100% - (0.0341 * var(--r))) calc(0.7412 * var(--r)), 100% calc(1 * var(--r)), 100% calc(100% - (0.2278 * var(--r) + 1 * var(--c))), calc(100% - (0.0187 * var(--r))) calc(100% - (0.0855 * var(--r) + 1 * var(--c))), calc(100% - (0.0737 * var(--r))) calc(100% - (-0.0472 * var(--r) + 1 * var(--c))), calc(100% - (0.1611 * var(--r))) calc(100% - (-0.1611 * var(--r) + 1 * var(--c))), calc(100% - (-0.1611 * var(--r) + 1 * var(--c))) calc(100% - (0.1611 * var(--r))), calc(100% - (-0.0472 * var(--r) + 1 * var(--c))) calc(100% - (0.0737 * var(--r))), calc(100% - (0.0855 * var(--r) + 1 * var(--c))) calc(100% - (0.0187 * var(--r))), calc(100% - (0.2278 * var(--r) + 1 * var(--c))) 100%, calc(1 * var(--r)) 100%, calc(0.7412 * var(--r)) calc(100% - (0.0341 * var(--r))), calc(0.5 * var(--r)) calc(100% - (0.134 * var(--r))), calc(0.2929 * var(--r)) calc(100% - (0.2929 * var(--r))), calc(0.134 * var(--r)) calc(100% - (0.5 * var(--r))), calc(0.0341 * var(--r)) calc(100% - (0.7412 * var(--r))), 0% calc(100% - (1 * var(--r))))}
.g-bl{clip-path:polygon(0% calc(1 * var(--r)), calc(0.0341 * var(--r)) calc(0.7412 * var(--r)), calc(0.134 * var(--r)) calc(0.5 * var(--r)), calc(0.2929 * var(--r)) calc(0.2929 * var(--r)), calc(0.5 * var(--r)) calc(0.134 * var(--r)), calc(0.7412 * var(--r)) calc(0.0341 * var(--r)), calc(1 * var(--r)) 0%, calc(100% - (1 * var(--r))) 0%, calc(100% - (0.7412 * var(--r))) calc(0.0341 * var(--r)), calc(100% - (0.5 * var(--r))) calc(0.134 * var(--r)), calc(100% - (0.2929 * var(--r))) calc(0.2929 * var(--r)), calc(100% - (0.134 * var(--r))) calc(0.5 * var(--r)), calc(100% - (0.0341 * var(--r))) calc(0.7412 * var(--r)), 100% calc(1 * var(--r)), 100% calc(100% - (1 * var(--r))), calc(100% - (0.0341 * var(--r))) calc(100% - (0.7412 * var(--r))), calc(100% - (0.134 * var(--r))) calc(100% - (0.5 * var(--r))), calc(100% - (0.2929 * var(--r))) calc(100% - (0.2929 * var(--r))), calc(100% - (0.5 * var(--r))) calc(100% - (0.134 * var(--r))), calc(100% - (0.7412 * var(--r))) calc(100% - (0.0341 * var(--r))), calc(100% - (1 * var(--r))) 100%, calc(0.2278 * var(--r) + 1 * var(--c)) 100%, calc(0.0855 * var(--r) + 1 * var(--c)) calc(100% - (0.0187 * var(--r))), calc(-0.0472 * var(--r) + 1 * var(--c)) calc(100% - (0.0737 * var(--r))), calc(-0.1611 * var(--r) + 1 * var(--c)) calc(100% - (0.1611 * var(--r))), calc(0.1611 * var(--r)) calc(100% - (-0.1611 * var(--r) + 1 * var(--c))), calc(0.0737 * var(--r)) calc(100% - (-0.0472 * var(--r) + 1 * var(--c))), calc(0.0187 * var(--r)) calc(100% - (0.0855 * var(--r) + 1 * var(--c))), 0% calc(100% - (0.2278 * var(--r) + 1 * var(--c))))}
.g-round{clip-path:polygon(0% calc(1 * var(--r)), calc(0.0341 * var(--r)) calc(0.7412 * var(--r)), calc(0.134 * var(--r)) calc(0.5 * var(--r)), calc(0.2929 * var(--r)) calc(0.2929 * var(--r)), calc(0.5 * var(--r)) calc(0.134 * var(--r)), calc(0.7412 * var(--r)) calc(0.0341 * var(--r)), calc(1 * var(--r)) 0%, calc(100% - (1 * var(--r))) 0%, calc(100% - (0.7412 * var(--r))) calc(0.0341 * var(--r)), calc(100% - (0.5 * var(--r))) calc(0.134 * var(--r)), calc(100% - (0.2929 * var(--r))) calc(0.2929 * var(--r)), calc(100% - (0.134 * var(--r))) calc(0.5 * var(--r)), calc(100% - (0.0341 * var(--r))) calc(0.7412 * var(--r)), 100% calc(1 * var(--r)), 100% calc(100% - (1 * var(--r))), calc(100% - (0.0341 * var(--r))) calc(100% - (0.7412 * var(--r))), calc(100% - (0.134 * var(--r))) calc(100% - (0.5 * var(--r))), calc(100% - (0.2929 * var(--r))) calc(100% - (0.2929 * var(--r))), calc(100% - (0.5 * var(--r))) calc(100% - (0.134 * var(--r))), calc(100% - (0.7412 * var(--r))) calc(100% - (0.0341 * var(--r))), calc(100% - (1 * var(--r))) 100%, calc(1 * var(--r)) 100%, calc(0.7412 * var(--r)) calc(100% - (0.0341 * var(--r))), calc(0.5 * var(--r)) calc(100% - (0.134 * var(--r))), calc(0.2929 * var(--r)) calc(100% - (0.2929 * var(--r))), calc(0.134 * var(--r)) calc(100% - (0.5 * var(--r))), calc(0.0341 * var(--r)) calc(100% - (0.7412 * var(--r))), 0% calc(100% - (1 * var(--r))))}
