@charset "utf-8";
/* Techtimizers — site styles */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; background: #FFFFFF; font-family: Archivo, Helvetica, Arial, sans-serif; color: #0F1E33; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #0F1E33; text-decoration: none; transition: color .18s ease; }
a:hover { color: #6DB32F; }
button { font: inherit; }

/* ---- loading screen (driven by assets/js/script.js) ---- */
@keyframes tt-bar  { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes tt-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes tt-loader-failsafe { to { opacity: 0; visibility: hidden; } }
.tt-loader { position: fixed; inset: 0; z-index: 999; background: #0F1E33; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transition: transform .9s cubic-bezier(.76,0,.24,1);
  animation: tt-loader-failsafe .4s 6s forwards; /* hides itself if the script never runs */ }
.tt-loader-mark { display: flex; flex-direction: column; gap: 18px; transition: transform .6s cubic-bezier(.76,0,.24,1), opacity .4s ease; }
.tt-loader-bar { display: block; height: 22px; transform-origin: left center; animation: tt-bar 1s cubic-bezier(0.22,1,0.36,1) both; }
.tt-loader-bar:nth-child(2) { animation-delay: .14s; }
.tt-loader-bar:nth-child(3) { animation-delay: .28s; }
.tt-loader-name { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #5C7692; animation: tt-rise .8s ease .5s both; }
.tt-loader-progress { position: absolute; left: 50%; bottom: 18%; width: 176px; height: 2px; margin-left: -88px; background: #1B3050; overflow: hidden; }
.tt-loader-progress i { display: block; height: 100%; background: #8EDE4A; transform: scaleX(var(--tt-progress, 0)); transform-origin: left center; transition: transform .35s ease; }
/* page loaded: the mark lifts away and the whole screen slides up */
.tt-loader.is-done { transform: translateY(-100%); }
.tt-loader.is-done .tt-loader-mark { transform: translateY(-40px); opacity: 0; }
.tt-loader.is-hidden { display: none; }
.tt-loading { overflow: hidden; }

/* ---- hover states ---- */
[data-hover="h1"]:hover { background: #8EDE4A; color: #0F1E33; }
[data-hover="h2"]:hover { border-color: #8EDE4A; }

/* ---- header & mobile nav ---- */
.tt-header { border-bottom: 1px solid #22354F; background: #0F1E33; color: #fff; position: sticky; top: 0; z-index: 100; }
.tt-header-inner { max-width: 1280px; margin: 0 auto; padding: 18px 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; position: relative; }
.tt-hero-inner { max-width: 1280px; margin: 0 auto; padding: 118px 44px 104px; display: flex; flex-direction: column; gap: 44px; }
.tt-clients-inner { max-width: 1280px; margin: 0 auto; padding: 76px 44px; display: flex; flex-direction: column; gap: 40px; }
.tt-footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 44px 36px; display: flex; flex-direction: column; gap: 44px; }
.tt-logo { display: flex; align-items: center; gap: 13px; }
.tt-logo-img { height: 26px; width: auto; display: block; }
.tt-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; font-weight: 500; color: #A9BACC; min-width: 0; }
.tt-cta { font-size: 14px; font-weight: 600; background: #6DB32F; color: #fff; padding: 12px 20px; border-radius: 4px; white-space: nowrap; }
.tt-nav-cta { display: none; }
.tt-menu-toggle { display: none; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; gap: 5px; flex-direction: column; background: transparent; border: 1px solid #2E4362; border-radius: 4px; padding: 0; cursor: pointer; }
.tt-menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.tt-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tt-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tt-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .tt-menu-toggle { display: flex; }
  .tt-cta:not(.tt-nav-cta) { display: none; }
  .tt-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #142644;
    border-bottom: 1px solid #22354F;
    max-height: 0;
    overflow: hidden;
    transition: max-height .55s ease;
  }
  .tt-nav a { padding: 14px 22px; border-top: 1px solid #22354F; }
  .tt-nav[data-open="true"] { max-height: 480px; }
  .tt-nav-cta { display: block; margin: 16px 22px 20px; text-align: center; }
}

/* ---- shared inline-style groups extracted from the design ---- */
.tt-1 { color: inherit; }
.tt-2 { background: #142644; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.tt-3 { font-size: 17px; font-weight: 600; }
.tt-4 { max-width: 1280px; margin: 0 auto; padding: 100px 44px; }
.tt-5 { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #6DB32F; }
.tt-6 { margin: 0; font-size: 52px; font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.tt-7 { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.tt-8 { display: flex; flex-direction: column; gap: 16px; }
.tt-9 { margin: 0; font-size: 17px; line-height: 1.6; color: #5A6472; max-width: 40ch; }
.tt-10 { background: #fff; border: 1px solid #E3E7DF; border-radius: 6px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.tt-11 { display: flex; align-items: center; gap: 12px; }
.tt-12 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.tt-13 { margin: 0; font-size: 16px; line-height: 1.6; color: #5A6472; }
.tt-14 { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-15 { font-size: 13.5px; background: #F1F4EE; padding: 6px 11px; border-radius: 3px; color: #3E4856; }
.tt-16 { font-size: 14px; font-weight: 600; color: #8EDE4A; }
.tt-17 { flex:1; background:#1B3050; padding:14px; display:flex; flex-direction:column; gap:9px; }
.tt-18 { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tt-19 { height:150px;margin:-28px -28px 6px;background:#142644;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:0 28px;overflow:hidden; }
.tt-20 { margin: 0; font-size: 20px; font-weight: 700; }
.tt-21 { margin: 0; font-size: 15.5px; line-height: 1.6; color: #5A6472; }
.tt-22 { display:flex;gap:8px; }
.tt-23 { display:block;height:16px;background:#5F9C84; }
.tt-24 { display:block;height:16px;background:#7DC242; }
.tt-25 { background: #F6F8F4; border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.tt-26 { font-size: 40px; font-weight: 800; color: #C9D3C2; line-height: 1; }
.tt-27 { margin: 0; font-size: 22px; font-weight: 700; }
.tt-28 { margin: 0; font-size: 19px; font-weight: 700; }
.tt-29 { margin: 0; font-size: 15px; line-height: 1.6; color: #5A6472; }
.tt-30 { margin: 0; font-size: 17px; font-weight: 700; }
.tt-31 { display: flex; flex-wrap: wrap; gap: 7px; }
.tt-32 { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #3E4856; background: #F1F4EE; padding: 5px 10px; border-radius: 3px; }
.tt-33 { height: 82px; background: repeating-linear-gradient(135deg, #F2F4EF 0 9px, #EAEDE5 9px 18px); display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.tt-34 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #99A093; }
.tt-35 { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: #A9BACC; min-width: 0; }
.tt-36 { font-family: Archivo, sans-serif; font-size: 15px; padding: 13px 14px; border: 1px solid #2E4362; border-radius: 4px; background: #0F1E33; color: #fff; box-sizing: border-box; width: 100%; min-width: 0; }
.tt-37 { color: #C4D2DE; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  [data-cols="3"], [data-cols="4"], [data-cols="6"] { grid-template-columns: repeat(2, 1fr) !important; }
  h1 { font-size: 60px !important; }
  h2 { font-size: 38px !important; }
}
@media (max-width: 680px) {
  [data-cols] { grid-template-columns: 1fr !important; }
  .tt-4, .tt-hero-inner { padding: 64px 22px !important; }
  .tt-header-inner, .tt-clients-inner, .tt-footer-inner { padding: 18px 22px !important; }
  h1 { font-size: 40px !important; }
  h2 { font-size: 30px !important; }
}

/* =====================================================================
   Motion — enabled by script.js adding .tt-motion to <html>.
   Nothing here applies when the visitor prefers reduced motion.
   ===================================================================== */

/* hero: lines rise from behind a mask once the loading screen is gone */
.tt-hero { position: relative; overflow: hidden; }
.tt-hero-inner { position: relative; z-index: 1; }
.tt-line { display: block; }
.tt-motion .tt-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.tt-motion .tt-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.tt-motion .tt-line:nth-child(2) > span { transition-delay: .09s; }
.tt-motion .tt-line:nth-child(3) > span { transition-delay: .18s; }
.tt-motion .tt-line:nth-child(4) > span { transition-delay: .27s; }
.tt-motion.tt-ready .tt-line > span { transform: none; }
.tt-motion .tt-hero-in { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rv-delay, 0s); }
.tt-motion.tt-ready .tt-hero-in { opacity: 1; transform: none; }

/* hero: slow ambient glow */
@keyframes tt-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } }
.tt-hero::before, .tt-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; }
.tt-hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: #3B6FD4; }
.tt-hero::after  { width: 420px; height: 420px; right: 18%; bottom: -220px; background: #6DB32F; opacity: .16; }
.tt-motion .tt-hero::before { animation: tt-drift 16s ease-in-out infinite; }
.tt-motion .tt-hero::after  { animation: tt-drift 20s ease-in-out infinite reverse; }

/* scroll reveal */
.tt-motion .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0s); }
.tt-motion .rv-left  { transform: translateX(-48px); }
.tt-motion .rv-right { transform: translateX(48px); }
.tt-motion .rv-zoom  { transform: scale(.95); }
.tt-motion .rv.is-visible { opacity: 1; transform: none; }

/* bars that grow when their block is revealed: about, examples, section accents */
.tt-motion .tt-grow-x > i, .tt-motion i.tt-accent { transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.tt-motion .tt-grow-x > i:nth-child(2) { transition-delay: .12s; }
.tt-motion .tt-grow-x > i:nth-child(3) { transition-delay: .24s; }
.tt-motion .is-visible.tt-grow-x > i, .tt-motion .is-visible .tt-grow-x > i, .tt-motion .is-visible i.tt-accent { transform: none; }
.tt-motion .tt-visual i { transform: scale(0); transform-origin: left bottom; transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.25s + var(--i, 0) * .035s); }
.tt-motion .is-visible .tt-visual i, .tt-motion .tt-visual.is-visible i { transform: none; }

/* chips pop in one after another */
.tt-motion .rv .tt-15, .tt-motion .rv .tt-32 { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(.3s + var(--i, 0) * .04s); }
.tt-motion .rv.is-visible .tt-15, .tt-motion .rv.is-visible .tt-32 { opacity: 1; transform: none; }

/* hover: cards lift */
.tt-10, .tt-18, .tt-25, .tt-work-card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background-color .35s ease; }
.tt-10:hover, .tt-25:hover, .tt-work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15, 30, 51, .35); }
.tt-18:hover { background-color: #FBFCFA; }
.tt-15, .tt-32 { transition: background-color .2s ease, color .2s ease; }
.tt-15:hover, .tt-32:hover { background: #E6F2DA; color: #0F1E33; }
a[data-hover], button[data-hover] { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
a[data-hover]:hover, button[data-hover]:hover { transform: translateY(-2px); }

/* header: compact once the page scrolls, and the current section is highlighted */
.tt-header-inner { transition: padding .3s ease; }
.tt-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.tt-header.is-scrolled .tt-header-inner { padding-top: 12px; padding-bottom: 12px; }
.tt-nav a.is-current { color: #8EDE4A; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tt-loader { display: none; }
  .tt-hero::before, .tt-hero::after { animation: none; }
}
