@layer reset, base, components, sections, utilities, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol { margin: 0; }
  ul, ol { padding: 0; }
  img, svg, canvas { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  a { color: inherit; text-decoration: none; }
}

@layer base {
  :root {
    --bg: #07090d;
    --bg-elevated: #0d1118;
    --surface: #111720;
    --surface-2: #151d28;
    --text: #f7f8fa;
    --muted: #a9b3c1;
    --muted-strong: #c6ced8;
    --line: rgba(255,255,255,.12);
    --line-strong: rgba(255,255,255,.22);
    --accent: #a7ff4d;
    --accent-2: #53e3ff;
    --light: #f3f1ea;
    --light-2: #ebe8df;
    --light-text: #0b1017;
    --light-muted: #56606c;
    --light-line: rgba(11,16,23,.16);
    --container: 1240px;
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --shadow: 0 30px 100px rgba(0,0,0,.36);
    --ease: cubic-bezier(.2,.75,.2,1);
  }

  html { background: var(--bg); }
  body {
    min-width: 320px;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  body::selection { color: var(--bg); background: var(--accent); }
  section { scroll-margin-top: 92px; }

  :focus-visible {
    outline: 3px solid var(--accent-2);
    outline-offset: 4px;
    border-radius: 4px;
  }

  .container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 12px 16px;
    color: var(--bg);
    background: var(--accent);
    border-radius: 10px;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .2s ease;
  }
  .skip-link:focus { transform: none; }
}

@layer components {
  .scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: 2px;
    background: transparent;
  }
  .scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 82px;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  }
  .site-header.is-scrolled {
    background: rgba(7,9,13,.82);
    border-color: var(--line);
    backdrop-filter: blur(20px) saturate(135%);
  }
  .nav-shell {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 34px;
  }
  .wordmark {
    color: #fff;
    font-size: clamp(20px, 1.35vw, 23px);
    font-weight: 850;
    letter-spacing: -.052em;
    line-height: 1;
    white-space: nowrap;
  }
  .primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
  }
  .primary-nav a {
    position: relative;
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c7ced8;
    font-size: clamp(13px, .78vw, 14px);
    font-weight: 760;
    line-height: 1;
    letter-spacing: -.006em;
    transition: color .2s ease, background .2s ease;
  }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover,
  .primary-nav a.is-active {
    color: #fff;
    background: rgba(255,255,255,.035);
    border-radius: 999px;
  }
  .primary-nav a:hover::after,
  .primary-nav a.is-active::after { transform: translateX(-50%) scaleX(1); }

  .header-cta,
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    transition: transform .25s var(--ease), color .25s ease, background .25s ease, border-color .25s ease;
  }
  .header-cta {
    min-height: 44px;
    padding: 0 19px;
    color: var(--bg);
    background: #fff;
    border-radius: 999px;
    font-size: clamp(13px, .78vw, 14px);
    font-weight: 820;
    line-height: 1;
    letter-spacing: -.01em;
  }
  .header-cta:hover { background: var(--accent); }

  .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: #fff;
    background: rgba(255,255,255,.04);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: transform .25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

  .button {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    will-change: transform;
  }
  .button svg,
  .contact-link svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .button-primary {
    color: var(--bg);
    background: var(--accent);
  }
  .button-primary:hover { background: #c4ff87; }
  .button-ghost {
    color: #fff;
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.03);
  }
  .button-ghost:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
  }

  .eyebrow,
  .section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .eyebrow { color: var(--muted-strong); }
  .eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 22px rgba(167,255,77,.75);
  }
  .section-kicker { color: #4e5966; }
  .section-kicker-dark { color: var(--accent); }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 56px;
  }
  .section-heading h2,
  .capabilities-intro h2,
  .contact h2 {
    margin-top: 17px;
    font-size: clamp(42px, 5.8vw, 78px);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 780;
  }
  .section-heading > p {
    max-width: 520px;
    color: var(--light-muted);
    font-size: 17px;
    line-height: 1.7;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@layer sections {
  .hero {
    position: relative;
    min-height: 100svh;
    padding: 154px 0 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
      radial-gradient(circle at 18% 10%, rgba(167,255,77,.065), transparent 28%),
      radial-gradient(circle at 84% 18%, rgba(83,227,255,.08), transparent 30%),
      linear-gradient(180deg, #07090d 0%, #080b10 76%, #07090d 100%);
  }
  .hero-canvas,
  .hero-grid,
  .hero-glow {
    position: absolute;
    pointer-events: none;
  }
  .hero-canvas {
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    opacity: .9;
  }
  .hero-grid {
    inset: 0;
    z-index: -3;
    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: 76px 76px;
    mask-image: linear-gradient(to bottom, black 0, rgba(0,0,0,.65) 55%, transparent 95%);
    opacity: .62;
  }
  .hero-glow {
    z-index: -2;
    border-radius: 50%;
    filter: blur(18px);
  }
  .hero-glow-one {
    width: 420px;
    height: 420px;
    right: -170px;
    top: 80px;
    background: rgba(83,227,255,.055);
  }
  .hero-glow-two {
    width: 330px;
    height: 330px;
    left: -140px;
    bottom: 80px;
    background: rgba(167,255,77,.05);
  }
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
    gap: 64px;
    align-items: center;
  }
  .hero-copy h1 {
    max-width: 810px;
    margin-top: 24px;
    font-size: clamp(58px, 5.9vw, 88px);
    line-height: .88;
    letter-spacing: -.078em;
    font-weight: 790;
  }
  .hero-copy h1 > span { display: block; white-space: nowrap; }
  .hero-copy h1 em {
    color: var(--accent);
    font-style: normal;
  }
  .hero-summary {
    max-width: 660px;
    margin-top: 30px;
    color: #b8c1cc;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 38px;
  }
  .hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 30px;
    color: #909aa8;
    font-size: 12px;
    font-weight: 700;
  }
  .hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }
  .hero-proof span::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-2);
  }

  .visual-frame {
    position: relative;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px) saturate(130%);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .5s var(--ease), border-color .3s ease;
  }
  .visual-frame:hover { border-color: rgba(255,255,255,.28); }
  .visual-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--card-x, 70%) var(--card-y, 20%), rgba(167,255,77,.12), transparent 34%);
  }
  .visual-topbar,
  .visual-footer {
    position: relative;
    z-index: 2;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 22px;
    color: #d9dee6;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .04em;
  }
  .visual-topbar { border-bottom: 1px solid var(--line); }
  .visual-topbar > div,
  .visual-footer > span:first-child { display: flex; align-items: center; gap: 9px; }
  .visual-topbar > span,
  .visual-footer > span:last-child { color: #808b9a; }
  .status-dot,
  .visual-footer i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(167,255,77,.75);
  }
  .system-canvas {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background:
      linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
    background-size: 42px 42px;
  }
  .system-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 26%, rgba(7,9,13,.44) 100%);
    pointer-events: none;
  }
  .system-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .flow-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 8 13;
    animation: lineFlow 14s linear infinite;
  }
  .flow-two { animation-duration: 17s; animation-direction: reverse; }
  .flow-three { animation-duration: 12s; }
  .flow-four { animation-duration: 19s; animation-direction: reverse; }
  .pulse-dot {
    fill: var(--accent-2);
    filter: url(#softGlow);
    animation: pulseDot 3.5s ease-in-out infinite;
  }
  .pulse-two { fill: var(--accent); animation-delay: .8s; }
  .pulse-three { animation-delay: 1.6s; }
  @keyframes lineFlow { to { stroke-dashoffset: -210; } }
  @keyframes pulseDot { 0%,100% { opacity: .3; transform: scale(.7); transform-origin: center; } 50% { opacity: 1; transform: scale(1.45); } }

  .system-node,
  .system-core {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(11,15,21,.86);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    backdrop-filter: blur(10px);
  }
  .system-node {
    width: 148px;
    min-height: 83px;
    padding: 14px;
    border-radius: 17px;
  }
  .system-node::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    border-radius: inherit;
    background: linear-gradient(var(--accent), transparent);
  }
  .system-node strong,
  .system-node small { display: block; }
  .system-node strong { margin-top: 8px; font-size: 14px; }
  .system-node small { margin-top: 5px; color: #8994a2; font-size: 10px; }
  .node-index { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
  .node-data { left: 6%; top: 12%; }
  .node-intelligence { right: 6%; top: 12%; }
  .node-automation { left: 6%; bottom: 12%; }
  .node-experience { right: 6%; bottom: 12%; }
  .system-core {
    left: 50%;
    top: 50%;
    width: 124px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 35% 25%, rgba(167,255,77,.22), rgba(10,14,20,.94) 65%);
    box-shadow: 0 0 70px rgba(83,227,255,.12), inset 0 0 0 10px rgba(255,255,255,.025);
  }
  .system-core::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(83,227,255,.28);
    border-radius: 50%;
    animation: rotateRing 24s linear infinite;
  }
  @keyframes rotateRing { to { transform: rotate(360deg); } }
  .system-core span { font-size: 14px; font-weight: 850; letter-spacing: -.03em; }
  .system-core small { margin-top: 5px; color: #9aa4b2; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
  .visual-footer { border-top: 1px solid var(--line); }

  .capability-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 68px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #9da7b5;
    font-size: 11px;
    font-weight: 790;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .capability-strip i { width: 4px; height: 4px; border-radius: 50%; background: #566170; }

  .section-light {
    color: var(--light-text);
    background: var(--light);
  }
  .portfolio { padding: 132px 0; }
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .portfolio-card {
    position: relative;
    min-height: 410px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-line);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.5);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
  }
  .portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11,16,23,.3);
    box-shadow: 0 26px 60px rgba(25,30,35,.11);
  }
  .portfolio-card-wide {
    grid-column: span 2;
    min-height: 440px;
    padding-right: 42%;
  }
  .portfolio-card-wide::after {
    content: "";
    position: absolute;
    right: -4%;
    top: 50%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(11,16,23,.13);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
      0 0 0 42px rgba(83,227,255,.035),
      0 0 0 84px rgba(167,255,77,.022);
  }
  .portfolio-card-wide .card-icon {
    position: absolute;
    right: 12%;
    top: 50%;
    width: 104px;
    height: 104px;
    margin: 0;
    border-radius: 28px;
    transform: translateY(-50%);
  }
  .portfolio-card-wide .card-icon svg { width: 50px; }
  .portfolio-card-wide .tag-list { max-width: 680px; }
  .portfolio-card-accent {
    color: var(--text);
    border-color: rgba(255,255,255,.16);
    background: #0d131a;
  }
  .portfolio-card-accent .card-topline,
  .portfolio-card-accent p { color: #aeb7c3; }
  .portfolio-card-accent .tag-list li { color: #dce2e9; border-color: rgba(255,255,255,.16); }
  .card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(83,227,255,.16), transparent 42%);
    transition: opacity .3s ease;
  }
  .portfolio-card:hover .card-glow { opacity: 1; }
  .card-topline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #5e6874;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
  }
  .card-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin-top: 62px;
    display: grid;
    place-items: center;
    color: var(--light-text);
    border: 1px solid currentColor;
    border-radius: 17px;
  }
  .portfolio-card-accent .card-icon { color: var(--accent); }
  .card-icon svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .portfolio-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 25px;
    max-width: 540px;
    font-size: clamp(29px, 3vw, 45px);
    line-height: 1.02;
    letter-spacing: -.055em;
  }
  .portfolio-card p {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-top: 17px;
    color: var(--light-muted);
    font-size: 15px;
    line-height: 1.7;
  }
  .tag-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 30px;
    list-style: none;
  }
  .tag-list li {
    padding: 7px 10px;
    color: #414b57;
    border: 1px solid var(--light-line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
  }

  .capabilities { padding: 132px 0; }
  .capabilities-layout {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: 100px;
  }
  .capabilities-intro {
    position: sticky;
    top: 128px;
    align-self: start;
  }
  .capabilities-intro h2 { max-width: 520px; }
  .capabilities-intro > p:not(.section-kicker) {
    max-width: 500px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: #fff;
    font-size: 14px;
    font-weight: 820;
  }
  .text-link span { color: var(--accent); font-size: 20px; transition: transform .2s ease; }
  .text-link:hover span { transform: translate(3px,-3px); }
  .capability-list { border-top: 1px solid var(--line); }
  .capability-row {
    min-height: 188px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 24px;
    align-items: start;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s var(--ease), border-color .3s ease;
  }
  .capability-row:hover { padding-left: 12px; border-color: rgba(167,255,77,.34); }
  .capability-number { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
  .capability-row h3 { font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.045em; }
  .capability-row p { max-width: 620px; margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.7; }
  .capability-symbol { color: #697483; font-size: 25px; transition: color .25s ease, transform .25s ease; }
  .capability-row:hover .capability-symbol { color: var(--accent); transform: translate(4px,4px); }

  .approach { padding: 132px 0; }
  .approach-heading { margin-bottom: 72px; }
  .approach-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
  }
  .approach-steps::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
    height: 1px;
    background: var(--light-line);
  }
  .approach-steps li { position: relative; }
  .approach-steps li > span { color: #6b7580; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
  .step-marker {
    position: relative;
    z-index: 2;
    width: 23px;
    height: 23px;
    margin-top: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11,16,23,.35);
    border-radius: 50%;
    background: var(--light);
  }
  .step-marker i { width: 7px; height: 7px; border-radius: 50%; background: var(--light-text); }
  .approach-steps li:first-child .step-marker { border-color: #78a83d; }
  .approach-steps li:first-child .step-marker i { background: #78a83d; box-shadow: 0 0 0 7px rgba(120,168,61,.12); }
  .approach-steps h3 { margin-top: 28px; font-size: 29px; letter-spacing: -.045em; }
  .approach-steps p { max-width: 240px; margin-top: 12px; color: var(--light-muted); font-size: 14px; line-height: 1.65; }
  .principles-panel {
    margin-top: 96px;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    align-items: stretch;
    border: 1px solid var(--light-line);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.42);
  }
  .principles-panel > p,
  .principle {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 17px 20px;
  }
  .principles-panel > p {
    padding-left: 0;
    color: #6a7480;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .principle { border-left: 1px solid var(--light-line); }
  .principle span { color: #78828d; font-size: 9px; font-weight: 850; }
  .principle strong { max-width: 170px; font-size: 14px; line-height: 1.35; }

  .contact {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    text-align: center;
    background:
      radial-gradient(circle at center, rgba(83,227,255,.08), transparent 34%),
      linear-gradient(180deg, #080b10, #07090d);
  }
  .contact-inner { position: relative; z-index: 2; }
  .contact .section-kicker { justify-content: center; }
  .contact h2 { font-size: clamp(60px, 9vw, 130px); }
  .contact > .container > p:not(.section-kicker) { max-width: 640px; margin: 27px auto 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
  .contact-link {
    width: min(100%, 760px);
    min-height: 96px;
    margin: 52px auto 0;
    padding: 0 14px 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    font-size: clamp(18px, 3vw, 34px);
    font-weight: 760;
    letter-spacing: -.035em;
    transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
  }
  .contact-link:hover {
    transform: translateY(-4px);
    border-color: rgba(167,255,77,.56);
    background: rgba(167,255,77,.07);
  }
  .contact-link svg {
    width: 64px;
    height: 64px;
    padding: 19px;
    flex: 0 0 auto;
    color: var(--bg);
    border-radius: 50%;
    background: var(--accent);
  }
  .contact-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
  }
  .orbit-one { width: 760px; height: 760px; }
  .orbit-two { width: 1080px; height: 1080px; }

  .site-footer {
    padding: 54px 0;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 38px 70px;
    align-items: start;
  }
  .footer-wordmark { font-size: 28px; }
  .footer-grid > div:first-child p { margin-top: 12px; color: #7f8997; font-size: 13px; }
  .footer-links { display: flex; gap: 25px; color: #aab4c0; font-size: 12px; font-weight: 720; }
  .footer-links a:hover { color: #fff; }
  .copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: #697381; font-size: 11px; }
}

@layer responsive {
  @media (max-width: 1080px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-copy { max-width: 900px; }
    .hero-visual { max-width: 720px; width: 100%; }
    .capabilities-layout { grid-template-columns: 1fr; gap: 65px; }
    .capabilities-intro { position: static; }
    .capabilities-intro h2 { max-width: 750px; }
    .principles-panel { grid-template-columns: repeat(2, 1fr); }
    .principles-panel > p { grid-column: 1 / -1; min-height: auto; }
    .principle:nth-of-type(1), .principle:nth-of-type(3) { border-left: 0; }
    .principle { border-top: 1px solid var(--light-line); }
  }

  @media (max-width: 860px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .header-cta { display: none; }
    .menu-toggle { display: block; }
    .primary-nav {
      position: fixed;
      left: 16px;
      right: 16px;
      top: 76px;
      display: grid;
      gap: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(10,13,19,.97);
      box-shadow: 0 24px 60px rgba(0,0,0,.45);
      transform: translateY(-12px) scale(.98);
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .primary-nav a { min-height: 50px; padding: 0 15px; border-bottom: 1px solid var(--line); justify-content: flex-start; font-size: 15px; }
    .primary-nav a:last-child { border-bottom: 0; }
    .primary-nav a:hover, .primary-nav a.is-active { background: rgba(255,255,255,.05); border-radius: 12px; }
    .primary-nav a::after { display: none; }
    .hero { padding-top: 128px; }
    .hero-layout { gap: 50px; }
    .hero-copy h1 { font-size: clamp(54px, 10.5vw, 78px); }
    .hero-copy h1 > span { white-space: normal; }
    .section-heading { grid-template-columns: 1fr; gap: 26px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card, .portfolio-card-wide { min-height: 390px; }
    .portfolio-card-wide { grid-column: auto; padding-right: 28px; }
    .portfolio-card-wide::after { display: none; }
    .portfolio-card-wide .card-icon {
      position: relative;
      right: auto;
      top: auto;
      width: 58px;
      height: 58px;
      margin-top: 62px;
      border-radius: 17px;
      transform: none;
    }
    .portfolio-card-wide .card-icon svg { width: 30px; }
    .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 54px 28px; }
    .approach-steps::before { display: none; }
    .capability-strip { flex-wrap: wrap; justify-content: flex-start; }
    .capability-strip i { display: none; }
    .capability-strip span { width: calc(50% - 9px); }
  }

  @media (max-width: 620px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .site-header, .nav-shell { height: 72px; }
    .primary-nav { top: 68px; left: 12px; right: 12px; }
    .wordmark { font-size: 20px; }
    .hero { min-height: auto; padding: 120px 0 34px; }
    .hero-copy h1 { font-size: clamp(46px, 14vw, 66px); line-height: .92; }
    .hero-summary { margin-top: 24px; font-size: 16px; }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .hero-proof { gap: 10px 15px; }
    .visual-frame { border-radius: 24px; }
    .visual-topbar, .visual-footer { padding: 0 16px; font-size: 9px; }
    .visual-topbar > span, .visual-footer > span:last-child { display: none; }
    .system-canvas { min-height: 390px; }
    .system-node { width: 118px; min-height: 74px; padding: 11px; }
    .system-node strong { font-size: 12px; }
    .system-node small { font-size: 8px; }
    .node-data, .node-automation { left: 4%; }
    .node-intelligence, .node-experience { right: 4%; }
    .system-core { width: 100px; }
    .capability-strip { margin-top: 44px; }
    .portfolio, .capabilities, .approach { padding: 90px 0; }
    .section-heading { margin-bottom: 38px; }
    .section-heading h2, .capabilities-intro h2 { font-size: 42px; }
    .section-heading > p { font-size: 15px; }
    .portfolio-card, .portfolio-card-wide { min-height: 370px; padding: 23px; }
    .card-icon { margin-top: 45px; }
    .capability-row { grid-template-columns: 36px minmax(0,1fr); gap: 14px; min-height: 170px; }
    .capability-symbol { display: none; }
    .approach-steps { grid-template-columns: 1fr; gap: 42px; }
    .approach-steps li { padding-bottom: 32px; border-bottom: 1px solid var(--light-line); }
    .approach-steps p { max-width: 440px; }
    .principles-panel { grid-template-columns: 1fr; margin-top: 62px; padding: 14px 18px; }
    .principle { border-left: 0; }
    .principle strong { max-width: none; }
    .contact { padding: 100px 0; }
    .contact h2 { font-size: clamp(58px, 18vw, 88px); }
    .contact > .container > p:not(.section-kicker) { font-size: 16px; }
    .contact-link { min-height: 72px; margin-top: 38px; padding: 0 8px 0 18px; font-size: 16px; }
    .contact-link svg { width: 54px; height: 54px; padding: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
    .copyright { grid-column: auto; }
  }

  @media (hover: none), (pointer: coarse) {
    .card-glow { display: none; }
    .portfolio-card:hover { transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
    .hero-canvas { display: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
  }
}

@layer sections {
  .hero {
    min-height: 820px;
    padding-top: 132px;
    justify-content: flex-start;
  }

  .hero-layout {
    align-items: center;
    padding-bottom: 48px;
  }

  .hero-summary { max-width: 690px; }

  .about { padding: 108px 0 72px; }
  .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 88px;
    align-items: stretch;
  }
  .about-copy h2 {
    max-width: 760px;
    margin-top: 17px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.065em;
  }
  .about-copy > p:not(.section-kicker) {
    max-width: 760px;
    margin-top: 24px;
    color: var(--light-muted);
    font-size: 17px;
    line-height: 1.78;
  }
  .about-statement {
    min-height: 430px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-line);
    border-radius: var(--radius-lg);
    background:
      radial-gradient(circle at 82% 18%, rgba(83,227,255,.11), transparent 35%),
      #0d131a;
    color: var(--text);
    box-shadow: 0 30px 70px rgba(25,30,35,.14);
  }
  .statement-label {
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .about-statement blockquote {
    margin: 56px 0 0;
    max-width: 540px;
    font-size: clamp(31px, 4vw, 49px);
    line-height: 1.05;
    letter-spacing: -.055em;
    font-weight: 730;
  }
  .about-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 40px;
  }
  .about-points span {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: #c8d0da;
    font-size: 10px;
    font-weight: 760;
  }

  .portfolio { padding: 72px 0 108px; }
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .portfolio-card {
    min-height: 350px;
    grid-column: span 2;
  }
  .portfolio-card-feature {
    grid-column: span 4;
    min-height: 390px;
    padding-right: 34%;
  }
  .portfolio-card-feature::after {
    content: "";
    position: absolute;
    right: -2%;
    top: 50%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(11,16,23,.13);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 36px rgba(83,227,255,.035), 0 0 0 72px rgba(167,255,77,.022);
  }
  .portfolio-card-feature .card-icon {
    position: absolute;
    right: 10%;
    top: 50%;
    width: 92px;
    height: 92px;
    margin: 0;
    border-radius: 26px;
    transform: translateY(-50%);
  }
  .portfolio-card-feature .card-icon svg { width: 46px; }
  .portfolio-card-compact .card-icon { margin-top: 40px; }
  .portfolio-card h3 { font-size: clamp(27px, 2.6vw, 41px); }
  .portfolio-card p { line-height: 1.65; }

  .services { padding: 112px 0; }
  .capability-row { min-height: 164px; }
  .capability-row h3 { font-size: clamp(23px, 2.7vw, 34px); }

  .approach { padding: 108px 0; }
  .principles-panel { margin-top: 78px; }

  .contact { padding: 120px 0; }
  .contact h2 { font-size: clamp(56px, 8vw, 112px); }
}

@layer responsive {
  @media (max-width: 1080px) {
    .about-layout { grid-template-columns: 1fr; gap: 50px; }
    .about-statement { min-height: 350px; }
  }

  @media (max-width: 860px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card,
    .portfolio-card-feature,
    .portfolio-card-compact {
      grid-column: auto;
      min-height: 350px;
      padding-right: 28px;
    }
    .portfolio-card-feature::after { display: none; }
    .portfolio-card-feature .card-icon {
      position: relative;
      right: auto;
      top: auto;
      width: 58px;
      height: 58px;
      margin-top: 45px;
      border-radius: 17px;
      transform: none;
    }
    .portfolio-card-feature .card-icon svg { width: 30px; }
  }

  @media (max-width: 620px) {
    .hero { min-height: auto; padding-top: 112px; }
    .hero-layout { padding-bottom: 34px; }
    .about { padding: 82px 0 54px; }
    .about-copy h2 { font-size: 42px; }
    .about-copy > p:not(.section-kicker) { font-size: 15px; }
    .about-statement { min-height: 320px; padding: 26px; }
    .about-statement blockquote { margin-top: 40px; font-size: 34px; }
    .portfolio { padding: 54px 0 84px; }
    .services, .approach { padding: 84px 0; }
    .portfolio-card,
    .portfolio-card-feature,
    .portfolio-card-compact { min-height: 330px; }
  }
}

/* v5 continuity and bidirectional scroll motion */
@layer components {
  html[data-scroll-direction="down"] { --reveal-y: 30px; }
  html[data-scroll-direction="up"] { --reveal-y: -26px; }

  .js [data-reveal] {
    transform: translate3d(0, var(--reveal-y, 30px), 0) scale(.988);
    filter: blur(7px);
    transition:
      opacity .78s var(--ease),
      transform .88s var(--ease),
      filter .78s var(--ease);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  [data-section-transition] {
    position: relative;
    isolation: isolate;
  }
  [data-section-transition]::after {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    left: 50%;
    width: min(calc(100% - 48px), var(--container));
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor 24%, currentColor 76%, transparent);
    opacity: .13;
    transform: translateX(-50%) scaleX(.18);
    transform-origin: center;
    transition: transform 1.1s var(--ease), opacity .8s ease;
    pointer-events: none;
  }
  [data-section-transition].is-section-visible::after {
    opacity: .22;
    transform: translateX(-50%) scaleX(1);
  }

  [data-parallax] {
    --parallax-y: 0px;
    translate: 0 var(--parallax-y);
    will-change: translate;
  }
}

@layer sections {
  .hero {
    min-height: 820px;
    padding-bottom: 0;
  }

  .capability-strip {
    margin-bottom: 36px;
  }

  .continuity-band {
    position: relative;
    z-index: 3;
    min-height: 96px;
    display: flex;
    align-items: center;
    color: var(--text);
    background:
      linear-gradient(90deg, rgba(167,255,77,.055), transparent 26%, transparent 74%, rgba(83,227,255,.055)),
      #0a0e14;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
  }
  .continuity-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
    pointer-events: none;
  }
  .continuity-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
  .continuity-inner p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #d1d8e1;
    font-size: 11px;
    font-weight: 830;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .continuity-inner p i {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: .55;
  }
  .continuity-inner a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 780;
    transition: color .25s ease, transform .25s var(--ease);
  }
  .continuity-inner a span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--bg);
    border-radius: 50%;
    background: var(--accent);
    transition: transform .25s var(--ease);
  }
  .continuity-inner a:hover { color: var(--accent); }
  .continuity-inner a:hover span { transform: translateY(3px); }

  .about {
    padding: 0 0 72px;
  }
  .about-layout {
    padding-top: 70px;
  }

  .portfolio-card:nth-child(2) {
    background:
      radial-gradient(circle at 86% 10%, rgba(83,227,255,.10), transparent 34%),
      rgba(255,255,255,.58);
  }
}

@layer responsive {
  @media (max-width: 860px) {
    .continuity-inner {
      min-height: 108px;
      align-items: flex-start;
      flex-direction: column;
      justify-content: center;
      gap: 15px;
      padding-block: 22px;
    }
    .continuity-inner p { gap: 10px; }
    .continuity-inner p i { width: 20px; }
    [data-section-transition]::after { width: calc(100% - 32px); }
  }

  @media (max-width: 620px) {
    .hero { padding-bottom: 0; }
    .capability-strip { margin-bottom: 28px; }
    .continuity-band { min-height: 118px; }
    .continuity-inner p span:nth-of-type(4),
    .continuity-inner p i:nth-of-type(3) { display: none; }
    .about { padding-top: 0; }
    .about-layout { padding-top: 54px; }
    [data-section-transition]::after { width: calc(100% - 24px); }
  }

  @media (prefers-reduced-motion: reduce) {
    [data-parallax] { translate: none !important; }
    .js [data-reveal] { filter: none; }
  }
}


/* v6 hero terminology and visual separation */
@layer components {
  .hero-visual {
    position: relative;
    isolation: isolate;
  }

  .hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -24px;
    border-radius: calc(var(--radius-lg) + 22px);
    background: radial-gradient(circle at center, rgba(7, 9, 13, .98) 36%, rgba(7, 9, 13, .82) 68%, transparent 100%);
    filter: blur(8px);
    pointer-events: none;
  }

  .visual-frame {
    background:
      radial-gradient(circle at 50% 44%, rgba(83, 227, 255, .055), transparent 38%),
      linear-gradient(145deg, #151c24 0%, #0b1017 54%, #090d13 100%);
    box-shadow:
      0 44px 110px rgba(0, 0, 0, .62),
      0 0 0 10px rgba(7, 9, 13, .34),
      inset 0 1px 0 rgba(255, 255, 255, .055);
    backdrop-filter: none;
  }

  .visual-topbar,
  .visual-footer {
    letter-spacing: .015em;
  }

  .visual-topbar > div,
  .visual-footer > span:first-child {
    display: block;
  }

  .visual-topbar > span,
  .visual-footer > span:last-child {
    color: #9aa5b3;
  }

  .status-dot,
  .visual-footer i {
    display: none;
  }

  .system-canvas {
    background:
      radial-gradient(circle at center, rgba(167, 255, 77, .035), transparent 34%),
      radial-gradient(circle, rgba(214, 224, 235, .13) .75px, transparent .9px);
    background-size: auto, 24px 24px;
  }

  .system-canvas::after {
    background:
      linear-gradient(90deg, rgba(8, 12, 18, .28), transparent 18%, transparent 82%, rgba(8, 12, 18, .28)),
      radial-gradient(circle at center, transparent 30%, rgba(7, 9, 13, .42) 100%);
  }

  .system-node {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(10, 15, 22, .94);
  }

  .system-node strong {
    line-height: 1.2;
  }

  .system-node small {
    line-height: 1.35;
  }

  .system-core small {
    text-transform: none;
    letter-spacing: .045em;
  }
}

@layer responsive {
  @media (max-width: 620px) {
    .visual-footer > span:first-child {
      max-width: 220px;
      line-height: 1.35;
    }
  }
}


/* v6 sentence-case typography */
@layer components {
  .eyebrow,
  .section-kicker,
  .statement-label,
  .card-topline,
  .capability-strip,
  .principles-panel > p,
  .continuity-inner p {
    text-transform: none;
  }

  .eyebrow,
  .section-kicker {
    letter-spacing: .085em;
  }

  .card-topline,
  .statement-label,
  .principles-panel > p,
  .continuity-inner p {
    letter-spacing: .075em;
  }

  .capability-strip {
    letter-spacing: .055em;
  }
}

/* v6 final layer-specific overrides */
@layer sections {
  .hero-visual {
    position: relative;
    isolation: isolate;
  }

  .hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -24px;
    border-radius: calc(var(--radius-lg) + 22px);
    background: radial-gradient(circle at center, rgba(7, 9, 13, .98) 36%, rgba(7, 9, 13, .82) 68%, transparent 100%);
    filter: blur(8px);
    pointer-events: none;
  }

  .visual-frame {
    background:
      radial-gradient(circle at 50% 44%, rgba(83, 227, 255, .055), transparent 38%),
      linear-gradient(145deg, #151c24 0%, #0b1017 54%, #090d13 100%);
    box-shadow:
      0 44px 110px rgba(0, 0, 0, .62),
      0 0 0 10px rgba(7, 9, 13, .34),
      inset 0 1px 0 rgba(255, 255, 255, .055);
    backdrop-filter: none;
  }

  .visual-topbar,
  .visual-footer {
    letter-spacing: .015em;
  }

  .visual-topbar > div,
  .visual-footer > span:first-child {
    display: block;
  }

  .visual-topbar > span,
  .visual-footer > span:last-child {
    color: #9aa5b3;
  }

  .status-dot,
  .visual-footer i {
    display: none;
  }

  .system-canvas {
    background:
      radial-gradient(circle at center, rgba(167, 255, 77, .035), transparent 34%),
      radial-gradient(circle, rgba(214, 224, 235, .13) .75px, transparent .9px);
    background-size: auto, 24px 24px;
  }

  .system-canvas::after {
    background:
      linear-gradient(90deg, rgba(8, 12, 18, .28), transparent 18%, transparent 82%, rgba(8, 12, 18, .28)),
      radial-gradient(circle at center, transparent 30%, rgba(7, 9, 13, .42) 100%);
  }

  .system-node {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(10, 15, 22, .94);
  }

  .system-node strong {
    line-height: 1.2;
  }

  .system-node small {
    line-height: 1.35;
  }

  .system-core small {
    text-transform: none;
    letter-spacing: .045em;
  }

  .card-topline,
  .capability-strip,
  .principles-panel > p,
  .statement-label,
  .continuity-inner p {
    text-transform: none;
  }

  .card-topline,
  .principles-panel > p,
  .statement-label,
  .continuity-inner p {
    letter-spacing: .075em;
  }

  .capability-strip {
    letter-spacing: .055em;
  }
}

@layer components {
  .material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: 500;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 520, 'GRAD' 0, 'opsz' 24;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }

  .readable-toggle {
    min-height: 44px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e6edf6;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    cursor: pointer;
    font-size: clamp(13px, .76vw, 14px);
    font-weight: 790;
    line-height: 1;
    letter-spacing: -.01em;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease);
  }
  .readable-toggle:hover,
  .readable-toggle[aria-pressed="true"] {
    color: var(--bg);
    border-color: var(--accent);
    background: var(--accent);
  }
  .readable-toggle .material-symbols-rounded,
  .header-cta .material-symbols-rounded,
  .mobile-nav-cta .material-symbols-rounded { font-size: 19px; }

  .mobile-nav-cta { display: none !important; }

  .button .material-symbols-rounded {
    font-size: 20px;
    transition: transform .2s ease;
  }
  .button:hover .material-symbols-rounded { transform: translateX(3px); }

  .card-icon .material-symbols-rounded {
    font-size: 31px;
    font-variation-settings: 'FILL' 0, 'wght' 430, 'GRAD' 0, 'opsz' 36;
  }

  .capability-title {
    display: flex;
    align-items: center;
    gap: 13px;
  }
  .capability-title .material-symbols-rounded {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: var(--accent);
    border: 1px solid rgba(167,255,77,.32);
    border-radius: 14px;
    background: rgba(167,255,77,.06);
    font-size: 24px;
  }
  .capability-symbol.material-symbols-rounded {
    font-size: 24px;
    transform: rotate(-35deg);
  }
  .capability-row:hover .capability-symbol.material-symbols-rounded { transform: translate(4px,4px) rotate(-35deg); }

  .step-marker .material-symbols-rounded {
    font-size: 14px;
    color: var(--light-text);
    font-variation-settings: 'FILL' 0, 'wght' 520, 'GRAD' 0, 'opsz' 20;
  }
  .approach-steps li:first-child .step-marker .material-symbols-rounded { color: #78a83d; }

  .contact-link > .material-symbols-rounded {
    width: 64px;
    height: 64px;
    padding: 19px;
    flex: 0 0 auto;
    color: var(--bg);
    border-radius: 50%;
    background: var(--accent);
    font-size: 28px;
    font-variation-settings: 'FILL' 0, 'wght' 520, 'GRAD' 0, 'opsz' 32;
  }
}

@layer utilities {
  html[data-readable="true"] {
    --bg: #fffdf7;
    --bg-elevated: #fffaf0;
    --surface: #ffffff;
    --surface-2: #f4efe4;
    --text: #07090d;
    --muted: #273241;
    --muted-strong: #111827;
    --line: rgba(7,9,13,.24);
    --line-strong: rgba(7,9,13,.44);
    --accent: #005fcc;
    --accent-2: #5b2bbf;
    --light: #fffdf7;
    --light-2: #f5f0e6;
    --light-text: #07090d;
    --light-muted: #273241;
    --light-line: rgba(7,9,13,.28);
  }

  html[data-readable="true"] body,
  html[data-readable="true"] .section-light,
  html[data-readable="true"] .hero,
  html[data-readable="true"] .services,
  html[data-readable="true"] .contact,
  html[data-readable="true"] .site-footer {
    color: var(--text);
    background: var(--bg);
  }

  html[data-readable="true"] .site-header.is-scrolled {
    background: rgba(255,253,247,.96);
    border-color: var(--line);
    backdrop-filter: blur(14px) saturate(110%);
  }
  html[data-readable="true"] .wordmark,
  html[data-readable="true"] .primary-nav a,
  html[data-readable="true"] .button-ghost,
  html[data-readable="true"] .text-link,
  html[data-readable="true"] .contact-link,
  html[data-readable="true"] .footer-links a {
    color: var(--text);
  }
  html[data-readable="true"] .primary-nav a:hover,
  html[data-readable="true"] .primary-nav a.is-active {
    color: #000;
    background: rgba(0,95,204,.1);
  }

  html[data-readable="true"] .hero-canvas,
  html[data-readable="true"] .hero-grid,
  html[data-readable="true"] .hero-glow,
  html[data-readable="true"] .contact-orbit,
  html[data-readable="true"] .card-glow {
    display: none !important;
  }
  html[data-readable="true"] .hero {
    background: linear-gradient(180deg, #fffdf7 0%, #f7f1e6 100%);
  }
  html[data-readable="true"] .hero-summary,
  html[data-readable="true"] .hero-proof,
  html[data-readable="true"] .section-heading > p,
  html[data-readable="true"] .about-copy p,
  html[data-readable="true"] .portfolio-card p,
  html[data-readable="true"] .capabilities-intro > p:not(.section-kicker),
  html[data-readable="true"] .capability-row p,
  html[data-readable="true"] .approach-steps p,
  html[data-readable="true"] .contact > .container > p:not(.section-kicker),
  html[data-readable="true"] .footer-grid > div:first-child p {
    color: var(--muted);
    line-height: 1.85;
  }
  html[data-readable="true"] .eyebrow,
  html[data-readable="true"] .section-kicker,
  html[data-readable="true"] .section-kicker-dark {
    color: var(--muted-strong);
  }
  html[data-readable="true"] .eyebrow span,
  html[data-readable="true"] .hero-proof span::before {
    background: var(--accent);
    box-shadow: none;
  }
  html[data-readable="true"] .hero-copy h1 em { color: var(--accent); }

  html[data-readable="true"] .button-primary,
  html[data-readable="true"] .header-cta,
  html[data-readable="true"] .contact-link > .material-symbols-rounded {
    color: #fff;
    background: var(--accent);
  }
  html[data-readable="true"] .button-ghost,
  html[data-readable="true"] .readable-toggle,
  html[data-readable="true"] .contact-link {
    border-color: var(--line-strong);
    background: rgba(255,255,255,.72);
  }
  html[data-readable="true"] .readable-toggle[aria-pressed="true"] {
    color: #fff;
    border-color: #111827;
    background: #111827;
  }

  html[data-readable="true"] .visual-frame,
  html[data-readable="true"] .portfolio-card,
  html[data-readable="true"] .portfolio-card-accent,
  html[data-readable="true"] .principles-panel,
  html[data-readable="true"] .about-statement {
    color: var(--text);
    border-color: var(--line-strong);
    background: #ffffff;
    box-shadow: none;
    backdrop-filter: none;
  }
  html[data-readable="true"] .system-canvas {
    background: #fbf8f0;
  }
  html[data-readable="true"] .system-canvas::after { background: transparent; }
  html[data-readable="true"] .visual-topbar,
  html[data-readable="true"] .visual-footer,
  html[data-readable="true"] .system-node,
  html[data-readable="true"] .system-core {
    color: var(--text);
    border-color: var(--line-strong);
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }
  html[data-readable="true"] .visual-topbar > span,
  html[data-readable="true"] .visual-footer > span:last-child,
  html[data-readable="true"] .system-node small,
  html[data-readable="true"] .system-core small,
  html[data-readable="true"] .card-topline,
  html[data-readable="true"] .portfolio-card-accent .card-topline,
  html[data-readable="true"] .portfolio-card-accent p,
  html[data-readable="true"] .tag-list li,
  html[data-readable="true"] .capability-strip,
  html[data-readable="true"] .principle span,
  html[data-readable="true"] .copyright {
    color: var(--muted);
  }
  html[data-readable="true"] .system-core {
    background: #ffffff;
    box-shadow: inset 0 0 0 8px rgba(0,95,204,.07);
  }
  html[data-readable="true"] .system-core::after,
  html[data-readable="true"] .flow-line,
  html[data-readable="true"] .pulse-dot {
    animation: none !important;
  }
  html[data-readable="true"] .portfolio-card:hover,
  html[data-readable="true"] .contact-link:hover {
    transform: none;
  }
  html[data-readable="true"] .tag-list li,
  html[data-readable="true"] .portfolio-card-accent .tag-list li {
    color: var(--text);
    border-color: var(--line);
    background: #fff;
  }
  html[data-readable="true"] .capability-title .material-symbols-rounded,
  html[data-readable="true"] .card-icon,
  html[data-readable="true"] .portfolio-card-accent .card-icon {
    color: var(--accent);
    border-color: rgba(0,95,204,.5);
    background: rgba(0,95,204,.07);
  }
  html[data-readable="true"] a:not(.button):not(.wordmark):not(.header-cta):not(.contact-link):not(.readable-toggle) {
    text-underline-offset: 4px;
  }
  html[data-readable="true"] :focus-visible {
    outline: 4px solid #111827;
    outline-offset: 4px;
  }
}

@layer responsive {
  @media (max-width: 1080px) {
    .nav-shell { gap: 18px; }
    .primary-nav a { padding-inline: 11px; }
    .readable-toggle-label { display: none; }
    .readable-toggle { width: 44px; padding: 0; }
  }

  @media (max-width: 860px) {
    .nav-shell { gap: 10px; }
    .primary-nav { margin-left: 0; }
    .nav-actions { margin-left: auto; }
    .menu-toggle { margin-left: 0; }
    .mobile-nav-cta {
      min-height: 52px;
      margin-top: 10px;
      display: inline-flex !important;
      align-items: center;
      justify-content: center !important;
      gap: 8px;
      color: var(--bg) !important;
      border: 0 !important;
      border-radius: 14px !important;
      background: var(--accent) !important;
      font-weight: 820;
    }
    html[data-readable="true"] .primary-nav {
      background: rgba(255,253,247,.98);
      border-color: var(--line-strong);
    }
    html[data-readable="true"] .menu-toggle {
      color: var(--text);
      border-color: var(--line-strong);
      background: #fff;
    }
  }

  @media (max-width: 620px) {
    .contact-link > .material-symbols-rounded {
      width: 54px;
      height: 54px;
      padding: 16px;
      font-size: 25px;
    }
    .capability-title {
      align-items: flex-start;
    }
    .capability-title .material-symbols-rounded {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      font-size: 21px;
    }
  }
}

/* --------------------------------------------------------------------------
   Version 10 refinements: typography, services readability, icon alignment
   -------------------------------------------------------------------------- */
.section-kicker {
  font-size: clamp(13px, .86vw, 14px);
  letter-spacing: .09em;
  line-height: 1.15;
}

.section-kicker-dark {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  color: var(--accent);
  border: 1px solid rgba(167,255,77,.22);
  border-radius: 999px;
  background: rgba(167,255,77,.055);
}

.capability-row {
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: start;
}

.capability-number {
  padding-top: 10px;
  font-size: 11px;
  letter-spacing: .1em;
}

.capability-title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}

.capability-title .material-symbols-rounded {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 22px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(167,255,77,.12), rgba(83,227,255,.045));
  border: 1px solid rgba(167,255,77,.36);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 8px 30px rgba(167,255,77,.045);
  font-variation-settings: 'FILL' 0, 'wght' 560, 'GRAD' 0, 'opsz' 28;
}

.capability-row h3 {
  font-size: clamp(24px, 2.65vw, 36px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.capability-row p {
  margin-top: 13px;
  margin-left: 54px;
  max-width: 680px;
  font-size: clamp(14.5px, .98vw, 16px);
  line-height: 1.75;
}

.capability-symbol.material-symbols-rounded {
  margin-top: 12px;
  color: #7b8796;
}

@media (max-width: 760px) {
  .section-kicker {
    font-size: 12.5px;
    letter-spacing: .08em;
  }
  .section-kicker-dark {
    min-height: 32px;
    padding-inline: 12px;
  }
  .capability-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }
  .capability-number { padding-top: 8px; }
  .capability-title {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
  }
  .capability-title .material-symbols-rounded {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 20px;
  }
  .capability-row p {
    margin-left: 46px;
    font-size: 14.5px;
  }
}

@media (max-width: 460px) {
  .capability-row {
    grid-template-columns: 1fr;
  }
  .capability-number {
    padding-top: 0;
  }
  .capability-row p {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Version 10.1 service-section correction: clear labels, inline icons, no boxes
   -------------------------------------------------------------------------- */
.services .section-kicker-dark {
  min-height: 38px;
  padding: 0 17px;
  font-size: clamp(14px, .92vw, 15px);
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: none;
  border-color: rgba(167,255,77,.34);
  background: rgba(167,255,77,.08);
}

.capability-list {
  gap: 0;
}

.capability-row {
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  gap: 24px;
  align-items: start;
  padding-block: clamp(27px, 3.15vw, 46px);
}

.capability-number {
  padding-top: 12px;
  color: var(--accent);
  font-size: clamp(11.5px, .72vw, 13px);
  font-weight: 900;
  letter-spacing: .08em;
}

.capability-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.capability-title .material-symbols-rounded {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 30px;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 520, 'GRAD' 0, 'opsz' 32;
}

.capability-row h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}

.capability-row p {
  margin: 16px 0 0 47px;
  max-width: 760px;
  font-size: clamp(15.5px, 1.02vw, 17px);
  line-height: 1.78;
}

.capability-symbol.material-symbols-rounded {
  margin-top: 13px;
  color: rgba(160, 171, 186, .9);
  font-size: 27px;
  font-variation-settings: 'FILL' 0, 'wght' 460, 'GRAD' 0, 'opsz' 28;
}

.capability-row:hover .capability-title .material-symbols-rounded,
.capability-row:focus-within .capability-title .material-symbols-rounded {
  color: #d8ff9f;
  transform: translateY(-1px) scale(1.04);
}

html[data-readable="true"] .services .section-kicker-dark {
  color: #1d4c00;
  background: #eefbd8;
  border-color: #95c35a;
}

html[data-readable="true"] .capability-title .material-symbols-rounded {
  color: #225f00;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 760px) {
  .services .section-kicker-dark {
    min-height: 36px;
    padding-inline: 15px;
    font-size: 13.5px;
  }

  .capability-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding-block: 28px;
  }

  .capability-number { padding-top: 8px; }

  .capability-title {
    gap: 12px;
    align-items: flex-start;
  }

  .capability-title .material-symbols-rounded {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 27px;
    margin-top: 1px;
  }

  .capability-row h3 {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.04;
  }

  .capability-row p {
    margin-left: 39px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (max-width: 460px) {
  .capability-row {
    grid-template-columns: 1fr;
  }

  .capability-title {
    margin-top: 2px;
  }

  .capability-row p {
    margin-left: 39px;
  }
}

/* --------------------------------------------------------------------------
   Version 11 refinement: remove decorative numbering + normalize typography
   -------------------------------------------------------------------------- */
:root {
  --type-eyebrow: clamp(13.5px, .82vw, 15px);
  --type-body: clamp(16px, .98vw, 17px);
  --type-body-lg: clamp(17px, 1.15vw, 19px);
  --type-section: clamp(40px, 4.6vw, 66px);
  --type-card: clamp(25px, 2vw, 32px);
  --type-service: clamp(27px, 2.6vw, 37px);
}

body {
  font-size: 16px;
  line-height: 1.6;
}

.wordmark {
  font-size: clamp(21px, 1.35vw, 24px);
  letter-spacing: -.048em;
}

.primary-nav a,
.readable-toggle,
.header-cta,
.mobile-nav-cta {
  font-size: 14px;
  line-height: 1;
}

.eyebrow,
.section-kicker,
.statement-label,
.card-topline,
.principles-panel > p,
.continuity-inner p {
  font-size: var(--type-eyebrow);
  letter-spacing: .055em;
}

.section-kicker-dark,
.services .section-kicker-dark {
  min-height: 40px;
  padding-inline: 18px;
  font-size: var(--type-eyebrow);
}

.hero-copy h1 {
  font-size: clamp(52px, 5.35vw, 82px);
  line-height: .92;
  letter-spacing: -.07em;
}

.hero-summary {
  font-size: var(--type-body-lg);
  line-height: 1.72;
}

.button,
.text-link {
  font-size: 14.5px;
}

.section-heading h2,
.about-copy h2,
.capabilities-intro h2,
.contact h2 {
  font-size: var(--type-section);
  line-height: 1.03;
  letter-spacing: -.058em;
}

.section-heading > p,
.about-copy > p:not(.section-kicker),
.capabilities-intro > p:not(.section-kicker),
.contact > .container > p:not(.section-kicker) {
  font-size: var(--type-body);
  line-height: 1.78;
}

.contact h2 {
  font-size: clamp(48px, 6.8vw, 92px);
}

.visual-topbar,
.visual-footer {
  min-height: 56px;
  font-size: clamp(12px, .74vw, 13px);
  line-height: 1.3;
}

.system-node {
  min-height: 88px;
  padding: 18px 16px;
}

.system-node strong {
  margin-top: 0;
  font-size: clamp(14px, .9vw, 16px);
  line-height: 1.18;
}

.system-node small {
  font-size: 11px;
  line-height: 1.4;
}

.node-index,
.capability-number,
.approach-steps li > span,
.principle span {
  display: none !important;
}

.card-topline {
  justify-content: flex-start;
  color: #4f5b68;
  font-size: clamp(12px, .76vw, 13px);
}

.portfolio-card h3 {
  font-size: var(--type-card);
  line-height: 1.08;
  letter-spacing: -.046em;
}

.portfolio-card-feature h3 {
  font-size: clamp(31px, 2.65vw, 42px);
}

.portfolio-card p,
.tag-list li {
  font-size: var(--type-body);
}

.tag-list li {
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: .015em;
}

.capabilities-layout {
  grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr);
  gap: 78px;
}

.capability-row,
.capability-row:hover {
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 22px;
  min-height: 156px;
  padding: clamp(28px, 3vw, 42px) 0;
}

.capability-title {
  gap: 17px;
}

.capability-title .material-symbols-rounded {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 31px;
}

.capability-row h3 {
  font-size: var(--type-service);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.capability-row p {
  margin: 14px 0 0 49px;
  max-width: 760px;
  font-size: var(--type-body);
  line-height: 1.75;
}

.approach-steps::before {
  top: 24px;
}

.step-marker {
  width: 48px;
  height: 48px;
  margin-top: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.54);
}

.step-marker .material-symbols-rounded {
  font-size: 25px;
  font-variation-settings: 'FILL' 0, 'wght' 520, 'GRAD' 0, 'opsz' 28;
}

.approach-steps h3 {
  margin-top: 22px;
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.08;
}

.approach-steps p {
  max-width: 270px;
  font-size: var(--type-body);
  line-height: 1.72;
}

.principles-panel {
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(0, 1fr));
}

.principle {
  justify-content: center;
}

.principle strong {
  max-width: 190px;
  font-size: 16px;
  line-height: 1.42;
}

.footer-grid > div:first-child p,
.footer-links,
.copyright {
  font-size: 13px;
}

html[data-readable="true"] body {
  font-size: 17px;
}

html[data-readable="true"] .hero-summary,
html[data-readable="true"] .section-heading > p,
html[data-readable="true"] .about-copy > p:not(.section-kicker),
html[data-readable="true"] .capabilities-intro > p:not(.section-kicker),
html[data-readable="true"] .capability-row p,
html[data-readable="true"] .approach-steps p,
html[data-readable="true"] .contact > .container > p:not(.section-kicker) {
  font-size: clamp(17px, 1.05vw, 18px);
  line-height: 1.85;
}

html[data-readable="true"] .section-kicker,
html[data-readable="true"] .section-kicker-dark,
html[data-readable="true"] .services .section-kicker-dark {
  font-size: 15px;
}

@media (max-width: 1080px) {
  .capabilities-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

@media (max-width: 860px) {
  :root {
    --type-section: clamp(37px, 8.5vw, 58px);
    --type-card: clamp(25px, 5.2vw, 34px);
    --type-service: clamp(25px, 6.2vw, 34px);
  }

  .hero-copy h1 {
    font-size: clamp(46px, 10vw, 70px);
  }

  .capability-row,
  .capability-row:hover {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .capability-symbol.material-symbols-rounded {
    display: none;
  }

  .capability-row p {
    margin-left: 49px;
  }

  .approach-steps::before {
    display: none;
  }

  .principles-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --type-eyebrow: 13px;
    --type-body: 15.5px;
    --type-body-lg: 16px;
    --type-section: clamp(34px, 10.5vw, 46px);
    --type-card: clamp(25px, 8vw, 32px);
    --type-service: clamp(25px, 8vw, 33px);
  }

  .wordmark {
    font-size: 21px;
  }

  .primary-nav a,
  .mobile-nav-cta {
    font-size: 15px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
    line-height: .96;
  }

  .visual-topbar,
  .visual-footer {
    font-size: 11px;
  }

  .portfolio-card,
  .portfolio-card-feature,
  .portfolio-card-compact {
    min-height: 310px;
  }

  .capability-title {
    align-items: flex-start;
  }

  .capability-title .material-symbols-rounded {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: 28px;
    margin-top: 2px;
  }

  .capability-row p {
    margin-left: 46px;
  }

  .approach-steps li {
    padding-bottom: 28px;
  }

  .principles-panel {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 86px;
  }
}

@media (max-width: 460px) {
  .capability-row p {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Version 12 refinement: icon consistency + cleaner workflow + type audit
   -------------------------------------------------------------------------- */
:root {
  --type-nav: clamp(14px, .82vw, 15px);
  --type-eyebrow: clamp(13.5px, .8vw, 14.5px);
  --type-body: clamp(16px, .94vw, 17px);
  --type-body-lg: clamp(17px, 1.05vw, 19px);
  --type-section: clamp(40px, 4.15vw, 60px);
  --type-card: clamp(27px, 2.2vw, 35px);
  --type-service: clamp(27px, 2.45vw, 36px);
}

.primary-nav a,
.readable-toggle,
.header-cta,
.mobile-nav-cta {
  font-size: var(--type-nav);
}

.hero-copy h1 {
  font-size: clamp(52px, 5vw, 78px);
  line-height: .94;
  letter-spacing: -.066em;
}

.section-heading h2,
.about-copy h2,
.capabilities-intro h2 {
  font-size: var(--type-section);
  line-height: 1.04;
}

.contact h2 {
  font-size: clamp(48px, 6.4vw, 88px);
}

.hero-summary,
.section-heading > p,
.about-copy > p:not(.section-kicker),
.capabilities-intro > p:not(.section-kicker),
.contact > .container > p:not(.section-kicker) {
  font-size: var(--type-body-lg);
  line-height: 1.72;
}

.section-kicker,
.section-kicker-dark,
.services .section-kicker-dark,
.card-topline,
.statement-label,
.continuity-inner p {
  font-size: var(--type-eyebrow);
}

/* Portfolio icons: use one clean line-icon language, no surrounding squares. */
.card-icon,
.portfolio-card-feature .card-icon,
.portfolio-card-compact .card-icon,
html[data-readable="true"] .card-icon,
html[data-readable="true"] .portfolio-card-accent .card-icon {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 44px;
  color: var(--light-text);
}

.portfolio-card-feature .card-icon {
  position: absolute;
  right: 13%;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}

.portfolio-card-feature::after {
  opacity: .72;
}

.card-icon .material-symbols-rounded {
  font-size: clamp(31px, 2.4vw, 42px);
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 420, 'GRAD' 0, 'opsz' 40;
}

.portfolio-card-feature .card-icon .material-symbols-rounded {
  font-size: clamp(42px, 4.4vw, 64px);
}

.portfolio-card-accent .card-icon,
.portfolio-card-accent .card-icon .material-symbols-rounded {
  color: var(--accent);
}

.portfolio-card h3 {
  font-size: var(--type-card);
  line-height: 1.08;
}

.portfolio-card-feature h3 {
  font-size: clamp(32px, 2.6vw, 42px);
}

.portfolio-card p {
  font-size: var(--type-body);
  line-height: 1.7;
}

/* Service icons: no box treatment; keep icon, heading, copy aligned. */
.capability-title {
  gap: 15px;
  align-items: center;
}

.capability-title .material-symbols-rounded,
html[data-readable="true"] .capability-title .material-symbols-rounded {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--accent) !important;
  font-size: 33px !important;
  font-variation-settings: 'FILL' 0, 'wght' 430, 'GRAD' 0, 'opsz' 36;
}

.capability-row h3 {
  font-size: var(--type-service);
  line-height: 1.05;
}

.capability-row p {
  margin-left: 49px;
  font-size: var(--type-body);
  line-height: 1.72;
}

/* Process workflow: remove the mixed line-and-box timeline and replace it with a clean flow. */
.approach-heading {
  margin-bottom: clamp(44px, 5vw, 64px);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.approach-steps::before {
  display: none !important;
}

.approach-steps li {
  position: relative;
  min-height: 250px;
  padding: clamp(24px, 2.4vw, 30px);
  border: 1px solid var(--light-line);
  border-radius: 24px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 18px 48px rgba(14,20,27,.055);
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.approach-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(11,16,23,.28);
  background: rgba(255,255,255,.68);
  box-shadow: 0 26px 60px rgba(14,20,27,.09);
}

.approach-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: calc(clamp(16px, 2vw, 24px) * -1);
  width: clamp(16px, 2vw, 24px);
  height: 1px;
  background: linear-gradient(90deg, rgba(11,16,23,.18), rgba(167,255,77,.72));
}

.approach-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 38px;
  right: calc((clamp(16px, 2vw, 24px) * -1) - 1px);
  width: 9px;
  height: 9px;
  border-top: 1.6px solid rgba(120,168,61,.9);
  border-right: 1.6px solid rgba(120,168,61,.9);
  transform: rotate(45deg);
}

.step-marker,
html[data-readable="true"] .step-marker {
  width: auto !important;
  height: auto !important;
  margin: 0 0 26px !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.step-marker .material-symbols-rounded,
html[data-readable="true"] .step-marker .material-symbols-rounded,
.approach-steps li:first-child .step-marker .material-symbols-rounded {
  color: #567d22;
  font-size: 34px;
  font-variation-settings: 'FILL' 0, 'wght' 420, 'GRAD' 0, 'opsz' 40;
}

.approach-steps h3 {
  margin-top: 0;
  font-size: clamp(26px, 2.05vw, 32px);
  line-height: 1.08;
  letter-spacing: -.046em;
}

.approach-steps p {
  max-width: 280px;
  margin-top: 14px;
  font-size: var(--type-body);
  line-height: 1.72;
}

/* Readable mode keeps the same no-box icon system with stronger text contrast. */
html[data-readable="true"] .approach-steps li {
  background: #ffffff;
  border-color: rgba(0,0,0,.24);
  box-shadow: none;
}

html[data-readable="true"] .portfolio-card h3,
html[data-readable="true"] .capability-row h3,
html[data-readable="true"] .approach-steps h3 {
  color: #07101b;
}

html[data-readable="true"] .portfolio-card p,
html[data-readable="true"] .capability-row p,
html[data-readable="true"] .approach-steps p {
  color: #273241;
}

@media (max-width: 1080px) {
  .approach-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-steps li:not(:last-child)::before,
  .approach-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .portfolio-card-feature .card-icon {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 38px;
    transform: none;
  }

  .approach-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .approach-steps li {
    min-height: auto;
    padding: 24px;
  }

  .approach-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .step-marker,
  html[data-readable="true"] .step-marker {
    margin: 1px 0 0 !important;
  }

  .approach-steps h3,
  .approach-steps p {
    grid-column: 2;
  }

  .approach-steps p {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  :root {
    --type-nav: 15px;
    --type-body: 15.75px;
    --type-body-lg: 16.25px;
    --type-section: clamp(34px, 10vw, 46px);
    --type-card: clamp(25px, 7.5vw, 32px);
    --type-service: clamp(25px, 7.8vw, 33px);
  }

  .hero-copy h1 {
    font-size: clamp(41px, 12.4vw, 58px);
  }

  .card-icon .material-symbols-rounded,
  .portfolio-card-feature .card-icon .material-symbols-rounded {
    font-size: 33px;
  }

  .capability-title .material-symbols-rounded,
  html[data-readable="true"] .capability-title .material-symbols-rounded {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    font-size: 30px !important;
  }

  .capability-row p {
    margin-left: 46px;
  }
}

@media (max-width: 460px) {
  .approach-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 13px;
  }

  .step-marker .material-symbols-rounded,
  html[data-readable="true"] .step-marker .material-symbols-rounded {
    font-size: 30px;
  }

  .capability-row p {
    margin-left: 0;
  }
}


/* --------------------------------------------------------------------------
   Version 13 refinement: cohesive process workflow layout
   -------------------------------------------------------------------------- */
.approach-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  border: 1px solid rgba(11,16,23,.16);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 0%, rgba(167,255,77,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  box-shadow: 0 24px 70px rgba(14,20,27,.075);
}

.approach-steps li,
.approach-steps li:hover,
html[data-readable="true"] .approach-steps li {
  min-height: 255px;
  padding: clamp(28px, 2.7vw, 38px) clamp(24px, 2.4vw, 34px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.approach-steps li:not(:last-child) {
  border-right: 1px solid rgba(11,16,23,.12);
}

.approach-steps li:not(:last-child)::after {
  content: "arrow_forward";
  font-family: "Material Symbols Rounded";
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120,168,61,.34);
  border-radius: 999px;
  color: #567d22;
  background: #f7f6ef;
  box-shadow: 0 14px 28px rgba(14,20,27,.08);
  transform: translateY(-50%);
}

.approach-steps li:not(:last-child)::before {
  display: none !important;
}

.step-marker,
html[data-readable="true"] .step-marker {
  width: auto !important;
  height: auto !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.step-marker .material-symbols-rounded,
html[data-readable="true"] .step-marker .material-symbols-rounded,
.approach-steps li:first-child .step-marker .material-symbols-rounded {
  display: inline-block;
  color: #567d22;
  font-size: clamp(34px, 2.55vw, 42px);
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 430, 'GRAD' 0, 'opsz' 40;
}

.approach-steps h3 {
  margin: 0;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.06;
  letter-spacing: -.048em;
}

.approach-steps p {
  max-width: 245px;
  margin-top: 16px;
  font-size: clamp(15.5px, .94vw, 17px);
  line-height: 1.68;
}

.approach-steps li:hover .step-marker .material-symbols-rounded {
  color: #3f6614;
  transform: translateY(-2px);
  transition: transform .25s var(--ease), color .25s ease;
}

html[data-readable="true"] .approach-steps {
  background: #ffffff;
  border-color: rgba(0,0,0,.22);
  box-shadow: none;
}

html[data-readable="true"] .approach-steps li:not(:last-child) {
  border-right-color: rgba(0,0,0,.18);
}

html[data-readable="true"] .approach-steps li:not(:last-child)::after {
  background: #ffffff;
  border-color: rgba(0,0,0,.36);
  color: #0b1017;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .approach-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 28px;
  }

  .approach-steps li:nth-child(2n) {
    border-right: 0;
  }

  .approach-steps li:nth-child(-n+2) {
    border-bottom: 1px solid rgba(11,16,23,.12);
  }

  .approach-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .approach-steps {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  .approach-steps li,
  .approach-steps li:hover,
  html[data-readable="true"] .approach-steps li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 18px;
    min-height: auto;
    padding: 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(11,16,23,.12);
  }

  .approach-steps li:last-child {
    border-bottom: 0;
  }

  .step-marker,
  html[data-readable="true"] .step-marker {
    margin: 2px 0 0 !important;
  }

  .approach-steps h3,
  .approach-steps p {
    grid-column: 2;
  }

  .approach-steps p {
    max-width: 620px;
    margin-top: 10px;
  }
}

@media (max-width: 460px) {
  .approach-steps li,
  .approach-steps li:hover,
  html[data-readable="true"] .approach-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px;
  }

  .step-marker .material-symbols-rounded,
  html[data-readable="true"] .step-marker .material-symbols-rounded {
    font-size: 31px;
  }
}

/* --------------------------------------------------------------------------
   Version 14 refinement: Process section redesigned as a clean vertical flow
   -------------------------------------------------------------------------- */
.approach-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 10px 0 10px 72px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.approach-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 30px;
  width: 1px;
  display: block !important;
  background: linear-gradient(180deg, rgba(120,168,61,.20), rgba(120,168,61,.72), rgba(120,168,61,.18));
}

.approach-steps li,
.approach-steps li:hover,
html[data-readable="true"] .approach-steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(28px, 4vw, 72px);
  min-height: auto;
  padding: clamp(24px, 3.1vw, 38px) 0;
  border: 0 !important;
  border-top: 1px solid rgba(11,16,23,.11) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.approach-steps li:first-child,
html[data-readable="true"] .approach-steps li:first-child {
  border-top: 0 !important;
}

.approach-steps li:not(:last-child)::after,
.approach-steps li:not(:last-child)::before {
  display: none !important;
  content: none !important;
}

.step-marker,
html[data-readable="true"] .step-marker {
  position: absolute;
  top: clamp(31px, 3.6vw, 46px);
  left: -51px;
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 3px solid #f7f6ef !important;
  border-radius: 999px !important;
  background: #78a83d !important;
  box-shadow: 0 0 0 1px rgba(86,125,34,.26), 0 0 0 10px rgba(120,168,61,.10) !important;
}

.step-marker .material-symbols-rounded,
html[data-readable="true"] .step-marker .material-symbols-rounded,
.approach-steps li:first-child .step-marker .material-symbols-rounded {
  display: none !important;
}

.approach-steps h3 {
  grid-column: 1;
  margin: 0;
  color: var(--light-text);
  font-size: clamp(30px, 3.15vw, 46px);
  line-height: .98;
  letter-spacing: -.055em;
}

.approach-steps p {
  grid-column: 2;
  max-width: 560px;
  margin: 2px 0 0;
  color: var(--light-muted);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.7;
}

.approach-steps li:hover h3 {
  color: #25380f;
}

.approach-steps li:hover .step-marker {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(86,125,34,.34), 0 0 0 14px rgba(120,168,61,.13) !important;
  transition: transform .22s var(--ease), box-shadow .22s ease;
}

html[data-readable="true"] .approach-steps::before {
  background: #111827;
  opacity: .28;
}

html[data-readable="true"] .approach-steps li,
html[data-readable="true"] .approach-steps li:hover {
  border-top-color: rgba(0,0,0,.20) !important;
}

html[data-readable="true"] .step-marker {
  background: #111827 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px #111827 !important;
}

html[data-readable="true"] .approach-steps h3,
html[data-readable="true"] .approach-steps li:hover h3 {
  color: #111827;
}

html[data-readable="true"] .approach-steps p {
  color: #374151;
}

@media (max-width: 860px) {
  .approach-steps {
    max-width: 680px;
    padding-left: 52px;
    margin-top: 34px;
  }

  .approach-steps::before {
    left: 20px;
  }

  .approach-steps li,
  .approach-steps li:hover,
  html[data-readable="true"] .approach-steps li {
    display: block;
    padding: 26px 0;
  }

  .step-marker,
  html[data-readable="true"] .step-marker {
    top: 34px;
    left: -41px;
    width: 17px !important;
    height: 17px !important;
  }

  .approach-steps h3 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .approach-steps p {
    max-width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 460px) {
  .approach-steps {
    padding-left: 42px;
  }

  .approach-steps::before {
    left: 16px;
  }

  .step-marker,
  html[data-readable="true"] .step-marker {
    left: -35px;
    width: 15px !important;
    height: 15px !important;
  }
}

/* --------------------------------------------------------------------------
   Version 15: one-click multilingual switcher
   -------------------------------------------------------------------------- */
.language-toggle {
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e6edf6;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  font-size: clamp(13px, .76vw, 14px);
  font-weight: 790;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--bg);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(167,255,77,.12);
}

.language-toggle .material-symbols-rounded { font-size: 19px; }
.language-toggle-label { min-width: 88px; text-align: left; }

html[data-readable="true"] .language-toggle {
  color: #071017;
  border-color: #7a838f;
  background: #fff;
}

html[data-readable="true"] .language-toggle:hover,
html[data-readable="true"] .language-toggle:focus-visible {
  color: #fff;
  border-color: #111827;
  background: #111827;
  box-shadow: 0 0 0 4px rgba(17,24,39,.18);
}

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .wordmark,
html[dir="rtl"] .material-symbols-rounded,
html[dir="rtl"] .contact-link,
html[dir="rtl"] .language-toggle,
html[dir="rtl"] .readable-toggle,
html[dir="rtl"] .header-cta { direction: ltr; }
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-proof,
html[dir="rtl"] .capability-strip,
html[dir="rtl"] .footer-links { flex-direction: row-reverse; }
html[dir="rtl"] .section-heading,
html[dir="rtl"] .about-layout,
html[dir="rtl"] .capabilities-layout,
html[dir="rtl"] .contact-inner { direction: rtl; }
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .about-copy,
html[dir="rtl"] .capabilities-intro,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .portfolio-card,
html[dir="rtl"] .capability-row,
html[dir="rtl"] .approach-steps,
html[dir="rtl"] .principles-panel { text-align: right; }

@media (max-width: 1080px) {
  .language-toggle { min-width: 44px; padding-inline: 12px; }
  .language-toggle-label { min-width: 58px; max-width: 78px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 520px) {
  .language-toggle { padding-inline: 11px; }
  .language-toggle-label { min-width: 46px; max-width: 62px; }
}

@media (max-width: 390px) {
  .language-toggle-label { display: none; }
  .language-toggle { width: 44px; padding: 0; }
}

/* --------------------------------------------------------------------------
   Version 16: language selector, multilingual typography, and launch language cue
   -------------------------------------------------------------------------- */
.language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.language-toggle {
  position: relative;
  z-index: 6;
  min-width: 146px;
}

.language-chevron {
  margin-left: -2px;
  font-size: 18px !important;
  transition: transform .2s ease;
}

.language-toggle[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: min(282px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(9, 13, 19, .96);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(18px) saturate(140%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.language-menu[hidden] { display: none !important; }

.language-menu::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 14px;
}

.language-menu button {
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #dfe7f2;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1.15;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--ease);
}

.language-menu button span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
}

.language-menu button strong {
  font-size: 13px;
  font-weight: 790;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-selected {
  color: #fff;
  border-color: rgba(167,255,77,.42);
  background: rgba(167,255,77,.10);
}

.language-menu button.is-selected::after {
  content: "selected";
  color: #9da8b7;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
}

html[data-readable="true"] .language-menu {
  border-color: rgba(17,24,39,.22);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 70px rgba(17,24,39,.16);
}

html[data-readable="true"] .language-menu button {
  color: #111827;
}

html[data-readable="true"] .language-menu button:hover,
html[data-readable="true"] .language-menu button:focus-visible,
html[data-readable="true"] .language-menu button.is-selected {
  color: #111827;
  border-color: #111827;
  background: rgba(17,24,39,.06);
}

html[data-language="hi"] body { font-family: "Noto Sans Devanagari", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="te"] body { font-family: "Noto Sans Telugu", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="ta"] body { font-family: "Noto Sans Tamil", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="kn"] body { font-family: "Noto Sans Kannada", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="ml"] body { font-family: "Noto Sans Malayalam", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="zh"] body { font-family: "Noto Sans SC", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="ja"] body { font-family: "Noto Sans JP", "Noto Sans", Inter, system-ui, sans-serif; }
html[data-language="ar"] body { font-family: "Noto Sans Arabic", "Noto Sans", Inter, system-ui, sans-serif; }

html[data-language]:not([data-language="en"]) body {
  overflow-wrap: anywhere;
}

html[data-language]:not([data-language="en"]) .wordmark,
html[data-language]:not([data-language="en"]) .material-symbols-rounded,
html[data-language]:not([data-language="en"]) .language-control {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

html[data-language="hi"] h1,
html[data-language="te"] h1,
html[data-language="ta"] h1,
html[data-language="kn"] h1,
html[data-language="ml"] h1,
html[data-language="ja"] h1,
html[data-language="zh"] h1,
html[data-language="ar"] h1 {
  font-size: clamp(42px, 7.1vw, 86px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

html[data-language="te"] h1,
html[data-language="ta"] h1,
html[data-language="kn"] h1,
html[data-language="ml"] h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

html[data-language="hi"] h2,
html[data-language="te"] h2,
html[data-language="ta"] h2,
html[data-language="kn"] h2,
html[data-language="ml"] h2,
html[data-language="ja"] h2,
html[data-language="zh"] h2,
html[data-language="ar"] h2 {
  line-height: 1.08;
  letter-spacing: -.04em;
}

html[data-language="hi"] p,
html[data-language="te"] p,
html[data-language="ta"] p,
html[data-language="kn"] p,
html[data-language="ml"] p,
html[data-language="ja"] p,
html[data-language="zh"] p,
html[data-language="ar"] p,
html[data-language="hi"] li,
html[data-language="te"] li,
html[data-language="ta"] li,
html[data-language="kn"] li,
html[data-language="ml"] li,
html[data-language="ja"] li,
html[data-language="zh"] li,
html[data-language="ar"] li {
  line-height: 1.78;
}

html[data-language="hi"] .hero-summary,
html[data-language="te"] .hero-summary,
html[data-language="ta"] .hero-summary,
html[data-language="kn"] .hero-summary,
html[data-language="ml"] .hero-summary,
html[data-language="ja"] .hero-summary,
html[data-language="zh"] .hero-summary,
html[data-language="ar"] .hero-summary {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
}

html[data-language="hi"] .primary-nav a,
html[data-language="te"] .primary-nav a,
html[data-language="ta"] .primary-nav a,
html[data-language="kn"] .primary-nav a,
html[data-language="ml"] .primary-nav a,
html[data-language="ja"] .primary-nav a,
html[data-language="zh"] .primary-nav a,
html[data-language="ar"] .primary-nav a {
  font-size: 13px;
  padding-inline: 10px;
}

html.is-language-intro .hero-copy,
html.is-language-intro .system-core,
html.is-language-intro .system-node,
html.is-language-intro .capability-strip span {
  animation: tgLanguagePulse .52s var(--ease) both;
}

@keyframes tgLanguagePulse {
  0% { opacity: .32; filter: blur(7px); transform: translateY(10px) scale(.985); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}

@media (max-width: 1180px) {
  .language-toggle { min-width: 48px; }
  .language-chevron { display: none !important; }
}

@media (max-width: 860px) {
  .language-control { position: static; }
  .language-menu {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  .language-toggle-label { max-width: 90px; }
}

@media (max-width: 520px) {
  .language-menu { grid-template-columns: 1fr; }
  html[data-language="hi"] h1,
  html[data-language="te"] h1,
  html[data-language="ta"] h1,
  html[data-language="kn"] h1,
  html[data-language="ml"] h1,
  html[data-language="ja"] h1,
  html[data-language="zh"] h1,
  html[data-language="ar"] h1 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.is-language-intro .hero-copy,
  html.is-language-intro .system-core,
  html.is-language-intro .system-node,
  html.is-language-intro .capability-strip span {
    animation: none !important;
  }
}


/* --------------------------------------------------------------------------
   Version 17: SVG icon system and compact multilingual header corrections
   -------------------------------------------------------------------------- */
.tg-icon {
  --icon-size: 1.15em;
  --icon-mask: none;
  width: var(--icon-size);
  height: var(--icon-size);
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
  background-color: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
  overflow: hidden;
  direction: ltr;
}
.tg-icon[data-icon="arrow_forward"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M5%2012h13%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M13%206l6%206-6%206%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="expand_more"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M6%209l6%206%206-6%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.4%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="visibility"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M2.5%2012s3.5-6%209.5-6%209.5%206%209.5%206-3.5%206-9.5%206-9.5-6-9.5-6z%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="contrast"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22/%3E%3Cpath%20d=%22M12%203a9%209%200%200%200%200%2018z%22%20fill=%22black%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="rocket_launch"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M14%204c2.8-.9%205.1-.7%206-.1.6.9.8%203.2-.1%206-1.1%203.5-3.9%206.9-8.3%209.8l-3.4-3.4C11.1%2011.9%2010.5%205.1%2014%204z%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.9%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M9%2015l-3%203m2-7H4.8L3%2012.8l3.2%201.1M13%2019.2l1.1%203.2%201.8-1.8V17%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.9%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Ccircle%20cx=%2216%22%20cy=%228%22%20r=%221.6%22%20fill=%22black%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="chat"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M5%206.5A4.5%204.5%200%200%201%209.5%202h5A4.5%204.5%200%200%201%2019%206.5v4A4.5%204.5%200%200%201%2014.5%2015H11l-5%204v-4.2a4.5%204.5%200%200%201-1-2.8z%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="code"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M9%207l-5%205%205%205M15%207l5%205-5%205%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="public"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22/%3E%3Cpath%20d=%22M3%2012h18M12%203c2.3%202.5%203.4%205.5%203.4%209S14.3%2018.5%2012%2021M12%203C9.7%205.5%208.6%208.5%208.6%2012S9.7%2018.5%2012%2021%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="bolt"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M13.4%202.5L4.5%2013.2h6.4l-1%208.3%209-11h-6.3z%22%20fill=%22black%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="design_services"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M4%2020l6.2-1.8L20%208.4%2015.6%204%205.8%2013.8z%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M14.5%205.1l4.4%204.4M9.4%2018.4l-3.8-3.8%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="analytics"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M4%2019V5%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M4%2019h16%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M7%2016v-4M12%2016V8M17%2016v-7%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M7%2010l4-3%204%202%204-5%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="outgoing_mail"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M4%206h10a3%203%200%200%201%203%203v6a3%203%200%200%201-3%203H4z%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M4%207.5l6.5%205%206.5-5%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M15%205h5v5M20%205l-7%207%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="search"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Ccircle%20cx=%2210.5%22%20cy=%2210.5%22%20r=%226.5%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.2%22/%3E%3Cpath%20d=%22M15.5%2015.5L21%2021%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="trending_up"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M3%2017l6-6%204%204%207-8%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M15%207h5v5%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%222.2%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.tg-icon[data-icon="translate"] { --icon-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%3E%3Cpath%20d=%22M4%205h9M8.5%203v2M6%205c.8%204%203.1%207%206%209M12%205c-.9%203.5-3.4%206.7-7%209%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.9%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M13%2021l4-9%204%209M14.6%2017.5h4.8%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.9%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }

/* Keep translated headers horizontal and readable. */
.primary-nav a,
.nav-actions,
.language-toggle,
.readable-toggle,
.header-cta,
.mobile-nav-cta {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.nav-shell { gap: clamp(14px, 1.8vw, 28px); }
.primary-nav { gap: 2px; }
.primary-nav a { font-size: clamp(13px, .78vw, 14px); padding-inline: clamp(9px, .75vw, 13px); }
.nav-actions { gap: 8px; }

/* Compact language control: icon + greeting only. */
.language-toggle {
  min-width: 82px !important;
  max-width: 104px;
  height: 44px;
  padding: 0 12px !important;
  gap: 7px;
}
.language-toggle .tg-icon[data-icon="translate"] { --icon-size: 18px; }
.language-toggle-label {
  min-width: 0 !important;
  max-width: 54px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.language-chevron { display: none !important; }

/* Readable mode is an accessible icon button in the header, with full aria-label/title. */
.readable-toggle {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px;
  padding: 0 !important;
  gap: 0;
}
.readable-toggle-label { display: none !important; }
.readable-toggle .tg-icon,
.header-cta .tg-icon,
.mobile-nav-cta .tg-icon { --icon-size: 19px; }

.header-cta { padding-inline: 20px; }
.button .tg-icon { --icon-size: 20px; transition: transform .2s ease; }
.button:hover .tg-icon[data-icon="arrow_forward"] { transform: translateX(3px); }

/* Portfolio icons: no square containers and no font-ligature fallback text. */
.card-icon,
.portfolio-card-feature .card-icon,
.portfolio-card-compact .card-icon,
html[data-readable="true"] .card-icon,
html[data-readable="true"] .portfolio-card-accent .card-icon {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.card-icon .tg-icon { --icon-size: clamp(31px, 2.4vw, 42px); }
.portfolio-card-feature .card-icon .tg-icon { --icon-size: clamp(42px, 4.4vw, 64px); }
.portfolio-card-accent .card-icon,
.portfolio-card-accent .card-icon .tg-icon { color: var(--accent); }

/* Service icons: line icons only, no chip/box treatment. */
.capability-title .tg-icon,
html[data-readable="true"] .capability-title .tg-icon {
  --icon-size: 33px;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  color: var(--accent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: currentColor !important;
  box-shadow: none !important;
}
.capability-symbol.tg-icon {
  --icon-size: 24px;
  transform: rotate(-35deg);
}
.capability-row:hover .capability-symbol.tg-icon { transform: translate(4px,4px) rotate(-35deg); }

/* V14 process uses timeline nodes, so process icon glyphs stay hidden. */
.step-marker .tg-icon,
html[data-readable="true"] .step-marker .tg-icon,
.approach-steps li:first-child .step-marker .tg-icon { display: none !important; }

.contact-link > .tg-icon {
  --icon-size: 26px;
  width: 64px;
  height: 64px;
  padding: 19px;
  flex: 0 0 auto;
  color: var(--bg);
  border-radius: 50%;
  background-color: currentColor;
}

/* Prevent non-English body wrapping rules from breaking navigation into vertical letters. */
html[data-language]:not([data-language="en"]) body { overflow-wrap: normal; }
html[data-language]:not([data-language="en"]) .hero-copy,
html[data-language]:not([data-language="en"]) .section-heading,
html[data-language]:not([data-language="en"]) .about-copy,
html[data-language]:not([data-language="en"]) .portfolio-card,
html[data-language]:not([data-language="en"]) .capabilities-intro,
html[data-language]:not([data-language="en"]) .capability-row,
html[data-language]:not([data-language="en"]) .approach-steps,
html[data-language]:not([data-language="en"]) .contact-inner {
  overflow-wrap: anywhere;
}
html[data-language]:not([data-language="en"]) .primary-nav a,
html[data-language]:not([data-language="en"]) .language-toggle,
html[data-language]:not([data-language="en"]) .readable-toggle,
html[data-language]:not([data-language="en"]) .header-cta,
html[data-language]:not([data-language="en"]) .mobile-nav-cta {
  font-family: Inter, "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1 !important;
}
html[data-language="hi"] .primary-nav a,
html[data-language="te"] .primary-nav a,
html[data-language="ta"] .primary-nav a,
html[data-language="kn"] .primary-nav a,
html[data-language="ml"] .primary-nav a,
html[data-language="ja"] .primary-nav a,
html[data-language="zh"] .primary-nav a,
html[data-language="ar"] .primary-nav a {
  font-size: 12.5px;
  padding-inline: 8px;
}

@media (max-width: 1280px) {
  .header-cta { padding-inline: 16px; }
  .header-cta .tg-icon { display: none; }
  .primary-nav a { padding-inline: 8px; }
}

@media (max-width: 1080px) {
  .language-toggle { width: 44px !important; min-width: 44px !important; max-width: 44px; padding: 0 !important; }
  .language-toggle-label { display: none !important; }
}

@media (max-width: 620px) {
  .card-icon .tg-icon,
  .portfolio-card-feature .card-icon .tg-icon { --icon-size: 33px; }
  .capability-title .tg-icon,
  html[data-readable="true"] .capability-title .tg-icon { --icon-size: 30px; width: 31px !important; height: 31px !important; flex-basis: 31px !important; }
}

/* --------------------------------------------------------------------------
   Version 18: decouple website settings from the header + faster language intro
   -------------------------------------------------------------------------- */
.site-header .nav-shell {
  position: relative;
}

.site-header .nav-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.site-header .language-control,
.site-header .readable-toggle {
  display: none !important;
}

.floating-settings {
  position: fixed;
  top: 96px;
  right: max(18px, calc((100vw - var(--container)) / 2));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(8, 11, 16, .70);
  box-shadow: 0 18px 54px rgba(0,0,0,.32);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: opacity .25s ease, transform .25s var(--ease), background .25s ease, border-color .25s ease;
}

.floating-settings:hover,
.floating-settings:focus-within {
  background: rgba(8, 11, 16, .90);
  border-color: rgba(167,255,77,.30);
}

.floating-settings .language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.floating-settings .language-toggle,
.floating-settings .readable-toggle {
  min-height: 40px !important;
  height: 40px !important;
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}

.floating-settings .language-toggle {
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  padding: 0 11px !important;
  justify-content: flex-start;
  gap: 7px;
}

.floating-settings .language-toggle-label {
  display: inline-block !important;
  min-width: 0 !important;
  max-width: 48px !important;
  font-size: 13px;
  font-weight: 810;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-settings .language-toggle .tg-icon[data-icon="translate"] { --icon-size: 17px; }
.floating-settings .language-chevron { display: none !important; }

.floating-settings .readable-toggle {
  width: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
}

.floating-settings .readable-toggle .tg-icon { --icon-size: 18px; }
.floating-settings .readable-toggle-label { display: none !important; }

.floating-settings .language-menu {
  top: calc(100% + 12px);
  right: 0;
  width: min(294px, calc(100vw - 34px));
}

html[data-readable="true"] .floating-settings {
  border-color: rgba(17,24,39,.20);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 54px rgba(17,24,39,.14);
}

html[data-readable="true"] .floating-settings:hover,
html[data-readable="true"] .floating-settings:focus-within {
  background: rgba(255,255,255,.98);
  border-color: rgba(17,24,39,.30);
}

html[data-readable="true"] .floating-settings .language-toggle,
html[data-readable="true"] .floating-settings .readable-toggle {
  color: #111827;
  border-color: rgba(17,24,39,.22);
  background: #fff;
}

html[data-readable="true"] .floating-settings .language-toggle:hover,
html[data-readable="true"] .floating-settings .language-toggle:focus-visible,
html[data-readable="true"] .floating-settings .readable-toggle:hover,
html[data-readable="true"] .floating-settings .readable-toggle:focus-visible,
html[data-readable="true"] .floating-settings .readable-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: #111827;
  background: #111827;
}

/* Header stability: settings no longer consume layout width, so nav stays fixed. */
.primary-nav {
  margin-left: auto;
}

.primary-nav a {
  white-space: nowrap;
}

.header-cta {
  flex: 0 0 auto;
}

/* Faster language intro: enough motion to feel global, short enough not to delay use. */
html.is-language-intro .hero-copy,
html.is-language-intro .system-core,
html.is-language-intro .system-node,
html.is-language-intro .capability-strip span {
  animation-duration: .24s !important;
}

@media (max-width: 1180px) {
  .floating-settings {
    top: 88px;
    right: 16px;
  }
}

@media (max-width: 860px) {
  .floating-settings {
    top: auto;
    right: 14px;
    bottom: 16px;
    z-index: 1300;
    padding: 5px;
  }

  .floating-settings .language-menu {
    position: fixed;
    top: auto;
    left: 14px;
    right: 14px;
    bottom: 74px;
    width: auto;
    max-height: min(520px, calc(100vh - 104px));
    overflow: auto;
  }
}

@media (max-width: 420px) {
  .floating-settings .language-toggle {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  .floating-settings .language-toggle-label {
    max-width: 36px !important;
  }
}


/* --------------------------------------------------------------------------
   Version 19: settings dock bug fix
   - Keep language/readable controls away from content and header
   - Use compact fixed dock at lower-right corner
   - Prevent changing greeting widths from affecting layout
   - Open language menu upward so it does not cover the hero system panel
   -------------------------------------------------------------------------- */
.floating-settings {
  top: auto !important;
  right: 22px !important;
  bottom: 22px !important;
  left: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px !important;
  padding: 8px !important;
  border-radius: 22px !important;
  background: rgba(7, 10, 15, .78) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 1050 !important;
  max-width: 64px !important;
}

.floating-settings .language-control {
  position: relative !important;
  display: block !important;
}

.floating-settings .language-toggle,
.floating-settings .readable-toggle {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.floating-settings .language-toggle:hover,
.floating-settings .language-toggle:focus-visible,
.floating-settings .readable-toggle:hover,
.floating-settings .readable-toggle:focus-visible,
.floating-settings .readable-toggle[aria-pressed="true"] {
  color: var(--bg) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.floating-settings .language-toggle-label,
.floating-settings .language-chevron,
.floating-settings .readable-toggle-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.floating-settings .language-toggle .tg-icon[data-icon="translate"],
.floating-settings .readable-toggle .tg-icon {
  --icon-size: 20px !important;
  width: 20px !important;
  height: 20px !important;
}

.floating-settings .language-menu {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 12px) !important;
  left: auto !important;
  width: min(292px, calc(100vw - 44px)) !important;
  max-height: min(520px, calc(100vh - 118px)) !important;
  overflow: auto !important;
  transform-origin: bottom right !important;
}

.floating-settings .language-menu::before {
  top: auto !important;
  bottom: -7px !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-right: 1px solid rgba(255,255,255,.14) !important;
}

html[data-readable="true"] .floating-settings {
  background: rgba(255,255,255,.92) !important;
  border-color: rgba(17,24,39,.18) !important;
  box-shadow: 0 16px 44px rgba(17,24,39,.14) !important;
}

html[data-readable="true"] .floating-settings .language-toggle,
html[data-readable="true"] .floating-settings .readable-toggle {
  color: #111827 !important;
  background: #fff !important;
  border-color: rgba(17,24,39,.24) !important;
}

html[data-readable="true"] .floating-settings .language-toggle:hover,
html[data-readable="true"] .floating-settings .language-toggle:focus-visible,
html[data-readable="true"] .floating-settings .readable-toggle:hover,
html[data-readable="true"] .floating-settings .readable-toggle:focus-visible,
html[data-readable="true"] .floating-settings .readable-toggle[aria-pressed="true"] {
  color: #fff !important;
  background: #111827 !important;
  border-color: #111827 !important;
}

@media (max-width: 860px) {
  .floating-settings {
    right: 14px !important;
    bottom: 14px !important;
    max-width: 60px !important;
    padding: 6px !important;
    border-radius: 20px !important;
  }

  .floating-settings .language-toggle,
  .floating-settings .readable-toggle {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }

  .floating-settings .language-menu {
    position: fixed !important;
    left: auto !important;
    right: 14px !important;
    bottom: 122px !important;
    top: auto !important;
    width: min(304px, calc(100vw - 28px)) !important;
    max-height: min(520px, calc(100vh - 150px)) !important;
  }
}

/* Make the quick launch translation pulse snappier. */
html.is-language-intro .hero-copy,
html.is-language-intro .system-core,
html.is-language-intro .system-node,
html.is-language-intro .capability-strip span {
  animation-duration: .14s !important;
}


/* --------------------------------------------------------------------------
   Version 20: hosted deployment settings dock hardening
   -------------------------------------------------------------------------- */
#tg-floating-settings.floating-settings {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  transform: none !important;
  z-index: 9999 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  max-width: 64px !important;
  padding: 8px !important;
  border-radius: 22px !important;
}
#tg-floating-settings .language-toggle,
#tg-floating-settings .readable-toggle {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}
#tg-floating-settings .language-toggle-label,
#tg-floating-settings .language-chevron,
#tg-floating-settings .readable-toggle-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#tg-floating-settings .language-menu {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 12px) !important;
  left: auto !important;
  width: min(292px, calc(100vw - 44px)) !important;
  max-height: min(520px, calc(100vh - 118px)) !important;
  overflow: auto !important;
}
html.is-language-intro .hero-copy,
html.is-language-intro .system-core,
html.is-language-intro .system-node,
html.is-language-intro .capability-strip span {
  animation-duration: .08s !important;
}
@media (max-width: 860px) {
  #tg-floating-settings.floating-settings {
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    max-width: 60px !important;
    padding: 6px !important;
  }
  #tg-floating-settings .language-toggle,
  #tg-floating-settings .readable-toggle {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }
  #tg-floating-settings .language-menu {
    position: fixed !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 108px) !important;
    left: auto !important;
    top: auto !important;
    width: min(304px, calc(100vw - 28px)) !important;
  }
}
