/* =====================================================================
   GRBSons — 2026 design system
   Shared by every page. Light/dark via light-dark(), fluid type via clamp(),
   floating glass nav, bento grids, scroll-reveal, view-transitions.
   ===================================================================== */

@view-transition { navigation: auto; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --bg:        light-dark(#f5f7fb, #060a14);
  --bg-soft:   light-dark(#eaeef7, #0a101d);
  --surface:   light-dark(#ffffff, #0d1424);
  --surface-2: light-dark(#f0f3fa, #121b2e);
  --ink:       light-dark(#0a1020, #f1f4fb);
  --ink-2:     light-dark(#36415a, #b7c2d6);
  --muted:     light-dark(#5a6680, #8e9bb5);
  --line:      light-dark(#dfe5f0, #1d2840);

  --brand:     #3d5afe;
  --brand-ink: light-dark(#2b43d6, #9db0ff);
  --brand-2:   #00c8b3;
  --gold:      #f6b93b;
  --grad: linear-gradient(120deg, #5470ff 0%, #2fa8ff 52%, #00d1b2 100%);
  --grad-soft: linear-gradient(135deg,
      color-mix(in oklab, var(--brand) 14%, transparent),
      color-mix(in oklab, var(--brand-2) 12%, transparent));

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(10 16 32 / .06), 0 18px 40px -18px rgb(10 16 32 / .22);
  --shadow-lg: 0 30px 80px -30px rgb(20 30 80 / .45);

  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --pad-x: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 92px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

/* A band that is always dark, regardless of the page theme */
.on-dark {
  color-scheme: dark;
  --ink: #f1f4fb; --ink-2: #c3cde0; --muted: #93a2bf; --line: #202c46;
  --surface: #0d1424; --surface-2: #131d33;
  color: var(--ink);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.1rem + 4.8vw, 4.6rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
::selection { background: color-mix(in oklab, var(--brand) 35%, transparent); }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 70%, white); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* scroll progress bar (progressive enhancement) */
@supports (animation-timeline: scroll()) {
  .progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--grad);
    transform-origin: 0 50%; transform: scaleX(0); animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- Layout helpers ---------- */
.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { padding: var(--section-y) var(--pad-x); }
.band-alt { background: var(--bg-soft); }
.band-dark { background: #060a14; color: var(--ink); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); padding: .55em .95em; border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 11%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
  margin-bottom: 1.1rem;
}
.on-dark .eyebrow { color: #b9c6ff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn, .read-more-btn, .read-more, .employee-btn, .contact-link,
.cta-section a, .download-pdf a, .contact-section button[type="submit"], #job-form button, .captcha-group button {
  --_bg: var(--surface); --_fg: var(--ink); --_bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: .95em 1.55em; border-radius: 999px; border: 1px solid var(--_bd);
  background: var(--_bg); color: var(--_fg);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover, .read-more-btn:hover, .read-more:hover, .employee-btn:hover, .cta-section a:hover,
.download-pdf a:hover, .contact-section button[type="submit"]:hover, #job-form button:hover, .captcha-group button:hover {
  transform: translateY(-2px); border-color: color-mix(in oklab, var(--brand) 55%, var(--line));
  box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--brand) 55%, transparent);
}
.btn-primary, .cta-section a, .download-pdf a, .contact-section button[type="submit"], #job-form button, .captcha-group button {
  --_bg: var(--brand); --_fg: #fff; --_bd: transparent;
  background: linear-gradient(135deg, #4a66ff, #2f8bff 60%, #12b9c8); box-shadow: 0 12px 28px -12px rgb(61 90 254 / .75);
}
.btn-ghost { --_bg: transparent; --_fg: var(--ink); --_bd: color-mix(in oklab, var(--ink) 22%, transparent); }
.on-dark .btn-ghost { --_bd: rgb(255 255 255 / .28); --_fg: #fff; }
.on-dark .btn-ghost:hover { background: rgb(255 255 255 / .08); }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.04rem; }
.arrow { transition: transform .25s; display: inline-block; }
.btn:hover .arrow, .read-more:hover .arrow { transform: translateX(4px); }

/* =====================================================================
   SITE HEADER — floating glass pill
   ===================================================================== */
.site-header {
  position: sticky; top: 14px; z-index: 100;
  margin: 14px auto -82px; /* lets hero slide under the pill */
  width: min(1240px, calc(100% - 24px));
  height: 68px; display: flex; align-items: center; gap: 1rem;
  padding: 0 12px 0 14px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid color-mix(in oklab, var(--ink) 11%, transparent);
  box-shadow: 0 10px 40px -16px rgb(10 16 40 / .35);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 13px; background: linear-gradient(145deg, #0a1020, #16224a); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); overflow: hidden; }
.brand-mark img { width: 120%; height: 120%; max-width: none; object-fit: contain; filter: invert(1); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font: 800 1.12rem/1 var(--font-head); letter-spacing: -.02em; }
.brand-text small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem;
  padding: .62em .95em; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: color-mix(in oklab, var(--brand) 14%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 1rem; transition: background .2s;
}
.icon-btn:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.nav-cta { padding: .78em 1.3em; font-size: .93rem; }
.menu-toggle { display: none; }
.nav-links .mobile-only { display: none; }
.theme-toggle .moon { display: none; }
:root[data-resolved="dark"] .theme-toggle .sun { display: none; }
:root[data-resolved="dark"] .theme-toggle .moon { display: inline; }

@media (max-width: 1040px) {
  .nav-links {
    position: fixed; inset: 92px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    border-radius: 26px; margin: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: .95em 1.1em; font-size: 1.05rem; border-radius: 14px; }
  .menu-toggle { display: grid; }
  .nav-links .mobile-only { display: block; margin-top: 6px; text-align: center; background: linear-gradient(135deg,#4a66ff,#2f8bff 60%,#12b9c8); color: #fff; }
  .nav-links .mobile-only:hover { color: #fff; }
  .nav-actions { margin-left: auto; }
  .nav-cta { display: none; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* =====================================================================
   HERO (home) + PAGE HERO (inner pages)
   ===================================================================== */
.hero, .page-hero {
  position: relative; isolation: isolate; overflow: clip; background: #050914; color: #fff; color-scheme: dark;
  --ink: #f1f4fb; --muted: #93a2bf;
}
.hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) var(--pad-x) clamp(60px, 8vw, 110px); }
.page-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) var(--pad-x) clamp(44px, 6vw, 80px); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -10%, rgb(61 90 254 / .55), transparent 62%),
    radial-gradient(700px 480px at 5% 20%, rgb(0 200 179 / .28), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgb(124 58 237 / .30), transparent 60%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 78%);
}
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: #c3cde0; max-width: 56ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.2rem; padding: 0; list-style: none; }
.hero-tags li { font-size: .85rem; font-weight: 550; color: #cdd7ea; padding: .5em .95em; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(8px); }
.hero-tags i { color: #7fe3d6; margin-right: .5em; }

.announce {
  display: inline-flex; align-items: center; gap: .7em; max-width: 100%;
  padding: .45em .5em .45em 1em; border-radius: 999px; text-decoration: none; color: #e6ecff; font-size: .9rem;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); backdrop-filter: blur(10px);
  margin-bottom: 1.6rem; transition: background .2s;
}
.announce:hover { background: rgb(255 255 255 / .12); }
.announce .pill { background: var(--grad); color: #04101f; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .4em .8em; border-radius: 999px; white-space: nowrap; }
.announce { min-width: 0; text-align: left; }
.announce span.txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* hero visual: glass stack */
.hero-visual { position: relative; min-height: 440px; }
.orb { position: absolute; inset: 8% 6% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 210deg, #3d5afe, #00c8b3, #7c3aed, #3d5afe); filter: blur(60px); opacity: .55; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.glass {
  background: linear-gradient(160deg, rgb(255 255 255 / .12), rgb(255 255 255 / .04));
  border: 1px solid rgb(255 255 255 / .16); border-radius: 26px; backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .18);
}
.stack { position: relative; display: grid; gap: 14px; padding: 18px; }
.stack-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .09); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s; }
.stack-item:hover { transform: translateX(6px); background: rgb(255 255 255 / .1); }
.stack-item .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgb(47 168 255 / .8); }
.stack-item h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .25em; }
.stack-item p { margin: 0; color: #aab7d1; font-size: .93rem; line-height: 1.5; }
.stack-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 2px; color: #cdd7ea; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .28); }
.float-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: .85rem; font-weight: 600; color: #fff; animation: bob 6s ease-in-out infinite; }
.float-badge i { color: var(--gold); }
.float-badge.b1 { left: 28px; bottom: -24px; }
.float-badge.b2 { right: -10px; top: -22px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 0; }
  .float-badge { display: none; }
}

/* page hero (inner pages) */
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 3.9rem); margin-bottom: .3em; color: #fff; }
.page-hero p { color: #c3cde0; font-size: 1.15rem; max-width: 62ch; margin: 0; }
.crumbs { display: flex; gap: .6em; align-items: center; font-size: .88rem; color: #93a2bf; margin-bottom: 1.2rem; }
.crumbs a { color: #cdd7ea; text-decoration: none; } .crumbs a:hover { color: #fff; }

/* =====================================================================
   HOME SECTIONS
   ===================================================================== */
/* trusted-by marquee */
.trust { padding: 38px 0 44px; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust-title { text-align: center; font: 600 .8rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: 18px; padding-right: 18px; animation: scroll-x 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-100%); } }
.logo-chip { flex: none; width: 168px; height: 76px; display: grid; place-items: center; padding: 12px 18px; background: #fff; border-radius: 16px; border: 1px solid #e3e8f2; box-shadow: 0 6px 18px -10px rgb(10 16 32 / .25); }
.logo-chip img { width: auto; height: auto; max-height: 52px; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); padding: clamp(26px, 3vw, 38px);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in oklab, var(--brand) 22%, transparent), transparent 60%); }
.tile:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.tile:hover::before { opacity: 1; }
.tile .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: var(--grad); margin-bottom: 1.4rem; box-shadow: 0 14px 28px -12px rgb(47 168 255 / .7); }
.tile h3 { font-size: 1.35rem; margin-bottom: .5em; }
.tile p { color: var(--muted); margin: 0; }
.tile-num { position: absolute; right: 22px; top: 12px; font: 800 4.5rem/1 var(--font-head); color: color-mix(in oklab, var(--ink) 6%, transparent); z-index: -1; }
.center-cta { text-align: center; margin-top: clamp(32px, 4vw, 52px); }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .n { font: 800 .85rem/1 var(--font-head); letter-spacing: .12em; color: var(--brand-ink); display: flex; align-items: center; gap: .8em; margin-bottom: 1.4rem; }
.step .n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); }
.step .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; color: var(--brand-ink); background: var(--grad-soft); border: 1px solid color-mix(in oklab, var(--brand) 25%, transparent); margin-bottom: 1.2rem; }
.step h3 { font-size: 1.5rem; } .step p { color: var(--muted); margin: 0; }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .lead { font-size: 1.15rem; color: var(--ink-2); }
.media-card { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.media-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(5 9 20 / .55)); }
.media-card .chip { position: absolute; z-index: 2; left: 18px; bottom: 18px; right: 18px; padding: 16px 18px; border-radius: 18px; color: #fff; font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.card-lite { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-lite h3 { display: flex; align-items: center; gap: .6em; }
.card-lite h3 i { color: var(--brand-ink); }
.card-lite p { color: var(--muted); } .card-lite p:last-child { margin-bottom: 0; }

/* vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 52px); border-radius: calc(var(--radius) + 4px); color: #fff;
  background: linear-gradient(150deg, #0c1530, #101c44 60%, #0b2a3a); border: 1px solid rgb(255 255 255 / .1); }
.vm-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgb(61 90 254 / .55), transparent 65%); }
.vm-card .ico { position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); margin-bottom: 1.5rem; color: #8fe9dc; }
.vm-card h3 { color: #fff; font-size: 1.8rem; position: relative; }
.vm-card p { color: #b8c4dc; position: relative; } .vm-card p:last-child { margin: 0; }

/* team */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.team .member { flex: 0 1 218px; }
.member { position: relative; text-align: center; padding: 26px 18px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.member:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.member .ph { width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; padding: 4px; background: var(--grad); }
.member .ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 3px solid var(--surface); display: block; }
.member h3 { font-size: 1.05rem; margin: 0 0 .15em; }
.member p { margin: 0; color: var(--muted); font-size: .92rem; }

/* news */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.news-card:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.badge { display: inline-block; font: 700 .68rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .5em .85em; border-radius: 999px; color: var(--brand-ink); background: color-mix(in oklab, var(--brand) 13%, transparent); margin-bottom: 1rem; }
.news-card h3 { font-size: 1.12rem; margin-bottom: .5em; }
.news-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: 650 .95rem var(--font-body); color: var(--brand-ink); cursor: pointer; text-align: left; display: inline-flex; gap: .4em; align-items: center; }
.link-btn:hover .arrow { transform: translateX(4px); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 104px) var(--pad-x); background: #050914; color: #fff; color-scheme: dark; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 380px at 20% 0%, rgb(61 90 254 / .5), transparent 60%), radial-gradient(700px 380px at 85% 100%, rgb(0 200 179 / .35), transparent 60%); }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #b8c4dc; max-width: 56ch; margin: 0 auto 2rem; font-size: 1.15rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #050914; color: #b3bfd6; padding: clamp(52px, 7vw, 88px) var(--pad-x) 28px; color-scheme: dark; border-top: 1px solid #141d33; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; } .site-footer .brand small { color: #7f8eab; }
.site-footer p { font-size: .95rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer a { color: #b3bfd6; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.contact-line { display: flex; gap: .8em; align-items: flex-start; margin-bottom: .7rem; font-size: .95rem; }
.contact-line i { color: #7fe3d6; margin-top: .3em; width: 1.1em; }
.socials { display: flex; gap: 10px; margin: 1.2rem 0; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #25314d; color: #cdd7ea; transition: .25s; }
.socials a:hover { background: var(--grad); color: #04101f; border-color: transparent; transform: translateY(-3px); }
.site-footer .employee-btn { --_bg: transparent; --_fg: #fff; --_bd: #2a3856; font-size: .88rem; padding: .85em 1.2em; }
.footer-bottom { margin-top: clamp(36px, 5vw, 60px); padding-top: 22px; border-top: 1px solid #141d33; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #7f8eab; }
.footer-bottom p { margin: 0; max-width: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating utility buttons */
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; font-size: 1rem; }
.scroll-top.show { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--brand); color: #fff; border-color: transparent; }
.whatsapp-chat { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; text-decoration: none; box-shadow: 0 14px 30px -10px rgb(37 211 102 / .7); transition: transform .25s; }
.whatsapp-chat:hover { transform: scale(1.08); color: #fff; }

/* ---------- Modal / dialog (shared) ---------- */
dialog.sheet { border: 1px solid var(--line); border-radius: 26px; padding: 0; width: min(680px, calc(100% - 28px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.sheet::backdrop { background: rgb(4 8 20 / .6); backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: pop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-size: 1.2rem; }
.sheet-body { padding: 24px 26px 28px; color: var(--ink-2); }
.sheet-body ul { padding-left: 1.2em; } .sheet-body li { margin-bottom: .5em; }
.sheet-body > :last-child { margin-bottom: 0; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive (home) ---------- */
@media (max-width: 1080px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .bento, .steps, .vm, .duo, .split { grid-template-columns: 1fr; }
  .media-card { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) { .news { grid-template-columns: 1fr; } .team .member { flex: 0 1 calc(50% - 9px); padding: 20px 10px; } .member .ph { width: 88px; height: 88px; } }

/* =====================================================================
   INNER PAGES — restyle of existing markup (content untouched)
   ===================================================================== */
section.section, section.contact-section, section.job-section, .services-container, .blog-grid, .clients-grid-wrap {
  padding-inline: var(--pad-x);
}
section.section { padding-block: var(--section-y); }
section.section > h2, .section-box > h2, .values-section > h2, .contact-section > h2, .perks-section > h2, section > h2 { text-align: center; }

/* Services */
.services-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding-block: var(--section-y); }
.service-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.service-card > div > i { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--grad); margin-bottom: 1.3rem; box-shadow: 0 12px 26px -12px rgb(47 168 255 / .7); }
.service-card h3 { margin-bottom: .5em; } .service-card p { color: var(--muted); margin: 0; }
.read-more-btn { align-self: flex-start; padding: .75em 1.3em; font-size: .92rem; }
.modal { display: none; position: fixed; inset: 0; z-index: 300; background: rgb(4 8 20 / .6); backdrop-filter: blur(6px); padding: 18px; overflow: auto; }
.modal .modal-content { position: relative; margin: 8vh auto 0; width: min(640px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow-lg); animation: pop .3s cubic-bezier(.2,.8,.2,1); }
.modal .modal-content h2 { font-size: 1.7rem; text-align: left; } .modal .modal-content p { color: var(--ink-2); margin: 0; }
.close, .close-btn { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.close:hover, .close-btn:hover { background: var(--surface-2); color: var(--ink); }
.modal.show, .modal.is-open { display: block; }

/* Clients */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.client-logo { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; text-align: center; padding: 22px 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.client-logo:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.client-logo img { width: 100%; height: 84px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
.client-logo p { margin: 0; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.testimonial-slider { margin-top: 28px; display: grid; gap: 16px; }
.testimonial-slider:has(.testimonial.active) { display: block; position: relative; min-height: 190px; }
.testimonial-slider > .testimonial.active { display: block; }
.testimonial { padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.testimonial-slider:has(.testimonial.active) > .testimonial { display: none; }
.testimonial-slider:has(.testimonial.active) > .testimonial.active { display: block; animation: fadeUp .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.testimonial p, .testimonial-card p { font: 600 clamp(1.1rem, 1rem + .6vw, 1.45rem)/1.5 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.testimonial h4 { color: var(--brand-ink); margin: 0; }
.testimonial img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; border: 3px solid var(--surface); box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 50%, transparent); }
.testimonial-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial-card strong { color: var(--brand-ink); }
.client-stats { background: var(--bg-soft); }
.grb-stats-container, .stats-section, .impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.grb-stat-box, .stat-box, .impact-box { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.grb-stat-box h3, .stat-box h2, .impact-box h3 { font: 800 clamp(2.3rem, 1.6rem + 2vw, 3.4rem)/1 var(--font-head); letter-spacing: -.03em; margin: 0 0 .25em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grb-stat-box p, .stat-box p, .impact-box p { margin: 0; color: var(--muted); font-weight: 550; }
.stats-section { padding: var(--section-y) var(--pad-x); margin: 0; }
.cta-section { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: #050914; color: #fff !important; color-scheme: dark; padding: clamp(56px, 8vw, 96px) var(--pad-x); }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 15% 0, rgb(61 90 254 / .5), transparent 60%), radial-gradient(700px 380px at 90% 100%, rgb(0 200 179 / .32), transparent 60%); }
.cta-section h2 { color: #fff !important; } .cta-section p { color: #b8c4dc; font-size: 1.15rem; max-width: 56ch; margin-inline: auto; }
.cta-section br { display: none; }
.cta-section a { margin-top: 1.4rem; }

/* Blogs */
.hero-section { position: relative; isolation: isolate; overflow: clip; color-scheme: dark; background: #050914; text-align: left; padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) var(--pad-x) clamp(44px, 6vw, 80px); }
.hero-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 520px at 85% -10%, rgb(61 90 254 / .55), transparent 62%), radial-gradient(700px 480px at 5% 20%, rgb(0 200 179 / .28), transparent 60%); }
.hero-section h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.8vw, 3.9rem); }
.hero-section p { color: #c3cde0; font-size: 1.15rem; max-width: 62ch; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; padding-block: var(--section-y); }
.blog-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.blog-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.blog-card small { display: inline-block; color: var(--brand-ink); font-weight: 650; font-size: .8rem; letter-spacing: .04em; margin-bottom: .8rem; }
.blog-card h3 { margin-bottom: .5em; } .blog-card p { color: var(--muted); margin: 0; }
.read-more { align-self: flex-start; padding: .7em 1.2em; font-size: .9rem; }

/* About */
.custom-hero-section { position: relative; isolation: isolate; overflow: clip; min-height: min(78vh, 680px); display: grid; align-items: end; color-scheme: dark; background: #050914; }
.custom-hero-image, .custom-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.custom-hero-image img { filter: saturate(.9); }
.custom-hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgb(5 9 20 / .55), rgb(5 9 20 / .92)), radial-gradient(800px 500px at 80% 0, rgb(61 90 254 / .45), transparent 60%); transform: none; width: 100%; }
.custom-hero-text { padding: calc(var(--header-h) + 40px) var(--pad-x) clamp(48px, 6vw, 88px); max-width: 1000px; opacity: 1; }
.custom-hero-text h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); }
.custom-hero-text p { color: #c3cde0; font-size: 1.15rem; }
.contact-link { --_bg: var(--grad); background: var(--grad); --_fg: #04101f; color: #04101f; border-color: transparent; padding: .6em 1.1em; font-size: .85rem; margin-left: .4em; }
.modern-hero { padding: var(--section-y) var(--pad-x); background: var(--bg); }
.modern-hero + .modern-hero { background: var(--bg-soft); }
.hero-container { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-text h1, .hero-text h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.hero-text p { color: var(--ink-2); font-size: 1.1rem; }
.yellow-text, .yellow { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-image img { width: 100%; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: block; }
.section-box { padding: var(--section-y) var(--pad-x); }
.section-box:nth-of-type(even) { background: var(--bg-soft); }
.timeline-box .split-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 8px; }
.timeline-box .split-box > img { border-radius: calc(var(--radius) + 6px) !important; box-shadow: var(--shadow-lg) !important; border: 1px solid var(--line); position: sticky; top: 110px; }
.split-text h2 { text-align: left; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2), transparent); border-radius: 2px; }
.timeline-item { position: relative; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--brand); }
.timeline-item h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.5rem; margin-bottom: .3em; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.info-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.info-tab, .feature, .card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.info-tab:hover, .feature:hover, .card:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.info-tab h4, .feature h4 { margin-bottom: .5em; } .info-tab p, .feature p { color: var(--muted); margin: 0; }
.carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.carousel img { width: 100% !important; height: 230px !important; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s; }
.carousel img:hover { transform: scale(1.02); }
.section-box .impact-section { display: grid; grid-template-columns: .5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: 28px; padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.section-box .impact-section img { width: min(260px, 100%); margin-inline: auto; display: block; }
.impact-text h3 { color: var(--ink) !important; } .impact-text p { color: var(--ink-2); }
.values-section { padding: var(--section-y) var(--pad-x); background: #060a14; color-scheme: dark; }
.values-section h2 { color: #fff; }
.values-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.value-item { text-align: center; padding: 28px 14px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.value-item img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 12px; display: block; }
.value-item p { margin: 0; color: #fff !important; font-weight: 650; font-family: var(--font-head); font-size: 1.1rem; }

/* Careers */
.job-section { background: var(--bg); }
.job-listings, .spark-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 48px); position: relative; }
.job-card { cursor: pointer; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; position: relative; }
.job-card::after { content: "→"; position: absolute; right: 26px; top: 26px; font-size: 1.3rem; color: var(--brand-ink); transition: transform .25s; }
.job-card:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.job-card:hover::after { transform: translateX(5px); }
.job-card h4 { font-size: 1.25rem; margin-bottom: .8em; padding-right: 2em; } .job-card p { margin: 0 0 .3em; color: var(--muted); font-size: .96rem; }
.job-card strong { color: var(--ink); }
.spark { display: none; }
.grb-family-section { background: var(--bg-soft); }
.grb-banner { text-align: center; padding: clamp(36px, 5vw, 64px); border-radius: calc(var(--radius) + 6px); position: relative; overflow: hidden; isolation: isolate; color: #fff; color-scheme: dark; background: #070d1f; }
.grb-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 0, rgb(61 90 254 / .55), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgb(0 200 179 / .35), transparent 60%); }
.grb-subheading { font: 600 .8rem/1 var(--font-body); letter-spacing: .18em; color: #9fe9de; margin-bottom: 1rem; }
.grb-heading { color: #fff; margin: 0; }
.perks-section { background: var(--bg); }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.perk { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s; }
.perk:hover { transform: translateY(-5px); }
.perk img { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 12px; display: block; padding: 10px; border-radius: 16px; background: var(--grad-soft); }
:root[data-resolved="dark"] .perk img[src*="icons8"] { filter: invert(1); }
.perk p { margin: 0; font-weight: 600; }
#job-form, .form-container form { display: grid; gap: 14px; max-width: 760px; margin: 28px auto 0; }
.job-modal { display: none; position: fixed; inset: 0; z-index: 300; background: rgb(4 8 20 / .6); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 18px; }
.job-modal-content { position: relative; width: min(560px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow-lg); }
.job-modal-content h2 { text-align: left; font-size: 1.6rem; }
.job-modal-content > button { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.job-modal-content > button:hover { background: var(--surface-2); color: var(--ink); }
#thankYouModal > div { background: var(--surface) !important; color: var(--ink); border: 1px solid var(--line); border-radius: 26px !important; box-shadow: var(--shadow-lg); }
#thankYouModal h2 { color: var(--ink) !important; }
#thankYouModal button { background: var(--brand) !important; color: #fff !important; border-radius: 999px !important; padding: .8em 1.6em !important; font-weight: 600; }
.note-box { padding: 22px 26px; border-radius: var(--radius); background: color-mix(in oklab, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in oklab, var(--gold) 45%, var(--line)); max-width: 760px; margin: 0 auto 32px; }
.note-box strong, .note-box p { color: var(--ink) !important; } .note-box p { margin: .4em 0 0; color: var(--ink-2) !important; }

/* Forms (careers + contact) */
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .95em 1.1em; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 22%, transparent); }
input[type="file"] { padding: .8em 1em; }
label { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
textarea { resize: vertical; }

/* Contact */
.contact-section { padding-block: var(--section-y) 20px; display: grid; gap: clamp(32px, 4vw, 56px); }
.form-container { padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 860px; width: 100%; margin-inline: auto; }
.form-container .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-group { display: grid; gap: 7px; }
.captcha-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-group input { width: 110px; }
.captcha-group button { margin-left: auto; }
.faq, .testimonial-slider.contact-testis { max-width: 860px; margin-inline: auto; width: 100%; }
.faq h3 { text-align: center; margin-bottom: 1rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; padding: 0 22px; }
.faq-item summary { cursor: pointer; font-weight: 650; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::after { content: "+"; color: var(--brand-ink); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); }
.contact-section .testimonial-slider { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1000px; margin-inline: auto; }
.contact-section .testimonial-card p { font-size: 1.1rem; }
.download-pdf { text-align: center; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.contact-box { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-box h3 { color: var(--brand-ink); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; } .contact-box p { margin: 0; font: 650 1.15rem var(--font-head); }
iframe.map { display: block; width: min(1000px, 100%); height: 380px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
section[data-aos]:has(> .contact-info) { padding: var(--section-y) var(--pad-x) 20px; }
section.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 20px var(--pad-x) var(--section-y); }

/* Success */
.story-box { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); height: 100%; }
.story-content { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.story-content img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; border: 1px solid #e3e8f2; }
.story-content h3 { font-size: 1.15rem; } .story-content p { margin: 0; color: var(--ink-2); }
.stars { color: var(--gold); margin-bottom: .6rem; font-size: .9rem; }
.highlight-box { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); } .highlight-box h2 { margin: 0; }
.swiper { overflow: hidden; }
.swiper-wrapper { display: flex; transition-timing-function: linear; }
.swiper-slide { width: min(560px, 86vw); height: auto; flex: none; }
section.impact-section { padding: var(--section-y) var(--pad-x); background: var(--bg-soft); text-align: center; }
section.impact-section .impact-grid { text-align: center; }
body > .impact-section:not(section) { display: none; }

/* Experience */
section.testimonial-slider { padding: var(--section-y) var(--pad-x) 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 0; }
section.testimonial-slider > .testimonial { display: block !important; animation: none; }
section.testimonial-slider > .testimonial p { font-size: 1.15rem; }
.card-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: var(--section-y) var(--pad-x); }
.card { text-align: center; } .card i { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.4rem; color: #fff; background: var(--grad); } .card p { color: var(--muted); margin: 0; }
.culture-video { padding: 0 var(--pad-x) var(--section-y); text-align: center; }
.culture-video iframe { width: min(860px, 100%); aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); background: var(--surface-2); margin-top: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding: 0 var(--pad-x) var(--section-y); }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Privacy policy page */
.policy { width: min(820px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: var(--section-y) 0; }
.policy h2 { text-align: left; font-size: 1.5rem; margin-top: 2.2em; letter-spacing: -.02em; } .policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: var(--ink-2); } .policy li { margin-bottom: .4em; }

/* AOS compat — never let animations cause sideways scroll */
[data-aos] { max-width: 100%; }

/* ---------- Responsive (inner) ---------- */
@media (max-width: 860px) {
  .hero-container, .timeline-box .split-box, .section-box .impact-section { grid-template-columns: 1fr; }
  .timeline-box .split-box > img { position: static; }
  .form-container .row { grid-template-columns: 1fr; }
  .story-content { grid-template-columns: 1fr; }
  .captcha-group button { margin-left: 0; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

.page-hero .container { width: auto; margin: 0; }
