/* ===== GameBird Flight — brand tokens ===== */
/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-var.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
/* metric-matched fallbacks so text doesn't jump when the web fonts arrive */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 103%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Serif Fallback"; src: local("Georgia"); size-adjust: 84%; ascent-override: 105%; descent-override: 26%; line-gap-override: 0%; }

/* ===== GameBird Flight — brand tokens ===== */
:root {
  color-scheme: light;
  --blue: #0047BA;   --blue-2: #2F6BFF;   --blue-3: #E8EFFC;   /* GameBird blue */
  --ink: #0A0A0B;    --ink-2: #565862;
  /* page surfaces: soft paper instead of cream, cool blue-grey bands, white cards */
  --cream: #FAFAF8;  --cream-2: #F2F4F8;  --white: #FFFFFF;    --line: #E3E6EC;
  --paper: var(--cream); --paper-2: var(--cream-2);
  --sky: #9EC3FF;                                              /* light accent on dark */
  --amber: #F2A900;  --coral: #FF7A59;  --mint: #6EE7A0;  --violet: #9B7BFF;   /* playful accents, used sparingly */
  --serif: "Instrument Serif", "Serif Fallback", "Plex Arabic", Georgia, serif;
  --sans: "Manrope", "Plex Arabic", "Manrope Fallback", "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.9rem, 1.6rem + 5.4vw, 6.4rem);
  --ease: cubic-bezier(.22,1,.36,1);
  --r: 24px; --wrap: 1240px; --gutter: max(16px, min(4vw, 44px), env(safe-area-inset-left), env(safe-area-inset-right)); --space: clamp(84px, 11vw, 150px);
}
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas { max-width: 100%; }
svg:not([class]) { width: 1em; height: 1em; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); }
h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--blue); }

/* Buttons with a sliding fill */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 700; border: 1.5px solid var(--ink); cursor: pointer; transition: color .4s var(--ease), transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--blue); transform: scale(0, 1); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scale(1, 1); transform-origin: left; }
.btn:hover { color: #fff; border-color: var(--blue); }
.btn-solid { background: var(--ink); color: #fff; }
.btn > svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover > svg { transform: translateX(4px) rotate(-12deg); }

/* Floating pill header */
.top { position: fixed; top: max(14px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 60; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); transition: transform .5s var(--ease); }
.top.hide { transform: translateY(-120%); }
.bar { max-width: 900px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 10px 30px -18px rgba(10,10,11,.35), inset 0 0 0 1px rgba(10,10,11,.06); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.logo svg { width: 34px; height: 24px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background-color .3s; }
.nav a:hover { background: var(--blue-3); }
.bar .btn { min-height: 44px; padding: 0 18px; background: var(--blue); color: #fff; border-color: var(--blue); font-size: .92rem; }
.bar .btn::before { background: var(--ink); }

/* ===== Hero: the bird follows the cursor ===== */
.hero { position: relative; min-height: 100svh; min-height: 100dvh; display: grid; align-content: center; text-align: center; padding: 130px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 35%, rgba(0,71,186,.10), transparent 70%); pointer-events: none; }
.hero .kicker { text-wrap: balance; position: relative; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; margin: 18px auto 0; position: relative; }
.hero h1 em { color: var(--blue); }
.hero .lede { margin: 22px auto 0; max-width: 46ch; font-size: var(--step-1); color: var(--ink-2); position: relative; }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; position: relative; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; position: relative; }
.chips span, .chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: var(--step--1); }
.rating { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; font-weight: 600; font-size: var(--step--1); color: var(--ink-2); position: relative; }
.rating b { color: var(--ink); }
.stars { color: #F2A900; letter-spacing: 2px; }
#trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* The bird (also used for the scroll flight) */
.bird { position: fixed; left: 0; top: 0; z-index: 55; width: 64px; height: 48px; pointer-events: none; will-change: transform; }
.bird svg { width: 100%; height: 100%; overflow: visible; }
.wing { transform-origin: 30px 22px; }
@media (prefers-reduced-motion: no-preference) {
  .wing.l { animation: flapL .32s ease-in-out infinite alternate; }
  .wing.r { animation: flapR .32s ease-in-out infinite alternate; }
}
@keyframes flapL { from { transform: rotate(18deg); } to { transform: rotate(-38deg); } }
@keyframes flapR { from { transform: rotate(-12deg); } to { transform: rotate(30deg) scaleY(.7); } }
.bird.glide .wing { animation-duration: .9s; }

/* Marquee of logos */
.logos { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.logos-track { display: flex; gap: 72px; width: max-content; padding-block: 26px; animation: slide 38s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track span { font-weight: 800; font-size: 1.2rem; color: #8C8F99; white-space: nowrap; transition: color .3s; }
.logos-track span:hover { color: var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: var(--space); position: relative; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head h2 { font-size: var(--step-3); margin-top: 14px; }
.head p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); }

/* ===== Services: tabs drive a live mock UI ===== */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tabs { display: grid; gap: 10px; }
.tab { text-align: start; padding: 22px 24px; border-radius: var(--r); border: 0; background: transparent; cursor: pointer; position: relative; transition: background-color .4s; }
.tab .kicker { display: block; }
.tab .tab-title { display: block; font-size: var(--step-2); margin-top: 6px; font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.tab .tab-body { display: block; margin-top: 8px; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.tab[aria-selected="true"] { background: var(--white); box-shadow: 0 20px 40px -30px rgba(10,10,11,.4); }
.tab[aria-selected="true"] .tab-body { max-height: 120px; opacity: 1; }
.tab .bar-t { position: absolute; left: 24px; right: 24px; bottom: 12px; height: 2px; background: var(--blue-3); border-radius: 2px; overflow: hidden; opacity: 0; }
.tab[aria-selected="true"] .bar-t { opacity: 1; }
.tab .bar-t i { display: block; height: 100%; width: 0; background: var(--blue); }
.tab[aria-selected="true"] .bar-t i { animation: tabfill 6s linear forwards; }
@keyframes tabfill { to { width: 100%; } }
.mock { position: relative; aspect-ratio: 5/4; border-radius: 28px; background: var(--blue); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0,71,186,.6); }
.mock .scene { position: absolute; inset: 0; padding: 28px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.mock .scene.on { opacity: 1; transform: none; }
.win { position: absolute; inset: 28px; border-radius: 18px; background: var(--white); overflow: hidden; }
.win-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #EEE; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E3E3E3; }
.skel { display: grid; gap: 10px; padding: 18px; }
.skel span { display: block; height: 12px; border-radius: 6px; background: #EEF1F6; }
.skel .hero-b { height: 110px; border-radius: 12px; background: linear-gradient(120deg, var(--blue), var(--blue-2)); position: relative; overflow: hidden; }
.skel .hero-b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35), transparent 70%); transform: translateX(-100%); }
.scene.on .skel .hero-b::after { animation: shine 1.6s .4s var(--ease); }
@keyframes shine { to { transform: translateX(100%); } }
.score { position: absolute; right: 44px; bottom: 44px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.score b { font-size: 1.6rem; color: #6EE7A0; }
.swatches { position: absolute; inset: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: end; }
.swatches i { aspect-ratio: 1/1.4; border-radius: 14px; transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.scene.on .swatches i { transform: none; opacity: 1; }
.scene.on .swatches i:nth-child(2) { transition-delay: .08s; } .scene.on .swatches i:nth-child(3) { transition-delay: .16s; } .scene.on .swatches i:nth-child(4) { transition-delay: .24s; }
.brand-mark { position: absolute; left: 28px; right: 28px; top: 28px; height: 46%; border-radius: 18px; background: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); color: var(--ink); }
.chart { position: absolute; inset: 28px; border-radius: 18px; background: var(--white); padding: 22px; display: flex; flex-direction: column; }
.chart b { font-size: 2.2rem; letter-spacing: -0.03em; }
.chart small { color: var(--ink-2); }
.chart svg { margin-top: auto; width: 100%; height: 55%; }
.chart path.l { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.scene.on .chart path.l { animation: draw 1.6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tagset { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tagset span { padding: 4px 10px; border-radius: 999px; background: var(--blue-3); color: var(--blue); font-size: .78rem; font-weight: 700; }

/* ===== Results band with counters ===== */
.dark { background: var(--ink); color: #EDEAE2; border-radius: 40px; margin-inline: clamp(8px, 1.5vw, 20px); }
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.results h2 { font-size: var(--step-3); }
.results h2 em { color: var(--sky); }
.results p { margin-top: 16px; color: #A6A39B; font-size: var(--step-1); }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.num { padding: 26px; border-radius: 22px; background: #151517; border: 1px solid #222226; transition: transform .5s var(--ease), border-color .4s; }
.num:hover { transform: translateY(-6px); border-color: var(--blue-2); }
.num b { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.num span { color: #A6A39B; font-size: var(--step--1); }

/* ===== Globe: three offices joined by flight arcs ===== */
.globe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.globe-grid h2 { font-size: var(--step-3); margin-top: 14px; }
.globe-grid p.l { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); }
#globe { width: 100%; aspect-ratio: 1; max-width: 520px; justify-self: center; cursor: grab; touch-action: pan-y; }
.cities { display: grid; gap: 10px; margin-top: 26px; }
.city { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--white); border: 0; cursor: pointer; text-align: start; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.city:hover { transform: translateY(-2px); }
.city[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--blue); }
.city .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-3); }
.city b { font-weight: 700; }
.city time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: var(--step--1); }

/* ===== Chat widget that types ===== */
.chat { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; padding: clamp(14px, 4vw, 22px); border-radius: 28px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(10,10,11,.4), inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: .98rem; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg small { display: block; font-weight: 700; font-size: .75rem; margin-bottom: 2px; opacity: .7; }
.msg.gb { background: var(--blue-3); color: var(--ink); border-end-start-radius: 6px; }
.msg.you { justify-self: end; background: var(--blue); color: #fff; border-end-end-radius: 6px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }
.chat-input { display: flex; gap: 8px; margin-top: 6px; }

.chat-input button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.chat-input button:hover { transform: rotate(-12deg) scale(1.06); }
.chat-input svg { width: 20px; height: 20px; }

/* ===== Testimonials: two rows drifting in opposite directions ===== */
.quotes { display: grid; gap: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.q-row { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
.q-row.rev { animation-direction: reverse; }
.quotes:hover .q-row { animation-play-state: paused; }
.q { width: 380px; padding: 24px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.q p { font-size: 1rem; }
.q footer { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: var(--step--1); }
.q .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: var(--blue); }
.q footer b { display: block; }
.q footer span { color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq summary { padding: 20px 24px; font-weight: 700; font-size: var(--step-0); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-3); position: relative; transition: transform .4s var(--ease), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--blue); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: var(--step-4); max-width: 12ch; margin-inline: auto; }
.final h2 em { color: var(--blue); }
.final .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .svc, .results, .globe-grid { grid-template-columns: minmax(0, 1fr); }
  .mock { order: -1; }
  .q { width: 300px; }
}
@media (max-width: 480px) { .nums { grid-template-columns: 1fr 1fr; } .num { padding: 18px; } .bird { width: 48px; height: 36px; } .logo span { display: none; } }
@media (max-width: 320px) { .nums { grid-template-columns: 1fr; } .bar .btn { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; } .msg { opacity: 1; transform: none; } .mock .scene.on .swatches i { opacity: 1; transform: none; }
  .chart path.l { stroke-dashoffset: 0; }
}

/* Screen-reader only text */
.visually-hidden { position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap }

/* =====================================================================
   Homepage additions: colourful hero, directory, why, process
   ===================================================================== */
.head h2 em, .intro h2 em { color: var(--blue); }
.center { text-align: center; margin-top: 40px; }
.chips a { transition: transform .3s var(--ease), box-shadow .3s; }
.chips a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--blue); }
.chips a i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* soft colour blobs drifting behind the hero */
.blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blobs .b1 { width: 380px; height: 380px; left: -80px; top: 12%; background: var(--sky); }
.blobs .b2 { width: 300px; height: 300px; right: -60px; top: 8%; background: #FFD27A; opacity: .45; }
.blobs .b3 { width: 260px; height: 260px; right: 12%; bottom: -60px; background: #FFB3A1; opacity: .4; }
.blobs .b4 { width: 240px; height: 240px; left: 18%; bottom: -80px; background: #C9B8FF; opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .blobs i { animation: drift 18s ease-in-out infinite alternate; }
  .blobs .b2 { animation-duration: 22s; animation-delay: -6s; } .blobs .b3 { animation-duration: 20s; animation-delay: -10s; } .blobs .b4 { animation-duration: 24s; animation-delay: -3s; }
}
@keyframes drift { to { transform: translate(40px, -30px) scale(1.12); } }

/* the drawn swoosh under the italic word */
.hero h1 em { position: relative; display: inline-block; }
.swoosh { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .28em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.2s .7s var(--ease) forwards; }

/* floating stickers around the headline */
.stickers { position: absolute; inset: 0; pointer-events: none; max-width: 1400px; margin-inline: auto; }
.stk { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: var(--white); box-shadow: 0 18px 40px -22px rgba(10,10,11,.45), inset 0 0 0 1px var(--line); font-weight: 700; font-size: .9rem; line-height: 1.25; }
.stk small { display: block; font-weight: 600; font-size: .72rem; color: var(--ink-2); letter-spacing: .02em; }
.stk.s1 { left: 6%; top: 24%; rotate: -6deg; flex-direction: column; align-items: flex-start; gap: 0; }
.stk.s1 b { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; color: #12A150; }
.stk.s2 { right: 5%; top: 22%; rotate: 4deg; }
.stk .spark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--blue-2)); color: #fff; }
.stk.s3 { left: 8%; bottom: 18%; rotate: 3deg; }
.dot-g { width: 10px; height: 10px; border-radius: 50%; background: #12A150; box-shadow: 0 0 0 5px rgba(18,161,80,.18); flex: none; }
.stk.s4 { right: 9%; bottom: 22%; rotate: -8deg; background: var(--amber); color: var(--ink); box-shadow: 0 18px 40px -22px rgba(242,169,0,.8); font-size: 1rem; }
.stk.s5 { left: 16%; top: 54%; rotate: 8deg; padding: 8px; gap: 5px; }
.stk.s5 i { width: 18px; height: 34px; border-radius: 6px; }
.badge { position: absolute; right: 18%; top: 54%; width: 116px; height: 116px; overflow: visible; }
.badge text { font: 800 10.4px var(--sans); letter-spacing: .17em; fill: var(--blue); }
.badge .spin { transform-origin: 60px 60px; }
@media (prefers-reduced-motion: no-preference) {
  .badge .spin { animation: spin 16s linear infinite; }
  .stk { animation: bob 5s ease-in-out infinite alternate; }
  .stk.s2 { animation-delay: -1.5s; } .stk.s3 { animation-delay: -3s; } .stk.s4 { animation-delay: -2s; } .stk.s5 { animation-delay: -4s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { to { transform: translateY(-12px); } }
@media (max-width: 1180px) { .stk.s5, .badge { display: none; } .stk.s1 { left: 3%; } .stk.s2 { right: 2%; } }
@media (max-width: 960px) { .stickers { display: none; } .blobs i { opacity: .3; } }

/* service directory */
.dir { columns: 3; column-gap: 14px; }
.dir-col { break-inside: avoid; margin-bottom: 14px; padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.dir-col h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); letter-spacing: 0; margin: 6px 0 12px; }
.dir-col ul { display: grid; gap: 2px; }
.dir-col a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-weight: 600; font-size: .95rem; border-bottom: 1px dashed var(--line); transition: color .3s, padding .3s var(--ease); }
.dir-col li:last-child a { border-bottom: 0; }
.dir-col a::after { content: "→"; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.dir-col a:hover { color: var(--blue); padding-left: 4px; }
.dir-col a:hover::after { opacity: 1; transform: none; }

/* why GameBird: colourful bento */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.w { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 30px); border-radius: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-start; transition: transform .5s var(--ease); }
.w:hover { transform: translateY(-6px) rotate(-.4deg); }
.w-wide { grid-column: span 2; }
.w h3 { position: relative; margin-top: auto; padding-top: 22px; font-family: var(--serif); font-weight: 400; font-size: var(--step-2); letter-spacing: 0; }
.w p { position: relative; margin-top: 8px; max-width: 46ch; }
.w-ic { position: relative; flex: none; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.w-big { position: absolute; inset-inline-end: 24px; top: -10px; pointer-events: none; font-family: var(--serif); font-size: clamp(6rem, 4rem + 8vw, 11rem); line-height: 1; opacity: .18; }
.w-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; } .w-blue p { color: #DCE6FF; }
.w-amber { background: var(--amber); color: var(--ink); }
.w-sky { background: #DCE9FF; color: var(--ink); } .w-sky .w-ic { color: var(--violet); }
.w-ink { background: var(--ink); color: #fff; } .w-ink p { color: #A6A39B; } .w-ink .w-ic { color: var(--sky); }
.w-coral { background: #FFE1D8; color: var(--ink); } .w-coral .w-ic { color: var(--coral); }

/* process steps, joined by a dashed flight path */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; border-top: 2px dashed rgba(0,71,186,.3); }
.step { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue); font-family: var(--serif); font-size: 1.6rem; color: var(--blue); transition: background-color .3s, color .3s; }
.step:hover .step-n { background: var(--blue); color: #fff; }
.step h3 { margin-top: 18px; font-size: 1.15rem; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }

/* =====================================================================
   Service pages
   ===================================================================== */
.p-hero { min-height: 0; text-align: start; padding: 140px 0 80px; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.p-hero h1 { margin: 14px 0 0; max-width: 16ch; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem); }
.p-hero .lede { margin: 20px 0 0; }
.p-hero .actions, .p-hero .chips { justify-content: flex-start; }
.p-hero .chips { margin-top: 26px; }
.hub-hero { text-align: center; padding-bottom: 40px; }
.hub-hero h1 { margin-inline: auto; max-width: 15ch; }
.hub-hero .lede { margin-inline: auto; }
.hub-hero .chips, .hub-hero .crumbs { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step--1); color: var(--ink-2); position: relative; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--blue); }
.p-hero .kicker { margin-top: 18px; position: relative; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); }
.intro h2 { font-size: var(--step-3); margin-top: 14px; }
.intro p { color: var(--ink-2); font-size: var(--step-1); }
.fit-h { margin-top: 24px; font-weight: 700; color: var(--ink) !important; font-size: var(--step-0) !important; }
.fit { display: grid; gap: 10px; margin-top: 12px; }
.fit li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.fit svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 28px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px var(--blue), 0 30px 50px -40px rgba(0,71,186,.6); }
.card-n { font-family: var(--serif); font-size: 2rem; color: var(--blue); line-height: 1; }
.card h3 { margin-top: 18px; font-size: 1.15rem; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.card:nth-child(3n+2) .card-n { color: var(--amber); } .card:nth-child(3n) .card-n { color: var(--coral); }

.rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rel-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 56px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.rel-card b { font-size: 1.1rem; }
.rel-card p { color: var(--ink-2); font-size: .95rem; }
.rel-card > .arr { position: absolute; inset-inline-start: 24px; bottom: 22px; width: 20px; height: 20px; color: var(--blue); transition: transform .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--blue); }
.rel-card:hover > .arr { transform: translateX(6px); }

.hub { display: grid; gap: clamp(48px, 7vw, 90px); }
.hub-group { scroll-margin-top: 100px; }
.hub-h { max-width: 640px; margin-bottom: 22px; }
.hub-h h2 { font-size: var(--step-3); margin-top: 8px; }
.hub-h p:last-child { margin-top: 10px; color: var(--ink-2); font-size: var(--step-1); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ----- hero mock visuals ----- */
.panel { text-align: start; position: absolute; inset: 28px; border-radius: 18px; background: var(--white); padding: 22px; overflow: hidden; }
.panel i { display: block; height: 10px; border-radius: 5px; background: #EEF1F6; margin-top: 10px; }
.panel i.s { width: 60%; }
.ring { width: 120px; height: 120px; margin: 0 auto 8px; border-radius: 50%; background: conic-gradient(var(--blue) 0 72%, var(--blue-3) 0); display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: .78rem; text-align: center; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0F0F0; font-weight: 600; font-size: .88rem; }
.st { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.st.ok { background: #12A150; } .st.warn { background: var(--amber); } .st.bad { background: var(--coral); }
.sbar { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #E3E3E3; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res { position: relative; padding: 14px 0 6px; border-bottom: 1px solid #F0F0F0; }
.res small { display: block; height: 8px; width: 30%; border-radius: 4px; background: #EEF1F6; font-size: .72rem; }
.res b { display: block; height: 12px; width: 70%; margin-top: 8px; border-radius: 6px; background: #C9D8F5; }
.res.top { padding-left: 14px; box-shadow: inset 3px 0 0 var(--blue); }
.res.top small { height: auto; width: auto; background: none; color: #12A150; font-weight: 700; }
.res.top b { background: var(--blue); }
.rank, .spon { position: absolute; right: 0; top: 12px; padding: 3px 10px; border-radius: 999px; background: var(--amber); font-weight: 800; font-size: .78rem; }
.spon { background: var(--ink); color: #fff; }
.serp[dir="rtl"] .res.top { padding: 14px 14px 6px 0; box-shadow: inset -3px 0 0 var(--blue); }
.serp[dir="rtl"] .rank { right: auto; left: 0; }
.ai .prompt { margin-left: auto; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; font-size: .88rem; font-weight: 600; }
.answer { margin-top: 14px; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: var(--blue-3); }
.answer .spark { color: var(--violet); font-size: 1.1rem; }
.answer i.m { height: auto; background: none; margin-top: 10px; }
.answer mark { padding: 2px 8px; border-radius: 6px; background: var(--amber); font-weight: 800; font-size: .85rem; font-style: normal; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cites span { padding: 4px 10px; border-radius: 999px; background: #F3F3F3; font-size: .72rem; font-weight: 700; }
.cites span:last-child { background: var(--ink); color: #fff; }
.map { padding: 0; background: #EAF1E4; }
.streets { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 47%, #fff 47% 51%, transparent 51%), linear-gradient(0deg, transparent 38%, #fff 38% 41%, transparent 41%), linear-gradient(30deg, transparent 60%, #fff 60% 62%, transparent 62%), linear-gradient(#DDE9F7 0 0) 70% 10% / 30% 25% no-repeat; }
.pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #B7B7B7; }
.pin.p1 { left: 20%; top: 22%; } .pin.p2 { left: 70%; top: 40%; }
.pin.me { left: 44%; top: 26%; width: 32px; height: 32px; background: var(--coral); box-shadow: 0 0 0 8px rgba(255,122,89,.25); }
.listing { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4); }
.listing b, .listing small { display: block; } .listing small { color: var(--ink-2); font-size: .78rem; }
.shop-top { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.cart { padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: .75rem; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.grid4 i { height: auto; aspect-ratio: 1.5; margin: 0; border-radius: 12px; background: radial-gradient(circle at 50% 60%, var(--c) 0 28%, #F4F1EA 29%); }
.toast { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.scene.on .toast { animation: pop .6s .8s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.doc .h { display: block; height: 18px; width: 80%; border-radius: 8px; background: var(--ink); }
.doc .tagset { margin: 14px 0 6px; }
.grade { position: absolute; right: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: #DDF6E7; color: #0E7A3D; font-weight: 800; font-size: .78rem; }
.doc[dir="rtl"] .grade { right: auto; left: 18px; }
.tree svg, .links svg { width: 100%; height: 100%; }
.tree .lines path, .links .lines path { fill: none; stroke: #C9D8F5; stroke-width: 2; stroke-dasharray: 4 4; }
.tree rect { fill: var(--blue-3); stroke: var(--blue); stroke-width: 1.5; }
.tree rect.n0 { fill: var(--blue); } .tree rect.lf { fill: #FFF1CC; stroke: var(--amber); }
.links circle { fill: var(--blue-3); stroke: var(--blue); stroke-width: 1.5; }
.links circle.hub { fill: var(--blue); }
.links circle:nth-of-type(2n) { fill: #FFF1CC; stroke: var(--amber); }
.code { background: #0F1220; }
.code pre { margin: 0; font: 500 .8rem/1.6 ui-monospace, Menlo, monospace; color: #C9D2F0; white-space: pre-wrap; }
.code .k { color: #FF9C85; } .code .a { color: var(--sky); } .code .v { color: #FFD27A; }
.valid { position: absolute; left: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: #12A150; color: #fff; font-weight: 800; font-size: .78rem; }
.flow { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; }
.node { padding: 14px 22px; border-radius: 16px; background: var(--blue-3); color: var(--blue); font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--blue); font-family: ui-monospace, Menlo, monospace; font-size: .9rem; }
.node:nth-of-type(2) { background: #FFF1CC; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--amber); }
.node:last-child { background: var(--blue); color: #fff; }
.link { width: 2px; height: 34px; background: repeating-linear-gradient(var(--blue) 0 5px, transparent 5px 10px); background-size: 2px 20px; }
@media (prefers-reduced-motion: no-preference) { .link { animation: flowdash 1s linear infinite; } }
@keyframes flowdash { to { background-position: 0 20px; } }
.video .frame { position: relative; height: 62%; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--violet)); display: grid; place-items: center; }
.play { width: 54px; height: 54px; border-radius: 50%; background: #fff; position: relative; }
.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--blue); border-block: 10px solid transparent; }
.cap { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 4px 10px; border-radius: 6px; background: var(--amber); font-weight: 800; font-size: .78rem; white-space: nowrap; }
.track { display: flex; gap: 4px; margin-top: 12px; }
.track i { width: var(--w); height: 22px; margin: 0; border-radius: 6px; background: var(--c); }
.track.a { margin-top: 6px; } .track.a i { height: 12px; }
.reviews { display: grid; gap: 10px; align-content: center; }
.rev { padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px #EEE; }
.rev i { margin-top: 8px; }
.rev.reply { margin-left: 18%; background: var(--blue-3); box-shadow: none; }
.rev.reply small { font-weight: 800; color: var(--blue); font-size: .75rem; }
.social { background: linear-gradient(135deg, #FFE1D8, #DCE9FF); display: grid; place-items: center; }
.phone { width: 52%; height: 100%; border-radius: 22px; background: #fff; padding: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.ph-top { display: flex; gap: 8px; align-items: center; } .ph-top .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), var(--coral)); }
.ph-top b { display: block; width: 50%; height: 8px; border-radius: 4px; background: #EEE; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
.posts i { margin: 0; height: auto; aspect-ratio: 1; border-radius: 4px; background: var(--c); }
.like { position: absolute; right: 16px; top: 20px; padding: 8px 12px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; font-size: .8rem; rotate: 6deg; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 38%; margin-top: 16px; }
.bars i { flex: 1; height: var(--h); margin: 0; border-radius: 6px 6px 0 0; background: linear-gradient(var(--blue-2), var(--blue)); }
.lang .lh { font: 700 .8rem ui-monospace, Menlo, monospace; color: var(--ink-2); }
.lang ul { display: grid; gap: 8px; margin-top: 10px; }
.lang li { display: grid; grid-template-columns: 36px 64px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px #EEE; font-size: .88rem; }
.lang li:nth-child(3) { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-3); }
.flag { display: grid; place-items: center; width: 34px; height: 26px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; font-size: .72rem; }
.lang li:nth-child(2) .flag { background: var(--blue); } .lang li:nth-child(3) .flag { background: #12A150; } .lang li:nth-child(4) .flag { background: var(--amber); color: var(--ink); }
.lang b { font-family: ui-monospace, Menlo, monospace; font-size: .82rem; }
.lang small { color: var(--ink-2); text-align: end; }

/* ----- footer ----- */
.foot { padding: 60px 0 40px; color: var(--ink-2); font-size: var(--step--1); border-top: 1px solid var(--line); background: var(--paper-2); margin-top: 40px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr)); gap: 26px; }
.foot-brand p { margin-top: 12px; max-width: 30ch; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.socials a, .foot-cols ul a { transition: color .3s; }
.socials a:hover, .foot-cols ul a:hover { color: var(--blue); }
.foot-h { font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.foot-cols ul { display: grid; gap: 7px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-base a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .p-hero-grid, .intro { grid-template-columns: minmax(0, 1fr); }
  .p-hero { padding-top: 120px; }
  .why, .cards, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir { columns: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .why, .cards, .cards.three, .rel, .steps { grid-template-columns: minmax(0, 1fr); }
  .dir { columns: 1; }
  .w-wide { grid-column: auto; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { inset: 16px; padding: 16px; } .mock .scene { padding: 16px; }
  .lang li { grid-template-columns: 34px 1fr; } .lang small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .swoosh path { stroke-dashoffset: 0; } }

/* ----- industry and location pages ----- */
.card { display: flex; flex-direction: column; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .92rem; color: var(--blue); }
.card-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }
.loc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: var(--step--1); color: var(--ink-2); }
.loc-meta time { font-variant-numeric: tabular-nums; color: var(--ink); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(110,231,160,.25); }
.chips.areas { justify-content: flex-start; margin-top: 12px; }
.chips.areas span { font-size: .85rem; padding: 6px 14px; }
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reach-col { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.reach-col:last-child { background: var(--blue); color: #fff; box-shadow: none; }
.reach-col:last-child .kicker { color: var(--sky); }
.reach-col h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); letter-spacing: 0; margin: 6px 0 4px; }
.reach-col .chips { justify-content: flex-start; margin-top: 16px; }
.reach-col:last-child .chips a { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff; }
.reach-all { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-weight: 700; }
.reach-all svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.reach-all:hover svg { transform: translateX(5px); }
.foot-more { display: grid; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-more p { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-more .foot-h { margin: 0; margin-inline-end: 4px; }
.foot-more a { transition: color .3s; }
.foot-more a:hover { color: var(--blue); }
@media (max-width: 640px) { .reach { grid-template-columns: minmax(0, 1fr); } }

/* ----- icons and brand logos ----- */
.ic { width: 1em; height: 1em; flex: none; }
.lg { width: 1em; height: 1em; flex: none; fill: currentColor; }
.lg-shopify { color: #5E8E3E; } .lg-woocommerce { color: #96588A; } .lg-wordpress { color: #21759B; } .lg-webflow { color: #146EF5; }
.lg-magento { color: #EE672F; } .lg-salla { color: #004D5A; } .lg-google { color: #4285F4; } .lg-googlesearchconsole { color: #458CF5; }
.lg-googleanalytics { color: #E37400; } .lg-googleads { color: #4285F4; } .lg-openai { color: #0A0A0B; } .lg-claude { color: #D97757; }
.lg-anthropic { color: #191919; } .lg-perplexity { color: #1FB8CD; } .lg-googlegemini { color: #8E75B2; } .lg-meta { color: #0467DF; }
.lg-instagram { color: #E4405F; } .lg-tiktok { color: #0A0A0B; } .lg-snapchat { color: #0A0A0B; } .lg-youtube { color: #FF0000; }
.lg-linkedin { color: #0A66C2; } .lg-semrush { color: #FF642D; } .lg-hubspot { color: #FF7A59; } .lg-zapier { color: #FF4F00; }
.lg-make { color: #6D00CC; } .lg-n8n { color: #EA4B71; } .lg-figma { color: #F24E1E; } .lg-canva { color: #00C4CC; } .lg-whatsapp { color: #25D366; }
/* icon badge on cards */
.ib { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-3); color: var(--blue); font-size: 24px; flex: none; transition: transform .5s var(--ease), background .3s, color .3s; }
.ib-logo { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.card { position: relative; }
.card .card-n { position: absolute; top: 26px; inset-inline-end: 28px; font-size: 1.3rem; opacity: .9; }
.card h3 { margin-top: 20px; }
.card:nth-child(3n+2) .ib:not(.ib-logo) { background: #FFF3D6; color: #A06F00; }
.card:nth-child(3n) .ib:not(.ib-logo) { background: #FFE6DE; color: #C2451F; }
.card:hover .ib:not(.ib-logo) { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.rel-card .ib { width: 44px; height: 44px; font-size: 22px; margin-bottom: 8px; }
.rel-card:hover .ib:not(.ib-logo) { background: var(--blue); color: #fff; }
.dir-col .ib { width: 42px; height: 42px; font-size: 21px; margin-bottom: 12px; }
.kicker .kic { font-size: 1.15em; vertical-align: -.2em; margin-inline-end: 8px; }
.chips a .ic, .chips span .ic { font-size: 1.05em; color: var(--blue); }
.reach-col:last-child .chips a .ic { color: var(--sky); }
/* "Works with" logo row in heroes */
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .85rem; font-weight: 700; }
.works > span:first-child { color: var(--ink-2); margin-inline-end: 4px; }
.wk { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.wk .lg { font-size: 1.15rem; }
.hub-hero .works, .p-hero .works { justify-content: flex-start; }
/* hero stickers with logos */
.stk-l { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; }
.stk.s4 .stk-l { box-shadow: none; }
.stk.s4 small { color: rgba(10,10,11,.7); }
/* client strip */
.logos-track { align-items: center; gap: 48px; }
.cl { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; color: #7A7E89; white-space: nowrap; transition: color .3s; }
.cl:hover { color: var(--ink); }
.cl img, .cl i { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; flex: none; }
.cl img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; background: var(--white); }
.cl:hover img { filter: none; opacity: 1; }
.cl i, .cc-top i { display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 800; color: #fff; background: var(--c); letter-spacing: .02em; }
/* client cards */
.ccs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cc { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .3s; }
.cc:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--blue); }
.cc-top { display: flex; align-items: center; gap: 14px; }
.cc-top img, .cc-top i { width: 52px; height: 52px; border-radius: 14px; object-fit: contain; flex: none; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); padding: 6px; }
.cc-top i { padding: 0; font-size: 1rem; box-shadow: none; background: var(--c); }
.cc-top b { display: block; font-size: 1.1rem; }
.cc-top small { color: var(--ink-2); font-size: .85rem; }
.cc p { color: var(--ink-2); font-size: .97rem; }
.cc-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; font-weight: 700; }
.cc-foot a { color: var(--blue); }
/* platform logos */
.pls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.pl { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .92rem; transition: transform .4s var(--ease), box-shadow .3s; }
.pl .lg { font-size: 26px; }
.pl:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--blue); }
@media (max-width: 960px) { .ccs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ccs { grid-template-columns: minmax(0, 1fr); } .pls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl img.wide { width: auto; height: 24px; max-width: 140px; border-radius: 0; background: none; }
.cc-top img.wide { width: 120px; height: 52px; padding: 12px; object-fit: contain; }

/* ======================================================================
   2026-11 additions: real logos, mobile menu, language switch, RTL,
   forms, newsletter, blog, legal pages, foldables (iPhone Duo et al.)
   ====================================================================== */
body { background: var(--cream); }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.section:nth-of-type(even):not(.dark):not(.hero) { background: linear-gradient(var(--cream-2), var(--cream-2)) no-repeat; }

/* client strip: real logos in colour, no fake initials */
.cl img { filter: none; opacity: 1; }
.cl img.inv { filter: invert(1); }
.cl { color: #6B6E78; }
.cc-top img.inv { filter: invert(1); }

/* header: menu button + language link */
.bar-r { display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.lang:hover { background: var(--blue-3); }
.lang .ic { font-size: 1.1rem; color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue-3); color: var(--blue); cursor: pointer; place-items: center; font-size: 22px; }
#menu { margin: 0; inset: 0 0 auto auto; width: min(100%, 420px); max-height: 100dvh; overflow: auto; border: 0; padding: calc(20px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 28px 22px; background: var(--white); color: var(--ink); box-shadow: -30px 0 60px -40px rgba(10,10,11,.5); border-end-start-radius: 28px; }
[dir="rtl"] #menu { inset: 0 auto auto 0; box-shadow: 30px 0 60px -40px rgba(10,10,11,.5); }
#menu::backdrop { background: rgba(10,10,11,.35); }
#menu .menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
#menu .menu-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-2); cursor: pointer; font-size: 20px; display: grid; place-items: center; }
#menu nav { display: grid; gap: 4px; }
#menu nav a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 14px; font-weight: 700; font-size: 1.1rem; }
#menu nav a:hover { background: var(--blue-3); }
#menu nav .ic { color: var(--blue); font-size: 1.2rem; }
#menu .btn { width: 100%; justify-content: center; margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  #menu { transition: translate .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; translate: 0 0; }
  @starting-style { #menu:popover-open { translate: 100% 0; } [dir="rtl"] #menu:popover-open { translate: -100% 0; } }
}
@media (max-width: 960px) { .menu-btn { display: grid; } .bar > .btn { display: none; } }

/* contact form inside the chat card */
.chat-form { display: grid; gap: 10px; margin-top: 6px; }
.chat-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fld { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.fld input, .fld textarea, .nl-form input[type="email"] { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line); font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream); }
.fld textarea { field-sizing: content; min-height: 96px; max-height: 320px; resize: vertical; }
.fld input:focus-visible, .fld textarea:focus-visible, .nl-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.fld input:user-invalid, .fld textarea:user-invalid, .nl-form input:user-invalid { border-color: #C2451F; }
.fld input:autofill, .nl-form input:autofill { box-shadow: inset 0 0 0 100px #EEF4FF, inset 4px 0 0 0 var(--blue); }
.form-note { font-size: .8rem; color: var(--ink-2); }
.form-note a, .nl-consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-foot .btn { min-height: 50px; background: var(--blue); color: #fff; border-color: var(--blue); }
.form-foot .btn::before { background: var(--ink); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #127A43; } .form-status.err { color: #B23A17; }
@media (max-width: 560px) { .chat-form .row { grid-template-columns: minmax(0, 1fr); } }

/* newsletter (footer + articles) */
.nl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 44px; }
.nl h2 { font-size: var(--step-2); font-family: var(--serif); }
.nl p { color: var(--ink-2); margin-top: 8px; }
.nl-form { display: grid; gap: 10px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; }
.nl-row .btn { min-height: 50px; background: var(--ink); color: #fff; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-2); line-height: 1.5; }
.nl-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
@media (max-width: 760px) { .nl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .nl-row { flex-direction: column; } .nl-row .btn { justify-content: center; } }

/* globe legend */
.globe-key { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.globe-key span { display: inline-flex; align-items: center; gap: 8px; }
.globe-key i { width: 12px; height: 12px; border-radius: 50%; }
.k-off { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-3); }
.k-cli { background: var(--amber); width: 9px !important; height: 9px !important; }

/* ===== Blog ===== */
.blog-hero { padding-bottom: 40px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--blue); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.post-card .pc-body { display: grid; gap: 10px; padding: 22px; }
.post-card h2, .post-card h3 { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); line-height: 1.1; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.post-meta .ic { color: var(--blue); vertical-align: -.15em; margin-inline-end: 4px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: minmax(0, 1fr); } }

.art-hero { padding: 130px 0 30px; position: relative; }
.art-hero .wrap { max-width: 980px; }
.art-hero h1 { font-size: var(--step-3); margin-top: 14px; max-width: 22ch; }
.art-hero .dek { margin-top: 16px; font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.art-hero .post-meta { margin-top: 22px; }
.byline { display: inline-flex; align-items: center; gap: 10px; }
.byline .av { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.byline .av svg { width: 22px; height: 16px; }
.cover { max-width: 980px; margin: 26px auto 0; padding-inline: var(--gutter); }
.cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 28px; display: block; box-shadow: 0 30px 60px -40px rgba(10,10,11,.4); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 64px); max-width: 1180px; margin: 40px auto 0; padding-inline: var(--gutter); align-items: start; }
.prose { font-size: 1.1rem; line-height: 1.75; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; line-height: 1.15; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-inline-start: 3px solid var(--blue); font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--cream-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { font-weight: 800; background: var(--cream-2); }
.callout { padding: 18px 20px 18px 54px; border-radius: 18px; position: relative; background: var(--blue-3); }
.callout::before { content: ""; position: absolute; inset-inline-start: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 8v.01M12 11v5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.callout.warn { background: #FFF3D6; } .callout.warn::before { background-color: #A06F00; }
[dir="rtl"] .callout { padding: 18px 54px 18px 20px; }
.tldr { padding: 24px 26px; border-radius: 24px; background: var(--ink); color: #EDEAE2; }
.tldr p.kicker { color: var(--sky); display: flex; align-items: center; gap: 8px; }
.tldr ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 12px; }
.tldr li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1.02rem; line-height: 1.55; }
.tldr li svg { width: 20px; height: 20px; color: var(--mint); margin-top: 3px; }
.toc { position: sticky; top: 100px; display: grid; gap: 14px; }
.toc-box { padding: 20px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.toc-box p.kicker { display: flex; justify-content: space-between; align-items: center; }
.toc ol { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 2px; counter-reset: toc; }
.toc li a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 10px; border-radius: 12px; font-size: .92rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; counter-increment: toc; transition: background .25s, color .25s; }
.toc li a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 800; font-size: .8rem; padding-top: 2px; }
.toc li a:hover { background: var(--cream-2); color: var(--ink); }
.toc li a[aria-current="true"] { background: var(--blue-3); color: var(--blue); }
.toc-progress { height: 4px; border-radius: 4px; background: var(--cream-2); overflow: hidden; margin-top: 14px; }
.toc-progress i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .toc-progress i { transform-origin: right; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) { .toc-progress i { animation: grow linear both; animation-timeline: scroll(root); } }
}
@keyframes grow { to { transform: scaleX(1); } }
.toc details summary { display: none; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 700 .85rem var(--sans); cursor: pointer; color: var(--ink); }
.share .lg { font-size: 1rem; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-top: 2.4em; }
.author-box .av { width: 56px; height: 56px; }
.author-box b { font-size: 1.05rem; }
.author-box p { font-size: .95rem; color: var(--ink-2); margin-top: 4px; }
.sources { font-size: .92rem; }
.sources ol { list-style: decimal; padding-inline-start: 1.3em; }
.sources a { word-break: break-word; }
@media (max-width: 960px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; }
  .toc-box { padding: 6px 8px; }
  .toc details summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; cursor: pointer; list-style: none; font-weight: 800; }
  .toc details summary::-webkit-details-marker { display: none; }
  .toc details summary .ic { transition: rotate .3s var(--ease); }
  .toc details[open] summary .ic { rotate: 180deg; }
  .toc .toc-desk { display: none; }
  .toc-progress { display: none; }
  .toc-share { display: none; }
}
@media (min-width: 961px) { .toc details { display: contents; } .toc details > :not(summary) { display: block; } }
details { interpolate-size: allow-keywords; }

/* legal + simple pages */
.legal { max-width: 820px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.legal h1 { font-size: var(--step-3); }
.legal .upd { color: var(--ink-2); margin-top: 10px; font-weight: 600; }
.legal .prose { margin-top: 30px; }
.status-page { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 130px var(--gutter) 60px; }
.status-page .ib { width: 64px; height: 64px; font-size: 32px; border-radius: 20px; }
.status-page h1 { font-size: var(--step-3); margin-top: 18px; }
.status-page p { color: var(--ink-2); margin: 12px auto 26px; max-width: 46ch; }

/* ===== Arabic / RTL ===== */
[dir="rtl"] body { font-family: "Plex Arabic", var(--sans); line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .w h3, [dir="rtl"] .dir-col h3, [dir="rtl"] .post-card h2, [dir="rtl"] .post-card h3, [dir="rtl"] .nl h2 { font-family: "Plex Arabic", var(--sans); font-weight: 700; line-height: 1.3; letter-spacing: 0; }
[dir="rtl"] .hero h1, [dir="rtl"] .final h2 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.8rem); line-height: 1.25; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em { font-style: normal; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: .9rem; }
[dir="rtl"] .bar { padding: 8px 20px 8px 8px; }
[dir="rtl"] .kicker .kic { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .card .card-n { right: auto; left: 28px; }
[dir="rtl"] .btn svg, [dir="rtl"] .rel-card > svg:last-child, [dir="rtl"] .reach-all svg, [dir="rtl"] .card-link svg { scale: -1 1; }
[dir="rtl"] .btn:hover svg { transform: translateX(-4px) rotate(12deg); }
[dir="rtl"] .city:hover { transform: translateX(-6px); }
[dir="rtl"] .works > span:first-child { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .wk { padding: 6px 10px 6px 12px; }
[dir="rtl"] .prose blockquote { padding: 4px 20px 4px 0; }
[dir="rtl"] .toc li a::before { content: counter(toc, arabic-indic); }
[dir="rtl"] .logos-track { animation-direction: reverse; }
[dir="rtl"] .crumbs, [dir="rtl"] .post-meta { direction: rtl; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ===== Foldables and small/odd screens =====
   iPhone Duo: cover ~466×678 CSS px, inner ~626×890 portrait / 890×626 landscape.
   Galaxy Z Fold/Pixel Fold: cover ~344–412 px, inner ~674–884 px, near-square. */
@media (min-width: 560px) and (max-width: 960px) {
  .cards, .cards.three, .rel, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-wide { grid-column: 1 / -1; }
  .ccs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir { columns: 2; }
  .reach { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 559px) { .dir { columns: 1; } }
/* near-square inner screens: don't force full-height heroes that crop content */
@media (min-aspect-ratio: 4/5) and (max-aspect-ratio: 5/4) and (max-width: 1100px) {
  .hero { min-height: auto; padding-top: 120px; }
  .globe-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc .mock { order: 0; }
}
/* short landscape (phones on their side, folded landscape) */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; padding: 100px 0 50px; }
  .top { top: 8px; }
  .art-hero { padding-top: 96px; }
  .toc { position: static; }
}
/* very narrow cover screens (Fold cover ~280–344 px) */
@media (max-width: 360px) {
  :root { --step-0: 1rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .btn { padding: 0 18px; min-height: 50px; }
  .bar { padding-inline-start: 14px; }
  .w, .card, .cc, .dir-col { padding: 20px; }
  .city { grid-template-columns: auto 1fr; } .city time { grid-column: 2; }
}
/* dual-screen / spanning a hinge (viewport segments API) */
@media (horizontal-viewport-segments: 2) {
  .p-hero-grid, .globe-grid, .svc, .intro, .art-grid { grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0); column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0) + 32px); }
}
@media (vertical-viewport-segments: 2) {
  .hero { min-height: env(viewport-segment-height 0 0); }
}
/* safe areas (rounded corners, Dynamic Island, hinge notch) */
.top { top: max(14px, env(safe-area-inset-top)); }
.foot { padding-bottom: max(40px, env(safe-area-inset-bottom)); }

/* long pages: skip rendering offscreen sections until needed */
.section:not(.hero):not(#offices):not(#services) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.pl { min-width: 0; } .pl span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 360px) { .pls { grid-template-columns: minmax(0, 1fr); } }
.markets-h { margin-top: 22px; font-weight: 800; font-size: .9rem; }
.markets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.markets li { padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; font-weight: 600; }
.markets li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-inline-end: 8px; vertical-align: .05em; }
