/*
Theme Name: Mothermeta
Theme URI: https://mothermeta.example
Author: Mothermeta Private Limited
Author URI: https://mothermeta.example
Description: Corporate website theme for Mothermeta Private Limited — ERP, CRM, AI, Cloud, Bespoke and Consulting. Royal blue / white / black / gray brand system. Includes a single-page front layout with mega-menu nav and Custom Post Types for Leadership, Case Studies, Insights, Openings, Partners and Awards.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mothermeta
Tags: corporate, business, blog, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ---------- design tokens ---------- */
:root {
  --royal: #1F3FA9;
  --royal-dark: #122968;
  --royal-deep: #0A1A4D;
  --royal-light: #E6ECF8;
  --royal-tint: #F3F6FC;
  --royal-soft: #C8D5FF;
  --black: #111111;
  --ink: #0E1424;
  --charcoal: #2A2A2A;
  --gray: #6B7280;
  --gray-2: #4B5563;
  --gray-3: #374151;
  --gray-light: #F3F4F6;
  --gray-50: #F9FAFB;
  --border: #D1D5DB;
  --border-soft: #E5E7EB;
  --white: #FFFFFF;

  --maxw: 1280px;
  --pad: 24px;

  --h-font: 'Cormorant Garamond', 'Cambria', Georgia, serif;
  --b-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(17,17,17,.05);
  --shadow-md: 0 6px 24px rgba(17,17,17,.06), 0 1px 2px rgba(17,17,17,.04);
  --shadow-lg: 0 20px 60px rgba(17,17,17,.10);
  --shadow-dropdown: 0 24px 48px rgba(14,20,36,.14), 0 4px 8px rgba(14,20,36,.06);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--b-font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--h-font);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.6vw + 1rem, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--b-font); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--gray-2); max-width: 72ch; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* utility bar */
.util-bar { background: var(--ink); color: rgba(255,255,255,.78); font-size: 12.5px; }
.util-bar .inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.util-bar a { color: rgba(255,255,255,.78); padding: 8px 14px; display: inline-block; text-decoration: none; transition: color .2s ease; }
.util-bar a:hover { color: var(--white); text-decoration: none; }
.util-bar .links { display: flex; gap: 4px; }
.util-bar .links a + a { border-left: 1px solid rgba(255,255,255,.12); }
.util-bar .left { letter-spacing: .04em; font-weight: 500; padding-left: 4px; }
.util-bar .search-btn { background: none; border: none; cursor: pointer; padding: 6px 10px; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 6px; }
.util-bar .search-btn:hover { color: var(--white); }
.util-bar .search-btn svg { width: 14px; height: 14px; }

/* header + mega menu */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border-soft); box-shadow: 0 1px 0 rgba(17,17,17,.02); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }

nav.primary > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav.primary > ul > li { position: relative; }
nav.primary > ul > li > a,
nav.primary > ul > li > button { color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 26px 16px; display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; text-decoration: none; transition: color .15s ease; }
nav.primary > ul > li > a:hover,
nav.primary > ul > li > button:hover { color: var(--royal); text-decoration: none; }
nav.primary > ul > li > button .chev { width: 12px; height: 12px; transition: transform .2s ease; }
nav.primary > ul > li[data-open="true"] > button .chev { transform: rotate(180deg); }
nav.primary > ul > li[data-open="true"] > button { color: var(--royal); }

.mega { position: absolute; top: 100%; left: 0; min-width: 720px; max-width: 940px; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-dropdown); padding: 28px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
nav.primary li[data-open="true"] > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega .cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.mega .col h5 { font-family: var(--b-font); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin: 0 0 12px; }
.mega .col ul { list-style: none; padding: 0; margin: 0; }
.mega .col li { margin-bottom: 4px; }
.mega .col a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s ease, color .15s ease; }
.mega .col a:hover { background: var(--royal-tint); color: var(--royal); }
.mega .col a .sub { display: block; font-size: 12px; color: var(--gray); font-weight: 400; margin-top: 2px; }
.mega .promo { background: var(--ink); color: var(--white); padding: 24px; border-radius: var(--r-md); align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.mega .promo h4 { color: var(--white); font-family: var(--h-font); font-size: 1.25rem; margin: 0 0 10px; }
.mega .promo p { color: rgba(255,255,255,.75); font-size: 13px; margin: 0 0 16px; }
.mega .promo a { align-self: flex-start; color: var(--royal-soft); font-size: 13px; font-weight: 600; padding: 0; }
.mega .promo a:hover { color: var(--white); background: transparent; text-decoration: underline; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-family: var(--b-font); }
.btn.primary { background: var(--royal); color: var(--white); }
.btn.primary:hover { background: var(--royal-dark); transform: translateY(-1px); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn.ghost:hover { background: var(--gray-light); text-decoration: none; }
.btn.light { background: var(--white); color: var(--royal); }
.btn.light:hover { background: var(--royal-light); text-decoration: none; }
.btn.outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn.outline-light:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* hero */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--royal-tint) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 88% 18%, rgba(31,63,169,.08), transparent 70%), radial-gradient(30% 50% at 10% 92%, rgba(17,17,17,.04), transparent 70%); pointer-events: none; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--royal); font-style: italic; }
.hero .sub { font-size: 1.15rem; color: var(--gray-2); max-width: 56ch; margin: 22px 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta-row { margin-top: 36px; display: flex; gap: 36px; flex-wrap: wrap; font-size: 13px; color: var(--gray-2); }
.hero .meta-row strong { color: var(--ink); font-weight: 700; }

.hero-card { position: relative; background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 36px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-card::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(31,63,169,.32), transparent 70%); border-radius: 50%; }
.hero-card .label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--royal-soft); font-weight: 700; margin-bottom: 12px; }
.hero-card h3 { color: var(--white); font-family: var(--h-font); font-size: 1.55rem; margin-bottom: 22px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; position: relative; }
.hero-card li { font-size: 13.5px; color: rgba(255,255,255,.92); padding-left: 18px; position: relative; }
.hero-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--royal-soft); border-radius: 50%; }
.hero-card .footnote { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; color: rgba(255,255,255,.7); font-style: italic; position: relative; }

/* stats */
.stats { background: var(--ink); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; top: 0; right: 0; width: 380px; height: 100%; background: radial-gradient(circle at 90% 50%, rgba(31,63,169,.32), transparent 70%); }
.stats .inner { display: grid; grid-template-columns: 1.2fr 3fr; gap: 60px; align-items: center; position: relative; }
.stats .head h2 { color: var(--white); margin: 0 0 .3em; }
.stats .head .eyebrow { color: var(--royal-soft); }
.stats .head p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 2px solid rgba(255,255,255,.18); padding-left: 20px; }
.stat .big { font-family: var(--h-font); font-size: 2.6rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.05; }
.stat .label { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.78); }
.stat .note { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.45); font-style: italic; }

/* section heading */
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head .lead { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* services */
.service-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 30px; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--royal); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-card .num { font-family: var(--h-font); font-size: 1.8rem; color: var(--royal); font-weight: 700; margin-bottom: 10px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-2); font-size: 14.5px; margin-bottom: 18px; }
.service-card .link { font-size: 13.5px; font-weight: 600; color: var(--royal); display: inline-flex; align-items: center; gap: 6px; }
.service-card .link:hover { text-decoration: none; }
.service-card .link:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform .2s ease; }

/* trusted by */
.trusted { background: var(--gray-50); padding: 56px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.trusted .inner { text-align: center; }
.trusted .label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 28px; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.logo-tile { background: var(--white); border: 1px solid var(--border-soft); border-radius: 10px; padding: 22px 14px; text-align: center; font-family: var(--h-font); font-weight: 600; color: var(--gray); font-size: 14px; min-height: 70px; display: flex; align-items: center; justify-content: center; transition: color .2s ease, border-color .2s ease; }
.logo-tile img { max-height: 38px; width: auto; }
.logo-tile:hover { color: var(--ink); border-color: var(--royal); }
.trusted .note { margin-top: 22px; font-size: 12px; color: var(--gray); font-style: italic; }

/* ERP slate */
.slate { background: var(--ink); color: var(--white); padding: 88px 0; position: relative; overflow: hidden; }
.slate::before { content: ""; position: absolute; top: 0; left: 0; width: 380px; height: 380px; background: radial-gradient(circle, rgba(31,63,169,.4), transparent 70%); pointer-events: none; }
.slate h2 { color: var(--white); }
.slate .eyebrow { color: var(--royal-soft); }
.slate .lead { color: rgba(255,255,255,.78); }
.erp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.erp-card { background: #1A1A1A; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 28px; transition: border-color .25s ease, transform .25s ease; }
.erp-card:hover { border-color: var(--royal); transform: translateY(-2px); }
.erp-card .name { font-family: var(--h-font); font-size: 1.6rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.erp-card .tag { color: var(--royal-soft); font-size: 13px; font-style: italic; margin-bottom: 14px; }
.erp-card .body { color: rgba(255,255,255,.82); font-size: 14px; margin-bottom: 12px; }
.erp-card .fit { color: rgba(255,255,255,.55); font-size: 13px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.erp-card .fit strong { color: var(--white); font-weight: 600; }

/* AI */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-card { background: var(--white); border: 1px solid var(--border-soft); border-left: 4px solid var(--royal); border-radius: var(--r-md); padding: 24px; transition: box-shadow .25s ease, transform .25s ease; }
.ai-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ai-card h3 { font-family: var(--b-font); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ai-card .sub { font-size: 13.5px; color: var(--charcoal); margin-bottom: 10px; }
.ai-card .why { font-size: 12.5px; color: var(--royal); font-style: italic; padding-top: 10px; border-top: 1px dashed var(--border); margin: 0; }
.rule-callout { margin-top: 36px; background: var(--ink); color: var(--white); border-radius: var(--r-md); padding: 26px 32px; }
.rule-callout .label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--royal-soft); font-weight: 700; margin-bottom: 6px; }
.rule-callout .text { font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,.92); margin: 0; }

/* cloud */
.cloud-band { background: linear-gradient(180deg, var(--royal-tint), var(--white)); padding-top: 88px; padding-bottom: 88px; }
.partner-bar { background: var(--royal); color: var(--white); border-radius: var(--r-md); padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.partner-bar .left { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.partner-bar .right { color: rgba(255,255,255,.85); font-style: italic; font-size: 14px; }
.cloud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cloud-card { background: var(--white); border-radius: var(--r-md); padding: 26px; border-top: 3px solid var(--royal); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cloud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cloud-card .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: var(--royal-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--h-font); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.cloud-card h3 { font-family: var(--h-font); font-size: 1.2rem; margin-bottom: 4px; }
.cloud-card .tag { color: var(--royal); font-style: italic; font-size: 13px; margin-bottom: 10px; display: block; }
.cloud-card p { font-size: 13.5px; color: var(--gray-2); margin: 0; }

/* case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-card .imgholder { height: 180px; background: linear-gradient(135deg, var(--royal-tint), var(--royal-light)); position: relative; display: flex; align-items: center; justify-content: center; color: var(--royal); font-family: var(--h-font); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; overflow: hidden; }
.case-card .imgholder img { width: 100%; height: 100%; object-fit: cover; }
.case-card .imgholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(31,63,169,.18) 100%); }
.case-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-card .tag { display: inline-block; background: var(--royal-tint); color: var(--royal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }
.case-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case-card h3 a { color: var(--ink); }
.case-card h3 a:hover { color: var(--royal); text-decoration: none; }
.case-card p { font-size: 14px; color: var(--gray-2); flex: 1; margin-bottom: 16px; }
.case-card .outcome { padding-top: 14px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--royal); font-weight: 600; font-style: italic; }

/* engagement */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.phase { background: var(--gray-light); border-radius: var(--r-md); padding: 28px 22px; transition: transform .25s ease; }
.phase:hover { transform: translateY(-3px); }
.phase.featured { background: var(--royal); color: var(--white); }
.phase .num { font-family: var(--h-font); font-size: 2rem; font-weight: 700; color: var(--royal); margin-bottom: 6px; }
.phase.featured .num { color: var(--royal-light); }
.phase h3 { font-family: var(--h-font); font-size: 1.3rem; margin-bottom: 12px; }
.phase.featured h3 { color: var(--white); }
.phase p { font-size: 13px; color: var(--gray-2); margin-bottom: 16px; }
.phase.featured p { color: rgba(255,255,255,.85); }
.phase .dur { font-size: 12px; font-weight: 700; font-style: italic; color: var(--royal); }
.phase.featured .dur { color: var(--white); }

/* leadership */
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.leader-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-soft); transition: transform .25s ease, box-shadow .25s ease; }
.leader-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.leader-card .photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--royal-tint), var(--royal-light)); display: flex; align-items: center; justify-content: center; color: var(--royal); font-family: var(--h-font); font-size: 3rem; font-weight: 700; letter-spacing: -.02em; overflow: hidden; }
.leader-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .meta { padding: 20px; }
.leader-card h4 { font-size: 1.15rem; margin-bottom: 2px; }
.leader-card .role { font-size: 12.5px; color: var(--royal); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.leader-card .bio { font-size: 13px; color: var(--gray-2); margin: 0; }
.leader-card .linked { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--gray); font-weight: 600; }
.leader-card .linked:hover { color: var(--royal); text-decoration: none; }

/* why us */
.why { background: var(--gray-50); }
.why-card { background: var(--white); border-radius: var(--r-md); padding: 28px; border: 1px solid var(--border-soft); position: relative; transition: border-color .25s ease, transform .25s ease; }
.why-card:hover { border-color: var(--royal); transform: translateY(-2px); }
.why-card::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; background: var(--royal); border-radius: 0 4px 4px 0; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; padding-left: 14px; }
.why-card p { font-size: 14.5px; color: var(--gray-2); margin: 0; padding-left: 14px; }

/* industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 24px; border-top: 3px solid var(--royal); transition: transform .25s ease, box-shadow .25s ease; }
.industry:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.industry h3 { font-size: 1.1rem; margin-bottom: 8px; }
.industry p { font-size: 13px; color: var(--gray-2); margin: 0; }

/* insights */
.insights { background: var(--gray-50); }
.insight-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-soft); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insight-card .imgholder { height: 160px; background: linear-gradient(135deg, var(--ink), var(--royal-dark)); color: rgba(255,255,255,.4); font-family: var(--h-font); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; letter-spacing: .04em; overflow: hidden; }
.insight-card .imgholder img { width: 100%; height: 100%; object-fit: cover; }
.insight-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.insight-card .meta { font-size: 11.5px; color: var(--gray); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.insight-card .meta .dot { display: inline-block; width: 4px; height: 4px; background: var(--gray); border-radius: 50%; margin: 0 8px; vertical-align: middle; }
.insight-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.insight-card h3 a { color: var(--ink); }
.insight-card h3 a:hover { color: var(--royal); text-decoration: none; }
.insight-card p { font-size: 13.5px; color: var(--gray-2); flex: 1; margin-bottom: 14px; }
.insight-card .read { font-size: 12.5px; color: var(--royal); font-weight: 600; }

/* CSR / IR / partners */
.pillars-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar-card { background: var(--white); border-radius: var(--r-md); padding: 32px; border: 1px solid var(--border-soft); position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-card .icon-sq { width: 48px; height: 48px; border-radius: 10px; background: var(--royal-tint); color: var(--royal); display: inline-flex; align-items: center; justify-content: center; font-family: var(--h-font); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.pillar-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar-card p { font-size: 14px; color: var(--gray-2); margin-bottom: 18px; }
.pillar-card .link { font-size: 13px; font-weight: 600; color: var(--royal); }

/* partners strip */
.partners-strip { padding: 64px 0; background: var(--white); border-top: 1px solid var(--border-soft); }
.partners-strip .label { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 28px; }
.partner-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.partner-tile { background: var(--gray-50); border-radius: 10px; padding: 18px 12px; text-align: center; font-family: var(--h-font); font-size: 13px; font-weight: 600; color: var(--gray); min-height: 64px; display: flex; align-items: center; justify-content: center; transition: color .2s ease, background .2s ease; }
.partner-tile img { max-height: 36px; width: auto; }
.partner-tile:hover { color: var(--ink); background: var(--white); border: 1px solid var(--royal); }

/* careers */
.careers-band { background: linear-gradient(135deg, var(--royal-deep), var(--ink)); color: var(--white); padding: 88px 0; position: relative; overflow: hidden; }
.careers-band::before { content: ""; position: absolute; bottom: -150px; right: -100px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); border-radius: 50%; }
.careers-band h2 { color: var(--white); }
.careers-band .eyebrow { color: var(--royal-soft); }
.careers-band .lead { color: rgba(255,255,255,.78); }
.careers-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: stretch; margin-top: 48px; }
.careers-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-md); padding: 28px; backdrop-filter: blur(4px); display: flex; flex-direction: column; }
.careers-card .num { font-family: var(--h-font); font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 4px; }
.careers-card .num-note { font-size: 12px; color: var(--royal-soft); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.careers-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 10px; }
.careers-card p { color: rgba(255,255,255,.78); font-size: 14px; flex: 1; margin-bottom: 16px; }
.careers-card .link { color: var(--royal-soft); font-weight: 600; font-size: 13px; }
.careers-card .link:hover { color: var(--white); }
.careers-card .quote { font-family: var(--h-font); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.95); margin: 0 0 12px; line-height: 1.4; }
.careers-card .quote::before { content: "\201C"; color: var(--royal-soft); font-size: 1.4em; line-height: 0; vertical-align: -.2em; margin-right: .1em; }
.careers-card .quote-by { font-size: 12px; color: var(--royal-soft); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.careers-card .benefits { list-style: none; padding: 0; margin: 0 0 16px; }
.careers-card .benefits li { font-size: 13px; padding-left: 18px; position: relative; color: rgba(255,255,255,.85); margin-bottom: 6px; }
.careers-card .benefits li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--royal-soft); border-radius: 50%; }

/* certifications */
.certs-strip { background: var(--gray-50); padding: 48px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.certs-strip .label { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 24px; }
.cert-tiles { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cert-pill { background: var(--white); border: 1px solid var(--border-soft); border-radius: 999px; padding: 10px 22px; font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.cert-pill::before { content: ""; width: 8px; height: 8px; background: var(--royal); border-radius: 50%; }
.cert-note { text-align: center; font-size: 11.5px; color: var(--gray); font-style: italic; margin-top: 18px; }

/* awards */
.awards { background: var(--white); padding: 64px 0; border-top: 1px solid var(--border-soft); }
.awards .label { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-bottom: 28px; }
.award-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.award-tile { border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 24px; text-align: center; }
.award-tile .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--royal-tint); color: var(--royal); display: inline-flex; align-items: center; justify-content: center; font-family: var(--h-font); font-weight: 700; margin-bottom: 12px; }
.award-tile h4 { font-family: var(--b-font); font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.award-tile p { font-size: 12px; color: var(--gray-2); margin: 0; }

/* CTA */
.cta { background: var(--royal); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); border-radius: 50%; }
.cta h2 { color: var(--white); max-width: 18ch; }
.cta .lead { color: rgba(255,255,255,.85); max-width: 56ch; }
.cta .lead em { color: var(--white); font-style: italic; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.cta-pills { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-pill { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 22px 26px; }
.cta-pill h3 { color: var(--white); font-family: var(--b-font); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cta-pill p { color: rgba(255,255,255,.78); font-size: 13.5px; margin: 0; }

/* newsletter */
.newsletter { background: var(--ink); color: var(--white); padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.newsletter .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.newsletter h3 { font-size: 1.7rem; color: var(--white); margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.newsletter form { display: flex; gap: 0; background: var(--white); border-radius: 999px; padding: 6px; max-width: 520px; margin-left: auto; }
.newsletter input { flex: 1; border: none; padding: 10px 18px; font-family: var(--b-font); font-size: 14px; color: var(--ink); background: transparent; outline: none; min-width: 0; }
.newsletter button { background: var(--royal); color: var(--white); border: none; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s ease; }
.newsletter button:hover { background: var(--royal-dark); }
.newsletter .consent { margin-top: 12px; font-size: 11.5px; color: rgba(255,255,255,.5); text-align: right; max-width: 520px; margin-left: auto; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.site-footer .row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--b-font); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 13.5px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.site-footer .about p { color: rgba(255,255,255,.7); font-size: 13.5px; max-width: 36ch; margin: 14px 0 18px; }
.site-footer .brand-row { display: flex; align-items: center; gap: 12px; }
.site-footer .brand-row img { height: 44px; background: var(--white); padding: 6px 10px; border-radius: 8px; }
.site-footer .social { display: flex; gap: 10px; margin-top: 6px; }
.site-footer .social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: rgba(255,255,255,.75); transition: background .2s ease, color .2s ease; }
.site-footer .social a:hover { background: var(--royal); color: var(--white); border-color: var(--royal); }
.site-footer .social svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer .offices { font-size: 13px; color: rgba(255,255,255,.72); }
.site-footer .offices .office { margin-bottom: 14px; }
.site-footer .offices .office strong { color: var(--white); display: block; margin-bottom: 4px; font-weight: 600; font-size: 13.5px; }
.site-footer .legal { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.55); }
.site-footer .legal a { color: rgba(255,255,255,.7); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* archive + single (blog/insights/case/opening pages) */
.page-content { padding: 64px 0; }
.entry-header { margin-bottom: 32px; }
.entry-header h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.entry-meta { font-size: 12.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 16px; }
.entry-meta .dot { display: inline-block; width: 4px; height: 4px; background: var(--gray); border-radius: 50%; margin: 0 8px; vertical-align: middle; }
.entry-thumb { margin-bottom: 32px; border-radius: var(--r-md); overflow: hidden; }
.entry-content { max-width: 72ch; font-size: 16px; color: var(--charcoal); }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.entry-content blockquote { border-left: 4px solid var(--royal); padding: 8px 20px; margin: 1.4em 0; font-family: var(--h-font); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border-soft); border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--royal); color: var(--white); border-color: var(--royal); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--royal); font-weight: 600; margin-bottom: 24px; }

/* opening list */
.opening-list { display: grid; gap: 12px; }
.opening-row { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 22px 26px; display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 16px; align-items: center; transition: border-color .2s ease, transform .2s ease; }
.opening-row:hover { border-color: var(--royal); transform: translateY(-1px); }
.opening-row h3 { font-size: 1.15rem; margin: 0; }
.opening-row h3 a { color: var(--ink); }
.opening-row .meta { font-size: 13px; color: var(--gray-2); }
.opening-row .apply { font-size: 13px; font-weight: 600; color: var(--royal); }

/* WP core gallery / alignment overrides */
.alignleft  { float: left; margin-right: 18px; margin-bottom: 12px; }
.alignright { float: right; margin-left: 18px; margin-bottom: 12px; }
.aligncenter { display: block; margin: 0 auto 12px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--gray); font-style: italic; text-align: center; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* responsive */
@media (max-width: 1100px) {
  .stats .inner { grid-template-columns: 1fr; gap: 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; }
  .partner-tiles { grid-template-columns: repeat(4, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .award-tiles { grid-template-columns: repeat(2, 1fr); }
  .leader-grid, .case-grid, .grid.cols-3, .cloud-grid, .industries-grid, .ai-grid, .pillars-3, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .inner, .newsletter .inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-card ul { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .opening-row { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .util-bar .left { display: none; }
  nav.primary { display: none; }
  nav.primary.open { display: block; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border-soft); padding: 12px var(--pad); max-height: calc(100vh - 76px - 36px); overflow-y: auto; }
  nav.primary.open > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary.open > ul > li > a,
  nav.primary.open > ul > li > button { padding: 14px 12px; width: 100%; text-align: left; justify-content: space-between; border-bottom: 1px solid var(--border-soft); }
  nav.primary.open .mega { position: static; min-width: 0; max-width: 100%; opacity: 0; visibility: hidden; transform: none; height: 0; padding: 0; overflow: hidden; box-shadow: none; border: none; transition: none; }
  nav.primary.open li[data-open="true"] > .mega { opacity: 1; visibility: visible; height: auto; padding: 12px 0 18px; }
  .mega .cols { grid-template-columns: 1fr; gap: 14px; }
  .nav-toggle { display: inline-flex; }
  .site-header .cta-btn { display: none; }
}
@media (max-width: 720px) {
  :root { --pad: 18px; }
  section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .hero { padding: 56px 0 48px; }
  .hero-card { padding: 24px; }
  .hero-card ul { grid-template-columns: 1fr; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .cloud-grid, .industries-grid, .ai-grid, .erp-grid, .pillars-3, .leader-grid, .case-grid, .archive-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .partner-tiles { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .award-tiles { grid-template-columns: 1fr; }
  .cta-pills { grid-template-columns: 1fr; }
  .partner-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .newsletter form { flex-direction: column; gap: 8px; background: transparent; padding: 0; }
  .newsletter input { background: var(--white); border-radius: 8px; padding: 12px 16px; }
  .newsletter button { width: 100%; border-radius: 8px; padding: 12px 16px; }
  .newsletter .consent { text-align: left; }
  .site-footer .row { grid-template-columns: 1fr; }
  .site-footer .legal { flex-direction: column; gap: 10px; }
}
