/* self-hosted fonts (SIL Open Font License, see fonts/NOTICE.txt) */
@font-face { font-family: "Alexandria"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/alexandria-arabic-500-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Alexandria"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/alexandria-latin-500-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("fonts/sora-latin-600-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #041022;
  --navy-900: #06172c;
  --navy-800: #0a2341;
  --navy-700: #12325a;
  --teal-300: #5ee7ea;
  --teal-400: #16cdd3;
  --teal-500: #00a9b7;
  --teal-700: #00727e;          /* teal for text on light backgrounds (AA) */
  --ink: #0b1a31;
  --muted: #46586f;
  --line: #dfe8f0;
  --tint: #f3f8fa;
  --white: #fff;
  --on-dark: #e8f1f8;
  --on-dark-muted: #b7c9de;
  --danger: #b42318;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgb(6 23 44 / .05), 0 12px 32px -16px rgb(6 23 44 / .18);
  --shadow-lg: 0 30px 60px -28px rgb(6 23 44 / .35);
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[lang="ar"] { --font: "IBM Plex Sans Arabic", system-ui, sans-serif; --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: normal; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
[lang="ar"] body { line-height: 1.8; }

:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.skip { position: fixed; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.3; text-align: center; transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal-400); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-300); box-shadow: 0 12px 28px -12px rgb(22 205 211 / .7); }
.btn-ghost { border-color: rgb(255 255 255 / .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .07); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .i { transition: translate .2s var(--ease); }
.btn:hover .i { translate: 3px 0; }
[dir="rtl"] .btn:hover .i { translate: -3px 0; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background-color .25s, box-shadow .25s, color .25s; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; transition: height .25s var(--ease); }
.brand { display: block; flex: none; width: 146px; position: relative; }
.brand .on-light { position: absolute; inset: 0; opacity: 0; }
.brand .on-dark, .brand .on-light { display: block; transition: opacity .25s; }
.top nav > ul { display: flex; gap: 4px; }
.nav-social { display: none; }
.top nav > ul a { display: block; padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: .93rem; opacity: .86; transition: opacity .2s, background-color .2s; }
.top nav > ul a:hover, .top nav > ul a[aria-current="true"] { opacity: 1; background: rgb(127 160 195 / .16); }
.nav-cta { display: none !important; }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; font-weight: 700; font-size: .9rem; border-radius: 999px; }
.lang:hover { background: rgb(127 160 195 / .16); }
.lang .i { width: 18px; height: 18px; }
.head-cta { padding-inline: 18px; }
.burger { display: none; width: 44px; height: 44px; padding: 11px; background: none; border: 0; border-radius: 12px; }
.burger span { display: block; height: 2px; margin: 4px 0; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.top.is-stuck, .top.is-open { background: rgb(255 255 255 / .94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgb(6 23 44 / .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top.is-stuck .bar { height: 72px; }
.top.is-stuck .brand { width: 126px; }
.top.is-stuck .on-dark, .top.is-open .on-dark { opacity: 0; }
.top.is-stuck .on-light, .top.is-open .on-light { opacity: 1; }
.top.is-stuck .head-cta { background: var(--navy-900); color: var(--white); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); padding-top: 132px;
  background:
    radial-gradient(900px 520px at 82% 18%, rgb(0 169 183 / .24), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgb(24 74 130 / .45), transparent 65%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); }
[dir="rtl"] .hero { background:
    radial-gradient(900px 520px at 18% 18%, rgb(0 169 183 / .24), transparent 62%),
    radial-gradient(700px 500px at 100% 100%, rgb(24 74 130 / .45), transparent 65%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 75%); }
.waves { position: absolute; z-index: -1; inset-inline-end: -420px; top: 50%; width: 1100px; aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.waves i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgb(94 231 234 / .16); }
.waves i:nth-child(1) { width: 45%; height: 45%; }
.waves i:nth-child(2) { width: 63%; height: 63%; opacity: .75; }
.waves i:nth-child(3) { width: 81%; height: 81%; opacity: .5; }
.waves i:nth-child(4) { width: 100%; height: 100%; opacity: .3; }
[dir="rtl"] .waves { translate: 0 -50%; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(24px, 5vw, 64px); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; padding-inline: 12px 16px; border: 1px solid rgb(94 231 234 / .3); border-radius: 999px; background: rgb(94 231 234 / .08); color: var(--teal-300); font-weight: 700; font-size: .83rem; }
.hero h1 { margin-top: 24px; color: var(--white); font-size: clamp(2.1rem, .9rem + 4vw, 4.2rem); font-weight: 800; line-height: 1.07; }
[lang="ar"] .hero h1 { line-height: 1.3; font-weight: 700; }
.hero h1 em, .contact h2 em { display: block; background: linear-gradient(100deg, var(--teal-300), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-lede { margin-top: 22px; max-width: 54ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.signal { width: 64px; height: 64px; }
.signal.sm { width: 20px; height: 20px; }
.sg-dot { fill: currentColor; }
.sg-in { stroke: currentColor; }
.sg-out { stroke: var(--teal-400); }

.orbit { position: relative; margin: 0; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; direction: ltr; }
.orbit > svg { width: 100%; height: 100%; overflow: visible; fill: none; }
.orbit .ring { stroke: rgb(148 190 225 / .22); stroke-width: .25; }
.orbit .dashed { stroke-dasharray: .8 1.8; transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.orbit .spokes line { stroke: rgb(148 190 225 / .22); stroke-width: .3; }
.orbit .pulse { stroke: var(--teal-300); stroke-width: .7; stroke-linecap: round; stroke-dasharray: 9 200; stroke-dashoffset: 9; animation: travel 4.2s linear infinite; }
.orbit .p1 { animation-delay: .7s; } .orbit .p2 { animation-delay: 1.4s; } .orbit .p3 { animation-delay: 2.1s; } .orbit .p4 { animation-delay: 2.8s; } .orbit .p5 { animation-delay: 3.5s; }
[dir="rtl"] .node span, [dir="rtl"] .core strong { direction: rtl; }
.core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-content: center; justify-items: center; gap: 6px; width: 34%; aspect-ratio: 1; border-radius: 50%; text-align: center; color: var(--white);
  background: radial-gradient(circle at 35% 30%, var(--navy-700), var(--navy-900) 75%); border: 1px solid rgb(94 231 234 / .4); box-shadow: 0 0 0 10px rgb(22 205 211 / .07), 0 0 70px rgb(22 205 211 / .28); }
.core .signal { width: 38%; height: auto; aspect-ratio: 1; }
.core strong { font-size: clamp(.66rem, .5rem + .5vw, .85rem); line-height: 1.35; padding-inline: 10px; }
.node { position: absolute; translate: -50% -50%; }
.node span { display: flex; align-items: center; gap: 8px; padding: 11px 15px; white-space: nowrap; border-radius: 14px; background: rgb(13 41 73 / .88); border: 1px solid rgb(148 190 225 / .24); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .7); color: var(--white); font-weight: 700; font-size: .85rem; backdrop-filter: blur(8px); animation: float 7s ease-in-out infinite; }
.node .i { width: 18px; height: 18px; color: var(--teal-300); }
.n1 span { animation-delay: -1.2s; } .n2 span { animation-delay: -2.4s; } .n3 span { animation-delay: -3.6s; } .n4 span { animation-delay: -4.8s; } .n5 span { animation-delay: -6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes travel { 0% { stroke-dashoffset: 9; } 55%, 100% { stroke-dashoffset: -100; } }
@keyframes float { 50% { transform: translateY(-6px); } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / .12); }
.pillars li { padding: 26px 0 30px; }
.pillars li + li { border-inline-start: 1px solid rgb(255 255 255 / .12); padding-inline-start: 28px; }
.pillars span { display: block; color: var(--teal-300); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pillars strong { display: block; margin-top: 4px; color: var(--white); font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); }
[lang="ar"] .pillars span { letter-spacing: 0; font-size: .85rem; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--teal-700); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--teal-500); }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); font-weight: 800; }
[lang="ar"] h2 { font-weight: 700; }
.lede { margin-top: 18px; color: var(--muted); font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); max-width: 62ch; }
.kicker { color: var(--teal-700); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
[lang="ar"] .kicker { letter-spacing: 0; font-size: .88rem; }
.note { margin-top: 28px; color: var(--muted); font-size: .92rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.statement { position: relative; overflow: hidden; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); color: var(--on-dark-muted); background: radial-gradient(circle at 100% 0, #0f4468, var(--navy-900) 62%); }
[dir="rtl"] .statement { background: radial-gradient(circle at 0 0, #0f4468, var(--navy-900) 62%); }
.statement .big { position: relative; color: var(--white); font-size: clamp(1.35rem, 1rem + 1.35vw, 2.05rem); font-weight: 700; line-height: 1.45; }
.signal.ghost { position: absolute; top: 26px; inset-inline-end: 26px; width: clamp(90px, 14vw, 170px); height: auto; aspect-ratio: 1; color: rgb(255 255 255 / .14); }
.statement { min-height: 400px; }
.mv { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--tint); }
.mv h3 { margin: 10px 0; font-size: 1.45rem; }
.mv p:last-child { color: var(--muted); }
.principles-k { margin: 56px 0 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles li { border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.principles li::before { content: ""; position: absolute; top: -2px; inset-inline-start: 0; width: 56px; height: 2px; background: var(--teal-500); }
.principles .num { color: var(--muted); font-weight: 800; font-size: .85rem; }
.principles h3 { margin: 8px 0; font-size: 1.15rem; }
.principles p { color: var(--muted); }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--teal-400), var(--navy-700)); scale: 0 1; transform-origin: left; transition: scale .35s var(--ease); }
[dir="rtl"] .card::after { transform-origin: right; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { scale: 1 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--navy-900); color: var(--teal-300); }
.ico .i { width: 25px; height: 25px; }
.card .num { color: #c3d3e0; font-size: 1.9rem; font-weight: 800; }
.card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.card p { color: var(--muted); font-size: .96rem; }
.edition { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 20px; padding: 28px 32px; border-radius: var(--r); background: var(--navy-900); color: var(--on-dark); }
.edition .kicker { color: var(--teal-300); margin-bottom: 4px; }

/* expertise */
.explorer { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tabs { display: none; flex-direction: column; gap: 8px; }
.js .tabs { display: flex; }
.tabs button { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 14px 18px; text-align: start; font-weight: 700; line-height: 1.4; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: background-color .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--teal-500); }
.tabs button .i { color: var(--teal-700); }
.tabs button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.tabs button[aria-selected="true"] .i { color: var(--teal-300); }
.panels { min-width: 0; }
.panel { height: 100%; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); }
.panel + .panel { margin-top: 16px; }
.js .panel { display: none; margin-top: 0; }
.js .panel.is-active { display: flex; flex-direction: column; animation: rise .4s var(--ease); }
.panel h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.panel > p { margin-top: 10px; color: var(--muted); max-width: 58ch; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; margin: 28px 0 32px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #d3f2f3; color: var(--teal-700); stroke-width: 3; }
.flow { margin-top: auto; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.flow > p { color: var(--muted); font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.flow ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: .86rem; line-height: 1.35; }
.flow li + li::before { content: ""; position: absolute; top: 17px; inset-inline-end: calc(50% + 24px); width: calc(100% - 40px); height: 2px; background: var(--line); }
.step { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: var(--teal-300); font-size: .85rem; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* work */
.dark { color: var(--on-dark); background: radial-gradient(800px 500px at 50% 0, rgb(0 169 183 / .16), transparent 65%), var(--navy-900); }
.dark h2 { color: var(--white); }
.dark .eyebrow { color: var(--teal-300); }
.dark .lede, .dark .note { color: var(--on-dark-muted); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgb(255 255 255 / .08), rgb(255 255 255 / .025)); border: 1px solid rgb(255 255 255 / .12); transition: border-color .25s, transform .25s var(--ease); }
.case:hover { border-color: rgb(94 231 234 / .55); transform: translateY(-4px); }
.case .kicker { color: var(--teal-300); min-height: 3.3em; }
.case h3 { margin: 14px 0; color: var(--white); font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.4rem); }
.case > p:not(.kicker) { color: var(--on-dark-muted); margin-bottom: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
.tags li { padding: 5px 12px; border-radius: 999px; background: rgb(94 231 234 / .1); color: var(--on-dark); font-size: .79rem; font-weight: 700; }

/* process */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline li { position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; top: 26px; inset-inline: 64px -8px; height: 2px; background: linear-gradient(90deg, var(--teal-500), var(--line)); }
[dir="rtl"] .timeline li:not(:last-child)::before { background: linear-gradient(270deg, var(--teal-500), var(--line)); }
.dot { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 17px; background: var(--navy-900); color: var(--white); font-weight: 800; box-shadow: 0 0 0 6px #e3f6f7; }
.timeline h3 { margin: 24px 0 8px; font-size: 1.12rem; }
.timeline p { color: var(--muted); font-size: .94rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid .sec-head { margin: 0; }
.faq { display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
details[open] { box-shadow: var(--shadow); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .i { color: var(--teal-700); transition: rotate .25s var(--ease); }
details[open] summary .i { rotate: 45deg; }
details p { padding: 0 24px 22px; color: var(--muted); }

/* contact */
.contact { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); }
.contact .waves { inset-inline-end: auto; inset-inline-start: -520px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact .eyebrow { color: var(--teal-300); }
.contact h2 { color: var(--white); }
.contact .lede { color: var(--on-dark-muted); }
.copy { margin-top: 14px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: none; border: 1px solid rgb(255 255 255 / .22); color: var(--on-dark); font-size: .85rem; font-weight: 700; }
.copy:hover { border-color: var(--teal-300); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.form .wide { grid-column: 1 / -1; }
.field { min-width: 0; }
label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 700; }
abbr { text-decoration: none; color: var(--danger); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9cad8; border-radius: var(--r-sm); background: #fbfdfe; font-size: 1rem; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(0 169 183 / .35); border-color: var(--teal-700); }
[aria-invalid="true"] { border-color: var(--danger); }
[dir="rtl"] input[type="email"] { text-align: right; }
.err { min-height: 1.5em; color: var(--danger); font-size: .8rem; font-weight: 600; }
.hint { margin-top: 12px; color: var(--muted); font-size: .82rem; text-align: center; }
.status { margin-top: 8px; color: var(--teal-700); font-weight: 700; font-size: .9rem; text-align: center; overflow-wrap: anywhere; }

/* footer */
.foot { background: var(--navy-950); color: var(--on-dark-muted); padding-block: 64px 28px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.foot-logo { display: block; width: 170px; margin-bottom: 18px; }
.foot h2 { margin-bottom: 12px; color: var(--white); font-size: .95rem; letter-spacing: 0; }
.foot li a { display: inline-block; padding-block: 6px; overflow-wrap: anywhere; }
.foot a:hover { color: var(--teal-300); }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .83rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; min-height: 44px; font-weight: 700; }

/* reveal */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .head-cta { display: none; }
}
@media (max-width: 1100px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .timeline li { display: flex; gap: 22px; padding-bottom: 34px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li:not(:last-child)::before { top: 60px; bottom: 6px; height: auto; width: 2px; inset-inline: 26px auto; background: linear-gradient(var(--teal-500), var(--line)); }
  .timeline h3 { margin-top: 2px; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  html:not(.js) .top nav, html:not(.js) .burger { display: none; }
  .top nav > ul { flex-direction: column; }
  .top nav > ul a { padding: 14px 8px; border-radius: 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-cta { display: flex !important; margin-top: 18px; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .about-grid, .contact-grid, .faq-grid, .explorer { grid-template-columns: minmax(0, 1fr); }
  .statement { grid-row: auto; min-height: 340px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cases, .principles { grid-template-columns: 1fr; }
  .case .kicker { min-height: 0; }
  .js .tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .tabs button { flex: none; max-width: 260px; scroll-snap-align: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .brand, .top.is-stuck .brand { width: 108px; }
  .bar { height: 72px; }
  .hero { padding-top: 96px; }
  .actions .btn { width: 100%; }
  .orbit { max-width: 400px; }
  .node span { flex-direction: column; gap: 4px; padding: 8px 8px; min-width: 78px; font-size: .68rem; border-radius: 12px; }
  .node .i { width: 17px; height: 17px; }
  .core { width: 32%; }
  .pillars li { padding-block: 20px 24px; text-align: center; }
  .pillars li + li { padding-inline-start: 0; }
  .pillars span { font-size: .68rem; letter-spacing: .08em; }
  .cards, .form, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .flow ol { grid-template-columns: 1fr; gap: 12px; }
  .flow li { flex-direction: row; text-align: start; }
  .flow li + li::before { top: -12px; inset-inline: 17px auto; width: 2px; height: 12px; }
  .to-top { margin-inline-start: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .orbit .pulse { display: none; }
}
@media print {
  .top, .waves, .form { display: none; }
  .js .reveal { opacity: 1; translate: none; }
}

/* =========================================================================
   Layer 2: typography, colour refinements, new components, motion
   ========================================================================= */

/* ---------- typography ---------- */
body { font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
h1, h2, h3, .statement .big, .pillars strong, .dot, .channel strong { font-family: var(--font-display); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.028em; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; font-weight: 600; }
[lang="ar"] .hero h1 { font-weight: 700; line-height: 1.38; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.75rem); line-height: 1.18; }
.hero h1 { font-size: clamp(1.95rem, 1rem + 3.3vw, 3.6rem); line-height: 1.14; }
.hero h1 .line { display: block; }
.statement .big { font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem); }
.case h3 { font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.1rem); }
.pillars strong { font-weight: 600; font-size: clamp(1rem, .85rem + .65vw, 1.35rem); }
[lang="ar"] .lede, [lang="ar"] .hero-lede { line-height: 1.95; }
::selection { background: var(--teal-300); color: var(--navy-950); }

/* gradient headline accent with a slow light sweep */
.hero h1 em, .contact h2 em {
  background-image: linear-gradient(100deg, #5ee7ea 0%, #19c6d2 30%, #d2feff 50%, #19c6d2 70%, #5ee7ea 100%);
  background-size: 220% 100%;
}

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; touch-action: manipulation; }
.btn svg { position: relative; flex: none; }
.btn-primary { background: linear-gradient(120deg, #4fe3e8, #12c3ce); }
.btn-primary:hover { background: linear-gradient(120deg, #86f2f4, #2bd5de); }
.btn-primary::after, .btn-wa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); translate: -110% 0; transition: translate .6s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-wa:hover::after { translate: 110% 0; }
.btn-wa { background: #25d366; color: #04210f; }
.btn-wa:hover { background: #3fe07a; box-shadow: 0 12px 28px -12px rgb(37 211 102 / .8); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }
.bi { width: 20px; height: 20px; }

/* ---------- social links ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials .soc { display: grid !important; place-items: center; width: 46px; height: 46px; padding: 0 !important; border-radius: 14px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .05); color: var(--white); transition: background-color .25s, border-color .25s, translate .25s var(--ease), color .25s; }
.socials .soc .bi { width: 21px; height: 21px; }
.socials .soc:hover { translate: 0 -4px; border-color: transparent; color: var(--white); }
.socials .facebook:hover { background: #1877f2; }
.socials .instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.socials .whatsapp:hover { background: #128c4b; }
.foot .socials { margin-top: 20px; }
.foot .socials li a { padding-block: 0; }

/* ---------- contact channels ---------- */
.channels { display: grid; gap: 12px; margin-top: 32px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r); border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .045); color: var(--white); transition: border-color .25s, background-color .25s, translate .25s var(--ease); }
.channel:hover { border-color: rgb(94 231 234 / .55); background: rgb(255 255 255 / .08); translate: 0 -2px; }
.channel > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.channel small { color: var(--on-dark-muted); font-size: .82rem; }
.channel strong { font-size: clamp(.9rem, .8rem + .45vw, 1.08rem); font-weight: 600; overflow-wrap: anywhere; }
.channel strong bdi { unicode-bidi: isolate; }
.channel .ico { background: rgb(94 231 234 / .12); }
.channel.wa .ico { background: rgb(37 211 102 / .16); color: #5cf095; }
.channel .ico .bi { width: 26px; height: 26px; }
.channel .go { color: var(--teal-300); }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); }
.follow > p { color: var(--on-dark-muted); font-weight: 700; font-size: .9rem; }
.send { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.send .btn { padding-inline: 16px; }
.send .btn:hover .i { translate: none; }

/* ---------- floating WhatsApp (desktop) ---------- */
.fab { position: fixed; z-index: 40; inset-inline-end: 24px; bottom: 24px; display: flex; align-items: center; height: 58px; padding: 0 15px; border-radius: 999px; background: linear-gradient(145deg, #1fa855, #0f7f43); color: var(--white); box-shadow: 0 16px 32px -12px rgb(15 127 67 / .75); opacity: 0; visibility: hidden; translate: 0 20px; transition: opacity .3s, visibility .3s, translate .3s var(--ease); }
.fab.show { opacity: 1; visibility: visible; translate: 0 0; }
.fab .bi { width: 28px; height: 28px; }
.fab span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .92rem; transition: max-width .4s var(--ease), margin .4s var(--ease); }
.fab:hover span, .fab:focus-visible span { max-width: 260px; margin-inline-start: 10px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ping-ring 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ping-ring { 0% { opacity: .8; scale: 1; } 70%, 100% { opacity: 0; scale: 1.45; } }
.dock { display: none; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--teal-300), var(--teal-500)); transform-origin: left; scale: 0 1; pointer-events: none; }
[dir="rtl"] .progress { transform-origin: right; background: linear-gradient(270deg, var(--teal-300), var(--teal-500)); }

/* ---------- hero entrance ---------- */
@keyframes up { from { opacity: 0; translate: 0 28px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; scale: .5; } }
@keyframes drop { from { opacity: 0; translate: 0 -16px; } }
@keyframes draw { from { stroke-dasharray: 40 40; stroke-dashoffset: 40; } to { stroke-dasharray: 40 40; stroke-dashoffset: 0; } }
@keyframes shimmer { to { background-position: -220% 0; } }
.brand, .tools { animation: drop .7s var(--ease) both; }
@media (min-width: 981px) { .top nav { animation: drop .7s .08s var(--ease) both; } }
.badge { animation: up .7s .05s var(--ease) both; }
.hero h1 .line { animation: up .85s .14s var(--ease) both; }
.hero h1 em { animation: up .85s .28s var(--ease) both, shimmer 7s linear infinite; }
.contact h2 em { animation: shimmer 7s linear infinite; }
.hero-lede { animation: up .8s .42s var(--ease) both; }
.actions { animation: up .8s .54s var(--ease) both; }
.pillars li { animation: up .8s .75s var(--ease) both; }
.pillars li:nth-child(2) { animation-delay: .87s; }
.pillars li:nth-child(3) { animation-delay: .99s; }
.orbit > svg .ring:first-child { animation: fade 1.2s .3s both; }
.orbit .spokes line { animation: draw .9s .55s var(--ease) both; }
.core { animation: pop .9s .3s cubic-bezier(.2, 1.4, .4, 1) both, glow 4.2s 1.3s ease-in-out infinite; }
.node { animation: pop .6s cubic-bezier(.2, 1.5, .4, 1) both; }
.node.n0 { animation-delay: .6s; } .node.n1 { animation-delay: .7s; } .node.n2 { animation-delay: .8s; }
.node.n3 { animation-delay: .9s; } .node.n4 { animation-delay: 1s; } .node.n5 { animation-delay: 1.1s; }
@keyframes glow { 50% { box-shadow: 0 0 0 16px rgb(22 205 211 / .05), 0 0 100px rgb(22 205 211 / .48); } }
/* each module lights up as its pulse leaves for the centre */
@keyframes lit { 0%, 6% { border-color: var(--teal-300); box-shadow: 0 0 0 4px rgb(94 231 234 / .16), 0 0 34px rgb(94 231 234 / .45); } 24%, 100% { border-color: rgb(148 190 225 / .24); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .7); } }
.node span { animation: float 7s ease-in-out infinite, lit 4.2s linear infinite; }
.n1 span { animation-delay: -1.2s, .7s; } .n2 span { animation-delay: -2.4s, 1.4s; } .n3 span { animation-delay: -3.6s, 2.1s; }
.n4 span { animation-delay: -4.8s, 2.8s; } .n5 span { animation-delay: -6s, 3.5s; }
.orbit { perspective: 900px; }
.orbit > * { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.orbit > ul { position: absolute; inset: 0; }

/* radiating "signal" rings, from the logo */
.waves i { animation: ripple 8s ease-in-out infinite; }
.waves i:nth-child(2) { animation-delay: .6s; }
.waves i:nth-child(3) { animation-delay: 1.2s; }
.waves i:nth-child(4) { animation-delay: 1.8s; }
@keyframes ripple { 50% { scale: 1.06; border-color: rgb(94 231 234 / .34); } }

/* ---------- capability strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.strip .marquee { display: flex; width: 100%; }
.strip ul { display: flex; flex-wrap: wrap; flex: 1; justify-content: center; gap: 12px 36px; padding: 22px var(--gutter); }
.strip li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.strip li .i { width: 18px; height: 18px; color: var(--teal-500); }
.strip.run .marquee { direction: ltr; width: max-content; animation: slide 36s linear infinite; }
.strip.run ul { flex: none; flex-wrap: nowrap; min-width: 100vw; justify-content: space-around; gap: 48px; padding-inline: 24px; white-space: nowrap; }
[dir="rtl"] .strip.run li { direction: rtl; }
.strip.run:hover .marquee, .strip.run.hold .marquee { animation-play-state: paused; }
@keyframes slide { to { translate: -50% 0; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity .75s var(--ease), translate .75s var(--ease), scale .75s var(--ease), transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.js .reveal.in { opacity: 1; translate: 0 0; scale: 1; }
.js .statement.reveal:not(.in), .js .explorer.reveal:not(.in), .js .form.reveal:not(.in), .js .edition.reveal:not(.in) { scale: .95; }
.eyebrow::before { transition: width .8s .2s var(--ease); }
.js .sec-head.reveal:not(.in) .eyebrow::before { width: 0; }

/* cursor spotlight on cards */
@media (hover: hover) and (pointer: fine) {
  .card, .case, .mv { position: relative; isolation: isolate; }
  .card::before, .case::before, .mv::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgb(22 205 211 / .14), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
  .card:hover::before, .case:hover::before, .mv:hover::before { opacity: 1; }
}
.card .ico { transition: background-color .3s, color .3s, rotate .35s var(--ease), scale .35s var(--ease); }
.card:hover .ico { background: var(--teal-400); color: var(--navy-950); rotate: -6deg; scale: 1.08; }
[dir="rtl"] .card:hover .ico { rotate: 6deg; }
.statement .signal.ghost .sg-in, .statement .signal.ghost .sg-out { animation: blink 3s ease-in-out infinite; }
.statement .signal.ghost .sg-out { animation-delay: .35s; }
@keyframes blink { 50% { opacity: .25; } }

/* expertise panel choreography */
.js .panel.is-active .checks li { animation: up .45s var(--ease) both; }
.js .panel.is-active .checks li:nth-child(2) { animation-delay: .04s; }
.js .panel.is-active .checks li:nth-child(3) { animation-delay: .08s; }
.js .panel.is-active .checks li:nth-child(4) { animation-delay: .12s; }
.js .panel.is-active .checks li:nth-child(5) { animation-delay: .16s; }
.js .panel.is-active .checks li:nth-child(6) { animation-delay: .2s; }
.js .panel.is-active .checks li:nth-child(7) { animation-delay: .24s; }
.js .panel.is-active .step { animation: pop .45s .2s cubic-bezier(.2, 1.5, .4, 1) both; }
.js .panel.is-active .flow li:nth-child(2) .step { animation-delay: .34s; }
.js .panel.is-active .flow li:nth-child(3) .step { animation-delay: .48s; }
.js .panel.is-active .flow li:nth-child(4) .step { animation-delay: .62s; }

/* timeline fills as you read it */
.dot { transition: background-color .4s, color .4s, scale .4s cubic-bezier(.2, 1.6, .4, 1), box-shadow .4s; }
.js .timeline li::before { scale: 0 1; transform-origin: left; transition: scale .7s .15s var(--ease); }
[dir="rtl"].js .timeline li::before { transform-origin: right; }
.js .timeline li.lit::before { scale: 1 1; }
.timeline li.lit .dot { background: linear-gradient(145deg, #5ee7ea, #00a9b7); color: var(--navy-950); box-shadow: 0 0 0 6px #d5f4f5, 0 14px 26px -12px rgb(0 169 183 / .8); }
@media (max-width: 1100px) {
  .js .timeline li::before { scale: 1 0; transform-origin: top; }
  [dir="rtl"].js .timeline li::before { transform-origin: top; }
}

/* smooth FAQ where the browser supports it */
:root { interpolate-size: allow-keywords; }
details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { height: auto; }

/* soft cross-fade between the two languages */
@view-transition { navigation: auto; }

/* nothing animates while off screen */
.paused, .paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px; text-align: center; color: var(--white); background: radial-gradient(circle at 50% 20%, #0f4468, var(--navy-950) 65%); }
.nf img { margin: 0 auto 40px; }
.nf div + div { margin-top: 40px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / .12); }
.nf h1 { margin-bottom: 18px; font-size: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .js .reveal, .js .reveal:not(.in) { opacity: 1; translate: none; scale: 1; }
  .js .timeline li::before { scale: 1 1; }
  .js .sec-head.reveal:not(.in) .eyebrow::before { width: 30px; }
  .orbit > * { transform: none; }
}
@media print { .fab, .dock, .progress { display: none; } }

/* =========================================================================
   Layer 3: mobile web
   ========================================================================= */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, select, input, textarea { touch-action: manipulation; }
.wrap { width: min(1200px, 100% - max(var(--gutter), env(safe-area-inset-left)) - max(var(--gutter), env(safe-area-inset-right))); }
.top { padding-top: env(safe-area-inset-top); }
.hero { padding-top: calc(132px + env(safe-area-inset-top)); }
.dots { display: none; }
.beams { display: none; }

/* touch screens: no sticky hover lift */
@media (hover: none) {
  .btn:hover, .card:hover, .case:hover, .channel:hover, .socials .soc:hover { transform: none; translate: none; }
  .btn:active, .channel:active, .socials .soc:active, .tabs button:active { scale: .97; }
}

@media (max-width: 980px) {
  .top.is-open .bar { height: 72px; }
  .js .top nav { position: absolute; top: 100%; inset-inline: 0; display: flex; flex-direction: column; height: calc(100vh - 72px - env(safe-area-inset-top)); height: calc(100dvh - 72px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; padding: 8px max(var(--gutter), env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: var(--white); color: var(--ink); visibility: hidden; opacity: 0; translate: 0 -10px; transition: opacity .25s, translate .3s var(--ease), visibility .25s; }
  .js .top.is-open nav { visibility: visible; opacity: 1; translate: 0 0; }
  .top.is-open { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .top nav > ul a { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem !important; padding-block: 15px !important; }
  .top.is-open nav > ul li { animation: up .4s var(--ease) both; }
  .top.is-open nav > ul li:nth-child(2) { animation-delay: .04s; }
  .top.is-open nav > ul li:nth-child(3) { animation-delay: .08s; }
  .top.is-open nav > ul li:nth-child(4) { animation-delay: .12s; }
  .top.is-open nav > ul li:nth-child(5) { animation-delay: .16s; }
  .nav-cta { flex: none; }
  .nav-social { display: flex; justify-content: center; margin-top: auto; padding-top: 24px; }
  .nav-social .soc { border-color: var(--line); background: var(--tint); color: var(--navy-900); }
  html.menu-open { overflow: hidden; }
  .waves { opacity: .7; }
}

@media (max-width: 860px) {
  .fab { display: none; }
  .dock { position: fixed; z-index: 45; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); background: rgb(255 255 255 / .92); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgb(6 23 44 / .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); translate: 0 105%; visibility: hidden; transition: translate .35s var(--ease), visibility .35s; }
  .dock.show { translate: 0 0; visibility: visible; }
  .dock .btn { min-height: 48px; padding: 8px 12px; }
  .dock .btn-primary { background: var(--navy-900); color: var(--white); }
  body:has(input:focus, textarea:focus, select:focus) .dock, html.menu-open .dock { translate: 0 105%; visibility: hidden; }
  .foot { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* phones and small tablets: swipeable projects */
@media (max-width: 720px) {
  .cases { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 min(86%, 380px); scroll-snap-align: start; }
  /* the container clips, so off-screen cards must not wait for a reveal */
  .js .case.reveal { opacity: 1; translate: 0 0; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
  .dots i { width: 8px; height: 8px; border-radius: 99px; background: rgb(255 255 255 / .28); transition: width .3s var(--ease), background-color .3s; }
  .dots i.on { width: 26px; background: var(--teal-300); }
}

@media (max-width: 620px) {
  :root { --sec: 68px; --r-lg: 22px; }
  html { scroll-padding-top: 80px; }
  .hero { padding-top: calc(94px + env(safe-area-inset-top)); }
  .hero-grid { gap: 18px; padding-block: 12px 24px; }
  .badge { font-size: .74rem; padding-block: 6px; text-align: start; }
  [lang="en"] .badge { letter-spacing: -.01em; }
  .hero h1 { margin-top: 18px; font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero-lede { margin-top: 16px; font-size: 1rem; }
  .actions { gap: 10px; margin-top: 26px; }
  .actions .btn { min-height: 52px; }
  .sec-head { margin-bottom: 30px; }
  .lede { margin-top: 14px; font-size: 1rem; }

  /* services: compact rows, icon beside title */
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; }
  .card-top { margin: 0; }
  .card-top .num { display: none; }
  .card h3 { margin: 0; font-size: 1.05rem; }
  .card p { grid-column: 1 / -1; margin-top: 14px; font-size: .94rem; }
  .card .ico { width: 46px; height: 46px; border-radius: 13px; }

  .statement { min-height: 300px; padding: 26px; }
  .mv { padding: 24px; }
  .principles-k { margin-top: 40px; }
  .edition { padding: 24px; }
  .edition .btn { width: 100%; }

  /* expertise: chip tabs + swipeable panel */
  .js .tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .js .tabs::-webkit-scrollbar { display: none; }
  .tabs button { min-height: 46px; padding: 8px 16px; gap: 9px; border-radius: 999px; font-size: .88rem; white-space: nowrap; max-width: none; }
  .panel { padding: 22px 18px; }
  .checks { grid-template-columns: 1fr 1fr; gap: 12px 10px; margin: 20px 0 22px; }
  .checks li { align-items: flex-start; gap: 8px; font-size: .86rem; line-height: 1.45; }
  .checks .i { width: 19px; height: 19px; padding: 3px; margin-top: 1px; }

  .faq summary { padding: 18px; font-size: .95rem; }
  details p { padding: 0 18px 18px; }
  .send { grid-template-columns: 1fr; }
  .form { margin-inline: -4px; }
  .foot { text-align: center; }
  .foot .socials, .legal { justify-content: center; }
  .foot-logo { margin-inline: auto; }
  .foot li a { padding-block: 10px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand, .top.is-stuck .brand { width: 96px; }
  .lang span { font-size: .82rem; }
  .checks { grid-template-columns: 1fr; }
  .node span { min-width: 70px; padding: 7px 5px; font-size: .62rem; }
  .pillars strong { font-size: .92rem; }
}

/* phones held sideways */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 980px) {
  .hero { padding-top: 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); text-align: start; gap: 24px; }
  .hero-lede { margin-inline: 0; }
  .hero h1 { font-size: 2rem; }
  .actions { justify-content: flex-start; }
  .actions .btn { width: auto; }
  .orbit { max-width: 280px; }
  .node span { flex-direction: column; gap: 3px; padding: 6px; min-width: 64px; font-size: .6rem; border-radius: 10px; }
  .dock { display: none; }
}

/* narrow desktop / small laptop: the diagram column is tight */
@media (min-width: 981px) and (max-width: 1180px) {
  .node span { padding: 8px 10px; gap: 6px; font-size: .74rem; border-radius: 11px; }
  .node .i { width: 15px; height: 15px; }
  .core { width: 31%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 360px) { .brand { padding-block: 3px; } }
@media (max-width: 360px) { .dock { grid-template-columns: 1fr 1.2fr; gap: 8px; } .dock .btn { gap: 6px; padding-inline: 6px; font-size: .84rem; } .dock .btn .i { display: none; } }
@media (max-width: 620px) { .to-top { justify-content: center; } }

/* the decorative signal mark must never sit under the statement text */
.signal.ghost { opacity: .45; }
@media (max-width: 980px) {
  .statement { min-height: 0; }
  .signal.ghost { position: static; align-self: flex-start; width: 76px; opacity: .85; margin-bottom: 6px; }
}
@media (max-width: 980px) { html { scroll-padding-top: calc(71px + env(safe-area-inset-top)); } }

/* keep the e-mail address on one line on phones */
@media (max-width: 620px) {
  .channel { gap: 12px; padding: 12px 14px; }
  .channel .go { display: none; }
  .channel .ico { width: 44px; height: 44px; border-radius: 13px; }
  .channel strong { font-size: clamp(.78rem, 3.5vw, .98rem); }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .channel { gap: 12px; padding-inline: 12px; }
  .channel .go { display: none; }
  .channel strong { font-size: .86rem; }
}

/* =========================================================================
   Phone performance: same look, but nothing repaints while the page rests.
   Looping effects only move or fade (compositor); the rest play once.
   ========================================================================= */
@media (max-width: 980px), (hover: none) {
  body { text-rendering: auto; }

  /* no live blur: solid surfaces instead */
  .top.is-stuck, .dock { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .node span { position: relative; background: rgb(13 41 73 / .97); backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* hero text is painted at once, it only slides into place */
  .badge, .hero h1 .line, .hero-lede, .actions { animation: rise-in .5s var(--ease) both; }
  .hero h1 .line { animation-delay: .04s; }
  .hero h1 em { animation: rise-in .5s .08s var(--ease) both, shimmer 3.5s .4s linear both; }
  .hero-lede { animation-delay: .12s; }
  .actions { animation-delay: .16s; }
  .contact h2 em { animation: shimmer 3.5s linear both; }

  /* signal diagram */
  .hero .waves { top: 330px; } /* fixed, so a font swap cannot shift the rings */
  .waves i, .orbit .dashed { animation: none; }
  .orbit .pulse { display: none; }
  .beams { display: block; position: absolute; inset: 0; container-type: size; pointer-events: none; }
  .beams i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 9px 2px rgb(94 231 234 / .6); opacity: 0; animation: beam 4.2s linear infinite; }
  .node span { animation: float 7s ease-in-out infinite; }
  .node span::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--teal-300); border-radius: inherit; box-shadow: 0 0 0 4px rgb(94 231 234 / .16), 0 0 26px rgb(94 231 234 / .45); opacity: 0; animation: lit-fade 4.2s linear infinite; pointer-events: none; }
  .n1 span::after { animation-delay: .7s; } .n2 span::after { animation-delay: 1.4s; } .n3 span::after { animation-delay: 2.1s; }
  .n4 span::after { animation-delay: 2.8s; } .n5 span::after { animation-delay: 3.5s; }
  .core { animation: pop .9s .3s cubic-bezier(.2, 1.4, .4, 1) both; }
  .core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 16px rgb(22 205 211 / .05), 0 0 80px rgb(22 205 211 / .45); opacity: 0; animation: breathe 4.2s 1.3s ease-in-out infinite; pointer-events: none; }
  .statement .signal.ghost .sg-in, .statement .signal.ghost .sg-out { animation-iteration-count: 3; }

  /* scroll reveal: a short slide, never blank content */
  .js .reveal.reveal { transition: translate .35s var(--ease); }
  .js .reveal.reveal:not(.in) { opacity: 1; translate: 0 18px; scale: 1; }
  .js .sec-head.reveal.reveal:not(.in) .eyebrow::before { width: 30px; }

  /* tabs answer the tap immediately */
  .js .panel.is-active { animation-duration: .22s; }
  .js .panel.is-active .checks li { animation: none; }
}
@media (max-width: 720px) {
  .js .cases .case.reveal.reveal:not(.in) { translate: 0 0; }
}
@keyframes rise-in { from { translate: 0 18px; } }
@keyframes beam {
  0% { translate: calc(var(--dx) * 1cqw) calc(var(--dy) * 1cqh); opacity: 0; }
  8%, 46% { opacity: 1; }
  55%, 100% { translate: 0 0; opacity: 0; }
}
@keyframes lit-fade { 0%, 6% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes breathe { 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .beams { display: none; } .js .reveal.reveal:not(.in) { translate: none; } }

/* =========================================================================
   Layer 4: the first screen. The hero is exactly one screen tall on phones,
   tablets and desktops; the diagram takes whatever height is left over.
   svh = the screen with the browser toolbars showing, so nothing hides
   behind them on mobile.
   ========================================================================= */
.hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: calc(84px + env(safe-area-inset-top)); }
.hero > .wrap { flex: none; }
.hero > .hero-grid { flex: 1 0 auto; padding-block: clamp(12px, 2.4svh, 40px); }
.hero .pillars li { padding-block: clamp(10px, 2.2svh, 26px); }
.hero h1 { margin-top: clamp(10px, 2.4svh, 24px); font-size: clamp(1.9rem, min(1rem + 3.3vw, 8.2svh), 3.6rem); }
.hero-lede { margin-top: clamp(10px, 2.2svh, 22px); }
.actions { margin-top: clamp(16px, 3.6svh, 36px); }

.stage { align-self: stretch; min-width: 0; min-height: 0; display: grid; place-items: center; container: stage / size; }
/* square when there is room; flattens into an ellipse when the screen is short,
   so every label stays readable instead of shrinking away */
.hero .orbit { container: orbit / size; width: 100%; width: min(100cqw, 560px, 190cqh); height: 320px; height: min(100cqh, 100cqw, 560px); aspect-ratio: auto; max-width: none; margin: 0; }

.hero .node span { flex-direction: row; min-width: 0; gap: clamp(4px, 1.4cqw, 8px); padding: clamp(5px, 1.9cqmin, 11px) clamp(7px, 2.5cqw, 15px); font-size: clamp(.6rem, 2.9cqw, .85rem); line-height: 1.4; border-radius: clamp(9px, 2.6cqw, 14px); }
.hero .node .i { width: clamp(12px, 3.5cqw, 18px); height: clamp(12px, 3.5cqw, 18px); }

/* centre circle: always round, label kept clear of the edge on two lines */
.hero .core { width: clamp(76px, 38cqmin, 190px); padding: 8px; gap: clamp(2px, 1.2cqmin, 6px); }
.hero .core .signal { width: 34%; justify-self: center; }
.hero .core strong { max-width: 11ch; margin-inline: auto; padding: 0; font-size: clamp(.56rem, 3.1cqmin, .82rem); line-height: 1.3; text-wrap: balance; }
@container orbit (max-height: 230px) {
  .hero .core .signal { display: none; }
  .hero .core strong { max-width: 10ch; }
}
@container stage (max-height: 140px) {
  .orbit { display: none; }
}

/* phones and tablets: one centred column */
@media (max-width: 980px) {
  .hero > .hero-grid { display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 1.8svh, 28px); }
  .hero-copy { flex: none; }
  .stage { flex: 1 1 0; }
}
@media (max-width: 620px) {
  .hero { padding-top: calc(72px + env(safe-area-inset-top)); }
  .hero > .hero-grid { padding-block: 8px 12px; }
  .hero h1 { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(1.7rem, min(8.4vw, 5svh), 2.6rem); }
}
@media (max-width: 620px) and (max-height: 800px) {
  .hero-lede { font-size: .92rem; line-height: 1.55; }
  [lang="ar"] .hero-lede { line-height: 1.75; }
  [lang="ar"] .hero h1 { line-height: 1.3; }
  .actions { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
  .actions .btn { flex: 1 1 0; width: auto; min-height: 48px; padding: 8px 10px; font-size: .84rem; }
  .actions .btn .i { display: none; }
  .hero .pillars li { padding-block: 10px 12px; }
}
@media (max-width: 620px) and (max-height: 600px) {
  .hero .badge { display: none; }
  .hero-lede { font-size: .86rem; }
}

/* upright tablets that are wider than the mobile breakpoint (iPad Pro) */
@media (min-width: 981px) and (orientation: portrait) {
  .hero > .hero-grid { display: flex; flex-direction: column; justify-content: center; text-align: center; }
  .hero-copy { flex: none; }
  .hero-lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .stage { flex: 1 1 0; }
}

/* short laptop screens */
@media (min-width: 981px) and (max-height: 640px) {
  .hero-lede { font-size: .98rem; line-height: 1.55; }
  .hero .btn-lg { min-height: 46px; padding-block: 10px; }
}

/* phones held sideways */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 980px) {
  .hero { padding-top: 72px; }
  .hero > .hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-block: 8px 16px; }
  .hero .badge, .hero .pillars { display: none; }
  .hero h1 { margin-top: 0; font-size: clamp(1.4rem, 7.4svh, 2rem); }
  .hero-lede { font-size: .9rem; line-height: 1.5; }
  .actions { margin-top: 14px; flex-wrap: nowrap; }
  .actions .btn { width: auto; min-height: 44px; font-size: .84rem; padding: 8px 14px; }
}

/* narrowest desktop: keep the buttons on one row so the screen still fits */
@media (min-width: 981px) and (max-width: 1100px) and (orientation: landscape) {
  .hero h1 { font-size: min(2.6rem, 7.6svh); }
  .actions { gap: 10px; }
  .hero .btn-lg { padding-inline: 18px; font-size: .9rem; }
}

/* Safari shrinks chips placed near the right edge unless the width is explicit */
.hero .node { width: max-content; }
.hero .node span { white-space: nowrap; }
