/* ==========================================================================
   3TECH — enterprise design system
   Single dependency-free stylesheet. No Bootstrap, no Odoo frontend bundle.
   Palette is carried over verbatim from the original site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand — sampled from the 3TECH logo and the original section colours */
  --brand: #2c6ba3;
  --brand-600: #07559d;
  --brand-700: #064580;
  --brand-800: #0a3c70;
  --navy: #0a0057;
  --navy-900: #04121f;
  --navy-800: #091a2e;
  --cyan: #19c8ff;
  --violet: #5847ff;
  --ice: #b7d1ea;

  /* Neutrals */
  --ink: #132238;
  --ink-soft: #40536d;
  --muted: #6a7c93;
  --line: rgba(7, 85, 157, 0.14);
  --line-strong: rgba(7, 85, 157, 0.26);
  --surface: #f6f9fc;
  --surface-2: #eef4fa;
  --white: #fff;

  /* Effects */
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 2px 8px rgba(13, 45, 80, 0.06);
  --shadow: 0 18px 44px rgba(13, 45, 80, 0.1);
  --shadow-lg: 0 34px 80px rgba(7, 85, 157, 0.18);
  --grad-brand: linear-gradient(135deg, var(--brand-600), var(--violet));
  --grad-cool: linear-gradient(135deg, var(--cyan), var(--brand-600));
  --grad-deep: linear-gradient(160deg, var(--navy-900) 0%, #0b2c4d 48%, var(--brand-700) 100%);

  /* Geometry */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;
  --shell: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.55s;

  /* Type */
  --font: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system,
    "Noto Sans", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s var(--ease-soft);
}

a:hover {
  color: var(--violet);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 1.3rem + 4.4vw, 4.35rem);
}
h2 {
  font-size: clamp(1.85rem, 1.15rem + 2.7vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 1.02rem + 0.75vw, 1.6rem);
}
h4 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-600);
  color: #fff;
}

.tt-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 1.4rem;
  background: var(--brand-600);
  color: #fff;
  border-radius: 0 0 var(--r) 0;
  font-weight: 700;
}

.tt-skip:focus {
  left: 0;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.tt-shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

.tt-shell--wide {
  width: min(100% - var(--gutter) * 2, 1480px);
}

.tt-shell--narrow {
  width: min(100% - var(--gutter) * 2, 900px);
}

section {
  position: relative;
}

.tt-section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.tt-section--tight {
  padding-block: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
}

.tt-section--surface {
  background: linear-gradient(180deg, var(--white), var(--surface) 45%, var(--white));
}

.tt-section--ice {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.tt-section--dark {
  background: var(--grad-deep);
  color: rgba(255, 255, 255, 0.9);
}

.tt-section--dark h1,
.tt-section--dark h2,
.tt-section--dark h3,
.tt-section--dark h4 {
  color: #fff;
}

.tt-grid {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
}

.tt-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.tt-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.tt-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

/* Section heading block ---------------------------------------------------- */

.tt-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

.tt-head--center {
  margin-inline: auto;
  text-align: center;
}

.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  backdrop-filter: blur(8px);
}

.tt-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-cool);
  box-shadow: 0 0 0 4px rgba(25, 200, 255, 0.2);
  animation: tt-pulse 2.6s var(--ease-soft) infinite;
}

.tt-section--dark .tt-eyebrow {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #cfe8ff;
}

.tt-lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}

.tt-section--dark .tt-lead {
  color: rgba(255, 255, 255, 0.82);
}

.tt-gradient-text {
  background: linear-gradient(100deg, var(--cyan), #8ab6ff 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-underline {
  position: relative;
  white-space: nowrap;
}

.tt-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.32em;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(25, 200, 255, 0.45), rgba(88, 71, 255, 0.32));
  z-index: -1;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.tt-btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 30px rgba(7, 85, 157, 0.26);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease-soft);
}

.tt-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}

.tt-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(7, 85, 157, 0.34);
}

.tt-btn:hover::after {
  transform: translateX(120%);
}

.tt-btn:active {
  transform: translateY(-1px);
}

.tt-btn--ghost {
  --btn-bg: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--brand-600);
  box-shadow: none;
}

.tt-btn--ghost:hover {
  color: var(--brand-700);
  border-color: var(--brand-600);
  box-shadow: 0 16px 34px rgba(7, 85, 157, 0.16);
}

.tt-btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.tt-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.tt-btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.tt-btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.tt-btn--block {
  width: 100%;
}

.tt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.tt-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.tt-link-arrow svg {
  transition: transform 0.28s var(--ease);
}

.tt-link-arrow:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */

.tt-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  height: 3px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  will-change: transform;
}

.tt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
    background 0.35s var(--ease-soft);
}

.tt-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px rgba(13, 45, 80, 0.08);
}

.tt-header__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.tt-header.is-scrolled .tt-header__bar {
  height: 64px;
}

.tt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.tt-brand img {
  height: 42px;
  width: 34px;
  object-fit: contain;
  object-position: center;
  transition: height 0.35s var(--ease), transform 0.4s var(--ease);
}

.tt-header.is-scrolled .tt-brand img {
  height: 36px;
  width: 29px;
}

.tt-brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.tt-brand__text {
  display: none;
  line-height: 1.15;
}

.tt-brand__name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tt-brand__sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tt-nav {
  display: none;
  margin-inline: auto;
}

.tt-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.tt-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--pill);
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.22s var(--ease-soft), background 0.22s var(--ease-soft);
}

.tt-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.22rem;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--grad-cool);
  transform: translateX(-50%);
  transition: width 0.28s var(--ease);
}

.tt-nav a:hover {
  color: var(--brand-600);
  background: rgba(7, 85, 157, 0.06);
}

.tt-nav a:hover::after,
.tt-nav a[aria-current="page"]::after {
  width: 42%;
}

.tt-nav a[aria-current="page"] {
  color: var(--brand-600);
  font-weight: 800;
}

.tt-header__cta {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.tt-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.tt-phone svg {
  color: var(--brand-600);
}

.tt-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.tt-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.32s var(--ease), opacity 0.2s linear;
}

.tt-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tt-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.tt-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tt-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease),
    visibility 0.3s;
}

.tt-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tt-drawer a {
  padding: 0.95rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.tt-drawer a[aria-current="page"] {
  color: var(--brand-600);
}

.tt-drawer .tt-btn {
  margin-top: 1.25rem;
}

@media (min-width: 992px) {
  .tt-nav,
  .tt-header__cta {
    display: flex;
  }
  .tt-brand__text {
    display: block;
  }
  .tt-burger,
  .tt-drawer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.tt-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--grad-deep);
  padding-block: clamp(4rem, 2.5rem + 9vw, 8.5rem);
}

.tt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transform: scale(1.08);
  animation: tt-kenburns 26s var(--ease-soft) infinite alternate;
}

.tt-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
      120deg,
      rgba(4, 18, 31, 0.94) 0%,
      rgba(6, 40, 72, 0.82) 46%,
      rgba(7, 85, 157, 0.68) 100%
    ),
    radial-gradient(120% 80% at 12% 0%, rgba(25, 200, 255, 0.22), transparent 60%);
}

/* Animated aurora field ---------------------------------------------------- */

.tt-aurora {
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
}

.tt-aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: tt-drift 22s var(--ease-soft) infinite alternate;
}

.tt-aurora i:nth-child(1) {
  width: 46vw;
  height: 46vw;
  top: -6%;
  left: -4%;
  background: radial-gradient(circle, rgba(25, 200, 255, 0.55), transparent 66%);
}

.tt-aurora i:nth-child(2) {
  width: 40vw;
  height: 40vw;
  bottom: -14%;
  right: -6%;
  background: radial-gradient(circle, rgba(88, 71, 255, 0.5), transparent 66%);
  animation-duration: 28s;
  animation-delay: -6s;
}

.tt-aurora i:nth-child(3) {
  width: 30vw;
  height: 30vw;
  top: 34%;
  left: 46%;
  background: radial-gradient(circle, rgba(183, 209, 234, 0.4), transparent 68%);
  animation-duration: 34s;
  animation-delay: -12s;
}

/* Circuit grid overlay ----------------------------------------------------- */

.tt-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 78%);
  animation: tt-grid-pan 40s linear infinite;
}

.tt-hero__inner {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}

.tt-hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}

.tt-hero__welcome {
  display: block;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #bfe6ff;
  margin-bottom: 0.8rem;
}

.tt-hero__lead {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2rem;
}

.tt-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.tt-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

.tt-chip b {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

/* Hero visual -------------------------------------------------------------- */

.tt-hero__visual {
  position: relative;
  perspective: 1400px;
}

.tt-hero__card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  transform: rotateY(calc(var(--tx, 0) * -6deg)) rotateX(calc(var(--ty, 0) * 6deg));
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

.tt-hero__card img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tt-hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateZ(60px);
  animation: tt-bob 6s var(--ease-soft) infinite;
}

.tt-hero__badge--a {
  left: -6%;
  bottom: 16%;
}

.tt-hero__badge--b {
  right: -4%;
  top: 10%;
  animation-delay: -3s;
}

.tt-hero__badge i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #fff;
}

.tt-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tt-scrollcue span {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--pill);
  position: relative;
}

.tt-scrollcue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
  animation: tt-scroll 1.9s var(--ease-soft) infinite;
}

@media (min-width: 992px) {
  .tt-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* Full-width CTA band reusing the hero backdrop ---------------------------- */

.tt-hero--band {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.tt-hero--band .tt-lead {
  color: rgba(255, 255, 255, 0.84);
}

/* Compact page banner ------------------------------------------------------ */

.tt-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--grad-deep);
  padding-block: clamp(3.5rem, 2.4rem + 6vw, 6.5rem);
}

.tt-banner h1 {
  color: #fff;
}

.tt-banner .tt-lead {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.85);
}

.tt-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.tt-crumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.tt-crumbs a:hover {
  color: #fff;
}

.tt-crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.5;
}

.tt-crumbs li {
  display: inline-flex;
  align-items: center;
}

.tt-banner--slim {
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */

.tt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease-soft);
}

.tt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    22rem 22rem at var(--mx, 50%) var(--my, 0%),
    rgba(25, 200, 255, 0.16),
    transparent 60%
  );
  transition: opacity 0.4s var(--ease-soft);
}

.tt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 200, 255, 0.45);
  box-shadow: var(--shadow);
}

.tt-card:hover::before {
  opacity: 1;
}

.tt-card__media {
  position: relative;
  margin: -1.6rem -1.6rem 1.3rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), #fff);
}

.tt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.tt-card:hover .tt-card__media img {
  transform: scale(1.07);
}

.tt-card__body {
  flex: 1;
}

.tt-card h3 {
  margin-bottom: 0.5rem;
}

.tt-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Speciality tile ---------------------------------------------------------- */

.tt-tile {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fff, var(--surface));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.3s var(--ease-soft);
}

.tt-tile::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -55%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(88, 71, 255, 0.13), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.tt-tile:hover {
  transform: translateY(-7px);
  border-color: rgba(7, 85, 157, 0.35);
  box-shadow: var(--shadow);
}

.tt-tile:hover::after {
  transform: scale(1.5);
}

.tt-tile__img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 45, 80, 0.14);
}

.tt-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.tt-tile:hover .tt-tile__img img {
  transform: scale(1.09);
}

.tt-tile h3 {
  margin: 0;
  font-size: 1.15rem;
}

.tt-tile__index {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: var(--pill);
  background: rgba(4, 18, 31, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Split media rows --------------------------------------------------------- */

.tt-split {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3.5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .tt-split {
    grid-template-columns: 1fr 1fr;
  }
  .tt-split--flip .tt-split__media {
    order: 2;
  }
}

.tt-split__media {
  position: relative;
}

.tt-split__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

.tt-split__media::before {
  content: "";
  position: absolute;
  inset: 8% -6% -10% 8%;
  z-index: -1;
  border-radius: var(--r-xl);
  background: var(--grad-cool);
  opacity: 0.16;
  filter: blur(28px);
}

/* Stat strip --------------------------------------------------------------- */

.tt-stats {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.tt-stat {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem) 1.25rem;
  background: #fff;
  text-align: center;
  transition: background 0.3s var(--ease-soft);
}

.tt-stat:hover {
  background: var(--surface);
}

.tt-stat b {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Pill list ---------------------------------------------------------------- */

.tt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--brand-600);
}

.tt-section--dark .tt-pill {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #d5ecff;
}

/* --------------------------------------------------------------------------
   8. Logo marquee
   -------------------------------------------------------------------------- */

.tt-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.tt-marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: tt-marquee var(--speed, 46s) linear infinite;
}

.tt-marquee--reverse .tt-marquee__track {
  animation-direction: reverse;
}

.tt-marquee:hover .tt-marquee__track {
  animation-play-state: paused;
}

/* Every brand mark sits in an identical frame and is scaled to fit inside it.
   `object-fit: contain` on a box of fixed ratio is what keeps logos of wildly
   different proportions optically aligned instead of each finding its own
   size and baseline. */
.tt-logo-tile {
  position: relative;
  flex: 0 0 auto;
  width: 184px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tt-logo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 6px 10px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft);
}

.tt-logo-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.tt-logo-tile:hover img {
  filter: none;
  opacity: 1;
}

.tt-logo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
}

.tt-logo-grid .tt-logo-tile {
  width: 100%;
}

/* Certificate plates and animated value icons use the same containment rule. */
.tt-cert {
  position: relative;
  display: block;
  height: 240px;
}

.tt-cert img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  object-position: center;
}

.tt-icon {
  display: block;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: center;
}

.tt-card--center {
  align-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Projects
   -------------------------------------------------------------------------- */

.tt-projects {
  display: grid;
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
}

@media (min-width: 1024px) {
  .tt-projects {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.tt-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .tt-toc {
    display: block;
  }
}

.tt-toc h4 {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tt-toc a {
  display: block;
  padding: 0.42rem 0.7rem;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease-soft);
}

.tt-toc a:hover,
.tt-toc a.is-active {
  border-left-color: var(--brand-600);
  background: rgba(7, 85, 157, 0.06);
  color: var(--brand-600);
}

.tt-project {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #fff, var(--surface));
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.tt-project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .tt-project {
    grid-template-columns: 1fr 0.85fr;
  }

  .tt-project:nth-child(even) {
    grid-template-columns: 0.85fr 1fr;
  }

  .tt-project:nth-child(even) .tt-project__media {
    order: -1;
  }
}

.tt-project__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13, 45, 80, 0.16);
}

.tt-project__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.tt-project:hover .tt-project__media img {
  transform: scale(1.06);
}

.tt-project__no {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-600);
}

.tt-specs {
  display: grid;
  gap: 0.85rem 1.5rem;
  margin-top: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
}

.tt-specs div {
  padding-left: 0.85rem;
  border-left: 2px solid var(--line-strong);
}

.tt-specs dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tt-specs dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Vendor rows
   -------------------------------------------------------------------------- */

.tt-vendor {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.tt-vendor:last-child {
  border-bottom: 0;
}

@media (min-width: 860px) {
  .tt-vendor {
    grid-template-columns: 300px 1fr;
  }

  .tt-vendor:nth-child(even) {
    grid-template-columns: 1fr 300px;
  }

  .tt-vendor:nth-child(even) .tt-vendor__logo {
    order: 2;
  }
}

.tt-vendor__logo {
  position: relative;
  height: clamp(190px, 8rem + 6vw, 250px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tt-vendor__logo:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow);
}

.tt-vendor__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(0.55rem, 0.45rem + 0.4vw, 0.8rem);
  object-fit: contain;
  object-position: center;
}

/* --------------------------------------------------------------------------
   11. Shop
   -------------------------------------------------------------------------- */

.tt-shop {
  display: grid;
  gap: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .tt-shop {
    grid-template-columns: 288px 1fr;
  }
}

.tt-side {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}

/* Only pin the sidebar once it actually sits beside the grid. */
@media (min-width: 1024px) {
  .tt-side {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.tt-side h4 {
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tt-cat a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}

.tt-cat a:hover {
  background: rgba(7, 85, 157, 0.07);
  color: var(--brand-600);
}

.tt-cat a.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(7, 85, 157, 0.24);
}

.tt-cat details > ul {
  margin-left: 0.55rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line);
}

.tt-cat summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s var(--ease-soft);
}

.tt-cat summary::-webkit-details-marker {
  display: none;
}

.tt-cat summary::before {
  content: "";
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border: 4px solid transparent;
  border-left-color: var(--brand-600);
  transition: transform 0.25s var(--ease);
}

.tt-cat details[open] > summary::before {
  transform: rotate(90deg) translateX(-1px);
}

.tt-cat summary:hover {
  background: rgba(7, 85, 157, 0.07);
}

.tt-cat summary.is-active {
  color: var(--brand-600);
}

.tt-searchbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease-soft);
}

.tt-searchbar:focus-within {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(7, 85, 157, 0.12);
}

.tt-searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding-block: 0.55rem;
}

.tt-searchbar input:focus {
  outline: none;
}

.tt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tt-count {
  font-size: 0.9rem;
  color: var(--muted);
}

.tt-count b {
  color: var(--ink);
}

.tt-products {
  display: grid;
  gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 208px), 1fr));
}

.tt-product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease-soft);
}

.tt-product:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 200, 255, 0.5);
  box-shadow: var(--shadow);
}

.tt-product__img {
  position: relative;
  aspect-ratio: 1;
  padding: 1rem;
  background: linear-gradient(160deg, #fff, var(--surface-2));
  overflow: hidden;
}

.tt-product__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.tt-product:hover .tt-product__img img {
  transform: scale(1.06);
}

.tt-product__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 0.95rem 1.05rem 1.15rem;
  border-top: 1px solid var(--line);
}

.tt-product__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.tt-product__name a {
  color: var(--ink);
}

.tt-product__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tt-product:hover .tt-product__name a {
  color: var(--brand-600);
}

.tt-product__desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-product__more {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-600);
}

.tt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tt-tag {
  padding: 0.22rem 0.6rem;
  border-radius: var(--pill);
  background: rgba(7, 85, 157, 0.09);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand-700);
}

.tt-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.tt-pager a,
.tt-pager span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.22s var(--ease-soft);
}

.tt-pager a:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
  transform: translateY(-2px);
}

.tt-pager .is-current {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

.tt-pager .is-gap {
  border: 0;
  background: none;
  min-width: 24px;
}

.tt-empty {
  padding: clamp(2.5rem, 2rem + 3vw, 5rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  background: var(--surface);
}

/* Product detail ----------------------------------------------------------- */

.tt-pdp {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .tt-pdp {
    grid-template-columns: 1fr 1fr;
  }

  .tt-pdp__media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.tt-pdp__media {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-sm);
}

.tt-pdp__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.tt-pdp__media:hover img {
  transform: scale(1.04);
}

.tt-pdp h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
}

.tt-pdp__desc p {
  color: var(--ink-soft);
}

.tt-inquiry {
  margin-top: 2rem;
  padding: clamp(1.35rem, 1rem + 1.4vw, 2rem);
  border-radius: var(--r-xl);
  background: var(--grad-deep);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.tt-inquiry h3 {
  color: #fff;
}

.tt-inquiry::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 200, 255, 0.35), transparent 68%);
}

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */

.tt-contact {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .tt-contact {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.tt-info {
  display: grid;
  gap: 1rem;
}

.tt-info__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tt-info__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tt-info__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
}

.tt-info__item h4 {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tt-info__item p,
.tt-info__item a {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.tt-info__item a:hover {
  color: var(--brand-600);
}

.tt-form {
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.tt-fields {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tt-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tt-field--full {
  grid-column: 1 / -1;
}

.tt-field label {
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.tt-field label span {
  color: #d64550;
}

.tt-field input,
.tt-field textarea,
.tt-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.22s var(--ease-soft), box-shadow 0.22s var(--ease-soft),
    background 0.22s var(--ease-soft);
}

.tt-field textarea {
  min-height: 150px;
  resize: vertical;
}

.tt-field input:focus,
.tt-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(7, 85, 157, 0.12);
}

.tt-field input:user-invalid,
.tt-field textarea:user-invalid {
  border-color: #d64550;
  box-shadow: 0 0 0 4px rgba(214, 69, 80, 0.1);
}

.tt-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r);
  border: 1px solid;
  font-weight: 600;
}

.tt-alert--ok {
  border-color: rgba(24, 148, 100, 0.3);
  background: rgba(24, 148, 100, 0.08);
  color: #146c4b;
}

.tt-alert--warn {
  border-color: rgba(214, 145, 26, 0.32);
  background: rgba(214, 145, 26, 0.09);
  color: #8a5b06;
}

.tt-alert--err {
  border-color: rgba(214, 69, 80, 0.32);
  background: rgba(214, 69, 80, 0.08);
  color: #a12b34;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.tt-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--grad-deep);
  color: rgba(255, 255, 255, 0.72);
}

.tt-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 75%);
}

.tt-footer__grid {
  display: grid;
  gap: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  padding-bottom: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.tt-footer__brand {
  grid-column: span 1;
  max-width: 34ch;
}

.tt-footer__logo {
  display: inline-grid;
  place-items: center;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.tt-footer__logo img {
  height: 46px;
  width: 37px;
  object-fit: contain;
  object-position: center;
}

.tt-footer h4 {
  margin-bottom: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fd4ff;
}

.tt-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.tt-footer a:hover {
  color: #fff;
}

.tt-footer li {
  margin-bottom: 0.55rem;
  font-size: 0.93rem;
}

.tt-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.tt-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease-soft),
    border-color 0.28s var(--ease-soft);
}

.tt-social a:hover {
  transform: translateY(-4px);
  background: var(--grad-brand);
  border-color: transparent;
}

.tt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.86rem;
}

.tt-totop {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(7, 85, 157, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition: all 0.35s var(--ease);
}

.tt-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tt-totop:hover {
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   14. Reveal + keyframes
   -------------------------------------------------------------------------- */

/* The hidden state is scoped to `.tt-js`, which the inline head script adds.
   Without JavaScript nothing is ever hidden, so the page stays readable. */

.tt-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.tt-js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.tt-js .reveal--left {
  transform: translateX(-32px);
}
.tt-js .reveal--right {
  transform: translateX(32px);
}
.tt-js .reveal--zoom {
  transform: scale(0.94);
}

.tt-js .reveal--left.is-in,
.tt-js .reveal--right.is-in,
.tt-js .reveal--zoom.is-in {
  transform: none;
}

@keyframes tt-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, -6%, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-5%, 5%, 0) scale(0.95);
  }
}

@keyframes tt-kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(-1.5%, -2%, 0);
  }
}

@keyframes tt-grid-pan {
  to {
    background-position: 68px 68px, 68px 68px;
  }
}

@keyframes tt-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes tt-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(25, 200, 255, 0.24);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(25, 200, 255, 0.04);
  }
}

@keyframes tt-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 60px);
  }
  50% {
    transform: translate3d(0, -12px, 60px);
  }
}

@keyframes tt-scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* --------------------------------------------------------------------------
   15. Preferences & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .tt-js .reveal {
    opacity: 1;
    transform: none;
  }

  .tt-hero__bg,
  .tt-aurora i,
  .tt-grid-overlay,
  .tt-marquee__track {
    animation: none;
  }
}

@media print {
  .tt-header,
  .tt-drawer,
  .tt-progress,
  .tt-totop,
  .tt-scrollcue,
  .tt-aurora {
    display: none !important;
  }

  body {
    color: #000;
  }

  .tt-section {
    padding-block: 1rem;
    content-visibility: visible;
  }
}
