/* ==========================================================================
   Datawise Consultancy Services — site styles
   Palette from the brand notes: white background, blue & orange.
   ========================================================================== */

:root {
  --blue: #1273C4;
  --blue-700: #0E5DA3;
  --cyan: #45B8D8;
  --navy: #0B2A4A;
  --navy-900: #071C33;
  --orange: #F08A1C;
  --orange-600: #E07A0C;
  --orange-50: #FFF4E8;
  --ink: #16202E;
  --muted: #556171;
  --line: #E2E9F2;
  --tint: #F4F8FD;
  --white: #FFFFFF;
  --danger: #B91C1C;
  --success: #047857;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 8px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .16);
  --header-h: 76px;
  --container: 1264px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.3vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy-900); box-shadow: 0 6px 18px rgba(240, 138, 28, .28); }
.btn--primary:hover { background: var(--orange-600); color: var(--navy-900); }
.btn--secondary { background: #fff; color: var(--blue); border-color: rgba(18, 115, 196, .35); }
.btn--secondary:hover { background: var(--tint); color: var(--blue-700); border-color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--tint); color: var(--navy); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { padding: .62rem 1.05rem; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 42, 74, .06); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav__toggle { display: inline-grid; place-items: center; background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; border-radius: 6px; }
.nav__toggle:hover { color: var(--blue); }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 340px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav__menu a strong { display: block; font-size: .95rem; font-weight: 700; color: var(--navy); }
.nav__menu a span { display: block; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--tint); }
.nav__menu a:hover strong, .nav__menu a[aria-current="page"] strong { color: var(--blue); }
.nav__menu-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav__menu-all a { font-weight: 700; font-size: .9rem; color: var(--blue); }
.nav__toggle[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__cta { margin-left: 14px; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; color: var(--navy); cursor: pointer;
}
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--menu { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

@media (hover: hover) and (min-width: 1025px) {
  .nav__item:hover > .nav__menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(11, 42, 74, .14);
    padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .nav__toggle { margin: 0; padding: 12px; }
  .nav__menu {
    display: none; position: static; min-width: 0; width: 100%; padding: 0 0 10px;
    border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__toggle[aria-expanded="true"] + .nav__menu { display: block; }
  .nav__cta { margin: 16px 0 0; border-bottom: 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Generic section helpers ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(135deg, var(--navy-900), var(--navy) 55%, #0E4C86); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.section--navy .lead { color: rgba(255, 255, 255, .78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.eyebrow--orange::before { background: var(--orange); }
.section--navy .eyebrow { color: #8FD0EE; }
.media-gap { margin-block: 28px; }
.actions-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--square { aspect-ratio: 1 / 1; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(69, 184, 216, .18), transparent 62%),
    radial-gradient(40% 45% at 6% 92%, rgba(240, 138, 28, .12), transparent 60%),
    #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(18, 115, 196, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 115, 196, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 30%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 .accent { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.5; }
.hero__visual { position: relative; }
.hero__visual .photo { border-radius: 28px; }
.partner-chip {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow);
}
.partner-chip img { height: 24px; width: auto; }
.cap-card {
  position: absolute; left: -32px; bottom: -36px; z-index: 2; width: min(88%, 360px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px;
}
.cap-card__title { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.cap-card ul { list-style: none; }
.cap-card li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); }
.cap-card li:first-child { border-top: 0; }
.cap-card strong { display: block; font-size: .94rem; color: var(--navy); line-height: 1.3; }
.cap-card span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.cap-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--tint); color: var(--blue); }
.cap-icon .icon { width: 20px; height: 20px; }
.cap-icon--orange { background: var(--orange-50); color: #C2610A; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .cap-card { left: 16px; }
}
@media (max-width: 560px) {
  .cap-card { position: relative; left: auto; bottom: auto; width: auto; margin: -72px 14px 0; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 26px 0; border-block: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; align-items: center; gap: 20px 36px; flex-wrap: wrap; }
.trust__partner img { height: 32px; width: auto; }
.trust__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { font-family: var(--mono); font-size: .78rem; padding: .38rem .8rem; border-radius: 999px; background: var(--tint); color: var(--navy); border: 1px solid var(--line); }
.section--navy .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(18, 115, 196, .25); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.card__body > p { color: var(--muted); font-size: .98rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; box-shadow: 0 8px 20px rgba(18, 115, 196, .25);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__media + .card__body .card__icon { margin-top: -52px; border: 3px solid #fff; }
.card__icon--orange { background: linear-gradient(135deg, #F7A94B, var(--orange)); box-shadow: 0 8px 20px rgba(240, 138, 28, .25); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link .icon { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__link .icon { transform: translateX(3px); }
.card--flat { padding: 28px; }
.card--flat:hover { transform: none; box-shadow: var(--shadow); }
.card--flat > p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.card--cta { background: linear-gradient(160deg, var(--navy), #0E4C86); border: 0; justify-content: center; }
.card--cta h3 { color: #fff; }
.card--cta .card__body > p { color: rgba(255, 255, 255, .8); }
.card--cta .card__link { color: var(--orange); }
.h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 20px; }

/* Numbered solution rows */
.rows { list-style: none; border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background-color .2s;
}
.row:hover { background: #fff; }
.row__num { font-family: var(--mono); color: var(--orange); font-size: .95rem; padding-top: 3px; }
.row h3 { margin-bottom: .3em; }
.row h3 a { color: inherit; text-decoration: none; }
.row h3 a::after { content: ""; position: absolute; inset: 0; }
.row p { margin: 0; color: var(--muted); font-size: .97rem; }
.row__arrow { color: var(--blue); padding-top: 3px; transition: transform .2s; }
.row:hover .row__arrow { transform: translateX(4px); }
.split__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split__sticky { position: static; } }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); opacity: .55;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon {
  position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--orange); color: var(--navy);
}
.section--navy .step__icon { background: var(--navy); color: #fff; }
.step__num { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--orange); margin-bottom: 6px; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.section--navy .step p { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 24px; }
  .step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; text-align: left; padding: 0; }
  .step__icon { margin: 0; }
}

/* ---------- Industry tiles ---------- */
.tile {
  position: relative; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden;
  border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 28, 51, .05) 25%, rgba(7, 28, 51, .88) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 24px; }
.tile h3 { color: #fff; margin-bottom: .25em; }
.tile p { margin: 0; font-size: .94rem; color: rgba(255, 255, 255, .85); }
.tile:hover { color: #fff; }
.tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--orange); }
.tile__more .icon { width: 16px; height: 16px; }

/* ---------- Features (icon + text list) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; list-style: none; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature__icon--orange { color: #C2610A; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--orange), var(--orange)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s, color .2s; }
.feature h3 a:hover { color: var(--blue); background-size: 100% 2px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

.check-list { display: grid; gap: 12px; list-style: none; margin: 0 0 1.5em; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); stroke-width: 2.5; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.office { position: relative; overflow: hidden; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.office::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.office:nth-child(3)::before { background: linear-gradient(90deg, #F7A94B, var(--orange)); }
.office__country { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.office h3 { font-size: 1.45rem; margin-bottom: .6em; }
.office a, .office p { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; text-decoration: none; }
.office p { color: var(--muted); font-weight: 500; }
.office .icon { width: 18px; height: 18px; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; 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; gap: 24px;
  padding: 22px 4px; font-weight: 700; font-size: 1.08rem; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; transition: transform .2s;
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__answer { padding: 0 4px 22px; color: var(--muted); max-width: 780px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0; color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--navy) 50%, #0E4C86); }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 138, 28, .28), transparent 65%); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 600px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  background: radial-gradient(50% 70% at 92% 10%, rgba(69, 184, 216, .16), transparent 65%), linear-gradient(180deg, var(--tint), #fff);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero h1 { max-width: 880px; }
.page-hero .lead { max-width: 720px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA6B5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: .55rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .93rem; text-decoration: none;
}
.jump a:hover { border-color: var(--blue); color: var(--blue); }
.jump .icon { width: 18px; height: 18px; color: var(--blue); }

/* ---------- Detail (service / solution) pages ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--ink); }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.stat-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 14px; background: var(--orange-50); border: 1px solid #FBD9B3; color: var(--navy); font-weight: 500; }
.stat-note .icon { color: #C2610A; margin-top: 2px; }
.aside-card { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card h3 { font-size: 1.05rem; }
.aside-card .check-list { margin-bottom: 0; }
.aside-card--navy { background: linear-gradient(160deg, var(--navy), #0E4C86); border: 0; color: rgba(255, 255, 255, .85); }
.aside-card--navy h3 { color: #fff; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.related a span { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.related a:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--blue); }
.related .icon { color: var(--blue); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* ---------- Industries page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: .5rem .95rem; border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.subnav a:hover, .subnav a.is-active { background: var(--tint); color: var(--blue); }
.subnav .icon { width: 18px; height: 18px; }
.industry { scroll-margin-top: calc(var(--header-h) + 72px); }
.industry + .industry { border-top: 1px solid var(--line); }
.industry:nth-of-type(even) { background: var(--tint); }
.industry__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.industry:nth-of-type(even) .industry__media { order: 2; }
.industry__media { position: sticky; top: calc(var(--header-h) + 88px); }
.industry__sub { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2em 0 1em; }
@media (max-width: 900px) {
  .industry__grid { grid-template-columns: 1fr; }
  .industry:nth-of-type(even) .industry__media { order: 0; }
  .industry__media { position: static; }
}

/* ---------- Enquiry form ---------- */
.enquiry { background: linear-gradient(180deg, #fff, var(--tint)); border-top: 1px solid var(--line); }
.enquiry__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.enquiry__intro .lead { margin-bottom: 28px; }
.contact-list { display: grid; gap: 18px; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .cap-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--navy); font-size: .98rem; }
.contact-list a, .contact-list span { color: var(--muted); text-decoration: none; font-size: .96rem; }
.contact-list a:hover { color: var(--blue); }
@media (max-width: 960px) { .enquiry__grid { grid-template-columns: 1fr; } }

.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.35rem; margin-bottom: .25em; }
.form-card__sub { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--navy); }
.req { color: #C2410C; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #CBD6E2; border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 115, 196, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { min-height: 0; font-size: .85rem; color: var(--danger); }
.field__error:empty { display: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.consent .field__error { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: .96rem; }
.form-status.is-success { display: block; background: #ECFDF3; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.is-error { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-status a { color: inherit; font-weight: 700; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px; }
.footer__brand img.footer__logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer__tagline { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; white-space: nowrap; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
.t-green { color: #4ADE80; }
.t-blue { color: #60B8F0; }
.t-orange { color: var(--orange); }
.footer__partner { height: 30px; width: auto; margin-top: 20px; opacity: .92; }
.footer__heading { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .55); }
.footer__bottom p { margin: 0; }
.footer__bottom nav ul { display: flex; gap: 20px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__contact-col { grid-column: 1 / -1; } }

/* ---------- Simple centred pages (404, thank you) ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.center-page .lead { max-width: 560px; margin-inline: auto; }
.center-page__code { font-family: var(--mono); font-size: .9rem; letter-spacing: .14em; color: var(--orange); }

/* ---------- Legal prose ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* ==========================================================================
   Home page — editorial layout
   ========================================================================== */
.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 .serif, h2 .serif { font-size: 1.08em; color: var(--blue); }
.btn--lg { padding: 1rem 1.65rem; font-size: 1.05rem; border-radius: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; font-weight: 700; color: var(--navy); text-decoration: none;
  background-image: linear-gradient(var(--orange), var(--orange)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s, color .2s;
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange); transition: transform .25s; }
.link-arrow:hover { color: var(--blue); background-size: 100% 2px; }
.link-arrow:hover .icon { transform: translateX(4px); }

.home-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.home-head h2 { margin: 0; max-width: 680px; }
.home-head--center { justify-content: center; text-align: center; }
.home-head__aside { max-width: 420px; margin: 0; color: var(--muted); }
.home-head__aside .link-arrow { display: flex; width: fit-content; margin-top: 14px; }
.home-head h2, .home-oracle h2, .home-why h2, .home-faq h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }

/* Hero */
.home-hero {
  position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 88px);
  background:
    radial-gradient(60% 70% at 85% 25%, rgba(69, 184, 216, .20), transparent 65%),
    radial-gradient(45% 50% at 0% 100%, rgba(240, 138, 28, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F7FAFE 100%);
}
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 42, 74, .05);
  font-size: .86rem; font-weight: 600; color: var(--navy);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240, 138, 28, .18); }
.home-hero__title { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; margin-bottom: 28px; }
.home-hero__lead { max-width: 560px; margin-bottom: 36px; font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.home-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.home-hero__art { position: relative; }
.home-hero__image {
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}
.home-hero__image img { width: 100%; }
.float-card {
  position: absolute; border-radius: 16px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(11, 42, 74, .14);
}
.float-card--partner { top: 8%; left: -2%; padding: 14px 18px; }
.float-card--partner img { height: 26px; width: auto; }
.float-card--steps { right: 0; bottom: 8%; min-width: 210px; padding: 16px 20px; }
.float-card__title { margin: 0 0 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.float-card--steps ol { display: grid; gap: 6px; list-style: none; counter-reset: step; }
.float-card--steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.float-card--steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--orange-600); }
.home-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; margin-top: clamp(40px, 5vw, 64px); padding: 26px 0; border-top: 1px solid var(--line); }
.home-strip__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.home-strip__list { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; }
.home-strip__list li { font-size: .95rem; font-weight: 600; color: #3E4A5C; }
.home-strip__list li + li::before { content: "\00B7"; margin-right: 14px; color: #A9B6C6; }
@media (max-width: 1024px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__art { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .float-card--partner { top: 0; left: 0; padding: 10px 14px; }
  .float-card--steps { bottom: 0; min-width: 0; padding: 12px 16px; }
  .home-hero__actions .btn { width: 100%; }
}

/* Intro statement and pillars */
.home-intro { padding-block: clamp(80px, 10vw, 140px) clamp(64px, 8vw, 112px); }
.statement { max-width: 1080px; margin-bottom: clamp(56px, 7vw, 96px); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); font-weight: 500; line-height: 1.22; letter-spacing: -.03em; color: #8A97A8; }
.statement strong { font-weight: 600; color: var(--navy); }
.statement .serif { color: var(--blue); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.pillar, .phase { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.pillar::before, .phase::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--orange); transition: width .5s ease; }
.pillar:hover::before, .phase:hover::before { width: 100%; }
.pillar__num { display: block; margin-bottom: 18px; font-size: 2.6rem; line-height: 1; color: var(--cyan); }
.pillar h3, .phase h3 { font-size: 1.3rem; }
.pillar p, .phase p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Services bento */
.home-services { padding-top: 0; }
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-areas: "ai data dev" "ai sec sec"; gap: 20px; }
.bento__item {
  position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 32px; overflow: hidden; isolation: isolate;
  border-radius: 24px; color: var(--ink); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease;
}
.bento__item:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(11, 42, 74, .12); color: var(--ink); }
.bento__item h3 { margin-bottom: .45em; font-size: 1.4rem; letter-spacing: -.02em; }
.bento__item p { margin-bottom: 24px; font-size: .98rem; color: var(--muted); }
.bento__icon { width: 52px; height: 52px; margin-bottom: 40px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.bento__tag { display: inline-block; margin-bottom: 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.bento__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--blue); }
.bento__more .icon { width: 18px; height: 18px; transition: transform .25s; }
.bento__item:hover .bento__more .icon { transform: translateX(4px); }
.bento__item--ai { grid-area: ai; min-height: 600px; padding: 0; background: linear-gradient(180deg, #EEF6FD 0%, #F8FBFF 100%); border: 1px solid #E3EEF8; }
.bento__item--ai .bento__media { flex: 1; display: grid; place-items: center; padding: 24px 24px 0; }
.bento__item--ai .bento__media img {
  width: 100%; max-height: 360px; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s ease;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.bento__item--ai:hover .bento__media img { transform: scale(1.04); }
.bento__item--ai .bento__body { display: flex; flex-direction: column; padding: 0 36px 36px; }
.bento__item--ai h3 { font-size: 1.9rem; }
.bento__item--data { grid-area: data; background: linear-gradient(150deg, var(--navy) 0%, #0E4C86 100%); color: #fff; }
.bento__item--data:hover { color: #fff; }
.bento__item--data h3 { color: #fff; }
.bento__item--data p { color: rgba(255, 255, 255, .75); }
.bento__item--data .bento__icon { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; color: #fff; }
.bento__item--data .bento__more { color: var(--orange); }
.bento__item--dev { grid-area: dev; background: #fff; border: 1px solid var(--line); }
.bento__item--dev .bento__icon { color: #C2610A; }
.bento__item--sec { grid-area: sec; flex-direction: row; align-items: stretch; padding: 0; background: var(--tint); border: 1px solid #E3EEF8; }
.bento__item--sec .bento__body { flex: 1; display: flex; flex-direction: column; padding: 32px; }
.bento__item--sec .bento__media { flex: 0 0 46%; }
.bento__item--sec .bento__media img {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "ai ai" "data dev" "sec sec"; }
  .bento__item--ai { min-height: 0; }
  .bento__item--ai .bento__media img { max-height: 300px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "ai" "data" "dev" "sec"; }
  .bento__item--sec { flex-direction: column-reverse; }
  .bento__item--sec .bento__media { flex-basis: auto; height: 200px; }
}

/* Oracle solutions band */
.home-oracle {
  color: rgba(255, 255, 255, .78);
  background: radial-gradient(50% 60% at 100% 0%, rgba(69, 184, 216, .18), transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 60%, #0D3F70 100%);
}
.home-oracle__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.home-oracle__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.home-oracle__badge { height: 30px; width: auto; margin-bottom: 32px; }
.home-oracle h2 { color: #fff; }
.home-oracle h2 .serif { color: #7FD3EC; }
.home-oracle__intro p { max-width: 460px; margin-bottom: 32px; font-size: 1.1rem; }
.oracle-list { list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.oracle-list li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.oracle-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px 8px; color: #fff; text-decoration: none; transition: background-color .3s, padding .3s; }
.oracle-list a:hover { background: rgba(255, 255, 255, .04); padding-left: 18px; color: #fff; }
.oracle-list__num { font-size: 2rem; line-height: 1; color: rgba(127, 211, 236, .85); }
.oracle-list h3 { margin: 0 0 4px; font-size: 1.3rem; color: #fff; }
.oracle-list__body > span { font-size: .96rem; color: rgba(255, 255, 255, .65); }
.oracle-list a > .icon { color: var(--orange); transition: transform .25s; }
.oracle-list a:hover > .icon { transform: translateX(4px); }
@media (max-width: 900px) { .home-oracle__grid { grid-template-columns: 1fr; } .home-oracle__intro { position: static; } }
@media (max-width: 520px) { .oracle-list a { grid-template-columns: 44px minmax(0, 1fr); } .oracle-list a > .icon { display: none; } }

/* AI delivery phases */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; }
.phase__num { display: block; margin-bottom: 20px; font-size: 4rem; line-height: .9; color: #A9DCEF; transition: color .3s; }
.phase:hover .phase__num { color: var(--blue); }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } }

/* Industries */
.home-industries { background: var(--tint); }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ind-card { position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden; isolation: isolate; border-radius: 24px; color: #fff; text-decoration: none; }
.ind-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ind-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 28, 51, 0) 35%, rgba(7, 28, 51, .86) 100%); }
.ind-card:hover { color: #fff; }
.ind-card:hover img { transform: scale(1.06); }
.ind-card__body { padding: 28px; }
.ind-card h3 { margin-bottom: 6px; font-size: 1.45rem; color: #fff; }
.ind-card__body > span { display: block; font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.ind-card__go {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s;
}
.ind-card__go .icon { width: 18px; height: 18px; transform: rotate(-45deg); }
.ind-card:hover .ind-card__go { background: var(--orange); border-color: var(--orange); }
@media (max-width: 1024px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ind-card { min-height: 360px; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } .ind-card { min-height: 300px; } }

/* Why Datawise */
.home-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.home-why__media { position: relative; padding-bottom: 48px; }
.home-why__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); }
.home-why__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-why__quote { position: absolute; right: -24px; bottom: 0; max-width: 300px; margin: 0; padding: 24px 28px; border-radius: 20px; border-left: 4px solid var(--orange); background: #fff; box-shadow: var(--shadow-lg); }
.home-why__quote p { margin: 0 0 8px; font-size: 1.7rem; line-height: 1.15; color: var(--navy); }
.home-why__quote cite { font-family: var(--mono); font-size: .7rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.home-why__lead { margin-bottom: 36px; font-size: 1.15rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin-bottom: 36px; list-style: none; }
.principles li { padding-top: 20px; border-top: 1px solid var(--line); }
.principles h3 { margin-bottom: .35em; font-size: 1.08rem; }
.principles p { margin: 0; font-size: .96rem; color: var(--muted); }
@media (max-width: 900px) { .home-why__grid { grid-template-columns: 1fr; } .home-why__photo { aspect-ratio: 4 / 3; } .home-why__quote { right: 16px; } }
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .home-why__media { padding-bottom: 0; }
  .home-why__quote { position: relative; right: auto; margin: -40px 16px 0; }
}

/* Presence (address) */
.home-presence { background: var(--tint); }
.presence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.presence__item { padding: 36px 32px; border-radius: 24px; border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s; }
.presence__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.presence__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600); }
.presence__item h3 { margin: 12px 0 20px; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); font-weight: 400; letter-spacing: -.01em; color: var(--navy); }
.presence__item a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue); text-decoration: none; }
.presence__item .icon { width: 18px; height: 18px; }
@media (max-width: 860px) { .presence { grid-template-columns: 1fr; } }

/* FAQ */
.home-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.home-faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.home-faq__intro p { color: var(--muted); }
.home-faq .faq { max-width: none; margin: 0; }
@media (max-width: 900px) { .home-faq__grid { grid-template-columns: 1fr; } .home-faq__intro { position: static; } }

/* ---------- Reveal on scroll (only for elements below the fold; see main.js) ---------- */
.reveal--pending { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal--pending.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal--pending { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .enquiry, .cta, .subnav { display: none; }
}
