/* ==========================================================================
   Techno IT Systems & Consultants — Design System & Stylesheet
   Hybrid Corporate & Technology theme
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #0B1736;
  --navy-2: #0F1F47;
  --navy-3: #132a5c;
  --blue: #1E40AF;
  --electric: #2563EB;
  --cyan: #06B6D4;
  --cyan-soft: #67e8f9;
  --white: #FFFFFF;
  --grey: #F5F7FB;
  --slate: #1E293B;
  --muted: #475569;
  --muted-on-dark: #b6c3dd;
  --border: #E2E8F0;

  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--electric) 55%, var(--cyan) 120%);
  --grad-hero: radial-gradient(1200px 600px at 85% 20%, rgba(37, 99, 235, .35), transparent 60%),
               radial-gradient(800px 500px at 10% 110%, rgba(6, 182, 212, .18), transparent 60%),
               linear-gradient(160deg, #0B1736 0%, #0D1C42 55%, #0B1736 100%);

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.15rem, 1rem + .5vw, 1.3rem);
  --fs-h4: clamp(1.1rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 54, .06), 0 2px 6px rgba(11, 23, 54, .04);
  --shadow: 0 10px 30px -12px rgba(11, 23, 54, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 23, 54, .30);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7;
  color: var(--slate); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 var(--space-4); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--space-4); }
a { color: var(--electric); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
ul { padding-left: 1.2rem; }
strong { color: var(--navy); font-weight: 600; }
::selection { background: rgba(37, 99, 235, .18); }

:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan-soft); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section--grey { background: var(--grey); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--dark { background: var(--grad-hero); color: var(--muted-on-dark); overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 30px; height: 30px; }

/* Placeholder marker for information pending verification */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(245, 158, 11, .12), rgba(245, 158, 11, .12) 6px, rgba(245, 158, 11, .2) 6px, rgba(245, 158, 11, .2) 12px);
  border: 1px dashed #d97706; color: #92400e; border-radius: 4px; padding: 0 .35em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; font-weight: 600; white-space: normal; word-break: break-word;
}
.on-dark .ph, .site-footer .ph { color: #fcd34d; border-color: #fbbf24; background: rgba(251, 191, 36, .1); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: var(--fs-xs);
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--cyan-soft); }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.65; }
.on-dark .lead, .section--dark .lead { color: var(--muted-on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.section-head--split p { margin: 0; }
.text-gradient { background: linear-gradient(90deg, #fff 0%, #a5c8ff 50%, var(--cyan-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  --btn-bg: var(--electric); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-head); font-weight: 500; font-size: var(--fs-sm);
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap; line-height: 1.2;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .6); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--electric), var(--blue)); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: rgba(11, 23, 54, .2); }
.btn--ghost:hover { --btn-fg: var(--electric); border-color: var(--electric); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { --btn-fg: var(--blue); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: var(--cyan-soft); --btn-fg: #fff; background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 500; font-size: var(--fs-sm);
  color: var(--electric); text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -16px rgba(11, 23, 54, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; color: var(--navy); }
.brand-tag { font-size: .66rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-tag { color: var(--muted-on-dark); }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: block; padding: .55rem .8rem; font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--navy); text-decoration: none; border-radius: 6px; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--electric); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.header-cta { padding: .65rem 1.25rem; min-height: 44px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .nav-link { padding: .55rem .6rem; font-size: .88rem; }
  .nav-link::after { left: .6rem; right: .6rem; }
  .primary-nav { gap: 1rem; }
}
@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: #fff; padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    border-top: 1px solid var(--border);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-link { padding: 1rem .25rem; font-size: 1.05rem; }
  .nav-link::after { left: .25rem; right: auto; width: 32px; bottom: .6rem; }
  .header-cta { align-self: stretch; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; background: var(--grad-hero); color: var(--muted-on-dark); overflow: hidden;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(4.5rem, 3rem + 6vw, 8.5rem);
}
.hero::before, .page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero .lead { max-width: 560px; margin-bottom: 2.25rem; }
.hero-tagline {
  display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem .45rem .5rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe6ff; font-size: var(--fs-xs);
  font-weight: 500; letter-spacing: .04em; margin-bottom: 1.75rem;
}
.hero-tagline .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(6, 182, 212, .18); display: grid; place-items: center; }
.hero-tagline .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero-pillars { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; padding-left: 0; }
.hero-pillars li { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: #dbe6ff; }
.hero-pillars .icon { color: var(--cyan); width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }

/* animated hero elements */
.hv-pulse { animation: hvPulse 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.hv-pulse.d2 { animation-delay: .8s; } .hv-pulse.d3 { animation-delay: 1.6s; } .hv-pulse.d4 { animation-delay: 2.4s; }
.hv-flow { stroke-dasharray: 6 10; animation: hvFlow 2.4s linear infinite; }
.hv-float { animation: hvFloat 7s ease-in-out infinite; }
.hv-float.d2 { animation-delay: -3.5s; }
.hv-spin { animation: hvSpin 40s linear infinite; transform-box: fill-box; transform-origin: center; }
.hv-bar { animation: hvBar 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
.hv-bar.b2 { animation-delay: -.9s; } .hv-bar.b3 { animation-delay: -1.8s; } .hv-bar.b4 { animation-delay: -2.7s; }
@keyframes hvPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes hvFlow { to { stroke-dashoffset: -32; } }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hvSpin { to { transform: rotate(360deg); } }
@keyframes hvBar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }

.hero-anim > * { opacity: 0; transform: translateY(18px); animation: heroIn .9s var(--ease) forwards; }
.hero-anim > *:nth-child(2) { animation-delay: .1s; } .hero-anim > *:nth-child(3) { animation-delay: .2s; }
.hero-anim > *:nth-child(4) { animation-delay: .3s; } .hero-anim > *:nth-child(5) { animation-delay: .4s; }
.hero-visual.hero-anim-v { opacity: 0; animation: heroIn 1.1s .25s var(--ease) forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Page banner (internal pages) ---------- */
.page-banner { position: relative; background: var(--grad-hero); color: var(--muted-on-dark); overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-banner .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin-bottom: 1rem; }
.page-banner .lead { max-width: 620px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); letter-spacing: .04em; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #dbe6ff; text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan-soft); text-decoration: underline; }
.banner-art { justify-self: end; width: min(340px, 100%); opacity: .95; }

/* ---------- 8. Generic layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .9fr 1.1fr; }
.split--top { align-items: start; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.media-frame img, .media-frame svg { width: 100%; height: auto; }
.media-badge {
  position: absolute; left: clamp(-1rem, -2vw, -.5rem); bottom: 1.5rem; display: flex; align-items: center; gap: .75rem;
  background: #fff; border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: var(--shadow); max-width: 260px;
}
.media-badge .icon-tile { width: 42px; height: 42px; border-radius: 10px; }
.media-badge strong { display: block; font-family: var(--font-head); font-size: var(--fs-sm); line-height: 1.3; }
.media-badge span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; display: block; }
.media-wrap { position: relative; padding: 0 0 0 clamp(0rem, 2vw, 1rem); }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff;
  background: var(--grad-brand); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7);
}
.icon-tile--soft { background: rgba(37, 99, 235, .08); color: var(--electric); box-shadow: none; }
.icon-tile--dark { background: rgba(255, 255, 255, .07); color: var(--cyan-soft); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(37, 99, 235, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.check-list--2col { grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.section--dark .check-list li::before { background-color: rgba(6, 182, 212, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- 9. Home: about highlights ---------- */
.highlight-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.highlight-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; transition: border-color .3s, box-shadow .3s; }
.highlight-list li:hover { border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow-sm); }
.highlight-list h3 { font-size: 1.02rem; margin: 0 0 .2rem; }
.highlight-list p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.highlight-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }

/* ---------- 10. Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--border); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; isolation: isolate;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(37, 99, 235, .08), transparent 70%); transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { transform: scale(1.4); }
.service-card .num { position: absolute; right: 1.5rem; top: 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: #94a3b8; letter-spacing: .08em; }
.service-card h3 { font-size: 1.18rem; margin: 1.5rem 0 .6rem; }
.service-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.service-card .link-arrow { margin-top: .5rem; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; }

.secondary-services { margin-top: 3rem; padding: 1.75rem 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.secondary-services h3 { font-size: 1rem; margin: 0; color: var(--muted); font-weight: 500; }
.chip-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: var(--radius-pill); background: var(--grey); border: 1px solid var(--border); font-size: var(--fs-sm); color: var(--navy); font-weight: 500; }
.chip .icon { width: 16px; height: 16px; color: var(--electric); }
.section--dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e2e8f0; }
.section--dark .chip .icon { color: var(--cyan-soft); }

.note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.25rem; display: flex; gap: .5rem; align-items: flex-start; }
.note .icon { width: 16px; height: 16px; margin-top: .2rem; color: #94a3b8; }

/* ---------- 11. Why choose ---------- */
.why-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-intro-card { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--navy); color: var(--muted-on-dark); position: relative; overflow: hidden; }
.why-intro-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(37, 99, 235, .25); }
.why-intro-card p { margin: 0; position: relative; font-size: var(--fs-sm); }
.why-intro-card strong { color: #fff; display: block; font-family: var(--font-head); margin-bottom: .35rem; font-size: 1.05rem; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.why-item { padding: 2rem 1.75rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; transition: background-color .3s; }
.why-item:hover { background: linear-gradient(180deg, rgba(37, 99, 235, .04), transparent); }
.why-item .why-num { font-family: var(--font-head); font-size: .78rem; color: var(--electric); font-weight: 600; letter-spacing: .1em; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.why-item .why-num .icon { color: var(--navy); opacity: .75; width: 26px; height: 26px; }
.why-item h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.why-item p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

/* ---------- 12. Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.industry-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 1.75rem; border-radius: var(--radius-lg);
  color: var(--muted-on-dark); text-decoration: none; overflow: hidden; isolation: isolate; background: var(--navy);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.industry-card .ind-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; transition: transform .7s var(--ease); }
.industry-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 23, 54, 0) 15%, rgba(11, 23, 54, .92) 85%); }
.industry-card .icon-tile { position: absolute; top: 1.5rem; left: 1.5rem; }
.industry-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .35rem; }
.industry-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; max-width: 32ch; }
.industry-card .ind-go { position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .3s, transform .3s var(--ease); }
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--muted-on-dark); }
.industry-card:hover .ind-art { transform: scale(1.06); }
.industry-card:hover .ind-go { background: var(--electric); border-color: var(--electric); transform: rotate(-45deg); }

/* ---------- 13. Process timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--electric), var(--cyan)); opacity: .35; }
.timeline-step { position: relative; text-align: center; padding: 0 .5rem; }
.timeline-node {
  width: 68px; height: 68px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--electric);
  border: 2px solid rgba(37, 99, 235, .25); box-shadow: 0 0 0 8px var(--grey), var(--shadow-sm); position: relative; transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.section:not(.section--grey) .timeline-node { box-shadow: 0 0 0 8px #fff, var(--shadow-sm); }
.timeline-node .step-n { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.timeline-step:hover .timeline-node { background: var(--electric); color: #fff; transform: translateY(-4px); }
.timeline-step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.timeline-step p { font-size: var(--fs-sm); color: var(--muted); margin: 0 auto; max-width: 26ch; }

/* ---------- 14. Business consulting highlight ---------- */
.bc-highlight .split { position: relative; }
.bc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bc-tile { padding: 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.bc-tile:hover { background: rgba(255, 255, 255, .08); border-color: rgba(103, 232, 249, .35); transform: translateY(-3px); }
.bc-tile .icon { color: var(--cyan-soft); margin-bottom: 1rem; width: 28px; height: 28px; }
.bc-tile h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.bc-tile p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.bc-tile:nth-child(2) { transform: translateY(1.5rem); }
.bc-tile:nth-child(4) { transform: translateY(1.5rem); }
.bc-tile:nth-child(2):hover, .bc-tile:nth-child(4):hover { transform: translateY(calc(1.5rem - 3px)); }
.deco-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(103, 232, 249, .15); pointer-events: none; }

/* ---------- 15. CTA band ---------- */
.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); background: #fff; }
.section--grey + .cta-band { background: #fff; }
.cta-box {
  position: relative; border-radius: calc(var(--radius-lg) + 6px); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--blue) 0%, var(--electric) 60%, #0891b2 130%); color: #dbeafe;
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-box::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.cta-box h2 { color: #fff; margin-bottom: .75rem; }
.cta-box p { margin: 0; max-width: 560px; font-size: var(--fs-md); color: #dbeafe; }
.cta-box .btn-row { justify-content: flex-end; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-on-dark); padding-top: clamp(3.5rem, 3rem + 3vw, 5rem); font-size: var(--fs-sm); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-about p { margin: 1.25rem 0 1.5rem; max-width: 34ch; line-height: 1.7; }
.site-footer h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; transition: color .2s, padding-left .25s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); width: 18px; height: 18px; margin-top: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: var(--muted-on-dark); text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--electric); }
.back-to-top .icon { transform: rotate(-90deg); width: 20px; height: 20px; }

/* ---------- 17. About page ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card { padding: clamp(2rem, 1.5rem + 2vw, 3rem); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.mv-card--dark { background: var(--navy); color: var(--muted-on-dark); }
.mv-card--dark h3 { color: #fff; }
.mv-card--light { background: #fff; border: 1px solid var(--border); }
.mv-card .mv-label { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.mv-card--light .mv-label { color: var(--electric); }
.mv-card h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.35; margin-bottom: 1rem; font-weight: 500; }
.mv-card p { margin: 0; }
.mv-card .mv-deco { position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; opacity: .5; }

.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: v; }
.value-card { padding: 2rem 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); text-align: left; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .icon-tile { margin-bottom: 1.5rem; }
.value-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.value-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.philosophy blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.35; color: var(--navy); font-weight: 500; position: relative; padding-left: 1.75rem; border-left: 3px solid; border-image: var(--grad-brand) 1; }
.principle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.principle-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.principle-list h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.principle-list p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.vsteps { list-style: none; padding: 0; margin: 0; position: relative; }
.vsteps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--electric), var(--cyan)); opacity: .3; }
.vsteps li { position: relative; padding: 0 0 2rem 4.25rem; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps .vnum { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid rgba(37, 99, 235, .3); font-family: var(--font-head); font-weight: 600; color: var(--electric); }
.section--grey .vsteps .vnum { background: var(--grey); }
.vsteps h3 { font-size: 1.12rem; margin: .55rem 0 .35rem; }
.vsteps p { margin: 0; color: var(--muted); }

.cap-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.cap-col { padding: 2rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.cap-col h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; margin-bottom: 1.25rem; }

/* ---------- 18. Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 1rem .9rem; font-family: var(--font-head); font-size: .86rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--electric); border-bottom-color: var(--electric); }

.svc-detail { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); scroll-margin-top: calc(var(--header-h) + 56px); }
.svc-detail:nth-of-type(even) { background: var(--grey); }
.svc-detail .split { align-items: start; }
.svc-detail--reverse .svc-media { order: 2; }
.svc-media { position: sticky; top: calc(var(--header-h) + 80px); }
.svc-media .media-frame { aspect-ratio: 5 / 4; }
.svc-media .media-frame svg { height: 100%; }
.svc-index { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; color: var(--electric); text-transform: uppercase; display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.svc-index .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.svc-block { margin-top: 2rem; }
.svc-block h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.benefit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.benefit { padding: 1.1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.benefit strong { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: .25rem; }
.benefit span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; display: block; }
.usecase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.usecase-list li { display: flex; gap: .75rem; align-items: baseline; padding: .75rem 1rem; border-left: 3px solid var(--cyan); background: rgba(6, 182, 212, .06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--fs-sm); }
.svc-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.sec-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.sec-card { padding: 1.5rem 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s, background-color .3s; }
.sec-card:hover { border-color: rgba(103, 232, 249, .4); background: rgba(255, 255, 255, .07); }
.sec-card .icon { color: var(--cyan-soft); margin-bottom: 1rem; width: 28px; height: 28px; }
.sec-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.sec-card p { margin: 0; font-size: var(--fs-xs); line-height: 1.6; }

/* ---------- 19. Business consulting page ---------- */
.offer-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.offer-row { display: grid; grid-template-columns: 90px 1fr 1.2fr auto; gap: 1.5rem 2.5rem; align-items: start; padding: 2.25rem 0; border-bottom: 1px solid var(--border); transition: background-color .3s; position: relative; }
.offer-row::before { content: ""; position: absolute; left: -1.5rem; right: -1.5rem; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(37, 99, 235, .05), transparent 70%); opacity: 0; transition: opacity .3s; border-radius: var(--radius); z-index: -1; }
.offer-row:hover::before { opacity: 1; }
.offer-row .offer-n { font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offer-row h3 { font-size: 1.3rem; margin: 0 0 .4rem; }
.offer-row .offer-sum { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.offer-row .chip-list { gap: .45rem; }
.offer-row .chip { font-size: var(--fs-xs); padding: .35rem .75rem; background: #fff; }
.offer-row .icon-wrap { color: var(--electric); }
.offer-rows-wrap { position: relative; isolation: isolate; }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.model-card { padding: 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); position: relative; overflow: hidden; }
.model-card .model-tag { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--electric); background: rgba(37, 99, 235, .08); padding: .3rem .7rem; border-radius: var(--radius-pill); margin-bottom: 1.25rem; }
.model-card h3 { font-size: 1.2rem; }
.model-card p { color: var(--muted); font-size: var(--fs-sm); }
.model-card .check-list { font-size: var(--fs-sm); margin: 0; }

.disclaimer-box { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--electric); font-size: var(--fs-sm); color: var(--muted); }
.disclaimer-box .icon { color: var(--electric); margin-top: .15rem; }
.disclaimer-box p { margin: 0; }

/* ---------- 20. Industries page ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.jump-nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .2); color: #e2e8f0; text-decoration: none; font-size: var(--fs-sm); transition: background-color .25s, border-color .25s; }
.jump-nav a:hover { background: rgba(255, 255, 255, .08); border-color: var(--cyan-soft); color: #fff; }
.jump-nav .icon { width: 16px; height: 16px; color: var(--cyan-soft); }
.ind-section { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); scroll-margin-top: var(--header-h); }
.ind-section:nth-of-type(even) { background: var(--grey); }
.ind-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ind-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.ind-head .ind-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.75rem; aspect-ratio: 16 / 10; background: var(--navy); }
.ind-head .ind-thumb svg { width: 100%; height: 100%; }
.ind-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.ind-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ind-box { padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.ind-box h3 { display: flex; align-items: center; gap: .65rem; font-size: 1.02rem; margin-bottom: 1rem; }
.ind-box h3 .icon { color: var(--electric); width: 20px; height: 20px; }
.ind-box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: var(--fs-sm); color: var(--muted); }
.ind-box ul li::marker { color: var(--cyan); }
.ind-box--accent { background: var(--navy); border-color: var(--navy); color: var(--muted-on-dark); grid-column: 1 / -1; }
.ind-box--accent h3 { color: #fff; }
.ind-box--accent h3 .icon { color: var(--cyan-soft); }
.ind-box--accent p { margin: 0; }

/* ---------- 21. Expertise page ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 1.25rem; }
.bento-item { position: relative; padding: 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .3); }
.bento-item h3 { font-size: 1.12rem; margin: 1.25rem 0 .5rem; }
.bento-item p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.bento-item .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.25rem; list-style: none; padding-left: 0; }
.bento-item .tags li { font-size: .72rem; padding: .25rem .6rem; border-radius: var(--radius-pill); background: var(--grey); color: var(--slate); border: 1px solid var(--border); }
.bento-item--wide { grid-column: span 2; }
.bento-item--tall { grid-row: span 2; }
.bento-item--dark { background: var(--grad-hero); border-color: transparent; color: var(--muted-on-dark); }
.bento-item--dark h3 { color: #fff; }
.bento-item--dark p { color: var(--muted-on-dark); }
.bento-item--dark .tags li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #e2e8f0; }
.bento-item--blue { background: linear-gradient(140deg, var(--blue), var(--electric)); border-color: transparent; color: #dbeafe; }
.bento-item--blue h3 { color: #fff; }
.bento-item--blue p { color: #dbeafe; }
.bento-item--blue .icon-tile { background: rgba(255, 255, 255, .15); box-shadow: none; }
.bento-item--blue .tags li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.bento-art { position: absolute; right: -20px; bottom: -20px; width: 200px; opacity: .45; z-index: -1; }

.bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.bridge-col { padding: 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.bridge-col h3 { display: flex; gap: .75rem; align-items: center; }
.bridge-mid { display: grid; place-items: center; }
.bridge-mid .bridge-core { width: 150px; height: 150px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.3; box-shadow: 0 0 0 14px rgba(37, 99, 235, .08), 0 0 0 28px rgba(37, 99, 235, .04); padding: 1rem; }

/* ---------- 22. Careers page ---------- */
.culture-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.culture-point { display: flex; gap: .9rem; }
.culture-point .icon { color: var(--electric); margin-top: .2rem; }
.culture-point h3 { font-size: 1rem; margin-bottom: .2rem; }
.culture-point p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ---------- 23. Contact page ---------- */
.info-stack { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.info-card h3 { font-size: .98rem; margin-bottom: .25rem; }
.info-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.info-card--dark { background: var(--navy); border-color: var(--navy); color: var(--muted-on-dark); }
.info-card--dark h3 { color: #fff; }
.info-card--dark p { color: var(--muted-on-dark); }

.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); color: var(--slate); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.contact-card .icon-tile { margin-bottom: 1.5rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.contact-card p { margin: 0 0 1rem; color: var(--muted); font-size: var(--fs-md); line-height: 1.55; overflow-wrap: anywhere; }
.contact-card .link-arrow { margin-top: auto; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); color: var(--slate); }
.contact-card--dark { background: var(--navy); border-color: var(--navy); }
.contact-card--dark h3 { color: #fff; }
.contact-card--dark p { color: var(--muted-on-dark); }

.apply-panel { text-align: center; padding: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.apply-panel .icon-tile { margin: 0 auto 1.5rem; }
.apply-panel .eyebrow { justify-content: center; }
.apply-panel .lead a { font-weight: 600; overflow-wrap: anywhere; }
.apply-tips { list-style: none; padding: 0; margin: 2rem auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.apply-tips li { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius); background: var(--grey); font-size: var(--fs-sm); }
.apply-tips .icon { color: var(--electric); width: 20px; height: 20px; margin-top: .1rem; }

.footer-contact a { color: var(--muted-on-dark); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

/* ---------- 24. Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); padding: 1.5rem; border-radius: var(--radius-lg); background: var(--grey); border: 1px solid var(--border); }
.legal-toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.legal-toc a { color: var(--slate); text-decoration: none; }
.legal-toc a:hover { color: var(--electric); text-decoration: underline; }
.legal-body h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-top: 2.75rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: #334155; }
.legal-body ul { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.legal-notice { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: #fffbeb; border: 1px solid #fde68a; color: #78350f; margin-bottom: 2.5rem; font-size: var(--fs-sm); }
.legal-notice .icon { color: #b45309; margin-top: .1rem; }
.legal-notice p { margin: 0; color: #78350f; }
.legal-meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 2rem; }

/* ---------- 25. Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .56s; }
/* bc tiles keep their offset */
.js .bc-panel.reveal-stagger.is-visible > .bc-tile:nth-child(2), .js .bc-panel.reveal-stagger.is-visible > .bc-tile:nth-child(4) { transform: translateY(1.5rem); }

/* ---------- 26. Responsive ---------- */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}
@media (max-width: 1200px) {
  .sec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-row { grid-template-columns: 70px 1fr 1.2fr; }
  .offer-row .icon-wrap { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: 2rem; }
}
@media (max-width: 992px) {
  .hero-grid, .page-banner .container, .split, .split--wide-left, .split--wide-right, .why-wrap, .philosophy, .ind-layout, .legal-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .banner-art { display: none; }
  .section-head--split { grid-template-columns: 1fr; }
  .service-grid, .industry-grid, .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-intro, .ind-head, .svc-media, .legal-toc { position: static; }
  .svc-detail--reverse .svc-media { order: 0; }
  .svc-media .media-frame { aspect-ratio: 16 / 10; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-item--tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-box .btn-row { justify-content: flex-start; }
  .bridge { grid-template-columns: 1fr; }
  .bridge-mid .bridge-core { width: 130px; height: 130px; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-tips { grid-template-columns: 1fr; }
  .media-badge { left: 1rem; }
  .ind-head .ind-thumb { aspect-ratio: 21 / 9; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 34px; bottom: 34px; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan)); }
  .timeline-step { display: grid; grid-template-columns: 68px 1fr; gap: 1.25rem; text-align: left; padding: 0 0 2rem; }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-node { margin: 0; }
  .timeline-step p { margin: 0; max-width: none; }
  .timeline-step h3 { margin-top: .9rem; }
  .why-list { grid-template-columns: 1fr; }
  .mv-grid, .cap-columns, .culture-points, .ind-quad { grid-template-columns: 1fr; }
  .benefit-row { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-row { grid-template-columns: 1fr; gap: .75rem; padding: 1.75rem 0; }
  .offer-row .offer-n { font-size: 1.6rem; }
  .offer-row::before { left: -.75rem; right: -.75rem; }
  .bc-panel { grid-template-columns: 1fr 1fr; }
  .check-list--2col { grid-template-columns: 1fr; }
  .secondary-services { padding: 1.5rem; }
  .legal-toc ol { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .service-grid, .industry-grid, .values-grid, .model-grid, .bento, .sec-grid, .contact-cards { grid-template-columns: 1fr; }
  .bento-item--wide { grid-column: auto; }
  .bc-panel { grid-template-columns: 1fr; }
  .bc-tile:nth-child(2), .bc-tile:nth-child(4), .js .bc-panel.reveal-stagger.is-visible > .bc-tile:nth-child(2), .js .bc-panel.reveal-stagger.is-visible > .bc-tile:nth-child(4) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-pillars { gap: .6rem 1.25rem; }
  .brand-tag { font-size: .6rem; }
  .brand-mark { width: 38px; height: 38px; }
  .media-badge { position: static; margin-top: 1rem; max-width: none; }
  .industry-card { min-height: 220px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 375px) {
  .brand-tag { display: none; }
  .hero-tagline { font-size: .72rem; }
}

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-stagger > *, .hero-anim > *, .hero-visual.hero-anim-v { opacity: 1 !important; transform: none !important; }
  .hv-pulse, .hv-flow, .hv-float, .hv-spin, .hv-bar { animation: none !important; }
}

/* ---------- 28. Print ---------- */
@media print {
  .site-header, .site-footer, .back-to-top, .cta-band, .subnav { display: none !important; }
  .hero, .page-banner, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-banner h1 { color: #000 !important; }
}

/* sticky media beside long copy (desktop only) */
@media (min-width: 993px) { .media-wrap--sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- Official TSC logo ---------- */
.brand { gap: .85rem; }
.brand-mark { width: 62px; height: auto; aspect-ratio: 166 / 91; color: #102A6C; }
.brand--light .brand-mark { color: #FFFFFF; }
.brand-text { padding-left: .85rem; border-left: 1px solid var(--border); }
.brand--light .brand-text { border-left-color: rgba(255, 255, 255, .2); }
.brand-name, .brand-tag { font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: -.005em; text-transform: none; color: var(--navy); margin: 0; line-height: 1.15; }
.brand--light .brand-name, .brand--light .brand-tag { color: #fff; }
@media (max-width: 1100px) { .brand-name, .brand-tag { font-size: .9rem; } .brand-mark { width: 54px; } }
@media (max-width: 576px) { .brand-mark { width: 50px; height: auto; } .brand-name, .brand-tag { font-size: .85rem; } .brand-tag { font-size: .85rem; } }
@media (max-width: 375px) { .brand-tag { display: block; } .brand-text { padding-left: .6rem; } .brand { gap: .6rem; } .brand-name, .brand-tag { font-size: .8rem; } .brand-mark { width: 44px; } }
.nav-link { white-space: nowrap; }
@media (min-width: 993px) and (max-width: 1100px) { .nav-link { padding: .55rem .45rem; font-size: .85rem; } .nav-link::after { left: .45rem; right: .45rem; } .header-cta { padding: .6rem 1rem; } .brand-text { display: none; } }
