:root {
  --tp-ink: #07111e;
  --tp-ink-soft: #0b1a2a;
  --tp-surface: #0d2034;
  --tp-surface-2: #102940;
  --tp-line: rgba(167, 196, 228, .2);
  --tp-line-strong: rgba(135, 181, 235, .5);
  --tp-text: #f2f6fb;
  --tp-muted: #a9bacf;
  --tp-muted-dark: #7085a0;
  --tp-cobalt: #338cff;
  --tp-cobalt-soft: #85b9ff;
  --tp-violet: #a182ff;
  --tp-display: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --tp-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tp-gutter: clamp(1.25rem, 4vw, 4rem);
  --tp-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--tp-ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 5%, rgba(51, 140, 255, .1), transparent 22rem),
    radial-gradient(circle at 8% 58%, rgba(161, 130, 255, .05), transparent 18rem),
    var(--tp-ink);
  color: var(--tp-text);
  font-family: var(--tp-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--tp-cobalt-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  background: var(--tp-text);
  color: var(--tp-ink);
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.tp-container {
  width: min(var(--tp-max), calc(100% - (var(--tp-gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--tp-line);
  background: rgba(7, 17, 30, .82);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--tp-text);
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-decoration: none;
}

.brand-symbol {
  width: 29px;
  height: 29px;
  color: var(--tp-cobalt-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 2rem);
}

.site-nav a {
  color: var(--tp-muted);
  font-size: .86rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--tp-text);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: .55rem;
  border: 1px solid var(--tp-line-strong);
  background: transparent;
  color: var(--tp-text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: min(790px, calc(100vh - 77px));
  border-bottom: 1px solid var(--tp-line);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--tp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tp-line) 1px, transparent 1px);
  background-position: calc(50% + 12rem) 4rem;
  background-size: 9rem 9rem;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 32%, black 76%, transparent);
  opacity: .25;
}

.hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, .94fr) minmax(360px, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4rem, 9vw, 8.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.role-line,
.section-kicker,
.micro-label {
  margin: 0;
  color: var(--tp-cobalt-soft);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.5;
  text-transform: uppercase;
}

.role-line::before,
.section-kicker::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 .8rem .25rem 0;
  background: currentColor;
  content: "";
  vertical-align: middle;
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 1.25rem 0 1.35rem;
  color: var(--tp-text);
  font-family: var(--tp-display);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.2rem, 4.9vw, 5.5rem);
}

.hero h1 span {
  color: var(--tp-cobalt);
}

.hero-copy > p:not(.role-line) {
  max-width: 53ch;
  margin: 0;
  color: var(--tp-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--tp-cobalt);
  background: var(--tp-cobalt);
  color: #fff;
  font: inherit;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  border-color: #67a9ff;
  background: #4b9cff;
  transform: translateY(-2px);
}

.button svg,
.inline-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--tp-text);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link {
  position: relative;
  padding-bottom: .5rem;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--tp-cobalt-soft);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 560px;
  align-self: stretch;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -28%;
  width: min(540px, 84vw);
  aspect-ratio: 1;
  border: 1px solid var(--tp-line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 7rem rgba(11, 26, 42, .32), 0 0 0 14rem rgba(11, 26, 42, .12);
  content: "";
}

.hero-visual::after {
  position: absolute;
  right: 6%;
  bottom: 10%;
  width: 31%;
  height: 22%;
  border-right: 1px solid rgba(133, 185, 255, .55);
  border-bottom: 1px solid rgba(133, 185, 255, .55);
  content: "";
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--tp-line-strong);
  background: #0b1b2e;
}

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

.hero-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 17%;
  background: linear-gradient(to bottom, transparent, var(--tp-ink));
  content: "";
  pointer-events: none;
}

.photo-note {
  position: absolute;
  z-index: 1;
  right: -1rem;
  bottom: 2.6rem;
  width: min(13rem, 46%);
  padding: .95rem 1rem;
  border: 1px solid rgba(133, 185, 255, .6);
  background: rgba(7, 17, 30, .84);
  color: var(--tp-muted);
  font-size: .75rem;
  line-height: 1.6;
}

.photo-note strong {
  display: block;
  margin-bottom: .2rem;
  color: var(--tp-text);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.capability-rail {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--tp-line);
  background: rgba(6, 16, 28, .82);
}

.capability-rail-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  align-items: stretch;
}

.rail-intro,
.rail-item {
  min-height: 154px;
  padding: 1.8rem 1.25rem 1.7rem 0;
}

.rail-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--tp-line);
}

.rail-intro p {
  max-width: 18ch;
  margin: .6rem 0 0;
  color: var(--tp-muted);
  font-size: .86rem;
}

.rail-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: .85rem;
  padding-left: 1.35rem;
  border-right: 1px solid var(--tp-line);
}

.rail-item:last-child {
  border-right: 0;
}

.rail-icon,
.work-icon,
.tool-icon,
.flow-icon {
  flex: 0 0 auto;
  color: var(--tp-cobalt-soft);
}

.rail-icon {
  width: 29px;
  height: 29px;
  margin-top: .15rem;
}

.rail-item h2,
.rail-item p {
  margin: 0;
}

.rail-item h2 {
  color: var(--tp-text);
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.rail-item p {
  margin-top: .35rem;
  color: var(--tp-muted);
  font-size: .78rem;
  line-height: 1.55;
}

.section {
  padding: clamp(5.5rem, 11vw, 9rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.6rem, 5vw, 4.5rem);
}

.section-heading h2,
.contact h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
}

.section-heading > p {
  max-width: 38ch;
  margin: 0 0 .65rem;
  color: var(--tp-muted);
}

.about {
  background:
    linear-gradient(115deg, rgba(17, 42, 64, .62), transparent 52%),
    var(--tp-ink-soft);
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 7vw, 7.5rem);
  align-items: start;
}

.about-statement {
  margin: 0;
  color: var(--tp-text);
  font-family: var(--tp-display);
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.1;
}

.about-copy {
  display: grid;
  gap: 1.3rem;
  color: var(--tp-muted);
}

.about-copy p {
  margin: 0;
}

.focus-list {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--tp-line);
  list-style: none;
}

.focus-list li {
  display: grid;
  grid-template-columns: 54px minmax(170px, .55fr) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
  min-height: 120px;
  border-bottom: 1px solid var(--tp-line);
}

.focus-list h3,
.focus-list p {
  margin: 0;
}

.focus-list h3 {
  color: var(--tp-text);
  font-size: 1rem;
  font-weight: 700;
}

.focus-list p {
  color: var(--tp-muted);
  font-size: .9rem;
}

.work-icon {
  width: 32px;
  height: 32px;
}

.work {
  overflow: hidden;
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .78fr);
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
}

.work-media {
  min-height: 390px;
  border-right: 1px solid var(--tp-line);
  background: #0a1828;
}

.work-media img,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.work-feature-copy h3,
.project-item h3,
.tools-intro h3,
.ai-copy h3 {
  margin: .8rem 0 1rem;
  color: var(--tp-text);
  font-family: var(--tp-display);
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.work-feature-copy p,
.project-item p,
.tools-intro p,
.ai-copy p {
  margin: 0;
  color: var(--tp-muted);
}

.inline-link {
  width: max-content;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--tp-cobalt-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--tp-line);
}

.project-item {
  display: flex;
  min-height: 435px;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid var(--tp-line);
}

.project-item:last-child {
  border-right: 0;
}

.project-item h3 {
  font-size: 1.75rem;
}

.project-item p {
  font-size: .91rem;
}

.project-media {
  height: 168px;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--tp-line);
  background: var(--tp-surface);
}

.case-diagram {
  position: relative;
  display: grid;
  height: 168px;
  place-items: center;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--tp-line);
  background:
    linear-gradient(rgba(133, 185, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 185, 255, .08) 1px, transparent 1px),
    #0b1b2c;
  background-size: 30px 30px;
}

.case-diagram svg {
  width: 90px;
  height: 90px;
  color: var(--tp-cobalt-soft);
}

.case-diagram::after {
  position: absolute;
  right: 1.15rem;
  bottom: 1rem;
  color: var(--tp-muted);
  content: "verify · review · escalate";
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.work-note {
  margin: 1.2rem 0 0;
  color: var(--tp-muted-dark);
  font-size: .76rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.insights {
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  background: var(--tp-ink-soft);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--tp-line);
}

.insight-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-right: 1px solid var(--tp-line);
}

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

.insight-card h3 {
  margin: 1rem 0;
  color: var(--tp-text);
  font-family: var(--tp-display);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.insight-card > p:not(.micro-label) { margin: 0; color: var(--tp-muted); }
.insight-card .inline-link { margin-top: auto; padding-top: 2rem; }

.article-main { padding: clamp(5rem, 10vw, 8rem) 0; }

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.article-copy { max-width: 760px; }
.article-copy h1 { max-width: 15ch; margin: .75rem 0 2rem; font-size: clamp(2.8rem, 6vw, 5.8rem); }
.article-copy .lede { color: var(--tp-text); font-family: var(--tp-display); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.35; }
.article-copy p, .article-copy li { color: var(--tp-muted); }
.article-copy p, .article-copy ol, .article-copy ul { margin-top: 1.35rem; }
.article-copy li + li { margin-top: .8rem; }
.article-aside { padding: 1.5rem; border: 1px solid var(--tp-line); background: var(--tp-surface); }
.article-aside p { margin: .8rem 0 0; color: var(--tp-muted); font-size: .84rem; }

.tools {
  background: linear-gradient(180deg, var(--tp-ink-soft), var(--tp-ink));
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.tools-intro h3 {
  max-width: 12ch;
}

.tool-list {
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--tp-line);
  list-style: none;
}

.tool-list li {
  display: grid;
  grid-template-columns: 34px minmax(135px, .67fr) minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--tp-line);
}

.tool-icon {
  width: 27px;
  height: 27px;
}

.tool-name,
.tool-level {
  color: var(--tp-text);
  font-size: .86rem;
  font-weight: 700;
}

.tool-level {
  color: var(--tp-muted);
  font-size: .8rem;
  font-weight: 500;
  text-align: right;
}

.ai-panel {
  border-top: 1px solid var(--tp-line);
}

.ai-visual {
  height: 245px;
  margin-top: 0;
  overflow: hidden;
  border-right: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
  border-left: 1px solid var(--tp-line);
  background: var(--tp-surface);
}

.ai-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-copy {
  padding-top: 2rem;
}

.ai-copy h3 {
  font-size: 2rem;
}

.human-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
  border-top: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
}

.flow-step {
  position: relative;
  min-height: 170px;
  padding: 1.4rem 1rem 1.45rem 0;
  border-right: 1px solid var(--tp-line);
}

.flow-step:not(:first-child) {
  padding-left: 1rem;
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 36px;
  right: -10px;
  width: 19px;
  height: 1px;
  background: var(--tp-cobalt-soft);
  content: "";
}

.flow-icon {
  width: 29px;
  height: 29px;
}

.flow-step h4,
.flow-step p {
  margin: 0;
}

.flow-step h4 {
  margin-top: .85rem;
  color: var(--tp-text);
  font-size: .8rem;
}

.flow-step p {
  margin-top: .45rem;
  color: var(--tp-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.human-note {
  max-width: 56ch;
  margin: 1.4rem 0 0;
  color: var(--tp-cobalt-soft);
  font-size: .84rem;
}

.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--tp-line);
  background:
    linear-gradient(90deg, rgba(7, 17, 30, .98), rgba(7, 17, 30, .76)),
    url("/assets/tantanpq/tan-hero-metrology-20260915.webp") right 34% center / min(820px, 60vw) auto no-repeat,
    var(--tp-ink);
}

.contact::after {
  position: absolute;
  top: 17%;
  right: 14%;
  width: 180px;
  aspect-ratio: 1;
  border: 1px solid rgba(133, 185, 255, .45);
  border-radius: 50%;
  content: "";
}

.contact .tp-container {
  position: relative;
  z-index: 1;
}

.contact-content {
  width: min(590px, 100%);
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.contact p:not(.section-kicker) {
  max-width: 45ch;
  margin: 0;
  color: var(--tp-muted);
  font-size: 1.05rem;
}

.contact .button {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid var(--tp-line);
  background: #050d17;
}

.footer-inner {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--tp-muted-dark);
  font-size: .75rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--tp-muted);
  font-size: .76rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--tp-text);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .76fr);
    gap: 2.25rem;
  }

  .hero-visual {
    min-height: 490px;
  }

  .capability-rail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rail-intro {
    display: none;
  }

  .section-heading,
  .about-grid,
  .tools-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  .work-feature {
    grid-template-columns: 1fr;
  }

  .work-media {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--tp-line);
  }
}

@media (max-width: 700px) {
  .topbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--tp-gutter);
    left: var(--tp-gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem;
    border: 1px solid var(--tp-line-strong);
    background: #0a1726;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
  }

  .js.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: .75rem .8rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 4.6rem;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .hero-visual {
    min-height: min(126vw, 610px);
    max-width: 520px;
    width: 88%;
    margin-left: auto;
  }

  .photo-note {
    right: -1rem;
    bottom: 1rem;
  }

  .capability-rail-grid,
  .project-grid,
  .insight-grid,
  .human-flow {
    grid-template-columns: 1fr;
  }

  .rail-item,
  .rail-item:last-child,
  .project-item,
  .project-item:last-child,
  .insight-card,
  .insight-card:last-child,
  .flow-step,
  .flow-step:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--tp-line);
  }

  .rail-item {
    min-height: 110px;
    padding: 1.35rem 0;
  }

  .rail-item:last-child,
  .project-item:last-child,
  .insight-card:last-child,
  .flow-step:last-child {
    border-bottom: 0;
  }

  .focus-list li {
    grid-template-columns: 38px 1fr;
    gap: .85rem;
    padding: 1.4rem 0;
  }

  .focus-list p {
    grid-column: 2;
  }

  .project-item {
    min-height: 370px;
    padding: 1.7rem 0;
  }

  .insight-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--tp-line);
  }

  .project-media,
  .case-diagram {
    margin-top: 1.5rem;
  }

  .tool-list li {
    grid-template-columns: 31px 1fr;
    gap: .75rem;
    padding: 1rem 0;
  }

  .tool-level {
    grid-column: 2;
    text-align: left;
  }

  .flow-step {
    min-height: auto;
    padding: 1.25rem 0;
  }

  .flow-step:not(:first-child) {
    padding-left: 0;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 13px;
    width: 1px;
    height: 17px;
  }

  .contact {
    background:
      linear-gradient(90deg, rgba(7, 17, 30, .97), rgba(7, 17, 30, .89)),
      url("/assets/tantanpq/tan-hero-metrology-20260915.webp") 70% center / auto 100% no-repeat,
      var(--tp-ink);
  }

  .contact::after {
    right: -3rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1.7rem 0;
  }
}

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

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