:root {
  --alabaster: #F4F5F2;
  --alabaster-soft: #ECEDE9;
  --pearl: #E5E7E2;
  --cobalt: #0A2E6E;
  --cobalt-deep: #061F4D;
  --cobalt-soft: #1B3F87;
  --graphite: #1F2326;
  --graphite-soft: #2D3338;
  --emerald: #00875A;
  --terracotta: #E85D26;
  --terracotta-deep: #C8451A;
  --line: rgba(10, 46, 110, 0.12);
  --line-strong: rgba(10, 46, 110, 0.25);
  --shadow-soft: 0 12px 40px rgba(10, 46, 110, 0.06);
  --shadow-hover: 0 24px 80px rgba(10, 46, 110, 0.14);
  --shadow-cobalt: 0 18px 50px rgba(10, 46, 110, 0.18);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.4s;
  --grid: 24px;
  --sidebar-w: 280px;
  --sidebar-c: 88px;
  --maxw: 1440px;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  --display: 'Inter', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  --body: 'Inter', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--alabaster);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  letter-spacing: 0.005em;
  font-feature-settings: 'ss01', 'cv11';
}

strong, p, h1, h2, h3, h4, h5, h6, span, li, a, button { color: inherit; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

ul, ol { list-style: none; }

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

.tn-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.tn-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-w);
  background: var(--alabaster);
  border-right: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  z-index: 80;
  transition: width var(--duration) var(--spring);
  overflow: hidden;
}

.tn-sidebar:hover { width: var(--sidebar-w); }

.tn-logo-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  min-height: 64px;
}

.tn-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  position: relative;
  background: var(--alabaster);
}

.tn-logo-mark::before,
.tn-logo-mark::after,
.tn-logo-mark span {
  content: '';
  width: 2px;
  height: 14px;
  background: var(--cobalt);
  border-radius: 1px;
  position: absolute;
}

.tn-logo-mark::before { left: 11px; transform: rotate(-22deg); }
.tn-logo-mark::after { right: 11px; transform: rotate(22deg); }

.tn-logo-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.tn-logo-domain {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.tn-logo-jp {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.78;
}

.tn-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.tn-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
}

.tn-nav-link:hover {
  background: var(--alabaster-soft);
  color: var(--cobalt);
  transform: translateX(4px);
}

.tn-nav-link.is-active {
  background: var(--cobalt);
  color: #fff;
}

.tn-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--terracotta);
  border-radius: 0 2px 2px 0;
}

.tn-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: inherit;
}

.tn-side-foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tn-side-phone {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cobalt);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tn-side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--duration) var(--spring), background var(--duration);
  white-space: nowrap;
}

.tn-side-cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--terracotta-deep);
}

.tn-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  position: relative;
}

.tn-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 90;
  height: 56px;
  background: var(--alabaster);
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

.tn-mobile-logo { display: flex; align-items: center; gap: 10px; }

.tn-mobile-logo .tn-logo-mark { width: 32px; height: 32px; }

.tn-mobile-logo .tn-logo-mark::before { left: 9px; }
.tn-mobile-logo .tn-logo-mark::after { right: 9px; }

.tn-mobile-logo .tn-logo-domain { font-size: 15px; }

.tn-mobile-burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--alabaster);
}

.tn-mobile-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cobalt);
  position: relative;
  transition: all var(--duration) var(--ease);
}

.tn-mobile-burger span::before,
.tn-mobile-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--cobalt);
  transition: all var(--duration) var(--ease);
}

.tn-mobile-burger span::before { top: -6px; }
.tn-mobile-burger span::after { top: 6px; }

.tn-mobile-burger.is-open span { background: transparent; }
.tn-mobile-burger.is-open span::before { transform: rotate(45deg); top: 0; }
.tn-mobile-burger.is-open span::after { transform: rotate(-45deg); top: 0; }

.tn-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  height: calc(100vh - 56px);
  background: var(--alabaster);
  z-index: 85;
  transform: translateX(-100%);
  transition: transform var(--duration) var(--ease);
  padding: 24px 16px;
  overflow-y: auto;
}

.tn-mobile-menu.is-open { transform: translateX(0); }

.tn-mobile-menu .tn-nav-link { padding: 16px 14px; font-size: 15px; }

.tn-hero {
  min-height: 100vh;
  position: relative;
  padding: 80px 64px 100px;
  background: var(--alabaster);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
}

.tn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 55%, var(--graphite) 55%, var(--graphite) 100%);
  pointer-events: none;
}

.tn-hero-vertical {
  position: absolute;
  top: 40px;
  left: 40px;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 4;
}

.tn-hero-mono {
  position: absolute;
  top: 40px;
  right: 64px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.18em;
  z-index: 4;
}

.tn-hero-title {
  position: relative;
  z-index: 5;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--graphite);
  max-width: 1200px;
  margin-bottom: 48px;
}

.tn-hero-title .tn-jp-word {
  display: inline-block;
  background: linear-gradient(180deg, var(--cobalt) 0%, var(--cobalt-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tn-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.tn-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tn-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244,245,242,1) 0%, rgba(244,245,242,0.6) 35%, rgba(31,35,38,0.5) 70%, rgba(31,35,38,0.95) 100%);
}

.tn-hero-bottom {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-top: 48px;
}

.tn-hero-sub {
  font-size: 17px;
  background: rgba(0, 0, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  line-height: 1.7;
  color: #fff;
  max-width: 520px;
  font-weight: 400;
}

.tn-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all var(--duration) var(--spring);
  min-height: 52px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.tn-btn-primary {
  background: var(--terracotta);
  color: #fff;
}

.tn-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--terracotta-deep);
  box-shadow: var(--shadow-hover);
}

.tn-btn-ghost {
  background: transparent;
  color: var(--graphite);
  border: 1.5px solid var(--graphite);
}

.tn-hero-cta-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}

.tn-hero-cta-light:hover {
  background: #fff;
  color: var(--cobalt);
}

.tn-btn-outline {
  background: var(--alabaster);
  color: var(--cobalt);
  border: 1.5px solid var(--cobalt);
}

.tn-btn-outline:hover {
  background: var(--cobalt);
  color: #fff;
  transform: translateY(-2px);
}

.tn-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite);
  color: var(--alabaster);
  padding: 16px 0;
  overflow: hidden;
  z-index: 6;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.tn-marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tn-scroll 38s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.tn-marquee:hover .tn-marquee-track { animation-play-state: paused; }

.tn-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--alabaster);
  text-transform: uppercase;
}

.tn-marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}

@keyframes tn-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tn-section {
  padding: 120px 64px;
  position: relative;
}

.tn-section-narrow {
  padding: 100px 64px;
}

.tn-section-diag-top {
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

.tn-section-diag-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.tn-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 64px;
}

.tn-section-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--cobalt);
  text-transform: uppercase;
}

.tn-section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--graphite);
}

.tn-section-title em {
  font-style: normal;
  color: var(--cobalt);
}

.tn-section-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.18em;
  text-align: right;
  opacity: 0.7;
}

.tn-graph {
  position: relative;
  padding: 60px 0;
  min-height: 720px;
  overflow: hidden;
  max-width: 100%;
}

.tn-graph-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  z-index: 10;
  box-shadow: var(--shadow-cobalt);
}

.tn-graph-center span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 6px;
  letter-spacing: 0.2em;
}

.tn-graph-nodes {
  position: relative;
  height: 720px;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.tn-node {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(244,245,242,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--cobalt);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--duration) var(--spring);
  z-index: 5;
}

.tn-node:hover {
  width: 160px;
  height: 160px;
  z-index: 200;
  background: var(--cobalt);
  color: #fff;
  box-shadow: var(--shadow-cobalt);
  font-size: 13px;
}

.tn-node:nth-child(1) { top: 6%; left: 8%; }
.tn-node:nth-child(2) { top: 4%; right: 6%; }
.tn-node:nth-child(3) { bottom: 8%; left: 4%; }
.tn-node:nth-child(4) { bottom: 4%; right: 8%; }
.tn-node:nth-child(5) { top: 46%; left: 0%; }
.tn-node:nth-child(6) { top: 46%; right: 0%; }

.tn-graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tn-graph svg line {
  stroke: var(--cobalt);
  stroke-width: 1;
  opacity: 0.3;
  stroke-dasharray: 4 4;
}

.tn-sticky-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  max-width: 100%;
}

.tn-sticky {
  position: sticky;
  top: 60px;
}

.tn-sticky-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  border-radius: 2px;
  margin-bottom: 20px;
}

.tn-sticky-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--graphite);
  margin-bottom: 24px;
}

.tn-sticky-title em { font-style: normal; color: var(--cobalt); }

.tn-sticky-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--graphite);
  margin-bottom: 32px;
}

.tn-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tn-photo-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  background: var(--pearl);
  aspect-ratio: 4/3;
}

.tn-photo-card:nth-child(2) { clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%); margin-top: -16px; }
.tn-photo-card:nth-child(3) { clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }
.tn-photo-card:nth-child(4) { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); margin-top: -16px; }

.tn-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.tn-photo-card:hover img { transform: scale(1.05); }

.tn-photo-cap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  background: rgba(31,35,38,0.92);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
}

.tn-photo-card:hover .tn-photo-cap { opacity: 1; transform: translateY(0); }

.tn-marquee-logos {
  background: var(--graphite);
  color: #fff;
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0;
}

.tn-marquee-logos .tn-marquee-track {
  color: var(--pearl);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tn-flex-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 48px;
  overflow: hidden;
  max-width: 100%;
}

.tn-flex-card {
  min-width: 0;
}

.tn-flex-card {
  padding: 40px 28px;
  background: var(--alabaster);
  border-right: 1px solid var(--line);
  transition: all var(--duration) var(--spring);
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.tn-flex-card:last-child { border-right: 0; }

.tn-flex-card:hover {
  background: var(--alabaster-soft);
  transform: translateY(-8px);
  z-index: 50;
  box-shadow: var(--shadow-hover);
}

.tn-flex-card.is-lead {
  background: var(--cobalt);
  color: #fff;
}

.tn-flex-card.is-lead:hover {
  background: var(--cobalt-deep);
}

.tn-flex-card.is-lead .tn-flex-icon { color: var(--alabaster); }
.tn-flex-card.is-lead .tn-flex-num { color: var(--terracotta); }

.tn-flex-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  margin-bottom: 16px;
}

.tn-flex-icon {
  font-size: 32px;
  margin-bottom: 24px;
  display: inline-block;
}

.tn-flex-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.tn-flex-text {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
}

.tn-coverflow {
  position: relative;
  padding: 40px 0 80px;
  perspective: 1400px;
  overflow: hidden;
}

.tn-coverflow-stage {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
}

.tn-coverflow-slide {
  position: absolute;
  width: 60%;
  max-width: 720px;
  aspect-ratio: 16/10;
  background: var(--graphite);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-cobalt);
  transition: all 0.6s var(--ease);
  cursor: pointer;
}

.tn-coverflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.tn-coverflow-slide[data-pos="0"] {
  z-index: 30;
  transform: translateX(0) scale(1) rotateY(0);
  filter: none;
}

.tn-coverflow-slide[data-pos="-1"] {
  z-index: 20;
  transform: translateX(-58%) scale(0.78) rotateY(35deg);
  filter: brightness(0.55);
}

.tn-coverflow-slide[data-pos="1"] {
  z-index: 20;
  transform: translateX(58%) scale(0.78) rotateY(-35deg);
  filter: brightness(0.55);
}

.tn-coverflow-slide[data-pos="-2"] {
  z-index: 10;
  transform: translateX(-100%) scale(0.6) rotateY(45deg);
  filter: brightness(0.4);
  opacity: 0.6;
}

.tn-coverflow-slide[data-pos="2"] {
  z-index: 10;
  transform: translateX(100%) scale(0.6) rotateY(-45deg);
  filter: brightness(0.4);
  opacity: 0.6;
}

.tn-coverflow-info {
  text-align: center;
  margin-top: 32px;
}

.tn-coverflow-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.tn-coverflow-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: 14px;
}

.tn-coverflow-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
}

.tn-coverflow-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.tn-coverflow-arrow {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  background: var(--alabaster);
  color: var(--cobalt);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all var(--duration) var(--spring);
}

.tn-coverflow-arrow:hover {
  background: var(--cobalt);
  color: #fff;
  transform: scale(1.1);
}

.tn-team-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.tn-team-row {
  display: grid;
  grid-template-columns: 80px 1fr auto 200px;
  gap: 24px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  font-family: var(--mono);
}

.tn-team-row:hover {
  padding-left: 24px;
  background: var(--alabaster-soft);
}

.tn-team-num {
  font-size: 12px;
  color: var(--cobalt);
  letter-spacing: 0.2em;
}

.tn-team-name {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--display);
  color: var(--graphite);
  letter-spacing: 0.005em;
}

.tn-team-role {
  font-size: 11px;
  color: var(--graphite);
  opacity: 0.65;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tn-team-photo {
  width: 200px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--duration) var(--ease);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.tn-team-row:hover .tn-team-photo {
  opacity: 1;
  transform: translateX(0);
}

.tn-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tn-stats-marquee {
  background: var(--graphite);
  color: #fff;
  padding: 50px 0;
  overflow: hidden;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tn-stats-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: tn-scroll 45s linear infinite;
  align-items: center;
}

.tn-stats-marquee:hover .tn-stats-track { animation-play-state: paused; }

.tn-stats-item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--alabaster);
}

.tn-stats-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: #fff;
}

.tn-stats-num em { font-style: normal; color: var(--terracotta); font-size: 24px; font-weight: 600; margin-left: 4px; }

.tn-stats-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  max-width: 220px;
  white-space: normal;
  line-height: 1.4;
}

.tn-stats-sla {
  background: var(--cobalt);
  color: #fff;
  padding: 32px 36px;
  margin: 40px 64px 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 96% 100%, 0 100%);
}

.tn-stats-sla-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: var(--terracotta);
}

.tn-stats-sla-text {
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}

.tn-stack {
  position: relative;
  margin-top: 48px;
}

.tn-stack-card {
  position: sticky;
  top: 80px;
  background: var(--alabaster);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px 48px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  transition: all var(--duration) var(--spring);
  cursor: pointer;
}

.tn-stack-card:nth-child(1) { z-index: 10; }
.tn-stack-card:nth-child(2) { z-index: 20; top: 100px; }
.tn-stack-card:nth-child(3) { z-index: 30; top: 120px; }
.tn-stack-card:nth-child(4) { z-index: 40; top: 140px; }
.tn-stack-card:nth-child(5) { z-index: 50; top: 160px; }

.tn-stack-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  z-index: 200;
  box-shadow: var(--shadow-hover);
}

.tn-stack-q {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

.tn-stack-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--cobalt);
  flex-shrink: 0;
  transition: all var(--duration);
}

.tn-stack-card.is-open .tn-stack-icon { background: var(--cobalt); color: #fff; transform: rotate(45deg); }

.tn-stack-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease), margin var(--duration);
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

.tn-stack-card.is-open .tn-stack-a {
  max-height: 400px;
  margin-top: 20px;
}

.tn-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.tn-contact-list { display: flex; flex-direction: column; gap: 4px; }

.tn-contact-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.tn-contact-row:hover {
  background: var(--alabaster-soft);
  padding-left: 24px;
}

.tn-contact-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  text-transform: uppercase;
}

.tn-contact-val {
  font-size: 15px;
  color: var(--graphite);
  font-weight: 500;
}

.tn-contact-action {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--terracotta);
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity var(--duration);
}

.tn-contact-row:hover .tn-contact-action { opacity: 1; }

.tn-form-card {
  background: var(--graphite);
  color: #fff;
  padding: 48px 44px;
  border-radius: 6px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
}

.tn-form-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 8px;
}

.tn-form-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.tn-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tn-form-field { display: flex; flex-direction: column; gap: 6px; }

.tn-form-field.is-full { grid-column: 1 / -1; }

.tn-form-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--pearl);
  text-transform: uppercase;
}

.tn-form-input,
.tn-form-textarea,
.tn-form-select {
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-family: var(--body);
  transition: all var(--duration);
  width: 100%;
}

.tn-form-input::placeholder,
.tn-form-textarea::placeholder { color: rgba(255,255,255,0.4); }

.tn-form-input:focus,
.tn-form-textarea:focus,
.tn-form-select:focus {
  outline: none;
  border-color: var(--terracotta);
  background: rgba(255,255,255,0.1);
}

.tn-form-textarea { min-height: 120px; resize: vertical; }

.tn-form-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--pearl) 50%), linear-gradient(135deg, var(--pearl) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.tn-form-select option { background: var(--graphite); color: #fff; }

.tn-form-submit {
  margin-top: 24px;
  width: 100%;
  padding: 16px 24px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
}

.tn-form-submit:hover {
  background: var(--emerald);
  transform: translateY(-2px);
}

.tn-form-submit.is-success {
  background: var(--emerald);
}

.tn-footer {
  background: var(--alabaster);
  border-top: 1px solid var(--line);
  padding: 80px 64px 32px 344px;
  position: relative;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

.tn-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  overflow: hidden;
  max-width: 100%;
}

.tn-footer-brand .tn-logo-mark { width: 44px; height: 44px; }

.tn-footer-brand .tn-logo-domain { font-size: 22px; }

.tn-footer-brand .tn-logo-jp { font-size: 12px; margin-top: 4px; }

.tn-footer-desc {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--graphite);
  opacity: 0.8;
  max-width: 320px;
}

.tn-footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.tn-footer-list { display: flex; flex-direction: column; gap: 10px; }

.tn-footer-list a {
  font-size: 13px;
  color: var(--graphite);
  transition: color var(--duration);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tn-footer-list a:hover { color: var(--cobalt); }

.tn-footer-list a::before { content: '→'; opacity: 0.4; transition: all var(--duration); }
.tn-footer-list a:hover::before { opacity: 1; transform: translateX(2px); }

.tn-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.tn-footer-legal a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  opacity: 0.7;
  letter-spacing: 0.08em;
  transition: opacity var(--duration);
}

.tn-footer-legal a:hover { opacity: 1; color: var(--cobalt); }

.tn-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  opacity: 0.6;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 12px;
}

.tn-cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  background: var(--graphite);
  color: #fff;
  padding: 24px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-cobalt);
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 40px);
  max-width: 420px;
}

.tn-cookie.is-hidden { display: none; }

.tn-cookie-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: #fff;
}

.tn-cookie-text {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.tn-cookie-btns { display: flex; gap: 8px; }

.tn-cookie-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 0;
  transition: all var(--duration);
  font-family: var(--body);
}

.tn-cookie-accept {
  background: var(--terracotta);
  color: #fff;
}

.tn-cookie-accept:hover { background: var(--emerald); }

.tn-cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.tn-cookie-decline:hover { background: rgba(255,255,255,0.08); }

.tn-cookie-link {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--pearl);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tn-page-hero {
  padding: 80px 64px 60px;
  background: var(--alabaster);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.tn-page-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
}

.tn-page-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--cobalt);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.tn-page-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--graphite);
}

.tn-page-title em { font-style: normal; color: var(--cobalt); }

.tn-page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--graphite);
  padding-bottom: 12px;
}

.tn-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  letter-spacing: 0.15em;
}

.tn-breadcrumbs a { color: var(--cobalt); }
.tn-breadcrumbs span { opacity: 0.4; }

.tn-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tn-service-card {
  position: relative;
  background: var(--alabaster);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--duration) var(--spring);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.tn-service-card:hover {
  transform: translateY(-8px);
  z-index: 30;
  box-shadow: var(--shadow-hover);
}

.tn-service-photo {
  aspect-ratio: 16/10;
  background: var(--pearl);
  overflow: hidden;
  position: relative;
}

.tn-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.tn-service-card:hover .tn-service-photo img { transform: scale(1.08); }

.tn-service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,46,110,0.7) 100%);
  pointer-events: none;
}

.tn-service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  z-index: 2;
}

.tn-service-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 14px;
  background: var(--alabaster);
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.tn-service-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tn-service-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.tn-service-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--graphite);
  margin-bottom: 12px;
  line-height: 1.2;
}

.tn-service-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--graphite);
  opacity: 0.8;
  margin-bottom: 24px;
  flex: 1;
}

.tn-service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tn-service-link {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration);
}

.tn-service-card:hover .tn-service-link { gap: 12px; }

.tn-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tn-process-card {
  background: var(--alabaster);
  border: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
  border-radius: 4px;
  transition: all var(--duration) var(--spring);
}

.tn-process-card:hover {
  background: var(--alabaster-soft);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.tn-process-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--terracotta);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.tn-process-icon {
  font-size: 36px;
  margin-bottom: 24px;
  display: inline-block;
}

.tn-process-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--graphite);
  margin-bottom: 12px;
}

.tn-process-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--graphite);
  opacity: 0.8;
}

.tn-thanks {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.tn-thanks-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 32px;
  font-size: 40px;
  animation: tn-pulse 2s ease-in-out infinite;
}

@keyframes tn-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 135, 90, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(0, 135, 90, 0); }
}

.tn-thanks-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--graphite);
  margin-bottom: 16px;
}

.tn-thanks-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--graphite);
  max-width: 560px;
  margin: 0 auto 32px;
}

.tn-thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tn-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 64px 100px;
}

.tn-legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--graphite);
  margin-bottom: 16px;
  line-height: 1.05;
}

.tn-legal-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.2em;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tn-legal h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--graphite);
  margin: 40px 0 16px;
}

.tn-legal p, .tn-legal li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--graphite);
  margin-bottom: 14px;
}

.tn-legal ul { padding-left: 20px; }
.tn-legal li { list-style: disc; margin-bottom: 8px; }

.tn-career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tn-career-card {
  padding: 32px 28px;
  background: var(--alabaster);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all var(--duration) var(--spring);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tn-career-card:hover {
  background: var(--alabaster-soft);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.tn-career-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  align-self: flex-start;
  border-radius: 2px;
}

.tn-career-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--graphite);
}

.tn-career-meta {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--graphite);
  opacity: 0.7;
  letter-spacing: 0.12em;
}

.tn-career-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--graphite);
}

.tn-career-cta { margin-top: auto; }

.tn-detail-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.tn-detail-hero-photo {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 0 96%);
}

.tn-detail-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.tn-detail-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tn-detail-price {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}

.tn-detail-price em { font-style: normal; font-size: 14px; color: var(--graphite); opacity: 0.6; font-weight: 500; margin-left: 8px; letter-spacing: 0.05em; }

.tn-detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.tn-detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite);
}

.tn-detail-feature::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.tn-faq-mini {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tn-faq-mini-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
}

.tn-faq-mini-a {
  font-size: 13px;
  line-height: 1.75;
  color: var(--graphite);
  opacity: 0.85;
  margin-bottom: 8px;
}

.tn-cta-band {
  background: var(--cobalt);
  color: #fff;
  padding: 80px 64px;
  text-align: center;
  margin-top: 60px;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

.tn-cta-band-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.tn-cta-band-text {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 32px;
}

.tn-cta-band-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.tn-btn-on-cobalt { background: var(--terracotta); color: #fff; }
.tn-btn-on-cobalt:hover { background: var(--terracotta-deep); }

.tn-btn-on-cobalt-outline { background: transparent; color: #fff; border: 1.5px solid #fff; }
.tn-btn-on-cobalt-outline:hover { background: #fff; color: var(--cobalt); }

.tn-success {
  text-align: center;
  padding: 32px 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--emerald);
}

/* Background utility classes */
.bg-alabaster-soft { background: var(--alabaster-soft); }
.bg-cobalt { background: var(--cobalt); }
.bg-graphite { background: var(--graphite); }
.bg-terracotta { background: var(--terracotta); }
.bg-emerald { background: var(--emerald); }
.bg-cobalt-soft { background: var(--cobalt-soft); }

/* Flex grid inside graphite background */
.bg-graphite .tn-flex-grid {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.bg-graphite .tn-flex-card {
  background: var(--graphite-soft);
  border-right-color: rgba(255,255,255,0.08);
}

.bg-graphite .tn-flex-card:last-child { border-right: 0; }

.bg-graphite .tn-flex-card:hover {
  background: var(--graphite);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.bg-graphite .tn-flex-num {
  color: var(--terracotta);
}

.bg-graphite .tn-flex-icon {
  color: var(--alabaster);
}

.bg-graphite .tn-flex-title {
  color: var(--alabaster);
}

.bg-graphite .tn-flex-text {
  color: var(--pearl);
}

.bg-graphite .tn-flex-card.is-lead {
  background: var(--cobalt);
}

.bg-graphite .tn-flex-card.is-lead:hover {
  background: var(--cobalt-deep);
}

.bg-graphite .tn-flex-card.is-lead .tn-flex-icon { color: var(--pearl); }

/* Services grid inside graphite background */
.bg-graphite .tn-services-grid {
  gap: 24px;
}

.bg-graphite .tn-service-card {
  background: var(--graphite-soft);
  border-color: rgba(255,255,255,0.08);
}

.bg-graphite .tn-service-card:hover {
  background: var(--graphite);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  transform: translateY(-8px);
}

.bg-graphite .tn-service-num {
  color: var(--terracotta);
}

.bg-graphite .tn-service-title {
  color: var(--alabaster);
}

.bg-graphite .tn-service-desc {
  color: var(--pearl);
}

.bg-graphite .tn-service-foot {
  border-top-color: rgba(255,255,255,0.08);
}

.bg-graphite .tn-service-link {
  color: var(--terracotta);
}

.bg-graphite .tn-service-link:hover {
  color: var(--emerald);
}

.bg-graphite .tn-service-tag {
  background: var(--terracotta);
}

.bg-graphite .tn-service-price {
  background: var(--cobalt);
  color: #fff;
}

@media (max-width: 1100px) {
  .tn-hero { padding: 60px 32px 100px; }
  .tn-section { padding: 80px 32px; }
  .tn-section-narrow { padding: 60px 32px; }
  .tn-footer { padding: 60px 32px 24px; }
  .tn-page-hero { padding: 60px 32px 40px; }
  .tn-stats-sla { margin: 40px 32px 0; }
  .tn-legal { padding: 60px 32px 80px; }
  .tn-cta-band { padding: 60px 32px; }
  .tn-flex-grid { grid-template-columns: 1fr 1fr; }
  .tn-flex-card:nth-child(1) { grid-column: 1 / -1; }
  .tn-sticky-split { grid-template-columns: 1fr; gap: 40px; }
  .tn-page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .tn-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .tn-services-grid { grid-template-columns: 1fr; }
  .bg-graphite .tn-services-grid { grid-template-columns: 1fr; gap: 20px; }
  .tn-process-grid { grid-template-columns: 1fr 1fr; }
  .tn-career-grid { grid-template-columns: 1fr; }
  .tn-detail-hero { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .tn-sidebar { display: none; }
  .tn-main { margin-left: 0; }
  .tn-mobile-bar { display: flex; }
  .tn-hero { padding: 100px 24px 80px; min-height: auto; }
  .tn-hero::before { background: linear-gradient(180deg, var(--alabaster) 0%, var(--alabaster) 50%, var(--graphite) 50%, var(--graphite) 100%); }
  .tn-hero-photo::after { background: linear-gradient(180deg, rgba(244,245,242,0.95) 0%, rgba(244,245,242,0.8) 50%, rgba(31,35,38,0.95) 100%); }
  .tn-hero-vertical { display: none; }
  .tn-hero-mono { right: 24px; top: 70px; }
  .tn-hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .tn-hero-sub {
    background: rgba(255, 255, 255, 0.25);
  }
  .tn-section { padding: 60px 24px; }
  .tn-section-narrow { padding: 50px 24px; }
  .tn-footer { padding: 60px 24px 24px; }
  .tn-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tn-page-hero { padding: 32px 24px; }
  .tn-section-head { grid-template-columns: 1fr; gap: 16px; }
  .tn-section-meta { text-align: left; }
  .tn-graph { min-height: auto; padding: 40px 0; }
  .tn-graph-nodes { display: none; }
  .tn-graph-center { position: relative; top: 0; left: 0; transform: none; margin: 0 auto 40px; }
  .tn-mobile-services { display: flex; flex-direction: column; gap: 12px; }
  .tn-mobile-services .tn-node { position: relative; width: 100%; height: auto; border-radius: 6px; padding: 18px 20px; text-align: left; font-size: 13px; }
  .tn-mobile-services .tn-node:hover { width: 100%; height: auto; transform: translateX(4px); }
  .tn-coverflow-stage { height: 320px; }
  .tn-coverflow-slide { width: 90%; }
  .tn-coverflow-slide[data-pos="-1"] { transform: translateX(-95%) scale(0.7) rotateY(35deg); }
  .tn-coverflow-slide[data-pos="1"] { transform: translateX(95%) scale(0.7) rotateY(-35deg); }
  .tn-coverflow-slide[data-pos="-2"], .tn-coverflow-slide[data-pos="2"] { opacity: 0; }
  .tn-team-row { grid-template-columns: 50px 1fr; gap: 12px; padding: 18px 8px; }
  .tn-team-photo { display: none; }
  .tn-team-role { grid-column: 1 / -1; padding-left: 60px; margin-top: -8px; }
  .tn-stats-num { font-size: 38px; }
  .tn-stats-sla { flex-direction: column; align-items: flex-start; padding: 24px 28px; margin: 32px 24px 0; clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%); }
  .tn-stats-sla-num { font-size: 36px; }
  .tn-stack-card { padding: 28px 24px; }
  .tn-stack-q { font-size: 17px; gap: 14px; }
  .tn-form-card { padding: 32px 24px; }
  .tn-form-grid { grid-template-columns: 1fr; }
  .tn-contact-row { grid-template-columns: 80px 1fr; }
  .tn-contact-action { display: none; }
  .tn-marquee-item { font-size: 11px; }
  .tn-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; width: auto; margin: 0; }
  .bg-graphite .tn-services-grid { grid-template-columns: 1fr; gap: 16px; }
  .tn-process-grid { grid-template-columns: 1fr; }
  .tn-detail-features { grid-template-columns: 1fr; }
  .tn-legal { padding: 48px 24px 60px; }
  .tn-flex-grid { grid-template-columns: 1fr; }
  .tn-flex-card:nth-child(1) { grid-column: 1; }
  .tn-flex-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .tn-flex-card:last-child { border-bottom: 0; }
  .bg-graphite .tn-flex-card { border-bottom-color: rgba(255,255,255,0.08); }
  .bg-graphite .tn-flex-card:last-child { border-bottom: 0; }
  .tn-thanks { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .tn-hero-title { font-size: 56px; }
  .tn-hero-ctas { flex-direction: column; }
  .tn-hero-ctas .tn-btn { width: 100%; justify-content: center; }
  .tn-footer-grid { grid-template-columns: 1fr; }
  .tn-footer-meta { flex-direction: column; align-items: flex-start; }
}
