@font-face {
  font-family: 'Mondwest';
  src: url('fonts/Mondwest-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'GT Standard L';
  src: url('fonts/GT-Standard-L-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'GT Standard L';
  src: url('fonts/GT-Standard-L-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'GT Standard L';
  src: url('fonts/GT-Standard-L-Semibold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'GT Standard L';
  src: url('fonts/GT-Standard-L-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'GT Standard M Extended';
  src: url('fonts/GT-Standard-M-Extended-Semibold.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Buildyar Brand Orange replacing Tenex Yellow on pure #000000 Black */
  --accent: #de5b27;
  --accent-bright: #ff6a2b;
  --muted: #e0e0e0;
  --black: #000000;
  --white: #ffffff;

  --font-body-l: 'GT Standard L', 'Inter Tight', Arial, sans-serif;
  --font-pixel: 'Mondwest', Georgia, serif;
  --font-extended: 'GT Standard M Extended', 'Inter Tight', Arial, sans-serif;

  --container-max: 1400px;
  --container-10col: 1250px;
  --container-6col: 900px;
  --container-pad: 40px;
  --section-pad: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000000 !important;
  color: #ffffff;
  font-family: var(--font-body-l);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.tnx a {
  color: inherit;
  text-decoration: none;
}

.tnx img,
.tnx video {
  display: block;
  max-width: 100%;
}

.tnx h1,
.tnx h2,
.tnx h3,
.tnx h4,
.tnx h5,
.tnx h6 {
  font-family: var(--font-body-l);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0;
}

.tnx p {
  margin: 0;
}

.tnx .section {
  width: 100%;
  padding: var(--section-pad) 0;
  position: relative;
}

.tnx .section.cc-0 {
  padding: 0;
}

.tnx .container {
  width: 100%;
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin: 0 auto;
}

.tnx .container.cc-10col {
  max-width: var(--container-10col);
}

/* Typography Scale (Exact Tenex Proportions) */
.tnx .text-h1-xl {
  z-index: 2;
  font-family: var(--font-pixel);
  font-size: 7.5rem;
  line-height: 1;
  letter-spacing: -0.5px;
  font-weight: 400;
  position: relative;
}

.tnx .text-h1 {
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.5px;
}

.tnx .text-h2 {
  font-size: 4rem;
  line-height: 1.1;
}

.tnx .text-h3 {
  font-size: 3.5rem;
  line-height: 1.1;
}

.tnx .text-h4 {
  font-size: 3rem;
  line-height: 1.1;
}

.tnx .text-h5 {
  font-size: 2.25rem;
  line-height: 1.1;
}

.tnx .text-xl {
  font-size: 1.75rem;
  line-height: 1.2;
}

.tnx .text-lg {
  font-size: 1.5rem;
  line-height: 1.2;
}

.tnx .text-xs {
  font-size: 0.875rem;
  line-height: 1.1;
}

.tnx .u-font-bold {
  font-weight: 700;
}

.tnx .u-font-semi {
  font-weight: 600;
}

.tnx .u-text-accent {
  color: var(--accent);
}

.tnx .u-font-secondary {
  font-family: var(--font-pixel);
  font-weight: 400;
}

.tnx .u-eyebrow {
  font-family: var(--font-extended);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 96-Cell Pixel Grid Intro & Menu Transition Overlay */
.tnx-load-grid,
.tnx-menu-grid {
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  width: 100%;
  height: 100vh;
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.tnx-load-grid .cell {
  background: var(--accent);
  width: 100%;
  height: 100%;
  transition: opacity 0.18s ease;
}

.tnx-load-grid .cell.out {
  opacity: 0;
}

.tnx-menu-grid {
  z-index: 48;
  opacity: 0;
}

.tnx-menu-grid.active {
  opacity: 1;
}

.tnx-menu-grid .cell {
  background: var(--accent);
  width: 100%;
  height: 100%;
  transition: opacity 0.15s ease;
}

.tnx-menu-grid .cell.out {
  opacity: 0;
}

/* Fixed Minimal Navigation Header */
.tnx .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.tnx .nav::before {
  content: '';
  position: absolute;
  inset: 0 0 -2rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #000000fa, #000000e6 52%, #0000);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tnx .nav.nav-scrolled::before {
  opacity: 1;
}

.tnx .nav-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
}

.tnx .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.tnx .nav-logo-icon {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.tnx .nav-logo-words {
  font-family: var(--font-extended);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.tnx .burger {
  width: 34px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.tnx .burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  transition: transform 0.25s, opacity 0.25s;
}

.tnx .burger.open span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.tnx .burger.open span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Professional Fullscreen Navigation Drawer */
.tnx .nav-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: radial-gradient(circle at 82% 25%, rgba(222, 91, 39, 0.14), rgba(6, 6, 9, 0.96) 55%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem var(--container-pad) 2.5rem;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.28s ease;
}

.tnx .nav-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.tnx .nav-menu-inner {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  transform: translateY(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnx .nav-menu.open .nav-menu-inner {
  transform: translateY(0);
}

.tnx .nav-menu-kicker {
  font-family: var(--font-extended);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 0.75rem;
}

.tnx .nav-menu-links {
  display: flex;
  flex-direction: column;
}

.tnx .nav-menu .menu-link {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: border-color 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}

.tnx .nav-menu .menu-link:hover {
  border-bottom-color: rgba(222, 91, 39, 0.6);
  padding-left: 1rem;
  color: #ffffff;
}

.tnx .menu-link-num {
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  color: var(--accent);
  width: 28px;
  flex-shrink: 0;
}

.tnx .menu-link-text {
  font-family: var(--font-body-l);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  flex: 1;
}

.tnx .menu-link-arrow {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, color 0.25s ease;
}

.tnx .nav-menu .menu-link:hover .menu-link-arrow {
  color: var(--accent-bright);
  transform: translateX(6px);
}

.tnx .nav-menu-card {
  padding: 2.15rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(24, 24, 30, 0.92), rgba(10, 10, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(222, 91, 39, 0.1);
}

.tnx .nav-menu-card-title {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.tnx .nav-menu-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.tnx .nav-menu-meta {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tnx .nav-menu-email {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

.tnx .nav-menu-email:hover {
  color: var(--accent);
}

.tnx .nav-menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tnx .nav-menu-socials a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tnx .nav-menu-socials a:hover {
  border-color: var(--accent);
  color: #ffffff;
}

@media (max-width: 900px) {
  .tnx .nav-menu {
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
  }
  .tnx .nav-menu-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tnx .nav-menu .menu-link {
    padding: 0.9rem 0.25rem;
    gap: 1rem;
  }
  .tnx .menu-link-text {
    font-size: 1.65rem;
  }
  .tnx .nav-menu-card {
    padding: 1.4rem;
    border-radius: 18px;
  }
}

@media (max-width: 600px) {
  .tnx .nav-menu {
    padding: 4.75rem 1.15rem 1.5rem;
  }
  .tnx .nav-menu-inner {
    gap: 1.15rem;
  }
  .tnx .nav-menu-kicker {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
  }
  .tnx .nav-menu .menu-link {
    padding: 0.78rem 0.15rem;
    gap: 0.85rem;
  }
  .tnx .menu-link-num {
    font-size: 1rem;
    width: 24px;
  }
  .tnx .menu-link-text {
    font-size: 1.42rem;
  }
  .tnx .menu-link-arrow {
    font-size: 1.15rem;
  }
  .tnx .nav-menu-card {
    padding: 1.15rem;
    border-radius: 18px;
  }
  .tnx .nav-menu-card .approach-pill-badge,
  .tnx .nav-menu-card-desc {
    display: none;
  }
  .tnx .nav-menu-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .tnx .nav-menu-card .button {
    margin-top: 0.85rem !important;
  }
  .tnx .nav-menu-meta {
    margin-top: 1rem;
    padding-top: 0.9rem;
    gap: 0.5rem;
  }
}

/* Modern Pill Button with Glowing Brand Accent & Animated Circular Arrow */
.tnx .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(222, 91, 39, 0.65);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #ffffff;
  font-family: var(--font-body-l);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(222, 91, 39, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.tnx .button:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 16px 40px rgba(222, 91, 39, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tnx .btn-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.tnx .button:hover .btn-icon-circle {
  background: #ffffff;
  color: #000000;
  transform: rotate(45deg);
}

.tnx .button .icon {
  display: block;
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
}

/* ── 1. HERO SECTION (100vh Full Viewport) ─────────────────────── */
.tnx .hero-section {
  min-height: 100vh;
}

.tnx .hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding-top: 5.75rem;
  padding-bottom: 1.75rem;
  gap: 1.25rem;
  position: relative;
}

.tnx .hero-container {
  text-align: center;
  margin: auto;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tnx .hero-title-line {
  display: inline;
}

/* 3-Column Connected Hero Stage (Left Slow Walkers -> CRT -> Right Fast Runners) */
.tnx .hero-stage-row {
  display: grid;
  grid-template-columns: minmax(220px, 285px) minmax(360px, 560px) minmax(220px, 285px);
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1240px;
  margin: 1.25rem auto 0;
}

.tnx .hero-center-crt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tnx .hero-connector {
  position: absolute;
  top: 52%;
  width: 112px;
  height: 2px;
  pointer-events: none;
  z-index: 3;
}

.tnx .hero-connector--left {
  left: -2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.36);
}

.tnx .hero-connector--left::after,
.tnx .hero-connector--right::before {
  content: '';
  position: absolute;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tnx .hero-connector--left::after {
  right: -3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.tnx .hero-connector--right {
  right: -2px;
  background: linear-gradient(90deg, #ff6a2b 0%, rgba(222, 91, 39, 0.65) 100%);
  box-shadow: 0 0 14px rgba(222, 91, 39, 0.8);
}

.tnx .hero-connector--right::before {
  left: -3px;
  background: #ff6a2b;
  box-shadow: 0 0 12px #ff6a2b;
}

.tnx .hero-bg-img {
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  max-height: 46vh;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
}

.tnx .hero-flow-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  position: relative;
}

.tnx .hero-flow-side--before {
  background: linear-gradient(90deg, rgba(16, 16, 20, 0.35), rgba(16, 16, 20, 0.82));
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  border-right: 1px dashed rgba(255, 255, 255, 0.18);
}

.tnx .hero-flow-side--after {
  background: linear-gradient(90deg, rgba(28, 16, 12, 0.88), rgba(14, 12, 14, 0.45));
  border-top: 1px solid rgba(222, 91, 39, 0.42);
  border-bottom: 1px solid rgba(222, 91, 39, 0.42);
  border-left: 1px solid rgba(222, 91, 39, 0.5);
  box-shadow: 0 14px 40px rgba(222, 91, 39, 0.1);
}

.tnx .hero-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-extended);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tnx .hero-side-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
}

.tnx .hero-side-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.tnx .hero-side-badge--accent {
  background: rgba(222, 91, 39, 0.18);
  border: 1px solid rgba(222, 91, 39, 0.55);
  color: #ff9d76;
}

.tnx .hero-people-track {
  width: 100%;
  overflow: hidden;
}

.tnx .hero-people-svg {
  width: 100%;
  height: 98px;
  display: block;
}

.tnx .hero-flow-caption {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.56);
  letter-spacing: 0.01em;
}

.tnx .hero-flow-caption--after {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

/* Slow trudging walk animation + leg swing for Left 5 corporate people */
.tnx .walker {
  animation: slowWalkTravel 12s linear infinite;
}
.tnx .walker-1 { animation-delay: 0s; }
.tnx .walker-2 { animation-delay: -2.4s; }
.tnx .walker-3 { animation-delay: -4.8s; }
.tnx .walker-4 { animation-delay: -7.2s; }
.tnx .walker-5 { animation-delay: -9.6s; }

.tnx .leg-a,
.tnx .leg-b {
  transform-box: fill-box;
  transform-origin: top center;
}
.tnx .leg-a { animation: walkLegA 1.7s ease-in-out infinite; }
.tnx .leg-b { animation: walkLegB 1.7s ease-in-out infinite; }

@keyframes slowWalkTravel {
  0% { transform: translate(-20px, 0px); opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(265px, 0px); opacity: 0; }
}

@keyframes walkLegA {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

@keyframes walkLegB {
  0%, 100% { transform: rotate(16deg); }
  50% { transform: rotate(-16deg); }
}

/* Fast energetic sprinting animation + rapid leg stride for Right 5 people with laptops */
.tnx .runner {
  animation: fastRunTravel 2.8s linear infinite;
}
.tnx .runner-1 { animation-delay: 0s; }
.tnx .runner-2 { animation-delay: -0.56s; }
.tnx .runner-3 { animation-delay: -1.12s; }
.tnx .runner-4 { animation-delay: -1.68s; }
.tnx .runner-5 { animation-delay: -2.24s; }

.tnx .run-leg-a,
.tnx .run-leg-b {
  transform-box: fill-box;
  transform-origin: top center;
}
.tnx .run-leg-a { animation: runLegA 0.36s ease-in-out infinite; }
.tnx .run-leg-b { animation: runLegB 0.36s ease-in-out infinite; }

@keyframes fastRunTravel {
  0% { transform: translate(-15px, 0px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(275px, -2px); opacity: 0; }
}

@keyframes runLegA {
  0%, 100% { transform: rotate(-32deg); }
  50% { transform: rotate(28deg); }
}

@keyframes runLegB {
  0%, 100% { transform: rotate(28deg); }
  50% { transform: rotate(-32deg); }
}

.tnx .hero-subtitle {
  position: relative;
  z-index: 2;
  margin: 1rem auto 0;
  font-family: var(--font-body-l);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

/* Floating Centered Glassmorphic Hero CTA Dock Bar */
.tnx .h-cta {
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1080px;
  margin: auto auto 0;
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(222, 91, 39, 0.1);
  position: relative;
}

.tnx .h-cta-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  max-width: 520px;
}

.tnx .h-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-extended);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.tnx .h-cta-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.38;
}

.tnx .h-cta-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── 2. OUR APPROACH SECTION (Redesigned Eye-Catching Interactive Bento Grid) ── */
.tnx .approach-section {
  padding: 7rem 0 6rem;
  position: relative;
}

.tnx .approach-header-bar {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tnx .approach-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(222, 91, 39, 0.12);
  border: 1px solid rgba(222, 91, 39, 0.45);
  font-family: var(--font-extended);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
}

.tnx .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.tnx .approach-main-heading {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tnx .approach-lead-text {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

.tnx .approach-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.tnx .approach-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.9) 0%, rgba(8, 8, 10, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.25rem;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.tnx .approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tnx .approach-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    480px circle at var(--mouse-x, 50%) var(--mouse-y, 20%),
    rgba(222, 91, 39, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tnx .approach-card:hover,
.tnx .approach-card.cc-active {
  transform: translateY(-8px);
  border-color: rgba(222, 91, 39, 0.65);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(222, 91, 39, 0.15);
}

.tnx .approach-card:hover::before,
.tnx .approach-card.cc-active::before,
.tnx .approach-card:hover .approach-card-glow,
.tnx .approach-card.cc-active .approach-card-glow {
  opacity: 1;
}

.tnx .approach-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tnx .approach-step-badge {
  font-family: var(--font-extended);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  background: rgba(222, 91, 39, 0.14);
  border: 1px solid rgba(222, 91, 39, 0.35);
  padding: 5px 12px;
  border-radius: 6px;
}

.tnx .approach-sla-tag {
  font-family: var(--font-body-l);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: 6px;
}

.tnx .approach-visual-stage {
  position: relative;
  z-index: 2;
  height: 195px;
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tnx .visual-orbit-ring {
  position: absolute;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  transition: border-color 0.4s ease, transform 0.6s ease, box-shadow 0.4s ease;
  animation: rotateSlow 18s linear infinite;
}

@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tnx .approach-card:hover .visual-orbit-ring,
.tnx .approach-card.cc-active .visual-orbit-ring {
  border-color: rgba(222, 91, 39, 0.55);
  box-shadow: 0 0 35px rgba(222, 91, 39, 0.22);
}

.tnx .approach-visual-stage img {
  max-height: 155px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnx .approach-photo {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 165px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92);
}

.tnx .approach-card:hover .approach-outline,
.tnx .approach-card.cc-active .approach-outline {
  opacity: 0.15;
  transform: scale(0.94);
}

.tnx .approach-card:hover .approach-photo,
.tnx .approach-card.cc-active .approach-photo {
  opacity: 1;
  transform: scale(1.05);
}

.tnx .approach-card-body {
  position: relative;
  z-index: 2;
}

.tnx .approach-card-title {
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.tnx .approach-card-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.35rem;
}

.tnx .approach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.tnx .approach-chips span {
  font-size: 0.76rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 11px;
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.tnx .approach-card:hover .approach-chips span,
.tnx .approach-card.cc-active .approach-chips span {
  border-color: rgba(222, 91, 39, 0.4);
  background: rgba(222, 91, 39, 0.1);
}

.tnx .approach-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tnx .approach-metric {
  display: flex;
  flex-direction: column;
}

.tnx .approach-metric strong {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1.1;
}

.tnx .approach-metric span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
}

.tnx .approach-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.tnx .approach-cta-link img {
  width: 13px;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.tnx .approach-card:hover .approach-cta-link,
.tnx .approach-card.cc-active .approach-cta-link {
  background: var(--accent);
  border-color: var(--accent-bright);
  color: #000000;
}

.tnx .approach-card:hover .approach-cta-link img,
.tnx .approach-card.cc-active .approach-cta-link img {
  filter: invert(1);
  transform: translateX(3px);
}

/* ── 3. RETRO CRT AGENT GIF SHOWCASE SECTION ────────────────────── */
.tnx .crt-feature-section {
  padding: 5rem 0 3rem;
}

.tnx .crt-feature-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tnx .crt-gif-stage {
  width: 100%;
  max-width: 860px;
  margin: 2.5rem auto 0;
  position: relative;
}

.tnx .crt-gif-stage img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ── 4. IGNORING + VR STATUE + PARTNER LOGO BAR ─────────────────── */
.tnx .ignoring-section {
  background-image: url('assets/grid-bg-right.webp');
  background-position: 100% center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
}

.tnx .ignoring-spacer-top {
  height: 8rem;
}

.tnx .ignoring-spacer-bottom {
  height: 12rem;
}

.tnx .u-align-right {
  text-align: right;
  position: relative;
  z-index: 2;
}

.tnx .statue-bg {
  z-index: 1;
  width: 100%;
  max-width: 44vw;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
}

.tnx .logo-bar {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2.25rem 2.5rem;
  position: relative;
  backdrop-filter: blur(8px);
}

.tnx .logo-bar .text-lg {
  flex: none;
  font-size: 1.25rem;
}

.tnx .logos-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 2.25rem;
}

.tnx .logo-img {
  width: auto;
  object-fit: contain;
  flex: none;
}

.tnx .logo-anthropic { height: 20px; }
.tnx .logo-openai,
.tnx .logo-vercel { height: 26px; }
.tnx .logo-lovable { height: 25px; }
.tnx .logo-langchain { height: 32px; }
.tnx .logo-braintrust { height: 21px; }

/* ── 5. TILTED BRAND TICKER RIBBON ──────────────────────────────── */
.tnx .section.cc-ticker {
  padding: 3.5rem 0;
  overflow: hidden;
}

.tnx .ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--accent);
  color: #000000;
  font-family: var(--font-pixel);
  font-size: 1.85rem;
  padding: 1.25rem 0;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.03);
}

.tnx .ticker-scroller-wrapper {
  display: flex;
  width: max-content;
  animation: tnx-ticker 28s linear infinite;
}

.tnx .ticker-scroller {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 1.5rem;
}

.tnx .ticker-item {
  white-space: nowrap;
}

.tnx .ticker-divider {
  font-size: 1.25rem;
}

@keyframes tnx-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 6. PRE-FOOTER CTA + PRE-FOOTER VIDEO/GIF ───────────────────── */
.tnx .cta-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.tnx .cta-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 680px;
  text-align: center;
}

.tnx .cta-title-wrapper > img {
  width: 72px;
  height: auto;
}

.tnx .cta-img {
  width: 100%;
  height: auto;
  margin-top: 4rem;
}

.tnx video.cta-img {
  aspect-ratio: 560 / 255;
  object-fit: cover;
  object-position: center top;
  background: transparent;
}

.tnx .cta-still {
  display: none;
}

/* ── 7. MINIMAL FOOTER ──────────────────────────────────────────── */
.tnx .footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.tnx .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tnx .footer-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.tnx .footer-left p {
  margin-top: 1rem;
  color: var(--muted);
}

.tnx .footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.tnx .footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.tnx .footer-links a:hover {
  color: var(--accent);
}

.tnx .footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.tnx .footer-email {
  font-weight: 700;
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.tnx .footer-email:hover {
  color: var(--accent);
}

.tnx .footer-socials {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.tnx .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tnx .footer-socials a:hover {
  color: #ffffff;
  background: rgba(222, 91, 39, 0.18);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tnx .footer-socials img {
  height: 20px;
  width: auto;
}

/* ── SCROLL REVEAL & STAGGER-WORD ANIMATIONS ───────────────────── */
.tnx .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0, 0.1, 1),
    transform 0.65s cubic-bezier(0.2, 0, 0.1, 1);
}

.tnx .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.tnx .stagger-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(36%);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0, 0.1, 1),
    transform 0.55s cubic-bezier(0.2, 0, 0.1, 1);
}

.tnx .stagger-words.in .w {
  opacity: 1;
  transform: translateY(0);
}

/* Clean Get-Started Modal Drawer (when clicking buttons) */
.gs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gs-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gs-modal {
  background: #000000;
  border: 1px solid #ffffff;
  width: 100%;
  max-width: 580px;
  padding: 3rem;
  position: relative;
}

.project-modal {
  max-width: 680px;
  border-color: rgba(222, 91, 39, 0.55);
  border-radius: 24px;
  padding: 2.25rem;
  max-height: 90vh;
  overflow-y: auto;
}

.project-modal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.project-modal-visual {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1rem 0 1.25rem;
  background: radial-gradient(circle at 50% 35%, rgba(222, 91, 39, 0.18), rgba(10, 10, 14, 0.95));
}

.project-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-modal-list li {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.project-modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gs-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
}

.gs-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.gs-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.gs-input,
.gs-textarea {
  width: 100%;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  padding: 0.95rem 1rem;
  font-family: var(--font-body-l);
  font-size: 1rem;
}

.gs-input:focus,
.gs-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── 3. SELECTED WORK SECTION (03 // Flagship Case Study + Portfolio Bento) ─ */
.tnx .work-section {
  position: relative;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tnx .work-header-bar {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.tnx .work-main-heading {
  font-family: var(--font-body-l);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 1.1rem;
}

.tnx .work-main-heading .u-font-secondary {
  font-weight: 400;
  font-size: 1.08em;
}

.tnx .work-lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-left: auto;
}

.tnx .work-lead-text strong {
  color: #ffffff;
  font-weight: 600;
}

.tnx .work-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(222, 91, 39, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tnx .work-inline-link:hover {
  color: #ff7842;
  border-color: #ff7842;
}

/* Flagship Case Study Card (TIESi) */
.tnx .work-flagship-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.25rem;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(22, 22, 28, 0.92) 0%, rgba(10, 10, 14, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.tnx .work-flagship-card:hover {
  border-color: rgba(222, 91, 39, 0.55);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(222, 91, 39, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tnx .work-spotlight-card:hover .approach-card-glow {
  opacity: 1;
}

.tnx .work-flagship-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tnx .work-flagship-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tnx .work-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(222, 91, 39, 0.14);
  border: 1px solid rgba(222, 91, 39, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #ff9d76;
}

.tnx .status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

.tnx .work-credit-tag {
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

.tnx .work-brand-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.25rem;
}

.tnx .work-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.tnx .work-case-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.tnx .work-flagship-title {
  font-family: var(--font-extended);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
}

.tnx .work-flagship-tagline {
  font-family: var(--font-body-l);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tnx .work-flagship-tagline .u-font-secondary {
  font-weight: 400;
  font-size: 1.12em;
}

.tnx .work-flagship-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  max-width: 540px;
}

.tnx .work-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tnx .work-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tnx .work-flagship-card:hover .work-feature-list li {
  border-color: rgba(222, 91, 39, 0.28);
}

.tnx .work-feature-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(222, 91, 39, 0.18);
  border: 1px solid rgba(222, 91, 39, 0.45);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
}

.tnx .work-flagship-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.tnx .work-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tnx .work-ghost-btn:hover {
  background: rgba(222, 91, 39, 0.15);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Dual-Phone 3D Orbital Stage */
.tnx .work-phone-stage {
  position: relative;
  z-index: 2;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(222, 91, 39, 0.18) 0%, rgba(12, 12, 16, 0.65) 68%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  padding: 2rem;
}

.tnx .work-phone-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 1px dashed rgba(222, 91, 39, 0.38);
  animation: orbitSpin 28s linear infinite;
  pointer-events: none;
}

.tnx .work-phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 91, 39, 0.35) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.tnx .work-phone {
  position: relative;
  width: 235px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnx .work-phone-back {
  transform: translate(-52px, -14px) rotate(-7deg) scale(0.93);
  z-index: 1;
  opacity: 0.92;
}

.tnx .work-phone-front {
  margin-left: -95px;
  transform: translate(42px, 16px) rotate(5deg);
  z-index: 2;
}

.tnx .work-flagship-card:hover .work-phone-back {
  transform: translate(-64px, -22px) rotate(-10deg) scale(0.95);
}

.tnx .work-flagship-card:hover .work-phone-front {
  transform: translate(52px, 8px) rotate(3deg) scale(1.03);
}

.tnx .work-stage-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

/* Sister-Studio Subheader & 3-Column Bento Grid */
.tnx .work-sub-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 4.5rem;
  margin-bottom: 2rem;
}

.tnx .work-sub-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.tnx .work-sub-title {
  font-family: var(--font-body-l);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tnx .work-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tnx .work-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.9) 0%, rgba(10, 10, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.tnx .work-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 91, 39, 0.6);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(222, 91, 39, 0.14);
}

.tnx .work-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tnx .work-micro-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.65);
}

.tnx .work-status-chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(222, 91, 39, 0.15);
  border: 1px solid rgba(222, 91, 39, 0.4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tnx .work-visual-frame {
  position: relative;
  z-index: 2;
  height: 230px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 35%, rgba(222, 91, 39, 0.16), rgba(8, 8, 12, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tnx .work-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnx .work-project-card:hover .work-visual-frame img {
  transform: scale(1.05);
}

.tnx .work-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.tnx .work-card-title {
  font-family: var(--font-body-l);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tnx .work-card-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.tnx .work-card-footer {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tnx .work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease, gap 0.2s ease;
}

.tnx .work-project-card:hover .work-card-link {
  color: var(--accent);
  gap: 0.75rem;
}

.tnx .work-card-link img {
  width: 14px;
  height: 14px;
}

/* Expandable 8-Project Archive Drawer */
.tnx .work-directory-drawer {
  margin-top: 2rem;
  border-radius: 22px;
  background: rgba(16, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.tnx .work-directory-drawer[open] {
  border-color: rgba(222, 91, 39, 0.45);
}

.tnx .work-directory-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  user-select: none;
  transition: background 0.25s ease;
}

.tnx .work-directory-summary::-webkit-details-marker {
  display: none;
}

.tnx .work-directory-summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tnx .work-summary-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tnx .work-summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: rgba(222, 91, 39, 0.18);
  border: 1px solid rgba(222, 91, 39, 0.45);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--accent);
}

.tnx .work-summary-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s ease, background 0.3s ease;
}

.tnx .work-directory-drawer[open] .work-summary-toggle {
  transform: rotate(45deg);
  background: rgba(222, 91, 39, 0.2);
}

.tnx .work-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 2rem 1.5rem;
}

.tnx .work-dir-item {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tnx .work-dir-item:hover {
  border-color: rgba(222, 91, 39, 0.45);
  transform: translateY(-3px);
}

.tnx .work-dir-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.tnx .work-dir-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.tnx .work-dir-num {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.tnx .work-dir-item h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.tnx .work-dir-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
}

.tnx .work-directory-footnote {
  padding: 0 2rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
}

/* Enterprise AI Behind-the-Scenes Banner */
.tnx .work-ai-banner {
  position: relative;
  margin-top: 2rem;
  padding: 2.5rem 2.75rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(24, 18, 16, 0.94) 0%, rgba(12, 12, 16, 0.96) 100%);
  border: 1px solid rgba(222, 91, 39, 0.32);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

.tnx .work-ai-left,
.tnx .work-ai-pills,
.tnx .work-ai-right {
  position: relative;
  z-index: 2;
}

.tnx .work-ai-title {
  font-family: var(--font-body-l);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tnx .work-ai-title .u-font-secondary {
  font-weight: 400;
  font-size: 1.1em;
}

.tnx .work-ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 1;
  justify-content: center;
}

.tnx .work-ai-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ── 3B. INSIGHTS & BLOGS SECTION + DEDICATED BLOGS PAGE ───────── */
.tnx .blogs-section {
  position: relative;
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tnx .blogs-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.tnx .blogs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tnx .blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.9) 0%, rgba(10, 10, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.tnx .blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 91, 39, 0.6);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(222, 91, 39, 0.14);
}

.tnx .blog-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.tnx .blog-meta-date {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}

.tnx .blog-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.tnx .blog-card-title {
  font-family: var(--font-body-l);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: color 0.25s ease;
}

.tnx .blog-card:hover .blog-card-title {
  color: #ff9d76;
}

.tnx .blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
}

.tnx .blog-card-footer {
  position: relative;
  z-index: 2;
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.tnx .blog-read-time {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

/* Dedicated Blogs Page (blogs.html) */
.tnx .blogs-page-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

.tnx .blogs-page-hero {
  max-width: 760px;
  margin-bottom: 3rem;
}

.tnx .blogs-page-title {
  font-family: var(--font-body-l);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 1rem;
}

.tnx .blogs-page-title .u-font-secondary {
  font-weight: 400;
  font-size: 1.08em;
}

.tnx .blogs-page-lead {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.tnx .blogs-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tnx .blogs-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tnx .blog-filter-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body-l);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tnx .blog-filter-pill:hover,
.tnx .blog-filter-pill.active {
  background: rgba(222, 91, 39, 0.18);
  border-color: var(--accent);
  color: #ffffff;
}

.tnx .blogs-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  min-width: 260px;
}

.tnx .blogs-search-input {
  background: none;
  border: 0;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body-l);
  font-size: 0.92rem;
  width: 100%;
}

.tnx .blogs-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.tnx .blogs-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 3rem;
  margin-bottom: 2rem;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(28, 20, 17, 0.94) 0%, rgba(10, 10, 14, 0.96) 100%);
  border: 1px solid rgba(222, 91, 39, 0.35);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.tnx .blogs-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 91, 39, 0.7);
}

.tnx .blogs-featured-copy,
.tnx .blogs-featured-side {
  position: relative;
  z-index: 2;
}

.tnx .blogs-featured-title {
  font-family: var(--font-body-l);
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0.85rem 0 1rem;
}

.tnx .blogs-featured-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.tnx .blogs-empty-state {
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  margin-top: 1.5rem;
}

/* Single Article Reader View */
.tnx .blog-reader-section {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.tnx .blog-reader-topbar {
  max-width: 820px;
  margin: 0 auto 2rem;
}

.tnx .blog-article-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 3.25rem;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(20, 20, 26, 0.94) 0%, rgba(10, 10, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tnx .blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.tnx .blog-article-title {
  font-family: var(--font-body-l);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.tnx .blog-article-body {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.tnx .blog-article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.75rem;
}

.tnx .blog-article-body p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.tnx .blog-article-body ul {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tnx .blog-article-body li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.tnx .blog-article-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(222, 91, 39, 0.08);
  border: 1px solid rgba(222, 91, 39, 0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

/* ── RESPONSIVE BREAKPOINTS (Desktop, Tablet & Mobile) ─────────── */
@media (max-width: 1300px) {
  :root {
    --container-pad: 32px;
  }
  .tnx .text-h1-xl { font-size: 6rem; }
  .tnx .work-flagship-card { padding: 2.5rem; gap: 2.25rem; }
  .tnx .work-phone { width: 205px; }
}

/* Tablet Landscape & Portrait (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-pad: 28px;
    --section-pad: 4.5rem;
  }

  .tnx .nav-content {
    padding: 1.2rem 1.75rem;
  }

  /* Hero section adapts cleanly on tablets without overlapping CTA dock */
  .tnx .hero-section {
    height: auto;
    min-height: 100svh;
  }

  .tnx .hero-inner {
    padding-top: 7.5rem;
    padding-bottom: 2.25rem;
    gap: 1.5rem;
  }

  .tnx .text-h1-xl {
    font-size: clamp(3.8rem, 8vw, 5.25rem);
    line-height: 0.96;
  }

  .tnx .hero-stage-row {
    grid-template-columns: minmax(175px, 215px) 1fr minmax(175px, 215px);
    gap: 0;
    margin-top: 1rem;
  }

  .tnx .hero-flow-side {
    padding: 0.7rem 0.75rem;
    gap: 0.4rem;
    border-radius: 14px;
  }

  .tnx .hero-people-svg {
    height: 78px;
  }

  .tnx .hero-flow-caption {
    font-size: 0.7rem;
  }

  .tnx .hero-connector {
    width: 66px;
  }
  .tnx .hero-connector--left { left: -2px; }
  .tnx .hero-connector--right { right: -2px; }

  .tnx .hero-bg-img {
    position: relative;
    inset: auto;
    height: auto;
    width: 100%;
    max-height: 38vh;
    margin: 0 auto;
  }

  .tnx .h-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    margin-top: auto;
  }

  .tnx .h-cta-left {
    max-width: 100%;
  }

  .tnx .h-cta-right {
    justify-content: flex-start;
  }

  /* Section headers stack cleanly with full-width lead text */
  .tnx .approach-header-bar,
  .tnx .work-header-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
  }

  .tnx .approach-lead-text,
  .tnx .work-lead-text {
    margin-left: 0;
    max-width: 62ch;
  }

  /* 2-column Bento grid on Tablet so cards aren't cramped */
  .tnx .approach-bento-grid,
  .tnx .work-bento-grid,
  .tnx .blogs-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .tnx .approach-bento-grid > :last-child,
  .tnx .work-bento-grid > :last-child,
  .tnx .blogs-bento-grid > :last-child {
    grid-column: 1 / -1;
  }

  .tnx .blogs-header-actions {
    align-items: flex-start;
  }

  .tnx .blogs-featured-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
  }

  .tnx .blogs-featured-side {
    align-items: flex-start;
  }

  /* Flagship Case Study stacks into 1 column with spacious phone stage */
  .tnx .work-flagship-card {
    grid-template-columns: 1fr;
    padding: 2.25rem;
    gap: 2.25rem;
  }

  .tnx .work-flagship-desc {
    max-width: 100%;
  }

  .tnx .work-phone-stage {
    min-height: 430px;
  }

  .tnx .work-directory-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem 1.5rem;
  }

  .tnx .work-sub-bar,
  .tnx .work-ai-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .tnx .work-ai-pills {
    justify-content: flex-start;
  }

  .tnx .text-h1 { font-size: 3.4rem; }
  .tnx .text-h2 { font-size: 3rem; }
  .tnx .text-h4,
  .tnx .text-h5 { font-size: 2rem; }
  .tnx .text-xl { font-size: 1.5rem; }
  .tnx .text-lg { font-size: 1.2rem; }
  .tnx .statue-bg { max-width: 62vw; }
  .tnx .ticker-wrapper { font-size: 1.5rem; }
}

/* Tablet Portrait & Large Phones (<= 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: 22px;
    --section-pad: 3.75rem;
  }

  .tnx .approach-section,
  .tnx .work-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .tnx .approach-bento-grid,
  .tnx .work-bento-grid,
  .tnx .blogs-bento-grid {
    grid-template-columns: 1fr;
  }

  .tnx .approach-bento-grid > :last-child,
  .tnx .work-bento-grid > :last-child,
  .tnx .blogs-bento-grid > :last-child {
    grid-column: auto;
  }

  .tnx .ignoring-spacer-top {
    height: 4rem;
  }

  .tnx .ignoring-spacer-bottom {
    height: 6rem;
  }

  .tnx .logo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .tnx .logos-wrapper {
    gap: 1.35rem 1.75rem;
  }

  .tnx .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .tnx .footer-right {
    text-align: left;
    align-items: flex-start;
  }
}

/* Hide Before/After side panels below 768px (laptop & tablet view only) */
@media (max-width: 767px) {
  .tnx .hero-stage-row {
    display: block;
  }
  .tnx .hero-flow-side,
  .tnx .hero-connector {
    display: none;
  }
}

/* Mobile Phones (<= 600px) */
@media (max-width: 600px) {
  :root {
    --container-pad: 18px;
    --section-pad: 3.25rem;
  }

  .tnx .nav-content {
    padding: 1rem 1.15rem;
  }

  .tnx .nav-logo-icon {
    height: 25px;
  }

  .tnx .nav-logo-words {
    font-size: 1.15rem;
  }

  .tnx .hero-inner {
    padding-top: 6.25rem;
    padding-bottom: 1.5rem;
    gap: 1rem;
  }

  .tnx .text-h1-xl {
    font-size: clamp(3rem, 12.5vw, 4.1rem);
    line-height: 0.92;
  }

  .tnx .hero-title-line {
    display: block;
  }

  .tnx .hero-bg-img {
    width: min(92vw, 380px);
    max-height: 40vh;
    margin: 0.5rem auto -0.25rem;
  }

  .tnx .h-cta {
    gap: 1.1rem;
    padding: 1.15rem;
    border-radius: 18px;
  }

  .tnx .h-cta-sub {
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .tnx .h-cta-right,
  .tnx .h-cta-right .button {
    width: 100%;
    justify-content: space-between;
  }

  .tnx .button {
    font-size: 0.95rem;
    padding: 0.5rem 0.55rem 0.5rem 1.2rem;
  }

  .tnx .btn-icon-circle {
    width: 34px;
    height: 34px;
  }

  /* Approach Section Mobile */
  .tnx .approach-section,
  .tnx .work-section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .tnx .approach-header-bar {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .tnx .approach-main-heading,
  .tnx .work-main-heading {
    font-size: clamp(2.1rem, 8.5vw, 2.75rem);
    line-height: 1.06;
  }

  .tnx .approach-lead-text,
  .tnx .work-lead-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .tnx .approach-card {
    padding: 1.4rem 1.2rem;
    border-radius: 18px;
  }

  .tnx .approach-card-top {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tnx .approach-visual-stage {
    height: 155px;
    margin: 1.15rem auto;
  }

  .tnx .visual-orbit-ring {
    width: 135px;
    height: 135px;
  }

  .tnx .approach-visual-stage img,
  .tnx .approach-photo {
    max-height: 130px;
  }

  .tnx .approach-card-title {
    font-size: 1.55rem;
  }

  .tnx .approach-card-desc {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
  }

  .tnx .approach-card-footer {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  /* Selected Work Section Mobile (App-First Visuals + Swipeable Bento Carousel) */
  .tnx .work-header-bar {
    gap: 0.9rem;
    margin-bottom: 1.75rem;
  }

  .tnx .work-flagship-card {
    padding: 1.25rem 1.1rem 1.4rem;
    gap: 1.35rem;
    border-radius: 22px;
  }

  .tnx .work-phone-stage {
    order: -1;
    min-height: 270px;
    padding: 1.35rem 0.75rem 3rem;
    border-radius: 18px;
  }

  .tnx .work-phone-orbit {
    width: 220px;
    height: 220px;
  }

  .tnx .work-phone-glow {
    width: 190px;
    height: 190px;
  }

  .tnx .work-phone {
    width: 44%;
    max-width: 152px;
    border-radius: 18px;
  }

  .tnx .work-phone-back {
    transform: translate(-6px, -6px) rotate(-5deg) scale(0.95);
  }

  .tnx .work-phone-front {
    margin-left: -24px;
    transform: translate(6px, 8px) rotate(4deg);
  }

  .tnx .work-stage-badge {
    font-size: 0.62rem;
    padding: 0.36rem 0.8rem;
    bottom: 0.75rem;
  }

  .tnx .work-flagship-copy {
    gap: 1.05rem;
  }

  .tnx .work-flagship-meta {
    gap: 0.45rem;
  }

  .tnx .work-status-pill,
  .tnx .work-credit-tag {
    font-size: 0.62rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.08em;
  }

  .tnx .work-app-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .tnx .work-flagship-title {
    font-size: 1.75rem;
  }

  .tnx .work-flagship-tagline {
    font-size: 1.38rem;
  }

  .tnx .work-flagship-desc {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .tnx .work-feature-list {
    gap: 0.55rem;
  }

  .tnx .work-feature-list li {
    padding: 0.6rem 0.75rem;
    font-size: 0.86rem;
    gap: 0.65rem;
    align-items: center;
  }

  .tnx .work-feature-bullet {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .tnx .work-flagship-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.25rem;
  }

  .tnx .work-flagship-actions .button,
  .tnx .work-flagship-actions .work-ghost-btn {
    width: 100%;
    justify-content: space-between;
  }

  .tnx .work-sub-bar {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    gap: 0.85rem;
  }

  .tnx .work-sub-bar .work-ghost-btn {
    width: 100%;
    justify-content: space-between;
  }

  /* Horizontal snap-scroll card deck on mobile so cards are effortless to swipe */
  .tnx .work-bento-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.95rem;
    padding-bottom: 0.35rem;
    margin-right: calc(var(--container-pad) * -1);
    padding-right: var(--container-pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tnx .work-bento-grid::-webkit-scrollbar {
    display: none;
  }

  .tnx .work-project-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 1.25rem 1.1rem;
    border-radius: 20px;
  }

  .tnx .work-visual-frame {
    height: 185px;
    margin-bottom: 1rem;
    border-radius: 14px;
  }

  .tnx .work-card-title {
    font-size: 1.32rem;
  }

  .tnx .work-card-desc {
    font-size: 0.9rem;
  }

  .tnx .work-directory-drawer {
    margin-top: 1.35rem;
    border-radius: 18px;
  }

  .tnx .work-directory-summary {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
    gap: 0.75rem;
  }

  .tnx .work-summary-left {
    gap: 0.65rem;
  }

  .tnx .work-directory-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.1rem 1.1rem;
    gap: 0.65rem;
  }

  .tnx .work-dir-item {
    padding: 0.9rem 0.85rem;
    border-radius: 14px;
  }

  .tnx .work-dir-item h5 {
    font-size: 1rem;
  }

  .tnx .work-dir-item p {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .tnx .work-directory-footnote {
    padding: 0 1.1rem 1.1rem;
    font-size: 0.78rem;
  }

  .tnx .work-ai-banner {
    margin-top: 1.35rem;
    padding: 1.4rem 1.1rem;
    border-radius: 20px;
    gap: 1.1rem;
  }

  .tnx .work-ai-pills {
    width: 100%;
    gap: 0.45rem;
  }

  .tnx .work-ai-pills span {
    font-size: 0.78rem;
    padding: 0.42rem 0.75rem;
  }

  .tnx .work-ai-right,
  .tnx .work-ai-right .work-ghost-btn {
    width: 100%;
    justify-content: space-between;
  }

  /* CRT, Ignoring, Ticker, Pre-Footer CTA & Modal Mobile */
  .tnx .crt-feature-section {
    padding: 3.25rem 0 2rem;
  }

  .tnx .u-eyebrow {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .tnx .text-h2 {
    font-size: clamp(2.1rem, 8.5vw, 2.8rem);
  }

  .tnx .text-h1 {
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }

  .tnx .text-h4 {
    font-size: 1.65rem;
  }

  .tnx .text-xl {
    font-size: 1.3rem;
  }

  .tnx .u-align-right {
    text-align: left;
  }

  .tnx .ignoring-spacer-bottom {
    height: 4.5rem;
  }

  .tnx .statue-bg {
    max-width: 82vw;
    opacity: 0.85;
  }

  .tnx .logo-bar {
    padding: 1.4rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 14, 0.88);
    align-items: center;
    text-align: center;
    gap: 1.15rem;
  }

  .tnx .logo-bar .text-lg {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .tnx .logos-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 0.85rem;
    width: 100%;
  }

  .tnx .logo-img {
    width: 100%;
    height: 48px;
    padding: 0.85rem 1.1rem;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .tnx .logo-anthropic,
  .tnx .logo-braintrust {
    padding: 0.95rem 1.25rem;
  }

  .tnx .logo-langchain {
    padding: 0.72rem 1rem;
  }

  .tnx .cta-title-wrapper {
    gap: 1.5rem;
  }

  .tnx .cta-title-wrapper .button {
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
  }

  .tnx .cta-img {
    margin-top: 2.5rem;
  }

  .tnx .footer-links {
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
  }

  .gs-modal {
    padding: 1.75rem 1.25rem;
  }

  .tnx .blogs-section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .tnx .blog-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .tnx .blogs-page-section,
  .tnx .blog-reader-section {
    padding-top: 6.75rem;
  }

  .tnx .blogs-search-wrap {
    width: 100%;
    min-width: 0;
  }

  .tnx .blogs-featured-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .tnx .blog-article-shell {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .tnx .blog-article-cta {
    padding: 1.35rem 1.15rem;
  }
}

/* Touch Devices: Show 3D Render Visuals by Default Without Requiring Mouse Hover */
@media (hover: none) {
  .tnx .approach-photo {
    opacity: 1;
    transform: scale(1);
  }
  .tnx .approach-outline {
    opacity: 0.16;
  }
}
