/* ==========================================================================
   TechRight — homepage stylesheet (v8, light enterprise UI)
   1 Tokens · 2 Base · 3 Layout & type · 4 Components · 5 Header · 6 Hero
   7 Sections (in page order) · 8 Footer · 9 Cursor · 10 Responsive · 11 Motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0A1F44;
  --navy-2: #102A56;
  --blue: #0063D6;
  --blue-hover: #0052B4;
  --blue-soft: #E8F1FD;
  --sky: #38BDF8;
  --bg: #FFFFFF;
  --bg-muted: #F4F7FB;
  --line: #E3E8EF;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #0F172A;
  --text-2: #546070;
  --text-3: #5F6B7C;
  --on-dark: #F2F6FC;
  --on-dark-2: #B4C2D6;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-display-lg: clamp(2rem, 1.4rem + 2.2vw, 3.4rem);
  --fs-display-xl: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem);

  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem;
  --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1280px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow-md: 0 12px 32px -12px rgba(10, 31, 68, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 31, 68, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --topbar-h: 38px;
  --bar-h: 72px;
  --header-h: calc(var(--topbar-h) + var(--bar-h));
}
@media (min-width: 1800px) { :root { --container: 1440px; --fs-base: 1.125rem; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; padding: 0.75rem 1rem; background: var(--blue); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }
body.menu-open { overflow: hidden; }

/* ---------- 3. Layout & type ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-muted { background: var(--bg-muted); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head-split { max-width: none; display: grid; gap: var(--s-3); align-items: end; }
.display-xl, .display-lg, .hero-title { font-weight: 650; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
.display-xl { font-size: var(--fs-display-xl); }
.display-lg { font-size: var(--fs-display-lg); }
.section-lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); margin-top: var(--s-3); max-width: 38rem; text-wrap: pretty; }
.section-head-split .section-lede { margin-top: 0; }
.section-dark .section-lede { color: var(--on-dark-2); }
.sub-head { font-size: 1.125rem; font-weight: 600; margin-bottom: var(--s-3); }

/* eyebrow: brand circuit node + sentence-case label */
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--s-3); font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.eyebrow::before {
  content: ""; flex: none; width: 22px; height: 8px;
  background: radial-gradient(circle at 18px 4px, currentColor 3px, transparent 3.5px), linear-gradient(currentColor, currentColor) 0 3.5px / 15px 1px no-repeat;
}

/* ---------- 4. Components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.7rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  font-size: var(--fs-sm); font-weight: 550; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 8px 20px -8px rgba(0, 99, 214, 0.6); }
.btn-outline { border-color: #C9D3E0; color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }
.link-arrow::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }
.inline-link { color: var(--blue); border-bottom: 1px solid currentColor; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: calc(100% - 32px);
  transform: translate(-50%, 20px); opacity: 0; padding: 0.85rem 1.25rem; border-radius: var(--r-md);
  background: var(--navy); color: #fff; font-size: var(--fs-sm); box-shadow: var(--shadow-lg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 5. Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.topbar { height: var(--topbar-h); background: var(--navy); color: var(--on-dark-2); font-size: var(--fs-xs); overflow: hidden; transition: height 0.3s var(--ease); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.tb-note { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-links { display: none; align-items: center; gap: var(--s-4); }
.tb-links li, .tb-links a { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.tb-links a:hover { color: #fff; }
.tb-links svg, .mobile-menu-info svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mainbar { position: relative; height: var(--bar-h); background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.topbar { visibility: visible; transition: height 0.3s var(--ease), visibility 0s linear 0s; }
.site-header.is-scrolled .topbar { height: 0; visibility: hidden; transition: height 0.3s var(--ease), visibility 0s linear 0.3s; }
.site-header.is-scrolled .mainbar { box-shadow: 0 6px 24px -12px rgba(10, 31, 68, 0.18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { width: 128px; height: auto; }

.primary-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.3rem;
  height: var(--bar-h); padding: 0 0.8rem; font-size: 0.9375rem; font-weight: 500; color: #334155; transition: color 0.2s;
}
.nav-link::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav-link:hover, .nav-link.is-active, .nav-trigger[aria-expanded="true"] { color: var(--blue); }
.nav-link.is-active::after, .nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.header-cta { display: none; }

.hdr-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr-progress i { display: block; height: 100%; width: calc(var(--progress, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--sky)); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(10, 31, 68, 0.35); animation: dropIn 0.25s var(--ease); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } }
.mega-inner { display: grid; grid-template-columns: 1fr 2.4fr; gap: var(--s-6); padding-block: var(--s-5); }
.mega-intro .eyebrow { margin-bottom: var(--s-2); }
.mega-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: var(--s-3); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; }
.mega-grid a { display: block; padding: 1rem; border-radius: var(--r-md); transition: background-color 0.2s; }
.mega-grid a:hover, .mega-grid a:focus-visible { background: var(--bg-muted); }
.mega-grid strong { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.25rem; color: var(--text); }
.mega-grid span { display: block; font-size: 0.8125rem; color: var(--text-2); line-height: 1.45; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: #fff; padding: var(--s-2) var(--gutter) var(--s-5); overflow-y: auto; animation: fadeIn 0.25s var(--ease); }
.site-header.is-scrolled .mobile-menu { top: var(--bar-h); }
@keyframes fadeIn { from { opacity: 0; } }
.mobile-menu nav > ul:first-child { margin-bottom: var(--s-4); }
.mobile-menu nav > ul:first-child a { display: block; padding: 0.95rem 0; font-size: 1.375rem; font-weight: 550; letter-spacing: -0.01em; border-bottom: 1px solid var(--line); }
.mobile-menu-info { display: grid; gap: 0.6rem; margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); }
.mobile-menu-info li, .mobile-menu-info a { display: flex; align-items: center; gap: 0.5rem; }
.mobile-menu-info svg { stroke: var(--blue); }

/* ---------- 6. Hero (light split) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 3.2vw, 4rem));
  padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(0, 99, 214, 0.08), transparent 70%),
    linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10, 31, 68, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 31, 68, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 30% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: var(--s-5); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); color: var(--navy); margin-bottom: var(--s-3); }
.hero-title span { display: block; color: var(--blue); }
.hero-lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 34rem; margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.hero-points li { position: relative; padding-left: 1.6rem; font-size: var(--fs-sm); font-weight: 500; color: #334155; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 0.18rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230063D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hero-visual { position: relative; padding: 2.25rem 0 7rem; }

/* App-window graphic: SAP architecture stack + AI assistant */
.app-window { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); background: #FAFCFF; }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DDE8; }
.app-bar span { margin-left: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { display: grid; gap: 1rem; padding: 1.1rem; background: linear-gradient(180deg, #FAFCFF, #F3F7FD); }

.stack { position: relative; display: grid; gap: 0.6rem; }
.layer { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.layer b { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.25; }
.layer small { display: block; font-size: 0.75rem; color: var(--text-2); line-height: 1.35; }
.layer-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); }
.layer-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.layer-ai { border-color: rgba(0, 99, 214, 0.35); background: linear-gradient(90deg, #EEF5FF, #F2FAFF); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12); }
.layer-ai .layer-ico { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.layer-ai .layer-ico svg { stroke: #fff; }
.layer-pulse { position: absolute; right: 0.85rem; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); } }
.layer-core { background: var(--navy); border-color: var(--navy); }
.layer-core b { color: #fff; }
.layer-core small { color: var(--on-dark-2); }
.layer-core .layer-ico { background: rgba(255, 255, 255, 0.12); }
.layer-core .layer-ico svg { stroke: var(--sky); }
.stack-flow { position: absolute; left: 1.85rem; top: 1rem; bottom: 1rem; width: 10px; height: calc(100% - 2rem); z-index: 0; }
.stack-flow path { fill: none; stroke: #B9CCE6; stroke-width: 2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; animation: flowUp 1.6s linear infinite; }
@keyframes flowUp { to { stroke-dashoffset: 14; } }

.copilot { display: grid; gap: 0.6rem; align-content: start; padding: 0.95rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 0.8125rem; }
.cp-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text); }
.cp-dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; }
.cp-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--sky); }
.cp-q { justify-self: end; max-width: 92%; padding: 0.55rem 0.75rem; border-radius: 12px 12px 4px 12px; background: var(--blue); color: #fff; line-height: 1.4; }
.cp-a { display: grid; gap: 0.45rem; padding: 0.6rem 0.75rem; border-radius: 12px 12px 12px 4px; background: var(--bg-muted); color: var(--text); line-height: 1.45; }
.cp-src { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.cp-src span { font-size: 0.6875rem; font-weight: 500; padding: 0.15rem 0.5rem; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.cp-actions { display: flex; gap: 0.4rem; }
.cp-actions b, .cp-actions span { font-size: 0.75rem; padding: 0.4rem 0.7rem; border-radius: 8px; }
.cp-actions b { font-weight: 600; background: var(--navy); color: #fff; }
.cp-actions span { border: 1px solid var(--line); color: var(--text-2); }

.float-card { position: absolute; z-index: 2; padding: 0.85rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 0.8125rem; }
.fc-core { top: 0; right: -0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.fc-core b { display: block; font-size: 0.8125rem; color: var(--text); }
.fc-core small { display: block; font-size: 0.75rem; color: var(--text-2); }
.fc-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #E7F6EC; }
.fc-check svg { width: 16px; height: 16px; fill: none; stroke: #15803D; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fc-agent { right: -1rem; bottom: 0; width: 250px; display: grid; gap: 0.55rem; }
.fc-head { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--text); }
.fc-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.fc-icon-ai { background: var(--navy); }
.fc-icon-ai i { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3); }
.fc-run { display: grid; gap: 0.35rem; }
.fc-run li { position: relative; padding-left: 1.35rem; color: var(--text-2); }
.fc-run li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #C9D3E0; }
.fc-run li.done::before { background: var(--blue); border-color: var(--blue); }
.fc-run li.now { color: var(--text); font-weight: 600; }
.fc-run li.now::before { border-color: var(--sky); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 600px) { .app-body { grid-template-columns: 1.15fr 1fr; padding: 1.25rem; } }

/* ---------- 7. Sections ---------- */
/* Stack strip: platform tiles */
.stack-strip { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: #fff; border-bottom: 1px solid var(--line); }
.stack-strip-title { text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); margin-bottom: var(--s-3); }
.stack-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.stack-tiles li {
  display: grid; place-items: center; min-height: 64px; padding: 0.75rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.125rem); font-weight: 650; letter-spacing: -0.015em; color: #3A4658; text-align: center;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.stack-tiles li:hover { border-color: #BFD3EE; background: #fff; color: var(--blue); transform: translateY(-2px); }
.stack-strip-note { margin-top: var(--s-3); text-align: center; font-size: 0.75rem; color: #5F6B7C; }
@media (min-width: 600px) { .stack-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .stack-tiles { grid-template-columns: repeat(8, 1fr); } .stack-tiles li { font-size: 1rem; white-space: nowrap; padding-inline: 0.5rem; } }

/* About */
.about-grid { display: grid; gap: var(--s-5); align-items: center; }
.statement-text { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); font-weight: 650; line-height: 1.1; letter-spacing: -0.03em; color: var(--navy); text-wrap: balance; }
.statement-text .w { color: #C3CCD9; transition: color 0.4s var(--ease); }
.statement-text .w.on { color: var(--navy); }
.about-line { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 32rem; }
.about-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--s-4) 0; }
.about-pills li { font-size: var(--fs-sm); font-weight: 500; padding: 0.45rem 0.9rem; border-radius: var(--r-pill); background: var(--bg-muted); border: 1px solid var(--line); }
.about-media { position: relative; padding-bottom: 16%; }
.about-media figure { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-muted); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.am-main { aspect-ratio: 4 / 3.1; width: 88%; box-shadow: var(--shadow-md); }
.am-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.am-badge { position: absolute; left: 1rem; bottom: 20%; padding: 0.75rem 1rem; border-radius: var(--r-md); background: #fff; font-weight: 600; box-shadow: var(--shadow-md); }
.am-badge span { display: block; font-size: 0.75rem; font-weight: 500; color: var(--blue); }

/* SAP */
.sap-top { display: grid; gap: var(--s-5); align-items: center; }
.sap-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-4); }
.schip {
  min-height: 42px; padding: 0.5rem 0.95rem; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500; color: #334155; background: #fff; border: 1px solid var(--line);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.schip:hover { border-color: var(--blue); color: var(--blue); }
.schip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.sap-detail { margin-top: var(--s-3); padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--bg-muted); border-left: 3px solid var(--blue); min-height: 6.5rem; }
.sap-detail dt { font-weight: 600; margin-bottom: 0.3rem; }
.sap-detail dd { color: var(--text-2); font-size: var(--fs-sm); }
.sap-figure { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); background: var(--line); }
.sap-figure img { width: 100%; height: 100%; object-fit: cover; }
.sap-badge { position: absolute; left: 1rem; bottom: 1rem; display: grid; gap: 0.1rem; padding: 0.8rem 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.96); font-size: var(--fs-xs); color: var(--text-2); box-shadow: var(--shadow-md); }
.sap-badge strong { font-size: 0.9375rem; color: var(--text); }
.sap-journey { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 0.9rem; }
.jcard { display: grid; gap: 0.5rem; align-content: start; }
.jcard-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.jcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.jcard:hover .jcard-media img { transform: scale(1.04); }
.jcard-step { font-size: 0.75rem; font-weight: 600; color: var(--blue); margin-top: 0.4rem; }
.jcard h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }

/* Latest in SAP & AI */
.radar-tabs { display: inline-flex; gap: 0.25rem; padding: 0.3rem; margin-bottom: var(--s-4); border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.radar-tabs [role="tab"] { min-height: 42px; padding: 0.5rem 1.2rem; border-radius: 9px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); transition: background-color 0.2s, color 0.2s; }
.radar-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; }
.radar-panel { animation: fadeIn 0.35s var(--ease); }
.radar-grid { display: grid; gap: 1rem; }
.rcard {
  position: relative; display: grid; gap: 0.55rem; align-content: start;
  padding: 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.rcard::before { content: ""; position: absolute; left: 1.5rem; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.rcard:hover { border-color: #C9D7EA; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rtag { justify-self: start; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue); }
.rcard h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.rcard p { color: var(--text-2); font-size: var(--fs-sm); }

/* AI (navy) */
.ai { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, #0C2552 100%); }
.ai-bg { position: absolute; inset: 0 0 auto; height: 65%; opacity: 0.3; pointer-events: none; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.ai-bg img { width: 100%; height: 100%; object-fit: cover; }
.ai .container { position: relative; }
.ai .eyebrow { color: var(--sky); }
.ai-grid { display: grid; gap: 1rem; }
.pcard {
  position: relative; isolation: isolate; overflow: hidden; contain: paint;
  min-height: 320px; border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-2); color: #fff;
}
.pcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 68, 0.1) 20%, rgba(10, 31, 68, 0.7) 55%, rgba(10, 31, 68, 0.96) 100%); }
.pcard:hover img { transform: scale(1.05); }
.pcard-body { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: grid; gap: 0.45rem; }
.pcard-num { font-size: 0.75rem; font-weight: 600; color: var(--sky); }
.pcard h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.pcard p { color: #D3DDEA; font-size: var(--fs-sm); max-width: 26rem; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.pcard-tags li { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); }
.pcard-link { position: absolute; top: 1.1rem; right: 1.1rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); color: #fff; transition: background-color 0.3s, transform 0.3s var(--ease); }
.pcard-link::after { content: ""; position: absolute; inset: -100vmax; }
.pcard-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard:hover .pcard-link { background: var(--blue); transform: rotate(-45deg); }
.ai-stack { margin-top: var(--s-5); display: grid; gap: var(--s-2); }
.ai-stack-label { font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark-2); }
.ai-stack-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ai-stack-list li { font-size: var(--fs-sm); padding: 0.4rem 0.85rem; border-radius: var(--r-pill); border: 1px solid var(--line-dark); color: #DCE5F1; }

/* Process */
.steps { display: grid; }
.step { position: relative; padding: var(--s-3) 0 var(--s-3) 3.5rem; border-left: 1px dashed #C9D3E0; margin-left: 1rem; }
.step-num { position: absolute; left: -1rem; top: var(--s-3); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; background: #fff; color: var(--blue); border: 1.5px solid var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.step h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.step p { color: var(--text-2); font-size: var(--fs-sm); max-width: 20rem; }

/* Capabilities */
.cap-grid { display: grid; gap: 1rem; }
.ccard-link { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.ccard-link:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ccard-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ccard-link:hover .ccard-media img { transform: scale(1.04); }
.ccard-body { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 0.6rem; }
.ccard-body h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; padding-right: 2.5rem; }
.ccard-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ccard-tags li { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--bg-muted); color: var(--text-2); }
.ccard-arrow { position: absolute; right: 1.2rem; bottom: 1.4rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.ccard-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard-link:hover .ccard-arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }

/* Industries */
.industries .section-head { margin-bottom: var(--s-4); }
.ind-nav { display: none; gap: 0.5rem; }
.ind-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.ind-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ind-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.ind-rail::-webkit-scrollbar { display: none; }
.ind-rail:focus-visible { outline-offset: -3px; }
.icard { position: relative; isolation: isolate; overflow: hidden; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--r-lg); color: #fff; background: var(--navy-2); display: flex; align-items: flex-end; }
.icard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 68, 0.92)); }
.icard:hover img { transform: scale(1.05); }
.icard-body { padding: 1.4rem; display: grid; gap: 0.35rem; }
.icard h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.icard p { font-size: var(--fs-sm); color: #D3DDEA; }

/* Trust (light) */
.trust-grid { display: grid; gap: var(--s-5); align-items: center; }
.trust-media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-md); }
.trust-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.trust-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 68, 0.1), rgba(10, 31, 68, 0.9)); }
.trust-media-copy { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); color: #fff; }
.trust-media-copy .eyebrow { color: var(--sky); margin-bottom: var(--s-2); }
.trust-list { display: grid; border-top: 1px solid var(--line); }
.titem { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.titem svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; border: 1px solid var(--line); fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.titem h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.1rem; }
.titem p { color: var(--text-2); font-size: var(--fs-sm); }

/* Why band (photo, navy overlay) */
.why-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); padding-block: var(--section-y); }
.why-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.why-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 31, 68, 0.95), rgba(10, 31, 68, 0.82) 60%, rgba(10, 31, 68, 0.62)); }
.why-inner .eyebrow { color: var(--sky); }
.why-inner .display-lg { max-width: 16ch; }
.why-lede { margin-top: var(--s-2); color: var(--on-dark-2); font-size: var(--fs-lead); }
.why-pts { display: grid; gap: 1.25rem; margin-top: var(--s-5); }
.why-pts li { display: flex; align-items: flex-start; gap: 0.9rem; }
.why-pts svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-pts strong { display: block; font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.15rem; }
.why-pts span { color: var(--on-dark-2); font-size: var(--fs-sm); line-height: 1.45; }
.why-models { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.why-models li { font-size: var(--fs-sm); padding: 0.4rem 0.9rem; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.25); }

/* Insights */
.ins-grid { display: grid; gap: var(--s-3); align-items: start; }
.ins-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.ins-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ins-link { display: flex; flex-direction: column; height: 100%; }
.ins-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.ins-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ins-card:hover .ins-media img { transform: scale(1.04); }
.ins-body { padding: 1.4rem; display: grid; gap: 0.6rem; }
.ins-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ins-cat { font-size: 0.75rem; font-weight: 600; color: var(--blue); }
.ins-sample { font-size: 0.6875rem; padding: 0.15rem 0.55rem; border-radius: var(--r-pill); background: var(--bg-muted); color: var(--text-2); }
.ins-body h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; text-wrap: balance; }
.ins-card-lead .ins-body h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2; }

/* FAQ */
.faq-grid { display: grid; gap: var(--s-5); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--bg-muted); }
.faq-item summary:hover { color: var(--blue); }
.faq-item p { padding: 0 3rem 1.4rem 0; color: var(--text-2); max-width: 44rem; }

/* Final CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; text-align: center; padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); }
.cta-bg { position: absolute; inset: 0; z-index: -2; opacity: 0.5; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 68, 0.85), rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0.92)); }
.cta-inner { max-width: 58rem; }
.cta-lede { font-size: var(--fs-lead); color: var(--on-dark-2); margin: var(--s-3) auto var(--s-5); max-width: 34rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.cta-actions .btn { width: 100%; max-width: 340px; }
.cta-facts { display: grid; gap: 1rem; margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); color: #DCE5F1; }
.cta-facts span { display: block; font-size: 0.75rem; font-weight: 600; color: var(--sky); margin-bottom: 0.2rem; }
.cta-facts a:hover { color: #fff; text-decoration: underline; }

/* ---------- 8. Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #071735; color: var(--on-dark-2); font-size: var(--fs-sm); }
.ft-signal { position: relative; isolation: isolate; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); border-bottom: 1px solid var(--line-dark); }
.ft-fan { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ft-traces path { fill: none; stroke: rgba(230, 246, 255, 0.1); stroke-width: 1.2; }
.ft-pulses path { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 40 1400; stroke-dashoffset: 40; animation: ftPulse 7s linear infinite paused; }
.ft-pulses path:nth-child(2n) { animation-delay: 1.6s; }
.ft-pulses path:nth-child(3n) { animation-delay: 3.1s; }
.ft-pulses path:nth-child(4n) { animation-delay: 4.4s; }
.site-footer.is-live .ft-pulses path { animation-play-state: running; }
@keyframes ftPulse { to { stroke-dashoffset: -1400; } }
.ft-nodes circle { fill: #071735; stroke: rgba(56, 189, 248, 0.55); stroke-width: 1.5; }
.ft-sun { fill: none; stroke: rgba(230, 246, 255, 0.3); stroke-width: 2; }
.ft-signal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 23, 53, 0) 30%, rgba(7, 23, 53, 0.85) 75%); }
.ft-signal-inner { display: grid; gap: var(--s-3); justify-items: start; }
.ft-motto { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.035em; color: #fff; }
.ft-signal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.ft-mail { color: #DCE5F1; border-bottom: 1px solid rgba(230, 246, 255, 0.3); padding-bottom: 2px; }
.ft-mail:hover { color: #fff; border-color: var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); padding-block: var(--s-6) var(--s-5); }
.footer-brand, .footer-offices { grid-column: 1 / -1; }
.footer-logo { width: 150px; margin: -0.6rem 0 var(--s-2) -0.6rem; }
.footer-brand p { max-width: 24rem; line-height: 1.6; }
.site-footer h3 { font-size: 0.9375rem; font-weight: 600; color: #fff; margin-bottom: var(--s-3); }
.footer-col ul { display: grid; gap: 0.7rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-offices { display: grid; gap: var(--s-2); }
.footer-offices address { line-height: 1.6; }
.footer-offices strong { display: block; color: #fff; font-weight: 500; margin-bottom: 0.2rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-block: var(--s-4); border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.footer-legal { color: var(--on-dark-2); }
.to-top { display: inline-flex; align-items: center; gap: 0.4rem; color: #DCE5F1; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }

/* ---------- 9. Robotic-hand cursor (mouse / trackpad only) ---------- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("../images/cursor-hand.svg") 12 2, auto; }
  p, h1, h2, h3, h4, li, dd, address, input, textarea { cursor: text; }
  a, button, summary, [role="tab"], label, .pcard, .icard, .ccard-link,
  a *, button *, summary *, .pcard *, .icard *, .ccard-link * { cursor: url("../images/cursor-hand-active.svg") 12 2, pointer; }
}

/* ---------- 10. Responsive ---------- */
@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .hero-visual { padding: 0; }
  .pcard { min-height: 280px; }
}
@media (min-width: 600px) {
  .ai-grid, .cap-grid, .radar-grid { grid-template-columns: 1fr 1fr; }
  .pcard-big { grid-column: 1 / -1; min-height: 400px; }
  .why-pts { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn { width: auto; max-width: none; }
  .cta-facts { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
  .ind-nav { display: flex; }
  .ins-grid { grid-template-columns: 1fr 1fr; }
  .ins-card-lead { grid-column: 1 / -1; }
  .ins-card-lead .ins-link { display: grid; grid-template-columns: 1.3fr 1fr; }
  .ins-card-lead .ins-media { aspect-ratio: auto; min-height: 280px; }
  .ins-card-lead .ins-body { align-content: center; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-offices { grid-column: auto; }
}
@media (min-width: 960px) {
  .tb-links { display: flex; }
  .section-head-split { grid-template-columns: 1.3fr 1fr; gap: var(--s-6); }
  .section-head-split > .link-arrow, .section-head-split > .ind-nav { justify-self: end; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: var(--s-6); }
  .about-grid, .sap-top, .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .trust-media { min-height: 480px; align-self: stretch; }
  .journey { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .cap-grid, .radar-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); position: relative; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 1px; background: repeating-linear-gradient(90deg, #C9D3E0 0 6px, transparent 6px 10px); }
  .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 1px; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
  .steps.is-drawn::after { transform: scaleX(1); }
  .step { border-left: 0; margin-left: 0; padding: 3.25rem 0 0; }
  .step-num { left: 0; top: 0; }
  .ins-grid { grid-template-columns: 2fr 1fr 1fr; }
  .ins-card-lead { grid-column: auto; }
  .ins-card-lead .ins-link { display: flex; }
  .ins-card-lead .ins-media { min-height: 0; aspect-ratio: 16 / 10; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: var(--s-7); }
  .ft-signal-inner { justify-items: end; text-align: right; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1.1fr 1fr 1.4fr; gap: var(--s-4); }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .ai-grid { grid-template-columns: repeat(4, 1fr); }
  .pcard-big { grid-column: span 2; min-height: 440px; }
  .pcard-std { min-height: 360px; }
  .why-pts { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .why-pts li { flex-direction: column; gap: 0.9rem; }
  .ind-rail { grid-auto-columns: calc((min(100vw - 2 * var(--gutter), var(--container)) - 3rem) / 4); }
  .hero-visual { padding: 2.25rem 1rem 7rem 0; }
}
@media (hover: hover) and (min-width: 1100px) {
  .pcard p, .icard p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease); }
  .pcard:hover p, .pcard:focus-within p, .icard:hover p { max-height: 6rem; opacity: 1; }
  .pcard-std .pcard-tags { display: none; }
}
@media (max-width: 767px) { .ft-fan { opacity: 0.35; } }

/* ---------- 11. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero .hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .hero-copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .hero-copy .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .hero-copy .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero .hero-visual.reveal { transition-delay: 0.2s; }
.float-card { animation: floatY 7s ease-in-out infinite; }
.fc-core { animation-delay: -3.5s; }
@keyframes floatY { 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ft-pulses { display: none; }
  .statement-text .w { color: var(--navy); }
  .steps::after { transform: scaleX(1); }
}

/* Latest in SAP & AI: card icons */
.rcard-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.rico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-soft), #EAF7FE); border: 1px solid #D6E6FA; }
.rico svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#rp-ai .rico { background: linear-gradient(135deg, #0A1F44, #16356B); border-color: #0A1F44; }
#rp-ai .rico svg { stroke: var(--sky); }

/* How we deliver: step icons */
.step-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 0.9rem; border-radius: 14px; background: linear-gradient(135deg, var(--blue-soft), #EAF7FE); border: 1px solid #D6E6FA; }
.step-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step:last-child .step-ico { background: linear-gradient(135deg, var(--navy), #16356B); border-color: var(--navy); }
.step:last-child .step-ico svg { stroke: var(--sky); }

/* Platform strip: dark parallax band */
.stack-strip { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); border: 0; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.stack-bg {
  position: absolute; inset: -30% 0; z-index: -2;
  background: url("../images/photos/ai-particles.webp") center / cover no-repeat;
  will-change: transform;
}
.stack-strip::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 90% at 50% 0%, rgba(0, 99, 214, 0.35), transparent 70%), linear-gradient(180deg, rgba(10, 31, 68, 0.9), rgba(7, 23, 53, 0.94)); }
.stack-strip-title { color: #fff; font-size: 1rem; }
.stack-tiles li {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #E6EEF8;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stack-tiles li:hover { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.5); color: #fff; }
.stack-strip-note { color: var(--on-dark-2); }

/* AI section: sticky intro + code background */
.ai { background: #071735; }
.ai-bg {
  position: absolute; inset: 0; height: auto; opacity: 1; z-index: 0; pointer-events: none;
  -webkit-mask-image: none; mask-image: none;
  background:
    linear-gradient(90deg, rgba(7, 23, 53, 0.96) 0%, rgba(7, 23, 53, 0.86) 45%, rgba(7, 23, 53, 0.78) 100%),
    url("../images/photos/sap-code.jpg") center / cover no-repeat;
}
@media (min-width: 960px) and (hover: hover) { .ai-bg { background-attachment: scroll, fixed; } }
.ai-layout { position: relative; z-index: 1; display: grid; gap: var(--s-5); }
.ai-side .section-lede { margin-bottom: var(--s-4); }
.ai-side .ai-stack { margin-top: 0; margin-bottom: var(--s-4); }
.ai-grid .pcard-std { min-height: 340px; }
@media (min-width: 1100px) {
  .ai-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--s-6); align-items: start; }
  .ai-side { position: sticky; top: calc(var(--bar-h) + 2rem); }
  .ai-side .display-xl { font-size: clamp(2.4rem, 1.4rem + 2.4vw, 3.6rem); }
  .ai .ai-grid { grid-template-columns: 1fr 1fr; }
  .ai .pcard-std { min-height: 380px; }
  .ai .pcard-std p { max-height: none; opacity: 1; }
}
.ai { overflow: clip; }

/* ==========================================================================
   v9 — mission, enquiry form, back-to-top, spotlight, hero build animation
   ========================================================================== */
/* Mission (from the live site) */
.mission { position: relative; margin: 0 0 var(--s-4); padding: 1.1rem 1.25rem 1.1rem 1.4rem; border-radius: var(--r-md); background: linear-gradient(90deg, var(--blue-soft), #F4F9FF); }
.mission::before { content: ""; position: absolute; left: 0; top: 0.9rem; bottom: 0.9rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--sky)); }
.mission-k { font-size: 0.8125rem; font-weight: 600; color: var(--blue); margin-bottom: 0.25rem; }
.mission-t { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: var(--navy); }

/* Contact split + enquiry form */
.cta { text-align: left; }
.cta .eyebrow { color: var(--sky); }
.cta-split { display: grid; gap: var(--s-5); align-items: start; }
.cta-copy .cta-lede { margin: var(--s-3) 0 var(--s-4); }
.cta .cta-facts { display: grid; gap: 1.1rem; margin: 0; padding: 0; border: 0; grid-template-columns: 1fr !important; }
.cta .cta-facts li { display: flex; gap: 0.85rem; align-items: flex-start; color: #DCE5F1; line-height: 1.5; }
.cta .cta-facts svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cta .cta-facts span { display: block; font-size: 0.75rem; font-weight: 600; color: var(--sky); margin-bottom: 0.1rem; }
.enquiry { display: grid; gap: 1rem; padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); }
.enquiry h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); }
.f-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.8125rem; font-weight: 600; color: #334155; }
.field label span { color: #B42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0.65rem 0.85rem; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff;
  font: inherit; font-size: var(--fs-sm); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8A96A8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 99, 214, 0.14); }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1); }
.f-error { font-size: var(--fs-sm); color: #B42318; font-weight: 500; }
.f-note { font-size: 0.75rem; color: var(--text-2); text-align: center; }
@media (min-width: 600px) { .f-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cta-split { grid-template-columns: 1fr 1.05fr; gap: var(--s-7); align-items: center; } }

/* Floating back-to-top with scroll-progress ring */
.fab-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.2s, color 0.2s, visibility 0s linear 0.3s;
}
.fab-top.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.fab-top:hover { background: var(--blue); color: #fff; }
.fab-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab-ring circle { fill: none; stroke-width: 2.5; }
.fab-ring circle:first-child { stroke: var(--line); }
.fab-prog { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--progress, 0)); }
.fab-top:hover .fab-prog { stroke: #fff; }
.fab-arrow { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Spotlight: soft light follows the pointer over dark photo cards */
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.22), transparent 60%);
  transition: opacity 0.3s;
}
[data-spot]:hover::after { opacity: 1; }
.pcard-body, .icard-body { position: relative; z-index: 1; }

/* Hero graphic builds layer by layer on load */
.js .hero-visual .layer, .js .hero-visual .copilot > *, .js .hero-visual .float-card { opacity: 0; transform: translateY(10px); }
.js .hero-visual.is-visible .layer, .js .hero-visual.is-visible .copilot > * { animation: buildIn 0.6s var(--ease) forwards; }
.js .hero-visual.is-visible .float-card { animation: buildIn 0.6s var(--ease) forwards, floatY 7s ease-in-out 1.8s infinite; }
.hero-visual.is-visible .layer-core { animation-delay: 0.35s !important; }
.hero-visual.is-visible .layer-btp { animation-delay: 0.5s !important; }
.hero-visual.is-visible .layer-ai { animation-delay: 0.65s !important; }
.hero-visual.is-visible .layer-exp { animation-delay: 0.8s !important; }
.hero-visual.is-visible .copilot > :nth-child(1) { animation-delay: 0.95s; }
.hero-visual.is-visible .copilot > :nth-child(2) { animation-delay: 1.1s; }
.hero-visual.is-visible .copilot > :nth-child(3) { animation-delay: 1.35s; }
.hero-visual.is-visible .copilot > :nth-child(4) { animation-delay: 1.5s; }
.js .hero-visual.is-visible .fc-core { animation-delay: 1.6s, 1.8s; }
.js .hero-visual.is-visible .fc-agent { animation-delay: 1.75s, 5.2s; }
@keyframes buildIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero-visual .layer, .js .hero-visual .copilot > *, .js .hero-visual .float-card { opacity: 1; transform: none; animation: none !important; }
  [data-spot]::after { display: none; }
}
@media (max-width: 599px) { .fab-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

/* review fixes */
.pcard-link { z-index: 2; }
.ins-grid { align-items: stretch; }
.ai-side .display-xl { font-size: var(--fs-display-lg); }
.f-ok { font-size: var(--fs-sm); color: #15803D; font-weight: 500; }
.f-ok a { color: var(--blue); text-decoration: underline; }
.stack-strip { padding-block: var(--section-y); }
.hero { padding-bottom: var(--section-y); }
.cta { padding-block: var(--section-y); }
.ft-signal { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.ft-motto { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
@media (max-width: 599px) { body:has(.enquiry:focus-within) .fab-top { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Hero: layered AI image + app window (replaces floating cards) */
.hero-visual { padding: 0 0 0 0; }
.hero-ai-img { position: relative; margin: 0 0 -3.5rem 18%; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.hero-ai-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-ai-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(10,31,68,0) 40%, rgba(10,31,68,0.35)); }
.hero .app-window { position: relative; z-index: 1; margin-right: 12%; }
@media (min-width: 1100px) { .hero-visual { padding: 0 1rem 0 0; } }
@media (max-width: 599px) { .hero-ai-img { margin: 0 0 -2rem 10%; } .hero .app-window { margin-right: 0; } .hero-visual { padding: 0; } }
.js .hero-visual .hero-ai-img { opacity: 0; transform: translateY(10px); }
.js .hero-visual.is-visible .hero-ai-img { animation: buildIn 0.7s var(--ease) 0.15s forwards; }
@media (prefers-reduced-motion: reduce) { .js .hero-visual .hero-ai-img { opacity: 1; transform: none; animation: none !important; } }

/* Blog cards: equal height with excerpt and pinned read link */
.ins-body { flex: 1; align-content: start; }
.ins-body p:not(.ins-meta) { color: var(--text-2); font-size: var(--fs-sm); }
.ins-read { margin-top: auto; padding-top: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }
.ins-body { display: flex; flex-direction: column; gap: 0.6rem; }
.hero .app-window { margin-right: 4%; }
.hero-ai-img { margin-left: 22%; }
.cp-actions b, .cp-actions span { white-space: nowrap; }
.hero-ai-img::after { background: linear-gradient(200deg, rgba(10,31,68,0) 55%, rgba(10,31,68,0.25)); }
.hero-ai-img img { object-position: 50% 45%; }
.hero-ai-img img { object-position: 50% 50%; }

/* Why TechRight: light split with commitment cards */
.why { background: #fff; }
.why-grid { display: grid; gap: var(--s-5); align-items: start; }
.why-left .display-lg { max-width: 16ch; }
.why-photo { position: relative; margin-top: var(--s-4); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo .why-models { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: 0.5rem; margin: 0; padding: 0.9rem 1rem; border: 0; border-radius: var(--r-md); background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.why-photo .why-models span { font-size: 0.75rem; font-weight: 600; color: var(--blue); }
.why-photo .why-models ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.why-photo .why-models li { font-size: 0.8125rem; font-weight: 500; color: var(--text); padding: 0.3rem 0.7rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; }
.why-cards { display: grid; gap: 1rem; }
.wcard { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: var(--bg-muted); border: 1px solid var(--line); transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.wcard:hover { background: #fff; border-color: #C9D7EA; box-shadow: var(--shadow-md); transform: translateX(4px); }
.wico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 8px 18px -8px rgba(0, 99, 214, 0.6); }
.wico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wcard h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.2rem; color: var(--navy); }
.wcard p { color: var(--text-2); font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .why-cards { padding-top: 0.5rem; }
}
@media (min-width: 960px) { .why-cards { align-self: center; padding-top: 0; } }

/* Why: text + cards left, image right */
.why-left .why-cards { margin-top: var(--s-4); }
.why-grid > .why-photo { margin-top: 0; }
@media (min-width: 960px) {
  .why-grid { align-items: stretch; }
  .why-grid > .why-photo { aspect-ratio: auto; min-height: 100%; position: sticky; top: calc(var(--bar-h) + 2rem); max-height: calc(100vh - var(--bar-h) - 4rem); }
  .why-cards { align-self: auto; }
}

/* ==========================================================================
   Inner pages (About)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2.5rem + 4vw, 6rem)); padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,31,68,0.95) 0%, rgba(10,31,68,0.82) 50%, rgba(10,31,68,0.45) 100%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-sm); color: var(--on-dark-2); margin-bottom: var(--s-3); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--sky); }
.page-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; }
.page-lede { margin-top: var(--s-3); max-width: 40rem; font-size: var(--fs-lead); line-height: 1.55; color: #D3DDEA; }

.split { display: grid; gap: var(--s-5); align-items: center; }
.prose { display: grid; gap: 1rem; margin-top: var(--s-3); color: var(--text-2); max-width: 38rem; }
.split-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-lg); background: var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 1rem; bottom: 1rem; display: grid; gap: 0.1rem; padding: 0.8rem 1rem; border-radius: var(--r-md); background: rgba(255,255,255,0.96); font-size: var(--fs-xs); color: var(--text-2); box-shadow: var(--shadow-md); }
.media-badge strong { font-size: 0.9375rem; color: var(--text); }
.who-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.who-facts strong { display: block; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 650; letter-spacing: -0.02em; color: var(--blue); }
.who-facts span { font-size: var(--fs-xs); color: var(--text-2); }
.mission-quote { margin: var(--s-4) 0 0; padding: 1.1rem 1.3rem; border-left: 3px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; background: #fff; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: var(--navy); }

.ded-grid { display: grid; gap: 1rem; }
.ded-card { padding: 1.6rem; border-radius: var(--r-lg); background: var(--bg-muted); border: 1px solid var(--line); transition: background-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.ded-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ded-ico, .exp-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1rem; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 8px 18px -8px rgba(0, 99, 214, 0.6); }
.ded-ico svg, .exp-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ded-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.ded-card p { color: var(--text-2); font-size: var(--fs-sm); }

.expertise { background: linear-gradient(180deg, var(--navy), #0C2552); }
.expertise .eyebrow, .link-sky { color: var(--sky); }
.exp-grid { display: grid; gap: 1rem; }
.exp-card { display: grid; gap: 0.3rem; height: 100%; padding: 1.5rem; border-radius: var(--r-lg); background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.exp-card:hover { background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.45); transform: translateY(-3px); }
.exp-t { font-size: 1.125rem; font-weight: 600; color: #fff; }
.exp-d { font-size: var(--fs-sm); color: var(--on-dark-2); }

.val-grid { display: grid; gap: 1.5rem; border-top: 1px solid var(--line); }
.val-item { padding-top: 1.5rem; }
.val-n { display: inline-block; font-size: 0.8125rem; font-weight: 600; color: var(--blue); margin-bottom: 0.6rem; }
.val-item h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.val-item p { color: var(--text-2); font-size: var(--fs-sm); max-width: 22rem; }

.off-grid { display: grid; gap: 1rem; }
.off-card { display: grid; gap: 0.6rem; justify-items: start; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.off-flag { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue); }
.off-card h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); }
.off-card address { color: var(--text-2); line-height: 1.6; }

.page-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); padding-block: var(--section-y); text-align: center; }
.page-cta-bg { position: absolute; inset: 0; z-index: -2; }
.page-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,31,68,0.88), rgba(10,31,68,0.8)); }
.page-cta-inner .display-lg { max-width: 22ch; margin-inline: auto; }
.page-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: var(--s-4); }

@media (min-width: 600px) {
  .ded-grid, .exp-grid, .off-grid, .val-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .split-rev .split-media { order: 0; }
  .ded-grid, .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .val-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 959px) { .split-rev .split-media { order: 2; } }
@media (min-width: 960px) { .ded-grid { grid-template-columns: repeat(6, 1fr); } .ded-card { grid-column: span 2; } .ded-card:nth-child(4), .ded-card:nth-child(5) { grid-column: span 3; } }

/* ==========================================================================
   Services overview + service detail
   ========================================================================== */
.svc-grid { display: grid; gap: 1.25rem; }
.svc-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.svc-link:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #C9D7EA; }
.svc-media { position: relative; aspect-ratio: 16 / 9; background: var(--line); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-ico { position: absolute; left: 1.25rem; bottom: -24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--sky)); border: 3px solid #fff; box-shadow: 0 8px 18px -8px rgba(0,99,214,0.6); }
.svc-ico svg, .page-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-body { display: flex; flex-direction: column; gap: 0.7rem; flex: 1; padding: 2.1rem 1.4rem 1.4rem; }
.svc-body h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; color: var(--navy); }
.svc-body > p { color: var(--text-2); font-size: var(--fs-sm); }
.svc-points { display: grid; gap: 0.4rem; }
.svc-points li, .offer-check { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: #334155; }
.svc-points svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }
.svc-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.svc-link:hover .svc-more svg { transform: translateX(4px); }

.page-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-3); border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 10px 24px -10px rgba(56,189,248,0.7); }
.svc-layout { display: grid; gap: var(--s-5); align-items: start; }
.svc-figure { margin: var(--s-4) 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); background: var(--line); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }
.sub-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 650; letter-spacing: -0.02em; color: var(--navy); margin: clamp(3rem, 2rem + 2vw, 4rem) 0 var(--s-3); }
.offer-grid { display: grid; gap: 1rem; }
.offer-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem; border-radius: var(--r-md); background: var(--bg-muted); border: 1px solid var(--line); transition: background-color 0.25s, box-shadow 0.25s; }
.offer-card:hover { background: #fff; box-shadow: var(--shadow-md); }
.offer-check { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); }
.offer-check svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.offer-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.offer-card p { color: var(--text-2); font-size: var(--fs-sm); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tags li { font-size: var(--fs-sm); font-weight: 500; padding: 0.45rem 0.9rem; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: #334155; }
.tech-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-3); }
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.svc-pager a { display: grid; gap: 0.2rem; padding: 1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--line); font-weight: 600; color: var(--navy); transition: border-color 0.2s, background-color 0.2s; }
.svc-pager a:hover { border-color: var(--blue); background: var(--blue-soft); }
.svc-pager span { font-size: 0.75rem; font-weight: 500; color: var(--text-2); }
.pg-next { text-align: right; }

.svc-side { display: grid; gap: 1rem; }
.side-card { padding: 1.4rem; border-radius: var(--r-lg); background: var(--bg-muted); border: 1px solid var(--line); }
.side-title { font-size: 1.0625rem; font-weight: 650; color: var(--navy); margin-bottom: 0.9rem; }
.side-list { display: grid; gap: 0.25rem; }
.side-list a { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.75rem; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; color: #334155; transition: background-color 0.2s, color 0.2s; }
.side-list svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-list a:hover { background: #fff; color: var(--blue); }
.side-list a[aria-current="page"] { background: var(--blue); color: #fff; }
.side-list a[aria-current="page"] svg { stroke: #fff; }
.side-contact { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-contact .side-title { color: #fff; }
.side-contact p { color: var(--on-dark-2); font-size: var(--fs-sm); margin-bottom: 1rem; }
.side-mail { display: block; margin-top: 0.8rem; text-align: center; font-size: var(--fs-sm); color: var(--sky); }
.steps-compact { margin-top: 0; }

@media (min-width: 600px) {
  .svc-grid, .offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-6); }
  .svc-side { position: sticky; top: calc(var(--bar-h) + 1.5rem); }
}
@media (min-width: 960px) and (max-width: 1099px) { .svc-detail .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-4); } .svc-detail .steps::before, .svc-detail .steps::after { display: none; } }

/* ==========================================================================
   SAP Technologies page
   ========================================================================== */
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s-4); }
.sap-more { margin-top: var(--s-3); }
.sap-points { margin-top: var(--s-4); gap: 0.6rem; }

.why-now { background: linear-gradient(90deg, var(--blue), #1E88E5); color: #fff; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.now-inner { display: grid; gap: var(--s-3); align-items: center; }
.now-date span { display: block; font-size: clamp(3rem, 2rem + 4vw, 4.75rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.now-date small { display: block; max-width: 16rem; margin-top: 0.4rem; font-size: 0.8125rem; color: #DCEBFF; }
.now-copy h2 { font-size: 1.375rem; font-weight: 650; margin-bottom: 0.4rem; }
.now-copy p { color: #E6F0FF; font-size: var(--fs-sm); max-width: 40rem; }
.why-now .btn-primary { background: #fff; color: var(--blue); justify-self: start; }
.why-now .btn-primary:hover { background: var(--navy); color: #fff; }

.pf-panel { animation: fadeIn 0.35s var(--ease); }
.pf-grid { display: grid; gap: 1rem; }
.pf-card { position: relative; padding: 1.4rem 1.4rem 1.4rem 1.6rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.pf-card::before { content: ""; position: absolute; left: 0; top: 1.2rem; bottom: 1.2rem; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--blue), var(--sky)); }
.pf-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pf-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.pf-card p { color: var(--text-2); font-size: var(--fs-sm); }
.pf-tabs { flex-wrap: wrap; }

.clean-core { background: linear-gradient(180deg, var(--navy), #0C2552); }
.clean-core .eyebrow { color: var(--sky); }
.cc-rules { display: grid; gap: 0.9rem; margin-top: var(--s-4); }
.cc-rules li { display: grid; gap: 0.15rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); }
.cc-rules b { font-weight: 600; color: #fff; }
.cc-rules span { font-size: var(--fs-sm); color: var(--on-dark-2); }
.cc-diagram { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; }
.cc-ring { position: absolute; border-radius: 50%; display: flex; justify-content: center; }
.cc-ring span { margin-top: 1.1rem; max-width: 70%; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--on-dark-2); }
.cc-outer { inset: 0; border: 1px dashed rgba(230,246,255,0.25); background: radial-gradient(circle, rgba(56,189,248,0.04), transparent 70%); animation: spin 80s linear infinite; }
.cc-outer span { animation: spin 80s linear infinite reverse; }
.cc-mid { inset: 17%; border: 1px solid rgba(56,189,248,0.45); background: rgba(0,99,214,0.12); }
.cc-mid span { color: var(--sky); }
.cc-core { position: relative; display: grid; place-items: center; width: 38%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #1E88E5); box-shadow: 0 0 0 10px rgba(0,99,214,0.15), 0 20px 50px -10px rgba(0,99,214,0.7); text-align: center; }
.cc-core b { display: block; font-size: clamp(1rem, 0.8rem + 1vw, 1.4rem); color: #fff; }
.cc-core small { display: block; font-size: 0.75rem; color: #DCEBFF; }

.ap-grid { display: grid; gap: 1rem; }
.ap-card { display: grid; gap: 0.5rem; align-content: start; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: var(--shadow-md); }
.ap-card:nth-child(2) { border-top-color: var(--sky); }
.ap-card:nth-child(3) { border-top-color: var(--navy); }
.ap-k { font-size: 0.8125rem; font-weight: 600; color: var(--blue); }
.ap-card h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); }
.ap-d { color: var(--text-2); font-size: var(--fs-sm); }
.ap-fit { margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.ap-card ul { display: grid; gap: 0.4rem; }
.ap-card li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: #334155; }
.ap-card li svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.jr-track { display: grid; gap: 1rem; counter-reset: jr; }
.jr-step { position: relative; padding: 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.jr-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.8rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.875rem; font-weight: 600; }
.jr-step:last-child .jr-n { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.jr-step h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.jr-step p { color: var(--text-2); font-size: var(--fs-sm); }

@media (min-width: 600px) {
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .jr-track { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .now-inner { grid-template-columns: auto 1fr auto; gap: var(--s-5); }
  .pf-grid { grid-template-columns: repeat(3, 1fr); }
  .ap-grid { grid-template-columns: repeat(3, 1fr); }
  .sap-svc-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .sap-svc-grid .ded-card { grid-column: auto !important; }
  .jr-track { grid-template-columns: repeat(5, 1fr); position: relative; }
  .jr-track::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: calc(1.4rem + 20px); height: 2px; background: repeating-linear-gradient(90deg, #C9D3E0 0 6px, transparent 6px 10px); z-index: 0; }
  .jr-step { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) { .cc-outer, .cc-outer span { animation: none; } }
.clean-core { overflow: hidden; }

/* Blog: lead article + compact list (no empty space) */
.blog-layout { display: grid; gap: 1.25rem; align-items: stretch; }
.blog-list { display: grid; gap: 1rem; }
.blog-row-link { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; height: 100%; padding: 0.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.blog-row-link:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: #C9D7EA; }
.blog-row-media { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--line); }
.blog-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.blog-row-link:hover .blog-row-media img { transform: scale(1.06); }
.blog-row-body { display: grid; gap: 0.35rem; padding-right: 0.5rem; }
.blog-row-body h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--navy); }
.blog-row-body .ins-read { margin-top: 0.1rem; padding-top: 0; font-size: 0.875rem; }
.ins-date { font-size: 0.75rem; color: var(--text-2); }
.blog-layout .ins-card-lead { height: 100%; }
.blog-layout .ins-card-lead .ins-link { display: flex; }
@media (min-width: 600px) { .blog-row-link { grid-template-columns: 150px 1fr; } }
@media (min-width: 960px) {
  .blog-layout { grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
  .blog-list { grid-template-rows: repeat(4, 1fr); }
  .blog-layout .ins-card-lead .ins-media { aspect-ratio: 16 / 10; min-height: 0; }
}
.ded-label { margin-top: var(--s-4); font-size: 1rem; font-weight: 650; color: var(--navy); }
.why-left .ded-label + .why-cards { margin-top: var(--s-2); }

/* Footer: original-style office address block */
.footer-offices { display: grid; gap: 1.25rem; }
.footer-offices h3 { margin-bottom: 0; }
.fo-office { display: grid; gap: 0.55rem; }
.fo-title { font-weight: 600; color: #fff; display: flex; align-items: center; gap: 0.4rem; }
.fo-line { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.55; color: var(--on-dark-2); }
.fo-line svg { flex: none; width: 17px; height: 17px; margin-top: 0.2rem; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fo-line a { color: #DCE5F1; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 1fr 1fr 1.8fr; } .footer-offices { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } .footer-offices h3 { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-offices { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding-top: var(--s-4); border-top: 1px solid var(--line-dark); max-width: 760px; column-gap: var(--s-5); }
}

/* ==========================================================================
   Footer v2 — contact strip, balanced columns, centred copyright
   ========================================================================== */
.fcontact { display: grid; gap: 1rem; padding-block: var(--s-5) 0; }
.fc-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.15rem 1.25rem; border-radius: var(--r-lg); background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); color: #DCE5F1; line-height: 1.5; font-size: var(--fs-sm); transition: background-color 0.25s, border-color 0.25s; }
a.fc-item:hover { background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.45); color: #fff; }
.fc-item small { display: block; margin-bottom: 0.2rem; font-size: 0.8125rem; font-weight: 600; color: #fff; }
.fc-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--sky)); }
.fc-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-grid { padding-block: var(--s-5) var(--s-5); }
.footer-col a { position: relative; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.footer-col a:hover::after { transform: scaleX(1); }
.site-footer h3 { position: relative; padding-bottom: 0.75rem; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.footer-bottom-center { justify-content: center !important; text-align: center; padding-block: var(--s-3); }
@media (min-width: 768px) { .fcontact { grid-template-columns: 0.8fr 1.2fr 1fr; } }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-5); }
  .footer-brand { grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   AI Solutions overview + detail
   ========================================================================== */
.ai-sol-grid { display: grid; gap: 1.25rem; }
.ai-card-link { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; height: 100%; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--navy-2); }
.ai-card-link > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ai-card-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,31,68,0.15) 15%, rgba(10,31,68,0.75) 55%, rgba(10,31,68,0.97)); }
.ai-card-link:hover > img { transform: scale(1.05); }
.ai-card-body { position: relative; z-index: 1; display: grid; gap: 0.55rem; padding: 1.6rem; }
.ai-card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 8px 18px -8px rgba(56,189,248,0.7); }
.ai-card-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-card-body h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; }
.ai-card-body p { color: #D3DDEA; font-size: var(--fs-sm); }
.ai-card-more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--sky); }
.ai-card-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.ai-card-link:hover .ai-card-more svg { transform: translateX(4px); }

.ai-stack-sec { background: linear-gradient(180deg, var(--navy), #0C2552); }
.ai-stack-sec .eyebrow { color: var(--sky); }
.stk-grid { display: grid; gap: 1rem; }
.stk-col { padding: 1.4rem; border-radius: var(--r-lg); background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); }
.stk-col h3 { font-size: 1rem; font-weight: 600; color: var(--sky); margin-bottom: 0.9rem; }
.stk-col ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stk-col li { font-size: 0.8125rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.18); color: #DCE5F1; }
.tech-note-dark { color: var(--on-dark-2); margin-top: var(--s-3); }

.flow { display: grid; gap: 1rem; counter-reset: f; }
.flow-step { position: relative; padding: 1.3rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.flow-n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 0.7rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.flow-step h3 { font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.flow-step p { color: var(--text-2); font-size: var(--fs-sm); }
.use-box { margin-top: clamp(3rem, 2rem + 2vw, 4rem); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.use-box .sub-title { margin-top: 0; color: #fff; }
.use-list { display: grid; gap: 0.7rem; }
.use-list li { display: flex; align-items: center; gap: 0.6rem; color: #DCE5F1; }
.use-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(56,189,248,0.18); fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.use-box .tech-note { color: var(--on-dark-2); }
.side-all { display: block; margin-top: 0.8rem; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }

@media (min-width: 600px) {
  .ai-sol-grid, .stk-grid, .use-list { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .stk-grid { grid-template-columns: repeat(4, 1fr); }
  .ai-trust-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .ai-trust-grid .ded-card { grid-column: auto !important; }
}
@media (min-width: 1100px) {
  .ai-sol-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Blog list + post
   ========================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bcard-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.bcard-link:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #C9D7EA; }
.bcard-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.bcard-link:hover .bcard-media img { transform: scale(1.04); }
.bcard-body { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; padding: 1.4rem; }
.bcard-body h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; color: var(--navy); }
.bcard-body > p:not(.ins-meta) { color: var(--text-2); font-size: var(--fs-sm); }
.bcard-body .ins-read { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; }
.bcard-body .ins-read svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.bcard-link:hover .ins-read svg { transform: translateX(4px); }
.ins-meta .ins-date + .ins-date::before, .ins-meta .ins-sample + .ins-date::before { content: "·"; margin-right: 0.5rem; }
.bfeature { margin-bottom: var(--s-5); }
.bcard-big .bcard-body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.2; }
.bcard-big .bcard-body { padding: clamp(1.4rem, 1rem + 1.5vw, 2.5rem); justify-content: center; }
.bfilter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s-4); }
.bchip { min-height: 42px; padding: 0.5rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: var(--fs-sm); font-weight: 600; color: #334155; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.bchip:hover { border-color: var(--blue); color: var(--blue); }
.bchip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.bgrid { display: grid; gap: 1.25rem; }
.bgrid .bcard[hidden] { display: none !important; }
.bempty { color: var(--text-2); padding: var(--s-4) 0; }
.bnews-inner { display: grid; gap: var(--s-4); align-items: center; }
.bnews-card { display: grid; gap: 1.2rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.bnews-card p { color: var(--text-2); }
.bnews-card .btn { justify-self: start; }

.post-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem)); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: radial-gradient(60% 80% at 90% 0%, rgba(56,189,248,0.14), transparent 70%), linear-gradient(180deg, #F5F9FF, #fff); }
.post-hero .crumbs ol { color: var(--text-2); }
.post-hero .crumbs a { color: var(--text); }
.post-hero .crumbs a:hover { color: var(--blue); }
.post-hero-inner { max-width: 54rem; }
.post-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: var(--s-3); font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }
.post-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.post-back:hover svg { transform: translateX(-4px); }
.post-cat { display: inline-block; margin-bottom: 0.8rem; padding: 0.25rem 0.75rem; border-radius: var(--r-pill); background: var(--blue-soft); color: var(--blue); font-size: 0.8125rem; font-weight: 600; }
.post-title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; color: var(--navy); text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.post-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.post-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-sec { padding-bottom: var(--section-y); }
.post-layout { display: grid; gap: var(--s-5); align-items: start; }
.post-figure { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); background: var(--line); }
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 46rem; margin-top: var(--s-5); font-size: 1.0938rem; line-height: 1.8; color: #334155; }
.post-body > * + * { margin-top: 1.25rem; }
.post-body > p:first-child { font-size: 1.25rem; line-height: 1.65; color: var(--navy); font-weight: 500; }
.post-body h2 { margin-top: 2.5rem; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy); }
.post-body ul { display: grid; gap: 0.6rem; padding: 1.25rem 1.4rem; border-radius: var(--r-md); background: var(--bg-muted); border-left: 3px solid var(--blue); }
.post-body li { position: relative; padding-left: 1.4rem; }
.post-body li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.post-share span { margin-right: 0.4rem; }
.post-share a, .post-share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.post-share a:hover, .post-share button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.post-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-list { display: grid; gap: 0.25rem; }
.cat-list a { display: flex; justify-content: space-between; padding: 0.6rem 0.75rem; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; color: #334155; transition: background-color 0.2s, color 0.2s; }
.cat-list a:hover { background: #fff; color: var(--blue); }
.cat-list span { font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: var(--r-pill); background: #fff; color: var(--text-2); }
.recent-list { display: grid; gap: 0.75rem; }
.recent-list a { display: grid; grid-template-columns: 64px 1fr; gap: 0.75rem; align-items: center; }
.rp-img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.rp-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-list b { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--navy); transition: color 0.2s; }
.recent-list small { font-size: 0.75rem; color: var(--blue); }
.recent-list a:hover b { color: var(--blue); }

@media (min-width: 600px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .bcard-big .bcard-link { display: grid; grid-template-columns: 1.3fr 1fr; }
  .bcard-big .bcard-media { aspect-ratio: auto; min-height: 380px; }
  .bnews-inner { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
@media (min-width: 1100px) {
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-6); }
}
@media (min-width: 1100px) {
  .blog-sec .bgrid { grid-template-columns: repeat(6, 1fr); }
  .blog-sec .bgrid .bcard { grid-column: span 2; }
  .blog-sec .bgrid .bcard:nth-child(4):nth-last-child(2), .blog-sec .bgrid .bcard:nth-child(5):last-child { grid-column: span 3; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout { display: grid; gap: var(--s-5); align-items: start; }
.ci-list { display: grid; gap: 1rem; margin-top: var(--s-4); }
.ci-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--r-lg); background: var(--bg-muted); border: 1px solid var(--line); line-height: 1.55; }
.ci-card small { display: block; margin-bottom: 0.15rem; font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.ci-card a, .ci-card span { color: #334155; font-size: var(--fs-sm); }
.ci-card > div > a:first-of-type:not(.ci-map) { font-weight: 600; color: var(--blue); font-size: 1rem; }
.ci-map { display: inline-flex !important; align-items: center; gap: 0.35rem; margin-top: 0.4rem; font-weight: 600; color: var(--blue) !important; }
.ci-map svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.enquiry-full { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.enquiry-full h2 { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); }
.f-intro { font-size: 0.8125rem; color: var(--text-2); margin-top: -0.5rem; }
.f-intro span[aria-hidden] { color: #B42318; }
.f-label { font-size: 0.8125rem; font-weight: 600; color: #334155; }
.f-radios { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.f-radios legend { width: 100%; margin-bottom: 0.35rem; font-size: 0.8125rem; font-weight: 600; color: #334155; }
.radio { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 46px; padding: 0 1rem; border-radius: 10px; border: 1px solid #CBD5E1; font-size: var(--fs-sm); font-weight: 500; color: var(--text); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.radio input { accent-color: var(--blue); width: 16px; height: 16px; }
.radio:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.radio:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(0,99,214,0.14); }
.f-drop { display: grid; justify-items: center; gap: 0.3rem; padding: 1.4rem; border-radius: 12px; border: 1.5px dashed #B8C6D9; background: var(--bg-muted); text-align: center; cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); transition: border-color 0.2s, background-color 0.2s; }
.f-drop:hover, #c-file:focus-visible + .f-drop, .f-drop:focus-within { border-color: var(--blue); background: var(--blue-soft); }
.f-drop svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-drop small { font-weight: 400; color: var(--text-2); font-size: 0.75rem; }
.maps-grid { display: grid; gap: 1.25rem; }
.map-card { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.map-frame { aspect-ratio: 16 / 10; background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card figcaption { display: grid; gap: 0.2rem; padding: 1.1rem 1.3rem; font-size: var(--fs-sm); color: var(--text-2); }
.map-card b { color: var(--navy); font-size: 1rem; }
@media (min-width: 768px) { .maps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-6); }
  .contact-info { position: sticky; top: calc(var(--bar-h) + 2rem); }
}
.field input.visually-hidden { position: absolute !important; width: 1px !important; min-height: 0 !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); }
.field { position: relative; }
.f-drop span { color: var(--navy) !important; }

/* 404 */
.nf { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 7rem)); padding-bottom: var(--section-y); text-align: center;
  background: radial-gradient(60% 70% at 50% 0%, rgba(56,189,248,0.16), transparent 70%), linear-gradient(180deg, #F5F9FF, #fff); }
.nf-inner { max-width: 44rem; }
.nf-code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(135deg, var(--navy), var(--blue) 60%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .page-title { color: var(--navy); margin-top: var(--s-2); }
.nf .page-lede { color: var(--text-2); margin-inline: auto; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: var(--s-5); }
.nf-links a { display: inline-block; padding: 0.45rem 0.95rem; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; color: #334155; transition: border-color 0.2s, color 0.2s; }
.nf-links a:hover { border-color: var(--blue); color: var(--blue); }

/* Larger logo + navigation text (client request) */
:root { --bar-h: 84px; }
.brand-logo { width: 168px; }
.nav-link { font-size: 1.0625rem; padding: 0 0.95rem; }
.nav-link::after { left: 0.95rem; right: 0.95rem; }
.header-cta { font-size: 1rem; min-height: 44px; padding-inline: 1.3rem; }
@media (max-width: 1099px) { .brand-logo { width: 148px; } }
@media (min-width: 1100px) and (max-width: 1249px) { .nav-link { font-size: 1rem; padding: 0 0.7rem; } .nav-link::after { left: 0.7rem; right: 0.7rem; } }
@media (min-width: 1800px) { .brand-logo { width: 180px; } .nav-link { font-size: 1.0938rem; } }
